healthfit: Instructions file for Codex

AGENTS.md

healthfit AGENTS.md is an instructions file for Codex, OpenCode from ChenChen913/healthfit. It costs 1,317 tokens per session, scanned B, original, MIT.

Project instructions for configuring the HealthFit skill across AI coding tools. HealthFit is a personal health-management assistant covering exercise, nutrition, traditional Chinese medicine, and health records.

In plain words
What is it for?
Setting up HealthFit in Claude Code or Cursor, routing health questions to specialist agents, and managing workout or health data.
Why use it?
It explains where to install the skill, how to activate it, and which tools and data files it supports.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is ChenChen913/healthfit's own configuration. It tells Codex and OpenCode how to work on healthfit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything healthfit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ChenChen913/healthfit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ChenChen913/healthfit/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/ChenChen913/healthfit

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for healthfit AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/chenchen913/healthfit/agents-md/github.svg)](https://agentmods.dev/instructions/chenchen913/healthfit/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/chenchen913/healthfit/agents-md"><img src="https://agentmods.dev/badge/instructions/chenchen913/healthfit/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for healthfit AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/chenchen913/healthfit/agents-md"><img src="https://agentmods.dev/badge/instructions/chenchen913/healthfit/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,317 This file is loaded in full into every session.
When invoked 1,317 The same file — it is already loaded in full.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01317 $0.01317
Opus 5.5 $0.00527 $0.00527
Sonnet 5.5 $0.00263 $0.00263
Haiku 4.5 $0.00132 $0.00132

Measured 2mo ago against content hash 473b10a9560e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

healthfit AGENTS.md scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

**配置方式(`~/.gemini/config.yaml`):**
AGENTS.md · 181 lines

How it starts

The opening of the file, as written. The whole thing — 181 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md — HealthFit Skill 多 AI 工具适配配置

本文件定义 HealthFit Skill 在不同 AI 工具中的配置方式,确保跨工具一致性体验。


概览

HealthFit Skill 的核心逻辑在 SKILL.md 中定义。不同 AI 工具在加载 Skill 的方式上存在差异,本文件提供各工具的具体配置指引。


Claude Code(推荐,功能完整)

安装方式:

# 方式 1:直接克隆到 skills 目录
git clone https://github.com/ChenChen913/healthfit ~/.claude/skills/healthfit

# 方式 2:使用 skills.sh(如已安装)
skills install healthfit

配置文件(~/.claude/CLAUDE.md 或项目 CLAUDE.md):

## Active Skills
- healthfit: 个人健康管理,当用户涉及运动、饮食、中医体质话题时激活

特性支持:

  • ✅ 完整的文件读写(profile.json、workout_log.txt 等)
  • ✅ Python 脚本执行(backup.py、export.py 等)
  • ✅ SQLite 数据库读写(周报/月报功能)
  • ✅ 所有 13 个专家角色完整路由

Cursor(代码编辑器中使用)

安装方式: 将 healthfit/ 文件夹放置于项目根目录或 ~/.cursor/skills/ 目录。

.cursorrules 配置片段:

You have access to the HealthFit skill located in ./healthfit/.
When the user mentions fitness, nutrition, TCM constitution, exercise logging,
or health management, load SKILL.md and follow its routing table.

Key behaviors:
- Route sports questions to the correct coach agent in ./healthfit/agents/
- Content moderation layer applies at all times (see SKILL.md)
- Data storage path: ./healthfit/data/

特性支持:

  • ✅ 文件读写(需项目内路径)
  • ✅ 专家角色路由
  • ⚠️ Python 脚本需手动执行
  • ❌ SQLite 查询功能受限

Windsurf / Trae

配置方式: 与 Cursor 类似,将以下内容加入全局规则或项目规则:

HealthFit Skill is available at ./healthfit/SKILL.md.
Load it when health, fitness, nutrition, or TCM topics arise.
Follow the expert matrix routing defined in SKILL.md.
Enforce content moderation layer at all times.
Data path: ./healthfit/data/

OpenHands(OpenDevin)

配置文件(.openhands/config.toml):

[agent]
system_prompt_suffix = """
You have access to HealthFit health management skill.
Skill location: ./healthfit/SKILL.md
Activate when: exercise, diet, nutrition, TCM, health tracking topics
Follow expert routing table in SKILL.md.
Content moderation applies to sexual health discussions.
"""

Gemini CLI

配置方式(~/.gemini/config.yaml):

system_instructions:
  - |
    HealthFit skill is available at ./healthfit/SKILL.md.
    Trigger on: fitness, nutrition, exercise, TCM, health management requests.
    Load the appropriate agent file from ./healthfit/agents/ based on the routing table.
    Enforce content moderation layer (no explicit sexual content, maintain civility).

Read the full file on GitHub · 181 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 181 lines · 1,317 tokens per session scan B 473b10a9560e

Subscribe to this mod's changes

healthfit AGENTS.md is an instructions file published in the GitHub repository ChenChen913/healthfit (6 stars, last pushed 7mo ago), licensed MIT. It adds 1,317 tokens to every session, about $0.0053 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

healthfit AGENTS.md compared with instructions from other repositories

healthfit AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
healthfit AGENTS.mdChenChen913/healthfitInstructions file67mo agoMITB1,317Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot