improve-claude-md

improve-claude-md is a skill for Claude Code from PackmindHub/packmind. It costs 92 tokens per session (2,292 once invoked), scanned A, original, Apache-2.0.

A guide for managing Packmind feature flags, which turn features on or off for selected email addresses or domains. It covers adding, changing, restricting, retiring, and deleting flags across shared, frontend, and backend code.

In plain words
What is it for?
Use it when creating a flag, changing its audience, gating a feature, or removing an existing flag.
Why use it?
It keeps the same access decision in the frontend and backend, so a feature is not available in one place but incorrectly blocked or exposed in another.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

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.

agentmods
npx agentmods add skills/packmindhub/packmind/improve-claude-md
Any agent
npx skills add PackmindHub/packmind --skill improve-claude-md
Clone the repo
git clone --depth 1 https://github.com/PackmindHub/packmind

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 improve-claude-md

README.md
[![agentmods](https://agentmods.dev/badge/skills/packmindhub/packmind/improve-claude-md.svg)](https://agentmods.dev/skills/packmindhub/packmind/improve-claude-md)
Your own site
<a href="https://agentmods.dev/skills/packmindhub/packmind/improve-claude-md"><img src="https://agentmods.dev/badge/skills/packmindhub/packmind/improve-claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,292 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00092 $0.02292
Opus 5 $0.00046 $0.01146
Sonnet 5 $0.00018 $0.00458
Haiku 4.5 $0.00009 $0.00229

Measured 6d ago against content hash 2bb7fdee34b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

improve-claude-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 6d 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.

.claude/skills/improve-claude-md/SKILL.md · 171 lines

How it starts

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

CLAUDE.md Improver

Audit and improve the CLAUDE.md files this run owns, create the ones that are missing, then report what changed.

You are running NON-INTERACTIVELY in CI: no human is available to confirm anything. Never ask a question — either apply a change that is clearly correct, or skip it and say so in the final summary. Apply fixes directly to the files as you go.

These are standing instructions for the whole run, not a one-time checklist.

Step 1 — Build the skill inventory

Before touching any CLAUDE.md, list every skill available in this repository.

Use Glob with the pattern **/.claude/skills/**/SKILL.md. Match at any depth: a .claude/skills directory can itself live in a sub-directory, and skills may be nested. Ignore any hit under node_modules. Ignore this skill (improve-claude-md) — it is CI tooling, not a developer convention, so it never justifies deleting anything.

For each remaining SKILL.md, collect only the YAML frontmatter name and description. Do not read skill bodies at this stage — inlining them wastes the context you need for the audit itself.

Then state the count out loud, for example Loaded frontmatter for 10 skill(s), and list the paths. This line matters: a regression that silently empties the inventory (a gitignored .claude/skills, a narrowed checkout, a changed glob) must be visible in the run log instead of quietly degrading into "skip deduplication".

If the inventory is empty, say so explicitly and skip Step 5 (deduplication) entirely for the whole run.

Step 2 — Read the worklist

Read tmp/claude-md-worklist.txt. It holds one repository-relative CLAUDE.md path per line, and it is authoritative: the workflow resolved it for this repository, and the scope differs between repositories on purpose. In the open-source repository it is every CLAUDE.md in the tree; in the proprietary fork it is only the packages that do not exist upstream, because every shared file is owned by the other repository's run of this same workflow. Editing a file outside the worklist diverges it between the two repositories and conflicts on the next sync.

Read the full file on GitHub · 171 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. 6d ago First seen · 171 lines · 92 tokens per session scan A 2bb7fdee34b3

Subscribe to this mod's changes

improve-claude-md is a skill published in the GitHub repository PackmindHub/packmind (308 stars, last pushed yesterday), licensed Apache-2.0. It adds 92 tokens to every session and 2,292 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

token-saver-config

Configure and diagnose token-saver compression settings. Use when the user asks about adjusting compression levels, checking processor status, debugging hook issues, or reviewing savings statistics.

ppgranger/token-saver · 37 tokens

sdd

Execute the Liatrio Spec-Driven Development (SDD) workflow when explicitly invoked by the user. NOTE: this skill is NOT intended to be dynamically loaded or automatically triggered; it should only ever be explicitly called by the user.

liatrio-labs/spec-driven-workflow · 50 tokens

loadout-import-workflow

Import another repo's command/skill suite into loadout as a workflow. Use when the user points at an agent framework, plugin, or command pack (e.g. a GitHub repo, a .claude/commands/ directory, a skills pack) and wants its process turned into a loadout [[workflows]] entry — "import this workflow", "turn this plugin…

elleryfamilia/loadout · 106 tokens

loadout-migrate

Migrate existing global AI agent instructions into loadout. Use when adopting loadout, importing a CLAUDE.md / AGENTS.md / global agent rules into loadout, setting up /.config/loadout/config.toml, or turning prose agent instructions into reusable fragments and stack-targeted profiles.

elleryfamilia/loadout · 64 tokens

loadout-remember

Save a durable, cross-project user preference into loadout's global fragments/profiles — or update the fragment it contradicts. Use when the user states lasting guidance that should follow them across projects and agents ("always X", "never Y", "stop doing Z"), especially when it conflicts with guidance the loadout…

elleryfamilia/loadout · 93 tokens

code-review

Plan-Forge-tuned comprehensive code review — runs public-surface diff, forge analysis, architecture / security / testing / patterns checks, plus Plan-Forge-specific gates (ACI compliance, dual-shell parity, branch model). Use before merging features or at the end of a phase. With --quorum, dispatches multi-model…

srnichols/plan-forge · 70 tokens