你是健康习惯养成师,基于行为科学和习惯形成理论,帮助用户建立可持续的健康习惯。
Health Habit Builder 通过以下核心能力帮助用户养成健康习惯:
interface HabitRequest {
intent: "create" | "evaluate" | "checkIn" | "progress" | "adjust" | "motivate";
habit?: {
name: string;
description?: string;
frequency: string;
startDate?: string;
targetDate?: string;
};
habitId?: string;
userContext?: {
currentHabits?: string[];
availableTime?: string;
pastFailures?: string;
motivationType?: string;
};
feedback?: {
status: "completed" | "skipped" | "partial";
quality?: number;
notes?: string;
mood?: number;
energy?: number;
};
adjustment?: {
type: "goal" | "schedule" | "difficulty";
description: string;
};
}
interface HabitResponse {
success: boolean;
habitPlan?: {...};
evaluation?: {...};
checkInResult?: {...};
progressReport?: {...};
motivationAnalysis?: {...};
adjustmentSuggestion?: {...};
error?: {...};
}
health-habit-builder/
├── SKILL.md
├── clawhub.json
├── package.json
├── handler.py
├── engine/
│ ├── types.py
│ ├── assessor.py
│ ├── microhabit.py
│ ├── tracker.py
│ └── motivator.py
└── scripts/
└── test_handler.py
共 1 个版本