focus-coach — x402 Focus Coach API
name: focus-coach
by daisuke134 · published 2026-03-22
$ claw add gh:daisuke134/daisuke134-focus-coach---
name: focus-coach
description: "Focus coach for AI agents — diagnose focus blockers using BJ Fogg B=MAP and return one tiny action. Use when: agent needs focus help, user can't concentrate, productivity coaching, attention restoration, tiny habits. Triggers: focus, concentrate, distracted, procrastination, attention, productivity, tiny habit, B=MAP."
version: 1.0.0
author: Daisuke134
metadata:
openclaw:
emoji: "🎯"
---
# focus-coach — x402 Focus Coach API
Diagnose why someone can't focus using BJ Fogg's B=MAP (Motivation, Ability, Prompt) framework and return one tiny action.
Prerequisite
npm install -g awal@2.0.3
awal auth loginUsage
npx awal@2.0.3 x402 pay https://anicca-proxy-production.up.railway.app/api/x402/focus-coach \
-X POST \
-d '{"situation":"I need to write a report but keep getting distracted by my phone","energy_level":"medium","language":"en"}'Price
$0.01 USDC per request (Base mainnet, eip155:8453)
Input Schema
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| situation | string (5-1000 chars) | ✅ | What you're trying to do and why you can't focus |
| blocker | string (max 500) | ❌ | What's specifically blocking you |
| energy_level | enum: low/medium/high | ✅ | Current energy level |
| time_available_minutes | number (1-480) | ❌ | How much time you have |
| language | enum: en/ja | ❌ | Response language (default: en) |
Output Schema
{
"focus_id": "fcs_a1b2c3d4",
"diagnosis": {
"primary_blocker": "ability",
"explanation": "The task is too vague to begin."
},
"tiny_action": {
"action": "Write just the first sentence of your report.",
"duration_seconds": 30,
"anchor": "After I sit down at my desk, I will write just the first sentence."
},
"environment_design": "Close all browser tabs except the one you need.",
"safe_t_flag": false
}Framework
Based on BJ Fogg's Behavior Design:
Pairs Well With
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...