Not in the top 1,000 by GitHub stars

albert-ying/longevity-os

太医院 — Agentic Longevity OS with 10 AI physicians. N-of-1 trials, cross-module pattern detection, PubMed-grounded insights, Bayesian causal inference. Works with Claude Code & OpenClaw.

History

Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.

View weekly changes

SKILL.md

Week of Nov 2, 2026 · Line counts unavailable

Before Not checked yet → After Network or broad shell

First observation → d36a89f3ccea

No earlier version was observed for comparison.

Compare on GitHub

View on GitHubAdd to my skills

Verified commit d36a89f3cceaf7ca0139c2d4e7247da7edd052b5

25GitHub stars
0stars in 7 days
1skill in this repository
0commits in 30 days

Heat

0.4
  • Star growth, last 7 daysNot available
  • Star growth, last 24 hoursNot available
  • Rank movement, last 7 daysNot available
  • Commits, last 30 daysNot available
  • Accounts asking about it through MCP, last 7 daysNot available
  • Hot votes this weekNot available

Heat never changes the order by stars, and sponsorship never touches it. How heat works

Stars over time

Oct 25, 2026Oct 25, 202625

30-day change not yet available: not enough history.

Individual skills in this repository

How it works

longevity-os

When your agent uses it

Longevity OS (太医院) — personal health tracking, N-of-1 trials, and longevity optimization. Triggers on /longevity, /taiyiyuan, health tracking, diet logging, exercise logging, supplement management, biomarker review, and self-experimentation keywords.

What it loads into context

Frontmatter

65 tokens

Always available to the agent

SKILL.md

5,258 tokens

When the skill is activated

Reference documents

34,436 tokens

Loaded on request

Token counts are estimates. Scripts run separately; they are not counted as reference context.

The playbook

  1. System Paths
  2. Database Initialization
  3. Department Registry
  4. Intent Classification
  5. Agent Dispatch Protocol
  6. Trial Proposal Flow
  7. Response Format
  8. Weekly Report Protocol
  9. Behavioral Rules
  10. Nutrition Lookup Protocol
  11. SQL Patterns
  12. Edge Cases
  13. Integration with Dendron Vault
  14. Quick Reference — Common Interactions

Scripts executed separately

  • dashboard/server.py
  • data/db.py
  • data/nutrition_api.py
  • docs/capture_screenshots.mjs
  • modeling/causal.py
  • modeling/engine.py
  • modeling/patterns.py
  • scripts/backup.py
  • scripts/export.py
  • scripts/generate_demo_data.py
  • scripts/import_apple_health.py
  • scripts/import_labs.py
  • scripts/migrate.py
  • scripts/setup.py

