---
name: focus-coach-3db933cb1942
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

```bash
npm install -g awal@2.0.3
awal auth login
```

## Usage

```bash
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

```json
{
  "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:
- **B = MAP**: Behavior = Motivation × Ability × Prompt
- Diagnoses exactly ONE missing element
- Returns ONE tiny action (under 120 seconds)
- Uses Tiny Habits Recipe: "After I [ANCHOR], I will [TINY BEHAVIOR]"

## Pairs Well With

- **emotion-detector** ($0.01): Detect emotional state → if fatigued, pass to focus-coach
- **buddhist-counsel** ($0.01): For deeper suffering → buddhist-counsel; for focus issues → focus-coach


---
Source attribution: modbender
Original project: https://github.com/modbender/skill-library-mcp/blob/d9c8fe903b5b4e82237dbe8d0df8567783022e18/data/focus-coach/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2025 skill-library-mcp contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: modbender
Original project: https://github.com/modbender/skill-library-mcp/blob/d9c8fe903b5b4e82237dbe8d0df8567783022e18/data/focus-coach/SKILL.md
Attribution basis: Source repository record

Fields of work: Human Resources, Marketing, Product Management, Sales
Roles: Customer Success Manager, Growth Marketer, HR Generalist, Product Manager
Specialties: Specialty not specified
Tools: Awal
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 8145480cb57c6a450b7d41108ee250621b3d67ead190a1a704d983ca7d11e6c6
