← 返回
AI智能 中文

focus-coach

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,...
专注于AI代理的专注教练——利用BJ Fogg的B=MAP诊断专注障碍,返回一个微小的行动。适用于:代理需要专注帮助、用户无法集中时...
daisuke134
AI智能 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 777
下载
💾 13
安装
1
版本
#latest

概述

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 login

Usage

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

FieldTypeRequiredDescription
------------------------------------
situationstring (5-1000 chars)What you're trying to do and why you can't focus
blockerstring (max 500)What's specifically blocking you
energy_levelenum: low/medium/highCurrent energy level
time_available_minutesnumber (1-480)How much time you have
languageenum: en/jaResponse 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:

  • 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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 03:27 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,356 📥 318,069
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 711 📥 243,717
ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 834 📥 213,006