healthfit 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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/chenchen913/healthfit/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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.01317 $0.01317
Opus 5 $0.00659 $0.00659
Sonnet 5 $0.00263 $0.00263
Haiku 4.5 $0.00132 $0.00132

Measured 5d ago against content hash 473b10a9560e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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. 5d 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 (5 stars, last pushed 5mo ago), licensed MIT. It adds 1,317 tokens to every session, about $0.0066 per session on Opus 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

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens