Borrowing it
Nothing to install: this file belongs to StringKe/std-agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/StringKe/std-agent/main/AGENTS.mdgit clone --depth 1 https://github.com/StringKe/std-agentWrote 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/instructions/stringke/std-agent/agents-md)<a href="https://agentmods.dev/instructions/stringke/std-agent/agents-md"><img src="https://agentmods.dev/badge/instructions/stringke/std-agent/agents-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.
<a href="https://agentmods.dev/instructions/stringke/std-agent/agents-md"><img src="https://agentmods.dev/badge/instructions/stringke/std-agent/agents-md.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00806 | $0.00806 |
| Opus 5.5 | $0.00322 | $0.00322 |
| Sonnet 5.5 | $0.00161 | $0.00161 |
| Haiku 4.5 | $0.00081 | $0.00081 |
Grade A, and why
std-agent 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 2mo 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.
What it actually says
std-agent
stdagent 是纯 Go CLI,以 .stdai/ 为单一真相源,将 rules、skills、commands、references 和 subagents 转换为 25 个 AI CLI target 的原生配置。本仓库是其源码并用自身规则自举。
结构
cmd/stdagent/:程序入口。internal/cli/、config/、parser/、source/:命令、配置与源文档读取。internal/transformer/:协议层和 target adapter。internal/runner/、writer/、state/、budget/:同步、原子写入、状态和上下文预算。docs/:格式、架构及各 target 的官方证据。
技术栈:Go 1.26、Cobra、BurntSushi/toml、goccy/go-yaml、doublestar、GoReleaser;工具链由 mise 管理。
关键约束
.stdai/standards/是 AI 配置源。生成的CLAUDE.md、AGENTS.md和 target 目录只通过go run ./cmd/stdagent sync更新。- frontmatter、协议或 target 映射属于跨 25 个 target 的兼容性变更,必须对照
docs/format-spec.md、docs/conversion-rules.md和对应docs/targets/证据。 - 多 target 共享同一路径时,内容必须字节一致;
AGENTS.md是 target-neutral 的共享 rules 层,target 专属能力写入各自 sidecar。
Done means
相关回归测试已覆盖,且以下命令通过:
mise run check
go run ./cmd/stdagent sync --no-pull --strict
go run ./cmd/stdagent status
commit-style
Conventional Commits 和安全暂存要求
用户要求 commit 时:
- 格式为 Conventional Commits 1.0.0:
<type>(scope): <description>;scope 与现有模块和提交历史一致。 - breaking change 使用
!和BREAKING CHANGE:。 - 只显式暂存当前任务文件;密钥或
.env类文件先报告,不擅自提交。 - 不添加
Co-Authored-By或 AI 署名。
no-history-rewrite
保护已推送分支和 release tag
- 已推送分支只追加 commit 并 fast-forward push;
main和受保护分支永不 force-push。 - amend 或 rebase 仅限本人独占、尚未共享的 WIP 分支。
- 已推送并触发发布的 tag 不删除;修复使用更高 patch 版本。
test-requirements
核心转换与写入变更必须有针对性回归测试
修改 transformer、runner、writer 或 parser 时,测试必须先复现风险,再证明修复:
- target 或 transformer 变更覆盖 5 种 type 的关键 fanout 和共享路径。
- runner 控制流覆盖相关 flag、首次与重复 sync、prune 和边界保护。
- writer 变更覆盖 unchanged、overwrite 和 atomic 路径。
Done means go test ./...、go test -race ./internal/runner/... 和 mise run check 通过;无法执行的验证标记 UNKNOWN。
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.
- 2mo ago First seen · 63 lines · 806 tokens per session scan A 06f7300e1a2e
std-agent AGENTS.md is an instructions file published in the GitHub repository StringKe/std-agent (8 stars, last pushed 1mo ago), licensed MIT. It adds 806 tokens to every session, about $0.0032 per session on Opus 5.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-31.
std-agent AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| std-agent AGENTS.mdStringKe/std-agent | Instructions file | 8 | 1mo ago | MIT | A | 806 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |