Sets up AGENTS.md as the canonical instruction file for coding agents, with CLAUDE.md as an import pointer. Handles missing, divergent, or merged guidance.
Ships in repo-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Make root-level AGENTS.md the canonical repository instruction file and keep
root-level CLAUDE.md as its import pointer. This skill owns those two files
only; it does not configure issue trackers or other agent-specific files.
AGENTS.md and
CLAUDE.md in full.git status so existing work is not mistaken for generated setup.Treat hand-written content as intentional. A request to proceed quickly is not permission to discard or silently relocate it.
| Existing state | Action |
|---|---|
| Neither file exists | Copy both assets to the repository root verbatim. |
AGENTS.md exists; CLAUDE.md does not | Preserve AGENTS.md; copy the CLAUDE.md asset. |
CLAUDE.md is already the import pointer | Preserve it. Create AGENTS.md from its asset only if missing. |
CLAUDE.md contains real guidance | Show the content, separate shared guidance from genuinely Claude-specific guidance, and ask whether to migrate the shared part or leave both files unchanged. |
| Both files contain real guidance | Show the overlap and propose an explicit merge of shared guidance into AGENTS.md; make no change until the user approves it. |
When a merge is approved, preserve the user's wording and repository-specific
structure. Add only missing material; do not replace an established
AGENTS.md with the generic template.
If AGENTS.md is missing during an approved migration, use its asset as the
starting structure, then place the approved shared guidance under Project knowledge. Remove only empty placeholder headings that the migrated material
supersedes. If any guidance must remain Claude-specific, make no changes until
the user has preserved it somewhere outside these two files or reclassified it
as shared. Never create a partially migrated AGENTS.md that duplicates
guidance left in CLAUDE.md.
assets/AGENTS.md is the complete template for a missing AGENTS.md.assets/CLAUDE.md is the complete import-pointer file.Read the relevant asset and copy it verbatim. Do not reconstruct either file
from memory when creating it without a migration. An approved migration may
add preserved user content to the AGENTS.md template as described above. The
template deliberately contains no issue-tracker, planning, or delivery
workflow; another skill may add those later.
Read back the final AGENTS.md and CLAUDE.md and inspect their diff. Confirm
that approved guidance was neither omitted nor duplicated. Then report which
files were created, merged, left unchanged, or deliberately left for the user
to decide. Stop after instruction-file setup rather than invoking another setup
or workflow skill.
.cursor/, .cursorrules, or other tool-specific files; they are
outside this skill's contract.docs/agents/issue-tracker.md or add an intent-to-PR workflow.CLAUDE.md, even when the import-pointer
pattern would be cleaner.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/repo-kit:setup-agent-mdfrom repo-kit
npx claudepluginhub ismail9k/skills --plugin repo-kit3 skills in this plugin
/anti-kosharyTwo-pass audit and cleanup for a codebase that has started to congeal — spaghetti code, or "koshary code," where the layers have collapsed: business logic lives in the controller, the same validation sits in five files, and nobody wants to open the 800-line one. Pass 1 reports layer collapse, duplication that will drift, functions nobody reads, and dead code as a prioritized list and changes nothing; Pass 2 fixes in a safe order once the user approves. Security holes and vulnerable dependencies are covered too, as a later section rather than the headline. Use this whenever the user asks to audit, review, or clean up a codebase — and also when they say "this codebase is a mess," "spaghetti code," "technical debt," "this is unmaintainable," "duplicated logic," "dead code," "what's wrong with my code," or ask for a security review. Trigger it even when they never use the word "audit."
/apply-insightsUse when the user wants their Claude Code Insights report (/insights) acted on: "apply my insights", "update my CLAUDE.md from insights", "set up what insights suggested". Turns the report's frictions into rules in a marked block of the global ~/.claude/CLAUDE.md, and offers to install each suggested custom skill, hook and headless script after the user approves it. Safe to run again after every new report.
Other plugins' skills for the same job