Cadence-skills: Instructions file for Codex

AGENTS.md

Cadence-skills AGENTS.md is an instructions file for Codex, OpenCode from michaelChe956/Cadence-skills. It costs 1,532 tokens per session, scanned A, original, MIT.

Repository instructions for Cadence-skills, covering task routing, language rules, code practices, and required workflows. An AGENTS.md file is guidance that coding agents read before working in a repository.

In plain words
What is it for?
Use it to guide agent work in the Cadence-skills repository, including OpenSpec planning, test-driven development, code reading, and completion checks.
Why use it?
It tells agents which process to follow for planning, debugging, testing, documentation, and verification. It also defines conditions that must be met before changing code or claiming the work is complete.

Instructions file for CodexOpenCode

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

This is michaelChe956/Cadence-skills's own configuration. It tells Codex and OpenCode 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/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/michaelChe956/Cadence-skills

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/michaelche956/cadence-skills/agents-md.svg)](https://agentmods.dev/instructions/michaelche956/cadence-skills/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/michaelche956/cadence-skills/agents-md"><img src="https://agentmods.dev/badge/instructions/michaelche956/cadence-skills/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,532 This file is loaded in full into every session.
When invoked 1,532 The same file — it is already loaded in full.
Security scan A 0 findings. 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.01532 $0.01532
Opus 5 $0.00766 $0.00766
Sonnet 5 $0.00306 $0.00306
Haiku 4.5 $0.00153 $0.00153

Measured 3d ago against content hash eb1a76dd786c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

Cadence-skills AGENTS.md scanned grade A with 0 findings 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 3d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 100 lines

How it starts

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

AGENTS.md

本文件为 Codex 及其他 AI Agents 在此仓库中工作提供指导。

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. 代码使用规则

  • 非必要不编写代码 → 详见 .claude/rules/code-usage.md

3. 文档存储规则

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

Read the full file on GitHub · 100 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. 3d ago Changed · +3 lines · +83 tokens per session eb1a76dd786c
  2. 8d ago First seen · 97 lines · 1,449 tokens per session scan A ce9b9c6840a1

Subscribe to this mod's changes

Cadence-skills AGENTS.md is an instructions file published in the GitHub repository michaelChe956/Cadence-skills (11 stars, last pushed 6d ago), licensed MIT. It adds 1,532 tokens to every session, about $0.0077 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

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

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