Files

  • .gitignoreasset356 bytes
  • README.mddoc25,677 bytes
  • README.zh.mddoc24,836 bytes
  • SKILL.mdcore20,971 bytes
  • SKILL.mdcore20,971 bytes
  • agents/baogao.mddoc9,985 bytes
  • agents/bencao.mddoc8,015 bytes
  • agents/daoyin.mddoc6,585 bytes
  • agents/shixiao.mddoc7,569 bytes
  • agents/shiyi.mddoc7,414 bytes
  • agents/yanfang.mddoc9,038 bytes
  • agents/yizheng.mddoc9,987 bytes
  • agents/yuanpan.mddoc10,549 bytes
  • agents/zhenmai.mddoc6,527 bytes
  • dashboard/dashboard.htmlasset77,907 bytes
  • dashboard/server.pyruns19,170 bytes
  • data/db.pyruns43,764 bytes
  • data/migrations/001_init.sqlasset12,721 bytes
  • data/nutrition_api.pyruns12,278 bytes
  • data/schema.sqlasset15,471 bytes
  • docs/agent-flow.mmdasset3,302 bytes
  • docs/agent-flow.svgasset34,086 bytes
  • docs/architecture.mmdasset5,291 bytes
  • docs/architecture.svgasset119,686 bytes
  • docs/capture_screenshots.mjsruns3,371 bytes
  • docs/characters/baogao.svgasset7,827 bytes
  • docs/characters/bencao.svgasset8,128 bytes
  • docs/characters/daoyin.svgasset7,076 bytes
  • docs/characters/shixiao.svgasset8,046 bytes
  • docs/characters/shiyi.svgasset6,716 bytes
  • docs/characters/yanfang.svgasset7,456 bytes
  • docs/characters/yizheng.svgasset6,584 bytes
  • docs/characters/yuanpan.svgasset7,284 bytes
  • docs/characters/yuyi.svgasset5,763 bytes
  • docs/characters/zhenmai.svgasset7,289 bytes
  • docs/demo-output/README.mddoc4,509 bytes
  • docs/demo-output/anomaly-detection.txtdoc1,257 bytes
  • docs/demo-output/causal-trial-analysis.txtdoc6,437 bytes
  • docs/demo-output/confounders-check.txtdoc2,735 bytes
  • docs/demo-output/cross-module-scan.txtdoc7,554 bytes
  • docs/demo-output/daily-digest.txtdoc1,883 bytes
  • docs/demo-output/db-query-demo.txtdoc5,490 bytes
  • docs/demo-output/exercise-summary.txtdoc1,317 bytes
  • docs/demo-output/nutrient-summary.txtdoc689 bytes
  • docs/demo-output/pattern-scan.txtdoc140,129 bytes
  • docs/demo-output/periodicity-detection.txtdoc45 bytes
  • docs/demo-output/power-analysis.txtdoc576 bytes
  • docs/demo-output/rolling-stats.txtdoc572 bytes
  • docs/demo-output/trend-analysis.txtdoc228 bytes
  • docs/demo-output/trial-candidates.txtdoc96,956 bytes
  • docs/demo-output/weekly-report.txtdoc5,708 bytes
  • docs/logo.pngasset3,875,340 bytes
  • docs/screenshots/dashboard-biomarkers.pngasset186,120 bytes
  • docs/screenshots/dashboard-exercise.pngasset287,823 bytes
  • docs/screenshots/dashboard-full.pngasset2,237,891 bytes
  • docs/screenshots/dashboard-hero.pngasset284,649 bytes
  • docs/screenshots/dashboard-insights.pngasset211,876 bytes
  • docs/screenshots/dashboard-metrics.pngasset242,226 bytes
  • docs/screenshots/dashboard-nutrition.pngasset150,714 bytes
  • docs/screenshots/dashboard-summary.pngasset214,355 bytes
  • docs/screenshots/dashboard-supplements.pngasset219,024 bytes
  • docs/screenshots/dashboard-trials.pngasset143,947 bytes
  • modeling/causal.pyruns41,638 bytes
  • modeling/engine.pyruns34,671 bytes
  • modeling/patterns.pyruns30,780 bytes
  • scripts/backup.pyruns13,017 bytes
  • scripts/export.pyruns9,471 bytes
  • scripts/generate_demo_data.pyruns62,637 bytes
  • scripts/import_apple_health.pyruns14,124 bytes
  • scripts/import_labs.pyruns25,672 bytes
  • scripts/migrate.pyruns8,248 bytes
  • scripts/setup.pyruns10,648 bytes

No excerpt is shown for this license. Read the source on GitHub.

View the complete source on GitHub

Skills included

  • longevity-os

Repository facts

License
No license detected
Created
Mar 12, 2026
Last pushed
Mar 12, 2026
Forks
4
Open issues
0
Project activity
Slowing

Before you install

Network or broad shell

Automated signals, not a guarantee

Checked Nov 5, 2026

Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.

Show 3 notes
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • docs/agent-flow.svg:1 Analysis incomplete: physical or joined line exceeds character limit
  • docs/architecture.svg:1 Analysis incomplete: physical or joined line exceeds character limit
Show all 87 signals by file

.gitignore

  • Access to secretsline 32
    [Credential-related source omitted]

README.md

  • Network accessline 385
    # 1. Clone the repo git clone https://github.com/albert-ying/longevity-os.git
  • Network accessline 386
    git clone https://github.com/albert-ying/longevity-os.git
  • Network accessline 402
    The orchestrator (Imperial Physician) pattern maps directly to OpenClaw's [multi-agent routing](https://docs.openclaw.ai/concepts/multi-agent). A persistent orchestrator agent handles user chat and spawns sub-agents for parallel tasks (diet
  • Network accessline 418
    # 3. Open http://localhost:8420

README.zh.md

  • Network accessline 378
    # 1. 克隆仓库 git clone https://github.com/albert-ying/longevity-os.git
  • Network accessline 379
    git clone https://github.com/albert-ying/longevity-os.git
  • Network accessline 395
    御医(编排器)模式直接映射到 OpenClaw 的[多智能体路由](https://docs.openclaw.ai/concepts/multi-agent):一个常驻编排智能体处理用户对话,按需派生子智能体并行执行任务。通过 WhatsApp、Telegram、Slack、Discord 或 iMessage 均可交互。
  • Network accessline 411
    # 3. 打开 http://localhost:8420

agents/daoyin.md

  • Network accessline 43
    | Row (any) | back | biceps | | Lunges | quadriceps | glutes | | Bicep curl | biceps | forearms |
  • Network accessline 44
    | Lunges | quadriceps | glutes | | Bicep curl | biceps | forearms | | Tricep extension | triceps | - |
  • Network accessline 45
    | Bicep curl | biceps | forearms |

dashboard/dashboard.html

  • Network accessline 6
    <meta name="color-scheme" content="light only"> <title>Longevity OS</title> <link rel="preconnect" href="https://fonts.googleapis.com">
  • Network accessline 7
    <title>Longevity OS</title> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  • Network accessline 8
    <link rel="preconnect" href="https://fonts.googleapis.com">
  • Network accessline 9
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  • Network accessline 10
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Serif+SC:wght@400;600;700;900&display=swap" rel="stylesheet">
  • Network accessline 11
    <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.7/dist/chart.umd.min.js"
  • Network accessline 63
    radial-gradient(ellipse at 20% 50%, rgba(218,165,32,0.02) 0%, transparent 60%),     radial-gradient(ellipse at 80% 20%, rgba(196,30,58,0.01) 0%, transparent 50%),     url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www
  • Network accessline 64
    radial-gradient(ellipse at 80% 20%, rgba(196,30,58,0.01) 0%, transparent 50%),     url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequ
  • Network accessline 65
    url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' 
  • Network accessline 1115
    var(--gold-dim) 22px     );   mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0 10 Q12.5 0 25 10 T50 10 T75 10 T100 10 V20 H0Z' fill='black'/%3E%3C/svg%3E");
  • Network accessline 1116
    );   mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0 10 Q12.5 0 25 10 T50 10 T75 10 T100 10 V20 H0Z' fill='black'/%3E%3C/svg%3E");   mask-size: 100px 20px;
  • Network accessline 1117
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0 10 Q12.5 0 25 10 T50 10 T75 10 T100 10 V20 H0Z' fill='black'/%3E%3C/svg%3E");
  • Network accessline 1118
    mask-size: 100px 20px;   mask-repeat: repeat-x;   -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0 10 Q12.5 0 25 10 T50 10 T75 10 T100 10 V20 H0Z' fill='black'/%3E%3C
  • Network accessline 1119
    mask-repeat: repeat-x;   -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0 10 Q12.5 0 25 10 T50 10 T75 10 T100 10 V20 H0Z' fill='black'/%3E%3C/svg%3E");   -webkit-mask
  • Network accessline 1120
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0 10 Q12.5 0 25 10 T50 10 T75 10 T100 10 V20 H0Z' fill='black'/%3E%3C/svg%3E");
  • Network accessline 1699
    Object.entries(params).forEach(([k, v]) => { if (v != null) url.searchParams.set(k, v); });   try {     const res = await fetch(url);
  • Network accessline 1700
    try {     const res = await fetch(url);     if (!res.ok) return null;
  • Network accessline 1701
    const res = await fetch(url);

dashboard/server.py

  • Executable scriptline 1
    #!/usr/bin/env python3
  • Access to secretsline 26
    [Credential-related source omitted]
  • Network accessline 531
    server = HTTPServer(("127.0.0.1", args.port), TaiYiYuanHandler)     print(f"\n  太医院 Longevity OS — http://localhost:{args.port}\n")
  • Network accessline 532
    print(f"\n  太医院 Longevity OS — http://localhost:{args.port}\n")

data/db.py

  • Executable scriptline 1
    Executable file

data/nutrition_api.py

  • Executable scriptline 1
    Executable file
  • Network accessline 21
    # USDA FoodData Central nutrient ID → our schema field mapping # https://fdc.nal.usda.gov/api-guide.html
  • Network accessline 22
    # https://fdc.nal.usda.gov/api-guide.html
  • Access to secretsline 119
    [Credential-related source omitted]
  • Network accessline 124
    [Credential-related source omitted]
  • Access to secretsline 124
    [Credential-related source omitted]
  • Network accessline 125
    [Credential-related source omitted]
  • Access to secretsline 125
    [Credential-related source omitted]
  • Network accessline 126
    Get a free key at: https://fdc.nal.usda.gov/api-key-signup.html
  • Access to secretsline 129
    [Credential-related source omitted]
  • Access to secretsline 130
    [Credential-related source omitted]
  • Access to secretsline 132
    [Credential-related source omitted]
  • Network accessline 222
    Endpoint: https://api.nal.usda.gov/fdc/v1/foods/search
  • Access to secretsline 233
    [Credential-related source omitted]
  • Network accessline 236
    "pageSize": 5,         })         url = f"https://api.nal.usda.gov/fdc/v1/foods/search?{params}"
  • Network accessline 238
    url = f"https://api.nal.usda.gov/fdc/v1/foods/search?{params}"
  • Network accessline 240
    try:             req = urllib.request.Request(url)
  • Network accessline 241
    req = urllib.request.Request(url)
  • Network accessline 242
    req.add_header("User-Agent", "TaiYiYuan/1.0")             with urllib.request.urlopen(req, timeout=REQUEST_TIMEOUT) as resp:                 data = json.loads(resp.read().decode("utf-8"))
  • Network accessline 243
    with urllib.request.urlopen(req, timeout=REQUEST_TIMEOUT) as resp:
  • Network accessline 278
    Endpoint: https://world.openfoodfacts.org/cgi/search.pl
  • Network accessline 294
    "fields": "product_name,nutriments",         })         url = f"https://world.openfoodfacts.org/cgi/search.pl?{params}"
  • Network accessline 296
    url = f"https://world.openfoodfacts.org/cgi/search.pl?{params}"
  • Network accessline 298
    try:             req = urllib.request.Request(url)
  • Network accessline 299
    req = urllib.request.Request(url)
  • Network accessline 300
    req.add_header("User-Agent", "TaiYiYuan/1.0 (personal health tracker)")             with urllib.request.urlopen(req, timeout=REQUEST_TIMEOUT) as resp:                 data = json.loads(resp.read().decode("utf-8"))
  • Network accessline 301
    with urllib.request.urlopen(req, timeout=REQUEST_TIMEOUT) as resp:

