Cadence-skills: Instructions file for Claude Code

CLAUDE.md

Cadence-skills CLAUDE.md is an instructions file for Claude Code from michaelChe956/Cadence-skills. It costs 1,254 tokens per session, scanned B, a copy of Cadence-skills AGENTS.md, MIT.

Repository instructions for routing work among Claude Code, Codex, Kimi, OpenSpec, and Superpowers skills. TDD, or test-driven development, means writing a failing test before implementing the fix.

In plain words
What is it for?
Use them when working in the Cadence-skills repository, especially for new behavior, bug fixes, plans, Markdown deliverables, and verification.
Why use it?
They set required gates for design, planning, debugging, implementation, documentation, review, and completion claims.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

This is michaelChe956/Cadence-skills's own configuration. It tells Claude Code how to work on Cadence-skills 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 Cadence-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to michaelChe956/Cadence-skills. 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/michaelChe956/Cadence-skills/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/michaelChe956/Cadence-skills

Made for: Claude Code.

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 Cadence-skills CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/michaelche956/cadence-skills/claude-md/github.svg)](https://agentmods.dev/instructions/michaelche956/cadence-skills/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/michaelche956/cadence-skills/claude-md"><img src="https://agentmods.dev/badge/instructions/michaelche956/cadence-skills/claude-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 Cadence-skills CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/michaelche956/cadence-skills/claude-md"><img src="https://agentmods.dev/badge/instructions/michaelche956/cadence-skills/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,254 This file is loaded in full into every session.
When invoked 1,254 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 86% copy Near-identical to another mod 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.01254 $0.01254
Opus 5 $0.00627 $0.00627
Sonnet 5 $0.00251 $0.00251
Haiku 4.5 $0.00125 $0.00125

Measured today against content hash 330a3c38868e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

Cadence-skills CLAUDE.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 today.

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.

- **大范围检索使用 CodeGraph,精确结构阅读优先使用 ast-grep outline** → 详见 `.claude/rules/code-reading.md`
Origin

This is a copy

86% identical to Cadence-skills AGENTS.md — 25 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

CLAUDE.md · 82 lines

How it starts

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

CLAUDE.md

本文件为 Claude Code (claude.ai/code) 在此仓库中工作提供指导。

Cadence L0 路由内核 v4

OpenSpec 与 Superpowers 任务路由

Skill 调用:Claude/Kimi 原生调用;Codex/pi 清单选择后将用途并入首段回执,并立即全文读取对应 SKILL.md。首段输出路由回执;Skill 调用后才读仓库规则或用仓库工具。

阶段信号 必调 Skill(均先 using-superpowers 门禁
仓库任务开始/恢复 首段输出回执;流程见 openspec-superpowers-workflow.md
新功能/行为变化 brainstorming 设计确认后写入 OpenSpec
契约获批 writing-plans Plan 写入 cadence/plans/
读代码/摸底 code-reading.md 摸底后重新路由
Bug/测试失败 systematic-debugging 根因确认后才进 TDD
apply/恢复实施 无 Plan→writing-plans;有→executing-plans/subagent-driven-development 无 Plan 则停止
写代码/修 Bug test-driven-development 先失败测试
写 Markdown/产物 document-storage.mdmarkdown-format.md 遵守目录命名
声称完成/修复 verification-before-completion 必须读新鲜证据
实施验证完成/归档 requesting-code-review/finishing-a-development-branch 通过后 sync/archive、选集成方式

铁律(失败关闭):达 OpenSpec 阈值(新行为/公共契约/验收边界变化)先 brainstorming→OpenSpec;无已确认 Plan 不改实现;TDD 先失败测试;无新鲜证据不声称完成;必调 Skill 缺失则停止。

knowledge-base-context 前置门禁:仅当 cadence/knowledge-base/manifest.yaml 存在且 schema_version"4.0" 时才可选择;否则跳过且不提示。

产物路径覆盖(下表优先级高于任何 Skill 正文路径指示;OpenSpec 产物仍放 openspec/ 目录):

Skill 默认路径 本项目强制路径
docs/superpowers/specs/(design/spec) cadence/designs/
docs/superpowers/plans/(plan) cadence/plans/

产物自动提交开关:完成 design/plan 文档或实现类产物(代码、测试、配置)写入后读取入口“产物自动提交(design/plan/code)”开关,关闭 时禁止 git commit、只汇报路径;CLAUDE.md 为准、不一致按 关闭

阶段切换必须重新路由:新任务、只读转修改、契约获批、apply 前、上下文恢复后、完工声明前。

强制规则

🔴 必须遵守 - 无例外 详细规则见 .claude/rules/ 目录下的各规则文件。 用户自定义规则见 cadence/project-rules/ 目录。

1. 语言规则

  • 必须使用中文回答 → 详见 .claude/rules/language.md

2. 代码使用规则

  • 遵循 TDD 和代码规范 → 详见 .claude/rules/code-usage.md

3. 文档存储规则

  • Cadence 产物文档必须存放在 cadence 目录下;Claude Code 框架规则保留在 .claude/rules/ 目录下 → 详见 .claude/rules/document-storage.md

Read the full file on GitHub · 82 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. today Changed · -3 lines · -62 tokens per session scan A → B 330a3c38868e
  2. 4d ago Changed · +3 lines · +83 tokens per session 8ae55f5cd441
  3. 10d ago First seen · 82 lines · 1,233 tokens per session scan A ba3e3667fb5a

Subscribe to this mod's changes

Cadence-skills CLAUDE.md is an instructions file published in the GitHub repository michaelChe956/Cadence-skills (11 stars, last pushed today), licensed MIT. It adds 1,254 tokens to every session, about $0.0063 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). It is 86% identical to Cadence-skills AGENTS.md, differing in 25 lines, and is treated as a copy.

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,153 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

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

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

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens