Agent skill

Improve Claude Md

by PackmindHub in PackmindHub/packmind

Audit and improve the CLAUDE.md files listed in the run worklist: apply only high/medium priority fixes, create the ones that are missing, and delete instructions already fully covered by a…

Apache-2.0Auto-check passedAgent Workflows

Install Improve Claude Md

skills CLI
$ npx skills add PackmindHub/packmind --skill improve-claude-md -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install PackmindHub/packmind improve-claude-md --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/PackmindHub/packmind.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/improve-claude-md .claude/skills/improve-claude-md && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
improve-claude-md
GitHub stars
317
Token cost
~2.3k tokens
SKILL.md length
1,384 words
Files
1
Skills in repo
35
Repo updated
First seen
Licence
Apache-2.0

At a glance

Audit and improve the CLAUDE.md files listed in the run worklist: apply only high/medium priority fixes, create the ones that are missing, and delete instructions already fully covered by a…

  • Works in 6 steps: Build the skill inventory → Read the worklist → Create a missing CLAUDE.md → …
  • Tasks that involve Agent instruction files
  • SKILL.md covers Step 1 — Build the skill…, Step 2 — Read the worklist, Step 3 — Create a missing… and Step 4 — Audit each file, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Improve Claude Md is an agent skill from PackmindHub/packmind. Audit and improve the CLAUDE.md files listed in the run worklist: apply only high/medium priority fixes, create the ones that are missing, and delete instructions already fully covered by a repository skill. Driven non-interactively by a GitHub workflow (.github/workflows/weekly-claude-md-improver.yml owns the schedule and resolves the worklist, which differs per repository); not intended for interactive use.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Agent instruction files. It works with GitHub Actions. The repository describes itself as: Packmind seamlessly captures your engineering playbook and turns it into AI context, guardrails, and governance. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Agent instruction files

Example prompts

  • “/improve-claude-md”

Requirements

  • Pre-approved tools (allowed-tools): Read, Edit, Write, Glob, Grep, Skill

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Build the skill inventory
  2. Read the worklist
  3. Create a missing CLAUDE.md
  4. Audit each file
  5. Deduplicate against skills
  6. Report

What it can do on your machine

Read from SKILL.md and the folder at commit 67de8a2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Edit
    • Write
    • Glob
    • Grep
    • Skill

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Improve Claude Md loads about 2.3k tokens when it runs. Until then it costs about 108 tokens; SKILL.md has 1,384 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~108
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from PackmindHub/packmind at commit 67de8a2, republished under its Apache-2.0 licence (© PackmindHub). 1,384 words, ~2,342 tokens.

