agents-md-improver

agents-md-improver is a skill for Claude Code from bahayonghang/my-ai-cli-toolkit. It costs 107 tokens per session (692 once invoked), scanned A, original, MIT.

A guide for reviewing and improving AGENTS.md files, which contain instructions for coding agents working in a repository, along with related navigation files.

In plain words
What is it for?
Use it to audit instruction files, trace which guidance applies in each folder, propose changes, update approved files, and check commands, paths, and repository boundaries.
Why use it?
It helps find conflicting, outdated, missing, or overly broad project instructions before they cause an agent to work incorrectly.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions AGENTS.md; mentions Codex.

Good fit Use it to audit instruction files, trace which guidance applies in each folder, propose changes, update approved files, and check commands, paths, and repository boundaries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bahayonghang/my-ai-cli-toolkit/agents-md-improver
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bahayonghang/my-ai-cli-toolkit --skill agents-md-improver
Clone the repo
git clone --depth 1 https://github.com/bahayonghang/my-ai-cli-toolkit

Made for: Claude Code.

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 agents-md-improver

README.md
[![agentmods](https://agentmods.dev/badge/skills/bahayonghang/my-ai-cli-toolkit/agents-md-improver.svg)](https://agentmods.dev/skills/bahayonghang/my-ai-cli-toolkit/agents-md-improver)
Your own site
<a href="https://agentmods.dev/skills/bahayonghang/my-ai-cli-toolkit/agents-md-improver"><img src="https://agentmods.dev/badge/skills/bahayonghang/my-ai-cli-toolkit/agents-md-improver.svg" alt="Measured on agentmods" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 692 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.00107 $0.00692
Opus 5 $0.00053 $0.00346
Sonnet 5 $0.00021 $0.00138
Haiku 4.5 $0.00011 $0.00069

Measured 7d ago against content hash 0989cd587ee1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

agents-md-improver 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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (tests/contracts.test.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/developer-tools-integrations/agents-md-improver/SKILL.md · 66 lines

How it starts

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

AGENTS.md Improver

Produce lean repository guidance grounded in the Codex instruction chain that applies to the launch context.

Action Boundary

  • Audit/optimize/plan: inspect and return an evidence-first report with proposed diffs; do not write.
  • Approved plan or explicit scoped change/fix: edit local in-scope files and validate without another approval round.
  • Fully specified trivial edit: implicit routing stays with direct editing; explicit skill invocation uses a minimal check, edit, validation, then stops.
  • Confirm user-global, external, destructive, costly, or scope-expanding work. Never write Codex-home guidance unless requested.

Workflow

  1. Resolve project root, launch CWD, candidates, and effective config evidence. Read Codex discovery semantics before declaring files active. Prefer structured tools; use one-line rg --files --hidden with include/exclude globs as the shell fallback.
  2. Build the root-to-CWD chain, shadows, empty-file and byte-budget state. Inventory off-chain files separately; unavailable config is missing evidence.
  3. Verify commands, paths, ownership, boundaries, and recurring failures. Apply quality criteria; decide durable instruction need independently from navigation need.
  4. Use the report contract for audits. For edits, follow update guidelines and evidence-backed templates.
  5. Run the smallest checks proving the changed claims, then stop.

Evidence Rules

  • Separate facts, defaults, inference, and missing evidence; retry suspiciously empty reads once or twice.
  • Treat evals/ as release evidence, not model or human proof.
  • Preserve human/managed content. Change both sibling fenced code_map.md templates only when their shared contract changes.
  • Audit existing overrides; create one only for an explicit temporary or strong override need.

Read the full file on GitHub · 66 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. 7d ago First seen · 66 lines · 107 tokens per session scan A 0989cd587ee1

Subscribe to this mod's changes

agents-md-improver is a skill published in the GitHub repository bahayonghang/my-ai-cli-toolkit (16 stars, last pushed yesterday), licensed MIT. It adds 107 tokens to every session and 692 once invoked, about $0.0005 per session on Opus 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-30.

Related

Other skills, from other repositories

talk-like-scarletkc

A writing guide that makes text sound like the developer scarletkc, including posts, comments, technical opinions, project documents, and translations.

scarletkc/agents · 141 tokens

marketing-copy

Write outbound promotional copy for a product or project: launch and update posts for community platforms and social media, store page descriptions and short blurbs, landing page headlines and calls to action, press-style announcements, and the naming of a product for another language or market. Covers what may be…

scarletkc/agents · 121 tokens

scoped-change

Judgment rules for locating the correct boundary of a requested change: staying inert outside it while completing every required site inside it. Use when scope is ambiguous, a diff touches neighboring surfaces, required dependent edits are unclear, or a proposed compatibility layer, migration, fallback, flag…

scarletkc/agents · 69 tokens

codex-cli

When handing work to the Codex CLI earns its cost, and how to size the run: second-model review, bounded implementation hand-offs, sandbox permissions, model and reasoning effort. Use when the user asks for Codex or codex exec, when a change is complex or high-stakes enough that an independent reviewer would change…

scarletkc/agents · 96 tokens

aerospace-engineering-technician

Use when a task needs the judgment of an Aerospace Engineering and Operations Technologist/Technician — verifying an installed fastener's preload against a drawing's torque callout via the T=K·D·F relationship, reducing strain-gauge data from a structural proof-load test into stress and checking it against an…

wonsukchoi/domain-experts · 169 tokens

agricultural-sciences-professor

Use when a task needs the judgment of a tenure-track or tenured Agricultural Sciences faculty member at a land-grant university — deciding whether to submit a grant this cycle versus wait, allocating time across the teaching/research/extension appointment split, diagnosing a stalled graduate student or field trial, or…

wonsukchoi/domain-experts · 75 tokens