Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/cboone/agent-harness-pluginsnpx agentmods add skills/cboone/agent-harness-plugins/clean-up-agent-configWrote 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/skills/cboone/agent-harness-plugins/clean-up-agent-config)<a href="https://agentmods.dev/skills/cboone/agent-harness-plugins/clean-up-agent-config"><img src="https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/clean-up-agent-config/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/skills/cboone/agent-harness-plugins/clean-up-agent-config"><img src="https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/clean-up-agent-config.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.00058 | $0.06032 |
| Opus 5.5 | $0.00023 | $0.02413 |
| Sonnet 5.5 | $0.00012 | $0.01206 |
| Haiku 4.5 | $0.00006 | $0.00603 |
Grade A, and why
clean-up-agent-config 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 460 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Config Cleanup
Review, consolidate, and organize AI coding agent configuration and instruction files across three tools: Claude Code, OpenAI Codex, and GitHub Copilot (CLI agent and code review).
Reference Documents
Consult the reference files in this skill's references/ directory for detailed information about each tool's file formats, precedence rules, and unique capabilities:
references/agent-instruction-files.md-- CLAUDE.md, AGENTS.md, copilot-instructions.md, SKILL.md comparisonreferences/agent-config-files.md-- settings.json, config.toml, VS Code settings comparison
Read these references before starting work. They contain tool-specific details about file precedence, loading behavior, and cross-tool compatibility that inform every decision in this workflow.
Target Structure
The goal is a hub-and-spoke model: shared instructions in one canonical file, tool-specific configuration in each tool's hidden directory.
Instruction files (the hub)
repo/
+-- AGENTS.md # Single source of truth (all tools)
+-- CLAUDE.md -> AGENTS.md # Symlink for Claude Code
+-- REVIEW.md # Claude Code Review instructions
+-- .claude/
| +-- rules/
| +-- *.md # Claude-specific rules (auto-loaded)
+-- .github/
+-- copilot-instructions.md # Copilot repo-wide review rules
+-- instructions/
| +-- *.instructions.md # Copilot path-scoped rules
+-- skills/
+-- code-review/ # Copilot code review skill and checklists
REVIEW.md, .github/skills/code-review/, and the ## Code Review Rules section of AGENTS.md may hold content managed by set-up-review-config: blocks between <!-- BEGIN set-up-review-config --> and <!-- END set-up-review-config --> lines, and checklist files whose first line begins <!-- Managed by set-up-review-config. Leave managed content where it is and as it is; rerunning /set-up-review-config is the way to change it.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago Changed · -1 lines 79d658bb1ec9
- 1mo ago Changed · -28 lines · -3 tokens per session 6efeb0b23e57
- 1mo ago Changed · +2 lines · +26 tokens per session efc976cb9543
- 2mo ago Changed · +11 lines bb774dcc73b5
- 2mo ago Changed · -5 lines · -77 tokens per session ba9ea5d887a2
- 2mo ago Changed · -26 lines 25a0393a87c4
- 3mo ago First seen · 507 lines · 112 tokens per session scan A 24b01668d92f
clean-up-agent-config is a skill published in the GitHub repository cboone/agent-harness-plugins (3 stars, last pushed 5d ago), licensed MIT. It adds 58 tokens to every session and 6,032 once invoked, about $0.0002 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.
clean-up-agent-config compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| clean-up-agent-configcboone/agent-harness-plugins | Skill | 3 | 5d ago | MIT | A | 58 | Claude Code |
| chat-complex-documentsvellum-ai/vellum-assistant | Skill | 1.5k | 5d ago | MIT | A | 90 | Claude Code, Codex |
| tui-migrate-setupwarpdotdev/warp | Skill | 66k | 2d ago | AGPL-3.0 | B | 75 | Claude Code, Codex |
| agent-qa-testingvibeeval/vibecosystem | Skill | 554 | 19d ago | MIT | A | 58 | Claude Code, Codex |
| bootstrap-prdjoshukraine/dotfiles | Skill | 430 | 7d ago | MIT | A | 25 | Claude Code |
| sync-local-reposvinta/hal-9000 | Skill | 144 | yesterday | MIT | A | 38 | Claude Code, Codex |
| talk-stage1-extractFlorianBruniaux/claude-code-plugins | Skill | 47 | 5d ago | MIT | A | 64 | Claude Code |