spec-kit-zh: Instructions file for Claude Code

AGENTS.md

spec-kit-zh AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from loulanyue/spec-kit-zh. It costs 3,968 tokens per session, scanned A, original, MIT.

Project instructions for Spec Kit and its Specify command-line tool. Spec Kit supports Spec-Driven Development, an approach that writes clear software requirements before implementation.

In plain words
What is it for?
Use them when changing Specify, adding an agent integration, updating project terminology, or writing smoke tests.
Why use it?
They explain the project’s terminology, supported coding agents, required files, and checks for changes to the Specify tool.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: $ARGUMENTS substitution, but also the file is AGENTS.md. Also seen: reads .claude/ paths; mentions Claude Code; mentions AGENTS.md.

This is loulanyue/spec-kit-zh's own configuration. It tells Claude Code, Codex and OpenCode how to work on spec-kit-zh 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 spec-kit-zh configures →

Reuse

Borrowing it

Nothing to install: this file belongs to loulanyue/spec-kit-zh. 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/loulanyue/spec-kit-zh/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/loulanyue/spec-kit-zh

Made for: Claude Code, 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 spec-kit-zh AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/loulanyue/spec-kit-zh/agents-md.svg)](https://agentmods.dev/instructions/loulanyue/spec-kit-zh/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/loulanyue/spec-kit-zh/agents-md"><img src="https://agentmods.dev/badge/instructions/loulanyue/spec-kit-zh/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,968 This file is loaded in full into every session.
When invoked 3,968 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.03968 $0.03968
Opus 5 $0.01984 $0.01984
Sonnet 5 $0.00794 $0.00794
Haiku 4.5 $0.00397 $0.00397

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

Security

Grade A, and why

spec-kit-zh 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 9d 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

2 near-identical copies found in the catalogue:

AGENTS.md · 429 lines

How it starts

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

AGENTS.md

About Spec Kit and Specify

GitHub Spec Kit is a comprehensive toolkit for implementing Spec-Driven Development (SDD) - a methodology that emphasizes creating clear specifications before implementation. The toolkit includes templates, scripts, and workflows that guide development teams through a structured approach to building software.

Specify CLI is the command-line interface that bootstraps projects with the Spec Kit framework. It sets up the necessary directory structures, templates, and AI agent integrations to support the Spec-Driven Development workflow.

The toolkit supports multiple AI coding assistants, allowing teams to use their preferred tools while maintaining consistent project structure and development practices.


General practices

  • Any changes to __init__.py for the Specify CLI require a version rev in pyproject.toml and addition of entries to CHANGELOG.md.
  • New command names, directory paths, and CLI tool names introduced by agent support must be registered in TERMINOLOGY.md before being used in documentation.
  • Every new agent integration must include at least one smoke test asserting that the generated command files contain the correct Chinese brand name (specify-zh) and no stale English-only brand references.
  • Template files generated for each agent must pass the brand-guard CI check: no occurrences of specify-en, spec-kit (without the -zh suffix), or legacy command names.
  • When adding a new agent, update the supported agents table below, the AGENT_CONFIG dictionary in __init__.py, and the README.md supported agents section in the same PR.
  • Argument passing conventions must be documented explicitly for each new agent (see the table below and per-agent notes).

Adding New Agent Support

This section explains how to add support for new AI agents/assistants to the Specify CLI. Use this guide as a reference when integrating new AI tools into the Spec-Driven Development workflow.

Read the full file on GitHub · 429 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. 9d ago First seen · 429 lines · 3,968 tokens per session scan A b09151f05e96

Subscribe to this mod's changes

spec-kit-zh AGENTS.md is an instructions file published in the GitHub repository loulanyue/spec-kit-zh (339 stars, last pushed 6d ago), licensed MIT. It adds 3,968 tokens to every session, about $0.0198 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