clean-up-agent-config

clean-up-agent-config is a skill for Claude Code from cboone/agent-harness-plugins. It costs 58 tokens per session (6,032 once invoked), scanned A, original, MIT.

A workflow for reviewing and organizing instruction and configuration files used by Claude Code, Codex, GitHub Copilot, and OpenCode.

In plain words
What is it for?
It is for setting up, reviewing, consolidating, and standardizing coding-agent configuration across a repository.
Why use it?
It helps reduce duplicated or conflicting agent instructions by placing shared guidance in one consistent structure and keeping tool-specific settings separate.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is For repo-wide conventions, see [`copilot-instructions.md`](../copilot-instructions.md) and `AGENTS.md` at the repository root..

Part of the clean-up-agent-config plugin — 1 skill shipped together

Good fit It is for setting up, reviewing, consolidating, and standardizing coding-agent configuration across a repository.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/cboone/agent-harness-plugins
agentmods
npx agentmods add skills/cboone/agent-harness-plugins/clean-up-agent-config

Made for: Claude Code.

Or install clean-up-agent-config, the plugin that ships this one along with the rest of its 1 skill.

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 clean-up-agent-config

README.md
[![agentmods](https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/clean-up-agent-config/github.svg)](https://agentmods.dev/skills/cboone/agent-harness-plugins/clean-up-agent-config)
Your own site
<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.

agentmods 80×15 button for clean-up-agent-config

Your own site · 80×15
<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>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,032 The whole file, excluding the scripts and references it only reads on demand.
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.00058 $0.06032
Opus 5.5 $0.00023 $0.02413
Sonnet 5.5 $0.00012 $0.01206
Haiku 4.5 $0.00006 $0.00603

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

Security

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.

plugins/clean-up-agent-config/skills/clean-up-agent-config/SKILL.md · 460 lines

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 comparison
  • references/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.

Read the full file on GitHub · 460 lines

Files

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.

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. 1mo ago Changed · -1 lines 79d658bb1ec9
  2. 1mo ago Changed · -28 lines · -3 tokens per session 6efeb0b23e57
  3. 1mo ago Changed · +2 lines · +26 tokens per session efc976cb9543
  4. 2mo ago Changed · +11 lines bb774dcc73b5
  5. 2mo ago Changed · -5 lines · -77 tokens per session ba9ea5d887a2
  6. 2mo ago Changed · -26 lines 25a0393a87c4
  7. 3mo ago First seen · 507 lines · 112 tokens per session scan A 24b01668d92f

Subscribe to this mod's changes

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.

Related

clean-up-agent-config compared with skills from other repositories

clean-up-agent-config next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clean-up-agent-configcboone/agent-harness-pluginsSkill35d agoMITA58Claude Code
chat-complex-documentsvellum-ai/vellum-assistantSkill1.5k5d agoMITA90Claude Code, Codex
tui-migrate-setupwarpdotdev/warpSkill66k2d agoAGPL-3.0B75Claude Code, Codex
agent-qa-testingvibeeval/vibecosystemSkill55419d agoMITA58Claude Code, Codex
bootstrap-prdjoshukraine/dotfilesSkill4307d agoMITA25Claude Code
sync-local-reposvinta/hal-9000Skill144yesterdayMITA38Claude Code, Codex
talk-stage1-extractFlorianBruniaux/claude-code-pluginsSkill475d agoMITA64Claude Code