Live To 100
Core Rule
Position the output as lifestyle guidance, not diagnosis or emergency care.
If the user reports urgent danger signs (e.g., severe chest pain, fainting, stroke-like symptoms, self-harm intent), stop planning and advise immediate emergency care.
Workflow
1) Collect baseline data
Use references/intake-template.md as the intake form.
Ask only for missing high-impact fields first:
- - Age, biological sex, height, weight, waist
- Blood pressure (if known), resting heart rate, sleep duration
- Activity level (steps, exercise days/week, sedentary hours)
- Smoking, alcohol, caffeine timing
- Current diseases, medications, supplement list
- Main goal and constraints (time, budget, injuries, shift work)
If data is partial, continue with assumptions and clearly label assumptions.
2) Build longevity profile
Produce a concise risk-and-opportunity snapshot:
- -
Green: already solid habits to maintain - INLINECODE2 : moderate gaps to improve in 4-12 weeks
- INLINECODE3 : possible high-risk items that need clinician follow-up
Prioritize behavior changes by expected impact and feasibility.
Do not overload the plan with more than 3 major behavior goals at once.
Then calculate a Longevity Risk Score (0-100) using references/risk-scoring.md:
- - Show total score and sub-scores (body composition, cardiometabolic, sleep/recovery, activity/sedentary, habits, medical context).
- Explain top 3 contributors and which 2-3 changes can move the score most in 4 weeks.
- If critical data is missing, output a provisional score and list missing fields.
3) Generate actionable plan
Return a 12-week plan in 3 phases:
- -
Phase 1 (Week 1-2): minimum viable routine and reminders - INLINECODE7 : progressive overload and consistency targets
- INLINECODE8 : stabilization and relapse prevention
Include these dimensions:
- - Hydration
- Standing/mobility breaks
- Sleep timing and wind-down
- Exercise (aerobic + strength + daily movement)
- Nutrition guardrails
- Supplements (after safety screening only)
For each action, specify:
- - Trigger (
when) - Action (
what) - Minimum bar (
minimum version) - Upgrade path (
next level)
4) Configure reminders
Use references/reminder-presets.md and adapt to user wake/sleep schedule.
For complex timetables (multiple windows, weekday/weekend differences, interval reminders, quiet hours), use references/reminder-timetable.md.
Always output a reminder table with:
- - Reminder type
- Time or interval
- Message
- Duration
- Completion rule
Support at least these reminders:
- - Drink water
- Stand up / move
- Sleep routine
- Workout
- Supplements
If the platform supports recurring automations, generate platform-ready schedules.
If not, output copy-paste reminder text for phone calendar or todo apps.
When structured schedule JSON is available, generate concrete reminders with:
INLINECODE15
5) Apply supplement safety gate
Use references/supplement-safety.md before confirming any supplement advice:
- - Check contraindications against existing diseases, meds, allergies, pregnancy/breastfeeding status, kidney/liver flags.
- Check dosage and timing boundaries; avoid adding stacked supplements with overlapping risks.
- Output status per supplement:
Safe to continue, Needs clinician review, or Avoid for now. - If conflict exists, prioritize food-first alternatives and medical follow-up over additional supplements.
6) Close the loop with auto reports
Add a lightweight check-in protocol:
- - Daily: adherence score (0-100) + 1 blocker
- Weekly: trend on sleep, movement, training sessions, waist/weight
- Every 4 weeks: adjust targets based on adherence and recovery
When adherence is low, reduce plan complexity before increasing intensity.
Generate reports using references/report-templates.md:
- - Weekly report: adherence, metric deltas, blockers, and next-week focus.
- Monthly report: score trend, behavior consistency, supplement safety events, and plan adjustments.
- Keep each report short and action-oriented.
7) Analyze daily meals and calorie deficit
Use references/daily-nutrition-log.md for daily food logging input.
Evaluate these outputs every day:
- - Total calories and estimated calorie deficit/surplus vs target
- Macro totals (protein/carbs/fat) and ratio balance
- Fiber and hydration adequacy
- Food diversity and ultra-processed food proportion (if available)
Return:
- - INLINECODE22
- INLINECODE23 (on target / too aggressive / insufficient)
- 2-3 concrete meal adjustments for next day
When structured daily log JSON is available, generate analysis with:
INLINECODE24
Output Format
Use this order:
- 1.
Health Snapshot (Green/Yellow/Red) - INLINECODE26 (total + sub-scores + key drivers)
- INLINECODE27
- INLINECODE28
- INLINECODE29
- INLINECODE30
- INLINECODE31
- INLINECODE32 (if applicable)
Keep recommendations specific, measurable, and time-bound.
Avoid abstract advice without concrete behaviors.
Resources
- - Intake template: INLINECODE33
- Daily nutrition intake template: INLINECODE34
- Reminder defaults: INLINECODE35
- Complex timetable schema: INLINECODE36
- Risk model: INLINECODE37
- Supplement safety: INLINECODE38
- Weekly/monthly report templates: INLINECODE39
- Report generator script: INLINECODE40
- Reminder timetable generator script: INLINECODE41
- Daily nutrition analyzer script: INLINECODE42
Use the script when structured JSON data is available:
INLINECODE43
活到100岁
核心规则
将输出定位为生活方式指导,而非诊断或紧急护理。
如果用户报告紧急危险信号(如严重胸痛、昏厥、中风样症状、自伤意图),停止规划并建议立即寻求紧急护理。
工作流程
1) 收集基线数据
使用 references/intake-template.md 作为信息采集表。
首先仅询问缺失的高影响字段:
- - 年龄、生理性别、身高、体重、腰围
- 血压(如已知)、静息心率、睡眠时长
- 活动水平(步数、每周运动天数、久坐小时数)
- 吸烟、饮酒、咖啡因摄入时间
- 当前疾病、用药、补充剂清单
- 主要目标和限制条件(时间、预算、伤病、轮班工作)
如果数据不完整,继续使用假设并明确标注假设。
2) 构建长寿档案
生成简洁的风险与机遇概览:
- - 绿色:已稳固的习惯,需保持
- 黄色:中等差距,可在4-12周内改善
- 红色:可能需要临床随访的高风险项目
按预期影响和可行性优先排序行为改变。
一次不要超过3个主要行为目标。
然后使用 references/risk-scoring.md 计算 长寿风险评分(0-100):
- - 显示总分和子项得分(身体成分、心血管代谢、睡眠/恢复、活动/久坐、习惯、医疗背景)。
- 解释前3大贡献因素以及哪2-3项改变能在4周内最大程度提升分数。
- 如果关键数据缺失,输出临时分数并列出缺失字段。
3) 生成可执行计划
返回一个分为3个阶段的12周计划:
- - 第一阶段(第1-2周):最低可行日常安排和提醒
- 第二阶段(第3-6周):渐进超负荷和一致性目标
- 第三阶段(第7-12周):稳定化和防复发
包含以下维度:
- - 水分补充
- 站立/活动休息
- 睡眠时间和放松准备
- 运动(有氧 + 力量 + 日常活动)
- 营养指导原则
- 补充剂(仅限安全筛查后)
对每项行动,明确:
- - 触发条件(何时)
- 行动(做什么)
- 最低标准(最低版本)
- 升级路径(下一级别)
4) 配置提醒
使用 references/reminder-presets.md 并根据用户作息时间调整。
对于复杂时间表(多个时间段、工作日/周末差异、间隔提醒、免打扰时段),使用 references/reminder-timetable.md。
始终输出提醒表格,包含:
至少支持以下提醒:
如果平台支持周期性自动化,生成平台就绪的时间表。
如果不支持,输出可复制粘贴的提醒文本,用于手机日历或待办应用。
当结构化时间表JSON可用时,使用以下命令生成具体提醒:
python scripts/generateremindertimetable.py --input schedule.json --output reminders.md
5) 应用补充剂安全门控
在确认任何补充剂建议前,使用 references/supplement-safety.md:
- - 检查与现有疾病、用药、过敏、怀孕/哺乳状态、肾脏/肝脏指标的禁忌症。
- 检查剂量和时间边界;避免添加具有重叠风险的叠加补充剂。
- 输出每种补充剂的状态:可安全继续、需临床医生审核 或 暂时避免。
- 如果存在冲突,优先选择食物替代方案和医疗随访,而非额外补充剂。
6) 通过自动报告闭环
添加轻量级签到协议:
- - 每日:依从性评分(0-100)+ 1个障碍因素
- 每周:睡眠、活动、训练次数、腰围/体重的趋势
- 每4周:根据依从性和恢复情况调整目标
当依从性较低时,先降低计划复杂度,再增加强度。
使用 references/report-templates.md 生成报告:
- - 周报:依从性、指标变化、障碍因素和下周重点。
- 月报:评分趋势、行为一致性、补充剂安全事件和计划调整。
- 保持每份报告简短且以行动为导向。
7) 分析每日饮食和热量缺口
使用 references/daily-nutrition-log.md 进行每日饮食记录输入。
每天评估以下输出:
- - 总热量和相对于目标的热量缺口/盈余估算
- 宏量营养素总量(蛋白质/碳水化合物/脂肪)和比例平衡
- 纤维和水分充足度
- 食物多样性和超加工食品比例(如可用)
返回:
- - 营养平衡评分(0-100)
- 热量缺口状态(达标 / 过于激进 / 不足)
- 2-3项针对第二天的具体饮食调整
当结构化每日饮食日志JSON可用时,使用以下命令生成分析:
python scripts/analyzedailynutrition.py --input nutritionday.json --output nutritionreport.md
输出格式
按以下顺序:
- 1. 健康概览(绿色/黄色/红色)
- 长寿风险评分(总分 + 子项得分 + 关键驱动因素)
- 12周长寿计划
- 提醒时间表
- 补充剂安全检查
- 每日营养平衡和热量缺口
- 签到和自动报告规则
- 医疗随访标志(如适用)
保持建议具体、可衡量且有时限。
避免没有具体行为的抽象建议。
资源
- - 信息采集模板:references/intake-template.md
- 每日营养摄入模板:references/daily-nutrition-log.md
- 提醒默认设置:references/reminder-presets.md
- 复杂时间表模式:references/reminder-timetable.md
- 风险模型:references/risk-scoring.md
- 补充剂安全:references/supplement-safety.md
- 周报/月报模板:references/report-templates.md
- 报告生成脚本:scripts/generatehealthreports.py
- 提醒时间表生成脚本:scripts/generateremindertimetable.py
- 每日营养分析脚本:scripts/analyzedailynutrition.py
当结构化JSON数据可用时,使用脚本:
python scripts/generatehealthreports.py --input user_data.json --output report.md