Set up and review root AGENTS.md and CLAUDE.md. Merge shared instructions from both into AGENTS.md without losing unique or tool-generated guidance, simplify the combined instructions, verify them against the repo, and make CLAUDE.md import AGENTS.md with @AGENTS.md. Create missing files as needed. Use for "setup agents md", "check the agent docs", "check project", "dedupe CLAUDE.md and AGENTS.md", or /setup-agents-md.
Ships in killall-skills. 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.
None: SKILL.md is the whole skill.
Leave one concise, accurate set of shared instructions in AGENTS.md and a
CLAUDE.md that imports it. This is a review of the combined instructions,
not a template replacement. Preserve unique guidance before removing any text.
AGENTS.md holds shared instructions: commands, repository layout,
conventions, workflow, and tool guidance that every agent needs.CLAUDE.md imports it with @AGENTS.md on its own line outside code
blocks, followed only by Claude-specific instructions such as hooks,
subagents, slash commands, and .claude/ settings. Just the import is fine.@CLAUDE.md in AGENTS.md or create
an import cycle. Other agents read AGENTS.md as plain text.Work at the repository root (git rev-parse --show-toplevel). Check the Git
status and read existing AGENTS.md and CLAUDE.md completely, including
existing local changes. Follow their imports and linked instruction documents
within scope, tracking visited paths to avoid cycles. Do not overwrite either
file with a standard template.
An import is an @path outside code spans and fenced blocks; a prose mention
like "see AGENTS.md" is not an import. Report missing import targets.
CLAUDE.md exists: create AGENTS.md from its shared instructions
before replacing that text with the import. Keep Claude-specific text.AGENTS.md exists: review and simplify it, then create CLAUDE.md
containing @AGENTS.md.AGENTS.md guidance grounded in the
repository's documentation and configuration, plus CLAUDE.md containing
@AGENTS.md. Do not invent commands, conventions, or policies.Account for every distinct instruction in both files and their referenced
guidance before editing. For each, identify its destination: shared guidance
in AGENTS.md, Claude-specific guidance in CLAUDE.md, an existing referenced
document, or a proposed removal that needs confirmation.
CLAUDE.md into AGENTS.md first.
Adding an import alone does not preserve the text it replaces.CLAUDE.md,
leave it there and keep any shared requirements accessible from AGENTS.md.AGENTS.md, not just passages copied from CLAUDE.md.
Combine repeated rules, group related guidance, and shorten wording while
preserving requirements, exceptions, command arguments, and scope.AGENTS.md.@CLAUDE.md dependency by preserving the shared guidance in
AGENTS.md, removing the reverse import, and adding @AGENTS.md to
CLAUDE.md. Check the full import graph for cycles.Lossless moves, deduplication, and meaning-preserving simplification may be applied directly. Batch anything that changes or drops a requirement for one confirmation: conflicting rules, stale instructions, uncertain generated sections, or proposed policy changes. Keep unresolved guidance intact and report it; do not silently choose one version.
Treat every checkable claim in the combined instructions as something to
verify, including claims already in AGENTS.md:
| Claim | Evidence |
|---|---|
| Commands | package.json scripts, Makefile, justfile, pyproject.toml, CI workflows |
| Paths and layout | tracked files and actual working-tree paths |
| Tool and runtime versions | lockfiles, .tool-versions, .nvmrc, go.mod, rust-toolchain.toml |
| Named scripts, skills, agents | their actual definitions and names |
| Branching, CI, release process | workflows, repository docs, remote default branch |
Confirm commands exist; do not execute them merely to check documentation. Where instructions disagree, use repository evidence; ask when it cannot decide. Preferences and style rules are not disproved by repository evidence. Do not remove them just because they cannot be mechanically verified.
Compare the final files with the originals and the instruction inventory:
CLAUDE.md has a working @AGENTS.md import, not a mention or fenced example.AGENTS.md is concise, internally consistent, and reviewed
against the repository, not merely populated with moved text.If an unresolved conflict prevents this target shape, report it rather than claiming success. Re-read the final files; do not infer preservation from a smaller diff or fewer lines. A second pass should need no edits unless inputs changed.
Leave changes uncommitted. Finish with git diff --stat -- AGENTS.md CLAUDE.md,
note newly created files (untracked files do not appear in that diff), and give
one line per file describing what was merged, simplified, or retained. List
unresolved questions and the number of claims verified. If no edits are
needed, say the docs are clean and report the verification count.
Root AGENTS.md and CLAUDE.md and the guidance they reference only. Nested
agent files, CLAUDE.local.md, and user-level configuration are out of scope.
Do not modify imported or linked documents without approval; report issues in
them instead. Do not add speculative rules or unrelated documentation.
What SKILL.md sets; muted values are Claude Code's defaults
/killall-skills:setup-agents-mdfrom killall-skills
npx claudepluginhub killallgit/killall-skills --plugin killall-skills15 skills in this plugin
/architectural-reviewReview a codebase's architecture. Finds hotspots in git history, walks them for friction, writes an HTML report of deepening candidates with before/after diagrams, proposes glossary terms, and suggests beads for the work. Words after the command name a direction (a module, a subsystem, a pain point)./catch-upRebuild a human's lost context on the work in flight after reconciling the current checkout's dangling changes — commit what belongs to an open PR, discard what already landed, sync the branch — then summarize the state of play, decisions, live PRs and tickets, and the single next step. Use when the user says "catch me up", "where were we", "what's the state of this", "get back on track", or invokes `/catch-up` after time away./Other plugins' skills for the same job