Download SKILL.mdSave it as .claude/skills/improve-claude-md/SKILL.md (or your agent's skills folder).
name
improve-claude-md
description
Audit and improve the CLAUDE.md files listed in the run worklist: apply only high/medium priority fixes, create the ones that are missing, and delete instructions already fully covered by a repository skill. Driven non-interactively by a GitHub workflow (.github/workflows/weekly-claude-md-improver.yml owns the schedule and resolves the worklist, which differs per repository); not intended for interactive use.
allowed-tools
Read, Edit, Write, Glob, Grep, Skill
model
opus
disable-model-invocation
true

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.

So: do not glob for CLAUDE.md files, and never add a path of your own. If the worklist is missing or empty, stop immediately — do not fall back to a glob — and end the run with a single line starting INCOMPLETE RUN: that says the worklist could not be read. A silent full-tree fallback is exactly the failure this file exists to prevent.

Print the paths, numbered, followed by the count — for example Worklist: 8 file(s). This printed list is the only record of what the run was supposed to cover, so print it in full before editing anything.

Some paths may not exist yet. That is intentional: a listed path with no file behind it is a package whose CLAUDE.md has to be created (Step 3).

Process the files one at a time, in worklist order. Announce each path as [n/total] <path> before you start on it, so the CI log shows progress and a run that stops early is visible at a glance.

Never narrow the worklist on your own: no sampling, no "the rest look fine", no stopping once the edits feel sufficient. Every file in the list gets its own pass through Steps 3-5.

Step 3 — Create a missing CLAUDE.md

When a worklist path does not exist, author it. Its directory is a package root — call it packages/<pkg>/.

First, check the package is worth documenting. Glob packages/<pkg>/src/**/*. If it holds two files or fewer, the package is a stub barrel with nothing to say: skip it, create nothing, and record it in the Step 6 report as deliberately skipped with its file count. A CLAUDE.md that only restates the package name is worse than no file at all.

Otherwise read enough of the package to describe it honestly — never guess:

  • project.json (the Nx project name, and the env:* tag) and package.json
  • README.md, if there is one
  • src/index.ts (the public barrel) and src/<Name>Hexa.ts (the entry point)
  • the shape of src/application/, src/domain/, src/infra/, src/nest-api/, test/ — whichever are present

Then Write the file, matching the house style of the packages that already have one. packages/git/CLAUDE.md and packages/llm/CLAUDE.md are the two best models — read one before you start writing:

  • # <Name> Package heading, then one or two sentences on what the package owns.

  • Only sections that earn their place: what is non-obvious, what surprises a newcomer, what to reuse instead of rewriting, how to add a new case to an existing switch or factory. Concrete file paths and type names, not adjectives.

  • Do not restate the shared conventions. The generic package layout, the env:* tags and import boundaries, the /test subpath rule and branded IDs are all in packages/CLAUDE.md — a package file that repeats them is duplicate content, which Step 5 would delete anyway.

  • Aim for 30-70 lines, in line with the existing package docs.

  • Close with the pointer line every sibling uses, verbatim:

    Shared package conventions (env tags, layout, /test subpath, branded IDs): [../CLAUDE.md](../CLAUDE.md)

  • Respect the repository's own standards. In the proprietary fork, .claude/rules/packmind/standard-packmind-proprietary.md forbids importing from @packmind/editions — never write an example that does.

Then put the new file through Steps 4 and 5 like any other, so bootstrapped and pre-existing files meet the same bar.

Show full SKILL.md (532 more words)Show less

Step 4 — Audit each file

For each CLAUDE.md, use the claude-md-improver skill (from the claude-md-management plugin, installed by the workflow) to audit and improve that file.

Apply only HIGH and MEDIUM priority fixes that have a clear, unambiguous positive impact — for example:

  • outdated or incorrect commands
  • broken links or wrong file paths
  • stale structure or architecture references

Do not make low-priority, subjective, or stylistic changes, and skip anything ambiguous. When in doubt, leave the text alone and note it in the summary.

Step 5 — Deduplicate against skills

CLAUDE.md must not restate what a skill already carries. Any instruction, procedure, convention, or example in the file that is already covered by one of the skills from Step 1 is duplicate content: delete it outright, leaving no pointer or cross-reference in its place.

Rules:

  • Delete only when the skill clearly and fully owns that topic. If a skill covers the topic only partially, or you are in any doubt, leave the CLAUDE.md text untouched.
  • You may read a SKILL.md body when its frontmatter description alone cannot settle whether coverage is full. Read it only for that decision.
  • Never delete content that no skill covers.
  • If the Step 1 inventory was empty, skip this step entirely.

Guardrails

Packmind standards regions are untouchable. Never modify content inside sections delimited by the markers <!-- start: Packmind standards --> and <!-- end: Packmind standards -->. Leave those regions byte-for-byte unchanged and only edit content outside them. This outranks the deduplication rules above, even if a skill appears to cover that content.

The worklist bounds every write. The only permitted writes are Edit on a CLAUDE.md that is on the worklist, and Write to create a CLAUDE.md at a path that is on the worklist. Never delete or rename any file, never write anywhere else — not to a CLAUDE.md outside the worklist, not to any other file — and never move content from a CLAUDE.md into a new skill or doc.

Step 6 — Report

End the run with a summary the pull-request reviewer can scan:

  • the skill count and the worklist count from Steps 1-2;
  • one line per file you created, saying in a sentence what the package does — these are new files with no diff to compare against, so this is the reviewer's only summary of them;
  • one line per file you edited, with what you fixed;
  • every deletion made for deduplication, naming the skill that justified it, so a reviewer can check none of them went too far;
  • every package skipped as too thin to document, with its src/ file count;
  • anything you deliberately skipped as ambiguous.

Files you left unchanged need no more than a single closing line listing them.

Reconcile against the worklist. Every path printed in Step 2 must appear in this summary, as created, edited, unchanged, or skipped — the counts have to add up. If any file went unaudited for any reason (you ran out of room, a read failed, you lost track), do not paper over it: end the report with a line that starts INCOMPLETE RUN: and names every file you did not audit. A silently partial run is worse than a loudly partial one, because the pull request it produces looks like a full audit.

© PackmindHub, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/improve-claude-md of PackmindHub/packmind.

Open the folder on GitHubat commit 67de8a2

Compare with similar skills

Improve Claude Md next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Improve Claude Md compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Improve Claude Md this skillPackmindHub/packmind317—~2.3kAutomated safety check: PassApache-2.0
Claude Docs Consultantcentminmod/my-claude-code-setup2.7k—~959Automated safety check: PassMIT
Md StarterInfrasity-Labs/dev-gtm-claude-skills139—~2kAutomated safety check: PassMIT
Analyze FeedbackShopify/flash-list7.2k—~1.6kAutomated safety check: PassMIT
GitHub Actions Patbifrost-proxy/bifrost160—~2kAutomated safety check: PassMIT
Setup Deployno-session/pstack135—~5.5kAutomated safety check: NotesMIT

Similar skills

  • Claude Docs Consultant

    centminmod/my-claude-code-setup

    Consult official Claude Code documentation from code.claude.com using selective fetching.

    2.7k GitHub stars~959 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Md Starter

    Infrasity-Labs/dev-gtm-claude-skills

    Generates a fully structured, project-specific CLAUDE.md by scanning the repo for signal files (package.json, Makefile, .github/workflows/, .env.example, etc.), inferring stack, commands…

    139 GitHub stars~2k tokensUpdated 3 mo ago
    Agent WorkflowsAuto-check passed
  • Analyze Feedback

    Shopify/flash-list

    Official

    Analyze agent feedback artifacts from GitHub Actions workflow runs, extract actionable learnings, and incorporate them into skill files and CLAUDE.md.

    7.2k GitHub stars~1.6k tokensUpdated 8 days ago
    DevOps & CloudAuto-check passed
  • GitHub Actions Pat

    bifrost-proxy/bifrost

    用 Personal Access Token 通过 GitHub REST API 分析 Actions CI 的失败 run/job/step、拉取日志、轮询运行状态、做 PR code review,并驱动 fix → push → watch → iterate 的闭环。Token 只从 GITHUBTOKEN 环境变量读取,不落盘、不回显。适合在 bifrost remote /…

    160 GitHub stars~2k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Setup Deploy

    no-session/pstack

    Configure deployment settings for /land-and-deploy. An agent skill from no-session/pstack.

    135 GitHub stars~5.5k tokensUpdated 6 mo ago
    DevOps & CloudAuto-check: notes
  • Using Agent Skills

    addyosmani/agent-skills

    Meta-skill for choosing which workflow skill fits the task at hand, plus always-on habits: surface assumptions, stop on confusion, push back, keep it simple and stay in scope.

    103k GitHub starsUsed in 4 repos~2.4k tokens
    Agent WorkflowsAuto-check passed

More from PackmindHub/packmind

All 35 skills in this repo
  • Michel CLI Demo Recorder

    PackmindHub/packmind

    Produce proof-of-execution demos of the Packmind CLI (packmind-cli) as terminal-styled images (colors and formatting preserved exactly), for embedding in a GitHub PR.

    317 GitHub stars~3.4k tokensUpdated today
    Auto-check passed
  • Michel UI Demo Recorder

    PackmindHub/packmind

    Record polished UI demo videos and screenshots of a running web app using Playwright MCP — for client deliverables, release notes, feature walkthroughs, or bug repros.

    317 GitHub stars~6.4k tokensUpdated today
    Auto-check passed
  • Packmind Create Skill

    PackmindHub/packmind

    Guide for creating effective skills. An agent skill from PackmindHub/packmind.

    317 GitHub stars~3.5k tokensUpdated today
    Auto-check: notes
  • Doc Audit

    PackmindHub/packmind

    Audit Packmind end-user documentation (apps/doc/) for broken links, outdated CLI references, non-existent concepts, misleading information, and missing coverage.

    317 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Feature Sprint

    PackmindHub/packmind

    Execute the implementation plan produced by /feature-spec. An agent skill from PackmindHub/packmind.

    317 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Review an implemented GitHub issue the way a senior Packmind engineer would — the human-judgment checks that ESLint, the TypeScript compiler, and e2e tests cannot catch (authorization scoping…

    317 GitHub stars~2.7k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Improve Claude Md

What does Improve Claude Md do?

Audit and improve the CLAUDE.md files listed in the run worklist: apply only high/medium priority fixes, create the ones that are missing, and delete instructions already fully covered by a…. Improve Claude Md is an agent skill from PackmindHub/packmind.md files listed in the run worklist: apply only high/medium priority fixes, create the ones that are missing, and delete instructions already fully covered by a repository skill.

When should I use Improve Claude Md?

Improve Claude Md fits situations like: tasks that involve Agent instruction files.

How do I install Improve Claude Md in Claude Code?

Run `npx skills add PackmindHub/packmind --skill improve-claude-md -a claude-code`. Or copy the skill folder (.claude/skills/improve-claude-md in PackmindHub/packmind) into .claude/skills/improve-claude-md in your project. Claude Code loads it when a task matches its description.

How do I install Improve Claude Md in Codex?

Run `npx skills add PackmindHub/packmind --skill improve-claude-md -a codex`. Or copy the skill folder (.claude/skills/improve-claude-md in PackmindHub/packmind) into .agents/skills/improve-claude-md in your project. Codex loads it when a task matches its description.

Can I use Improve Claude Md in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PackmindHub/packmind --skill improve-claude-md -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/improve-claude-md, .gemini/skills/improve-claude-md, .github/skills/improve-claude-md and .opencode/skills/improve-claude-md in your project.

What does Improve Claude Md need to run?

SKILL.md names no scripts, command-line tools or credentials: Improve Claude Md is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Edit, Write, Glob, Grep, Skill.

Does Improve Claude Md access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Improve Claude Md safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Improve Claude Md use?

Improve Claude Md is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Improve Claude Md use?

About 2.3k tokens (SKILL.md is roughly 9.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Improve Claude Md?

Skills that share tags, products or a category with Improve Claude Md: Claude Docs Consultant (centminmod/my-claude-code-setup, 2.7k stars), Md Starter (Infrasity-Labs/dev-gtm-claude-skills, 139 stars), Analyze Feedback (Shopify/flash-list, 7.2k stars) and GitHub Actions Pat (bifrost-proxy/bifrost, 160 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Improve Claude Md?

PackmindHub (a GitHub organization) maintains it in PackmindHub/packmind, which has 317 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on October 9, 2026.

Source: PackmindHub/packmind on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.