ワンクリックで
action-card-manager
管理首页行动卡片 — 创建、查询、完成、归档。当用户想把某条建议固化到首页、查看当前行动计划、标记完成,使用这个 skill。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
管理首页行动卡片 — 创建、查询、完成、归档。当用户想把某条建议固化到首页、查看当前行动计划、标记完成,使用这个 skill。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Assess chronic disease risk — cardiovascular (modified Framingham), metabolic syndrome (IDF criteria), and 90-day trend analysis. Integrates wearable data (Garmin), labs, vitals, and genetic markers for personalized risk scoring with confidence intervals.
Family health management - medical reports, medications, review calendar, family daily health check. Use when user asks about family members' health, medical exams, medications, checkup schedules, or wants to manage health for parents/spouse/children.
Query and analyze user genetic test data (基因检测). Cross-reference genetics with medical reports, Garmin wearable data, and current health status for personalized nutrition, exercise, drug sensitivity, disease risk, and sleep advice.
Get AI health analysis, daily recommendations, health trend predictions, and health scores. Use when the user asks for health advice, trend analysis, risk assessment, or wellness recommendations.
综合查询健康数据 — Digital Health Twin 快照、Safety 告警、长期趋势、Orchestrator 多专家分析。当用户想了解自己的整体健康状况、趋势变化、安全风险时使用。
Query health data from the Health Management System - steps, heart rate, HRV, SpO2, sleep, weight, blood pressure, workouts, diet, and checkin status. Use when the user asks about their health metrics, fitness data, or daily stats.
| name | action-card-manager |
| description | 管理首页行动卡片 — 创建、查询、完成、归档。当用户想把某条建议固化到首页、查看当前行动计划、标记完成,使用这个 skill。 |
| version | 1.0.0 |
| metadata | {"agent":{"requires":{"env":["HEALTH_API_URL","HEALTH_API_TOKEN"],"bins":["curl"]},"primaryEnv":"HEALTH_API_TOKEN","emoji":"📌"}} |
管理智能助理首页的行动卡片(ActionCard)。行动卡片是对话中产出的有价值建议的持久化形式。
Authorization: Bearer ${HEALTH_API_TOKEN}application/json| 用户说 | 你应该做 |
|---|---|
| "把这个计划保存到首页" | 调用创建卡片接口 |
| "固化到首页" | 调用创建卡片接口 |
| "我有哪些行动计划" | 调用查询卡片接口 |
| "这个计划完成了" | 调用更新状态接口 |
| "删掉那个卡片" | 调用归档接口 |
curl -s -X POST \
-H "Authorization: Bearer ${HEALTH_API_TOKEN}" \
-H "Content-Type: application/json" \
"${HEALTH_API_URL}/action-cards/from-message" \
-d '{
"content": "## 俯卧撑2周计划\n\n每周4练...\n\n### 第1周\n- Day1: 12×4组\n...",
"card_type": "plan",
"source_id": "conversation_123"
}'
plan(训练/行动计划)、insight(健康洞察)、recommendation(饮食/补剂建议)、note(备忘)。默认 plan。关键规则:content 字段放你完整的回答内容(markdown),不要只放标题。系统会自动提取标题。
curl -s -X POST \
-H "Authorization: Bearer ${HEALTH_API_TOKEN}" \
-H "Content-Type: application/json" \
"${HEALTH_API_URL}/action-cards" \
-d '{
"title": "每周复查肝功能",
"content": "4-6周后复查 ALT/AST/GGT,期间避免酒精和肝毒性补剂。",
"card_type": "recommendation",
"priority": 10
}'
curl -s -H "Authorization: Bearer ${HEALTH_API_TOKEN}" \
"${HEALTH_API_URL}/action-cards/me?status=active&limit=10"
active(进行中)、completed(已完成)、archived(已归档)、all(全部)返回 JSON 数组,每个元素包含 id, title, content, card_type, status, priority, created_at。
curl -s -X PATCH \
-H "Authorization: Bearer ${HEALTH_API_TOKEN}" \
-H "Content-Type: application/json" \
"${HEALTH_API_URL}/action-cards/{card_id}" \
-d '{"status": "completed"}'
可更新字段:
active → completed → archivedfalse 隐藏curl -s -X DELETE \
-H "Authorization: Bearer ${HEALTH_API_TOKEN}" \
"${HEALTH_API_URL}/action-cards/{card_id}"
from-message 接口plan、化验解读/趋势分析→insight、饮食/补剂建议→recommendation、其他→note