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.
npx agentmods add commands/loulanyue/spec-kit-zh/implementgit clone --depth 1 https://github.com/loulanyue/spec-kit-zhWrote 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.
[](https://agentmods.dev/commands/loulanyue/spec-kit-zh/implement)<a href="https://agentmods.dev/commands/loulanyue/spec-kit-zh/implement"><img src="https://agentmods.dev/badge/commands/loulanyue/spec-kit-zh/implement.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00015 | $0.02937 |
| Opus 5 | $0.00008 | $0.01469 |
| Sonnet 5 | $0.00003 | $0.00587 |
| Haiku 4.5 | $0.00002 | $0.00294 |
Grade A, and why
implement 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 4d 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.
This is a copy
84% identical to speckit.implement — 96 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.
How it starts
The opening of the file, as written. The whole thing — 213 lines — stays where its author put it; the contents beside it link to each section on GitHub.
用户输入
$ARGUMENTS
在继续之前,你必须考虑用户输入(如果不为空)。
语言要求
- 所有面向用户的进度更新、检查清单状态表、hook 指引、实施摘要和完成报告都必须使用简体中文。
- 命令、文件路径、任务 ID 和代码/配置标识保持原始机器可读形式。
执行前检查
检查扩展 hooks(实施前):
- 检查项目根目录下是否存在
.specify/extensions.yml。 - 如果存在,读取该文件并查找
hooks.before_implement键下的条目。 - 如果 YAML 无法解析或无效,默默跳过 hook 检查并照常继续。
- 仅过滤出
enabled: true的 hooks。 - 对于每个保留的 hook,不要尝试解释或评估 hook 中的
condition表达式:- 如果 hook 没有
condition字段,或者该字段为空 /Null,则将该 hook 视为可执行。 - 如果 hook 定义了非空的
condition,跳过该 hook,将条件评估交给 HookExecutor 实现。
- 如果 hook 没有
- 对于每个可执行的 hook,根据其
optional标志输出以下内容:- Optional hook (
optional: true):## Extension Hooks **Optional Pre-Hook**: {extension} Command: `/{command}` Description: {description} Prompt: {prompt} To execute: `/{command}` - Mandatory hook (
optional: false):## Extension Hooks **Automatic Pre-Hook**: {extension} Executing: `/{command}` EXECUTE_COMMAND: {command} Wait for the result of the hook command before proceeding to the Outline.
- Optional hook (
- If no hooks are registered or
.specify/extensions.ymldoes not exist, skip silently
概述
-
在仓库根目录执行
{SCRIPT},并解析 FEATURE_DIR 与 AVAILABLE_DOCS 列表。所有路径都必须是绝对路径。若参数中包含单引号(例如 "I'm Groot"),请使用转义写法,例如'I'\''m Groot',或尽量改用双引号。 -
Check checklists status (if FEATURE_DIR/checklists/ exists):
-
Scan all checklist files in the checklists/ directory
-
For each checklist, count:
- Total items: All lines matching
- [ ]or- [X]or- [x] - Completed items: Lines matching
- [X]or- [x] - Incomplete items: Lines matching
- [ ]
- Total items: All lines matching
-
Create a status table:
| Checklist | Total | Completed | Incomplete | Status | |-----------|-------|-----------|------------|--------| | ux.md | 12 | 12 | 0 | ✓ PASS | | test.md | 8 | 5 | 3 | ✗ FAIL | | security.md | 6 | 6 | 0 | ✓ PASS |
-
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.
- 4d ago First seen · 213 lines · 15 tokens per session scan A ab4182ab2dc6
implement is a command published in the GitHub repository loulanyue/spec-kit-zh (339 stars, last pushed yesterday), licensed MIT. It adds 15 tokens to every session and 2,937 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 84% identical to speckit.implement, differing in 96 lines, and is treated as a copy.
Other commands, from other repositories
cross-research
Two-phase multi-model research. Phase A fans codex+gemini in parallel (benchmarks + citations angles); Phase B synthesises via fresh Claude session. Usage: /cross-research [--with | list | compare].
ijfw-audit
Run the IJFW audit gate for the current workflow phase. Usage: /ijfw-audit [phase name].
memory-why
Show why a memory recall returned what it did -- BM25 vs vector vs hybrid provenance.
ijfw-execute
Jump directly to the IJFW workflow Execute phase (Deep D4 / Quick Q3). Usage: /ijfw-execute [task or phase name].
ijfw-metrics
Show IJFW token / cost / session metrics over a time window. Reads .ijfw/metrics/sessions.jsonl via the ijfwmetrics MCP tool.
core-review
Review code changes against SpecOps project-specific patterns. Catches recurring failure modes from real PRs — tool abstraction violations, generated file drift, cross-platform gaps, variable inconsistencies, and more. Complements full-review-gate (generic quality) and pr-fix (applying bot comments).