docs/agent-flow.svg

  • Network accessline 1
    <svg id="my-svg" width="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="flowchart" style="max-width: 2307.92px; background-color: white;" viewBox="0 0 2307.921875 518.46875" role="graphics-document

docs/architecture.svg

  • Network accessline 1
    <svg id="my-svg" width="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="flowchart" style="max-width: 2637.24px; background-color: white;" viewBox="0 0 2637.24072265625 1874.7166748046875" role="gra

docs/capture_screenshots.mjs

  • Executable scriptline 1
    #!/usr/bin/env node
  • Network accessline 15
    const URL = 'http://localhost:8420';

docs/characters/baogao.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="200" height="200">

docs/characters/bencao.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="200" height="200">

docs/characters/daoyin.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="200" height="200">

docs/characters/shixiao.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="200" height="200">

docs/characters/shiyi.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="200" height="200">

docs/characters/yanfang.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="200" height="200">

docs/characters/yizheng.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="200" height="200">

docs/characters/yuanpan.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="200" height="200">

docs/characters/yuyi.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="200" height="200">

docs/characters/zhenmai.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="200" height="200">

modeling/causal.py

  • Executable scriptline 1
    Executable file

modeling/engine.py

  • Executable scriptline 1
    Executable file
  • Dangerous shell operationline 279
    rm = rolling_mean.get(dt)

modeling/patterns.py

  • Executable scriptline 1
    Executable file

scripts/backup.py

  • Executable scriptline 1
    #!/usr/bin/env python3

scripts/export.py

  • Executable scriptline 1
    #!/usr/bin/env python3

scripts/generate_demo_data.py

  • Executable scriptline 1
    #!/usr/bin/env python3

scripts/import_apple_health.py

  • Executable scriptline 1
    #!/usr/bin/env python3

scripts/import_labs.py

  • Executable scriptline 1
    #!/usr/bin/env python3

scripts/migrate.py

  • Executable scriptline 1
    #!/usr/bin/env python3

scripts/setup.py

  • Executable scriptline 1
    #!/usr/bin/env python3

How the signals fit together

Facts from a static read of the files at the pinned commit. They describe what the code does, not why.

Some files could not be read; the facts below still hold.

Declared and executed: 2 facts
  • Contacts api.nal.usda.gov, which SKILL.md, the README and the plugin manifest do not mentiondata/nutrition_api.py:238High confidence
  • Contacts world.openfoodfacts.org, which SKILL.md, the README and the plugin manifest do not mentiondata/nutrition_api.py:296High confidence
Signal confidence: 56 facts

and 6 more

Works with

Agent compatibility, from the files in this repository
AgentStatusEvidenceInstall to
Claude CodeCompatibleStandard SKILL.md SKILL.md.claude/skills/<skill-name>/
CodexCompatibleStandard SKILL.md SKILL.md.agents/skills/<skill-name>/
CursorCompatibleStandard SKILL.md SKILL.md.cursor/skills/<skill-name>/
Gemini CLICompatibleStandard SKILL.md SKILL.md.gemini/skills/<skill-name>/
GitHub CopilotCompatibleStandard SKILL.md SKILL.md.github/skills/<skill-name>/
OpenCodeCompatibleStandard SKILL.md SKILL.md.opencode/skills/<skill-name>/
  • Native The repository ships a manifest, folder or frontmatter field for this agent.
  • Compatible A standard SKILL.md that this agent can read.
  • Unknown No evidence either way.

Derived automatically from paths, manifests and frontmatter. Not tested on each agent.