Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Per-turn token cost of AGENTS.md, CLAUDE.md and other agent instruction files, with safe fixes.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"turntax": {
"command": "npx",
"args": [
"-y",
"turntax",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add turntax -- npx -y turntax mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"turntax": {
"command": "npx",
"args": [
"-y",
"turntax",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"turntax": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"turntax",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 TorutDev 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.9.0)于今天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, FlyDocs
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Spec-driven development workflow: your agent works issues, sessions and the status lifecycle.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Coding agents re-send their instruction files with every turn. turntax measures that fixed per-turn cost for a repository, for every agent that reads it, and shows where to cut it.
npx turntax
Try it in the browser, with nothing uploaded: https://torutdev.github.io/turntax/ — drop a folder or enter a public GitHub repository. Links like https://torutdev.github.io/turntax/?repo=owner/name open straight to that repository's report.
State of agent instruction files: what turntax finds in 100 popular repositories, a new edition every month with pinned commits and the script to reproduce it (scripts/state-of.mjs).
Set up the GitHub Action and a config in one command:
npx turntax init
Each agent's documented loading rules decide what is sent on every turn, what loads only when the agent works in a folder or touches a matching file, and what is ignored.
| Agent | Files it reads from the repository |
|---|---|
| Aider | files listed under read: in .aider.conf.yml (CONVENTIONS.md only when listed or passed with --read) |
| Amp | AGENTS.md (or AGENT.md / CLAUDE.md), nested AGENTS.md, @-mentioned files, .agents/skills, .claude/skills |
| Augment Code | AGENTS.md and CLAUDE.md at every level, .augment-guidelines, .augment/rules/ (by type), skills in .augment, .claude, .agents |
| Claude Code | CLAUDE.md, CLAUDE.local.md, .claude/rules, skills, commands, subagents, AGENTS.md when there is no CLAUDE.md |
| Cline | .clinerules/, .cline/rules/, skills in .cline, .clinerules, .claude |
| Continue | .continue/rules/ |
| Cursor | .cursor/rules/*.mdc, .cursorrules, AGENTS.md, CLAUDE.md, skills in .agents, .cursor, .claude, .codex |
| Devin Local / Devin CLI | AGENTS.md, AGENTS.local.md, AGENT.md, .windsurfrules, CLAUDE.md at every level, .devin/rules/, .windsurf/rules/, .cursor/rules/, skills |
| Factory Droid | AGENTS.md / CLAUDE.md (also in .factory, .agents, .agent), DESIGN.md, .factory/skills, .agents/skills, .factory/droids |
| Gemini CLI | GEMINI.md, skills in .agents and .gemini |
| GitHub Copilot | .github/copilot-instructions.md, .github/instructions/, AGENTS.md, CLAUDE.md, .claude/rules, skills in .github, .claude, .agents (VS Code Local harness defaults) |
| Goose | .goosehints, AGENTS.md, @-included files, skills in .agents, .goose, .claude |
| Google Jules | root AGENTS.md |
| JetBrains Junie | .junie/AGENTS.md, or AGENTS.md with .junie/rules/, or .junie/guidelines; skills in .junie, .agents |
| Kilo Code | the first of AGENTS.md, AGENT.md, CLAUDE.md, CONTEXT.md, .kilo/rules, .kilocode/rules, mode rules, .kilocoderules, skills |
| Kiro | .kiro/steering/, AGENTS.md (nested ones too, every turn), .kiro/skills |
| OpenAI Codex | AGENTS.md, AGENTS.override.md, .agents/skills |
| OpenCode | AGENTS.md, or CLAUDE.md when there is none; skills in .opencode, .claude, .agents |
| Roo Code | .roo/rules/, .roo/rules-{mode}/, .roorules, AGENTS.md, skills in .roo, .agents |
| TRAE | .trae/rules/ (alwaysApply, globs, description; three folder levels), .trae/skills |
| Warp | WARP.md, else AGENTS.md; skills in .agents, .warp, .claude and seven other folders |
| Windsurf Cascade | .devin/rules/, .windsurf/rules/, .windsurfrules, AGENTS.md, skills (legacy agent; new conversations use Devin Local) |
| Zed | the first of .rules, .cursorrules, .windsurfrules, .clinerules, .github/copilot-instructions.md, AGENT.md, AGENTS.md, CLAUDE.md, GEMINI.md; .agents/skills |
Where an agent reads the same skill name from two folders, it is counted once, in the order the agent documents (or an assumed order, noted for that agent).
Agents that load exactly the same files share one row in the report (files loaded only as a /command, which cost nothing per turn, do not split a row):
always o200k/turn on-demand model tokens/turn counted by 100 turns cached agents
4 272 53 (no selected model) Claude Code 1 63 0 GPT-6.1 Sol 63 estimate (o200k_base proxy) $0.01 $0.0006 OpenAI Codex, Roo Code, Kiro, JetBrains Junie 1 17 0 (no selected model) Gemini CLI 5 311 59 GPT-6.1 Sol 311 estimate (o200k_base proxy) $0.06 $0.0031 Cursor 4 307 55 GPT-6.1 Sol 307 estimate (o200k_base proxy) $0.06 $0.0031 GitHub Copilot 2 75 0 GPT-6.1 Sol 75 estimate (o200k_base proxy) $0.01 $0.0008 Windsurf Cascade 2 21 32 GPT-6.1 Sol 21 estimate (o200k_base proxy) $0.0042 $0.0002 Cline 1 11 0 GPT-6.1 Sol 11 estimate (o200k_base proxy) $0.0022 $0.0001 Zed 3 84 32 GPT-6.1 Sol 84 estimate (o200k_base proxy) $0.02 $0.0008 Goose, OpenCode, Kilo Code 3 84 51 GPT-6.1 Sol 84 estimate (o200k_base proxy) $0.02 $0.0008 Amp 3 108 32 GPT-6.1 Sol 108 estimate (o200k_base proxy) $0.02 $0.0011 Warp 2 282 19 GPT-6.1 Sol 282 estimate (o200k_base proxy) $0.06 $0.0028 Factory Droid 4 303 51 GPT-6.1 Sol 303 estimate (o200k_base proxy) $0.06 $0.0030 Augment Code 1 63 0 (no selected model) Google Jules 7 330 69 GPT-6.1 Sol 330 estimate (o200k_base proxy) $0.07 $0.0033 Devin Local / Devin CLI
Advice (savings are estimates in o200k tokens per turn) HIGH duplicate CLAUDE.md, AGENTS.md [saves ~48 tokens/turn] 3 identical lines are loaded twice every turn by cursor, copilot, factory-droid, augment, devin. Keep them in one file. HIGH contradiction AGENTS.md, CLAUDE.md [saves ~11 tokens/turn] Conflicting package manager: "Always use npm for installs and scripts in this repository." (AGENTS.md:3) vs "Always use pnpm for installs and scripts in this repository." (CLAUDE.md:5). (Removing the outdated line.) MEDIUM scopable-section CLAUDE.md:12 [saves ~128 tokens/turn] Section "API package" is mostly about packages/api/. Move it to packages/api/AGENTS.md (or CLAUDE.md), a path-scoped rule, or an instructions file ...
(Excerpt of the output for test/fixtures/mixed with --models gpt-6.1-sol.)
| Model family | How tokens are counted | Label |
|---|---|---|
| OpenAI GPT-5.x, gpt-oss | Offline with o200k_base (the encoding OpenAI's tiktoken maps them to) | exact |
| OpenAI GPT-6.x | Offline with o200k_base; OpenAI has not published a newer encoding | estimate |
| Claude | Only Anthropic's count_tokens API, with your key and --claude-api | API count |
| Gemini | Only Google's countTokens API, with your key and --gemini-api | API count |
Claude's tokenizer is not public, and Anthropic's docs note that newer Claude models produce noticeably more tokens than older ones for the same text. turntax never shows an OpenAI count as a Claude or Gemini number: without a key those rows say "needs API key". The o200k column is a labelled reference count for every file.
Cost per N turns = tokens per turn × N × input price. The "cached" column assumes every turn reads the context from the prompt cache. Prices come from a dated table with a source link per model (turntax --list-models); pass --prices my-prices.json to use your own.
See docs/how-it-counts.md for the loading rules per agent and their sources.
All checks are deterministic. Each one shows an estimated saving in o200k tokens per turn.
applyTo)..md files in .cursor/rules or Windsurf rules without a trigger.npm run scripts that no longer exist.--english CLAUDE.md=CLAUDE.en.md) or, if you opt in, a Claude translation (--translate).npx turntax --fix # print a diff of the safe fixes; nothing is changed
npx turntax --fix --write # apply them
--fix handles four kinds of advice:
CLAUDE.md that repeats at least 80% of the lines of the AGENTS.md next to it, at least 3 of them full sentences, and every file it imports, keeps only its own lines and imports the rest with @AGENTS.md, as Claude Code's docs suggest; agents that read both stop paying for the copy, and the summary says how much any agent now reads on top.packages/api/CLAUDE.md), a nested AGENTS.md, or a Claude Code rule with paths:. The folder the section is about must already exist, and sections with @imports or relative links stay put. A section moves together with its subsections.--section-tokens, 600 by default, whose heading names a release, deploy, setup or similar procedure, or that is mostly numbered steps; each subsection must pass too) into a new skill, .claude/skills/ /SKILL.md for Claude Code or .agents/skills/ /SKILL.md for Codex, and leaves the heading with a one-line pointer. Only the skill's name and description load every turn. Many agents now read one or both folders, but not all of them do (Zed reads only .agents/skills, for example), so by default this fix is often refused; --tools limits the check to the agents you use..md files in .cursor/rules to .mdc.Before a fix is kept, the files are classified again with the change applied: every agent must still read every line it read before, including files reached through @imports, and as often as before. The exceptions are moved text: a section moved into a folder may load only when the agent works there, and a procedure moved into a skill only when the skill is used. Otherwise the fix is skipped and the reason is printed. A moved section can reach agents that did not read it before (a nested AGENTS.md is read by more agents than a CLAUDE.md); the summary names them. By default that check covers every supported agent, so a section of AGENTS.md usually stays where it is, because some agents read only the root file. --tools codex,claude-code limits the check
只显示了开头部分;其余内容请在仓库中阅读