agent-tools: Instructions file for Codex

AGENTS.md

agent-tools AGENTS.md is an instructions file for Codex, OpenCode from ooooooooooooooooooop/agent-tools. It costs 1,344 tokens per session, scanned A, original, MIT.

Repository instructions for an agent-tools project, which packages coding-agent skills, MCP tools, plugins, and quality checks. They describe the directory layers, allowed changes, and required validation.

In plain words
What is it for?
Use them before adding or changing skills, MCP packages, plugins, scripts, tests, documentation, or release files. Run the specified checks after making changes.
Why use it?
They provide a map of the project and prevent structural changes that would break package registration or release checks.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is ooooooooooooooooooop/agent-tools's own configuration. It tells Codex and OpenCode how to work on agent-tools 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 agent-tools configures →

Reuse

Borrowing it

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

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 agent-tools AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ooooooooooooooooooop/agent-tools/agents-md/github.svg)](https://agentmods.dev/instructions/ooooooooooooooooooop/agent-tools/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/ooooooooooooooooooop/agent-tools/agents-md"><img src="https://agentmods.dev/badge/instructions/ooooooooooooooooooop/agent-tools/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.

agentmods 80×15 button for agent-tools AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ooooooooooooooooooop/agent-tools/agents-md"><img src="https://agentmods.dev/badge/instructions/ooooooooooooooooooop/agent-tools/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,344 This file is loaded in full into every session.
When invoked 1,344 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.01344 $0.01344
Opus 5.5 $0.00538 $0.00538
Sonnet 5.5 $0.00269 $0.00269
Haiku 4.5 $0.00134 $0.00134

Measured 2mo ago against content hash b2f669a0fce1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-tools 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.

AGENTS.md · 52 lines

How it starts

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

AGENTS.md — 本仓库浏览与改动导航

这份文件给进入仓库的代理/协作者一个最快的心智模型:这里有什么、哪些能碰、哪些绝不能碰、改动会被哪些检查拦截。详细契约见 docs/architecture.md。

一句话

这是一个 Agent 工具的源码与发布控制面(Skill 包 + MCP 发行包 + DSH 插件包 + 质量脚手架),不是运行时工作区。根目录 top-level 目录属于五层之一。

分层目录(改动前先认层)

层 目录 可否改动 改动要点
① Skill 包 skills/<name>/(20 个) ✅ 必须登记在 skills.json;布局统一 SKILL.md + agents/openai.yaml + examples/*.md
② MCP 包 mcp/<name>/ ✅ 登记在 mcp.json;自持子目录许可证;agent-switchboard 是修改版,非 MIT
③ DSH 插件包 dsh/<name>/ ✅ 本地 DSH 用户级插件:源码 + 可移植 cordis.patch.yml 片段 + README 一起发布;不设注册表,校验器不核对 manifest,靠链接/markdown 检查兜底;发布内容禁止含本机路径
④ 质量脚手架 scripts/ tests/ docs/ _template/ .github/workflows/(skill-quality-gate 是 ① 中的 Skill 包,位于 skills/skill-quality-gate/) ✅ 改 validate_repo.py 会影响全部上层契约,谨慎
⑤ 设备运行层 .taskflow/ .grepai/ .claude/ node_modules/ 等 ❌ 禁改/禁提交 本地运行态,发布门禁拒绝

硬约束(改目录结构的红线)

  1. Skill 统一收在 skills/<name>/ 下。scripts/validate_repo.py::discover_skill_dirs() 识别 skills/ 子目录里含 SKILL.md 的目录(为兼容也认可根目录平铺的旧包)。新增 Skill 放进 skills/ 并登记到 skills.json 的 path(./skills/<name>);两处不同步会让 --strict 判 FAIL。
  2. 两个注册表必须与目录一致:skills.json ↔ skills/*;mcp.json ↔ mcp/*。校验器逐一核对。
  3. 发布门禁:git diff --check、python scripts/validate_repo.py --strict、python skills/skill-quality-gate/scripts/quality_report.py --root . --strict、仓库回归、MCP 回归全绿才可合并。

改动后必须跑的检查

python scripts/validate_repo.py --strict          # 结构 + 注册表 + 许可证 + 链接 + 运行时文件边界
python skills/skill-quality-gate/scripts/quality_report.py --root . --strict   # Skill 门禁
python -m unittest discover -s tests -v           # 仓库回归
python -m unittest discover -s mcp/agent-switchboard/tests -v           # MCP 回归
git diff --check                                  # 空白错误

本地缓存与运行态(当前仓库的"大块头")

  • mcp/agent-switchboard/_sdk_probe_deps/ 曾放 Claude Agent SDK 缓存(约 360MB,含打包的 claude.exe)。已移到 ~/.cache/agent-switchboard-sdk/,claude_sdk_backend.py 从那里探测(可用 AGENT_BROKER_CLAUDE_SDK_DEPS 覆盖)。仓库不应再出现这种大体积缓存目录。
  • 任何 state.sqlite、.jsonl、.log、用户路径、会话/任务 ID、模型/认证信息都是运行时态,禁止由 mcp.json 或 CI 校验放行到发布集。

Read the full file on GitHub · 52 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. 2mo ago First seen · 52 lines · 1,344 tokens per session scan A b2f669a0fce1

Subscribe to this mod's changes

agent-tools AGENTS.md is an instructions file published in the GitHub repository ooooooooooooooooooop/agent-tools (3 stars, last pushed 1mo ago), licensed MIT. It adds 1,344 tokens to every session, about $0.0054 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.

Related

Other instructions, from other repositories

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 · 9,715 tokens

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,461 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, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 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,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens