Agent Merger
Merge two agents into one, consolidating skills and cleaning up references.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up β so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/nw-ab-merge-agents-nwave-ai/β the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Safe default: works for every skill.Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates β they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description β no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the βWhat this skill doesβ section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
PROCEDURE β merge agent B into agent A, relocating skills and cleaning up all references. Trigger: two agents must become one. Composes nw-ab-validate-spec.
What this skill does
nw-ab-merge-agents (PROCEDURE)
Kind: PROCEDURE | One job: merge agent B into agent A | One trigger: two agents must be consolidated into one.
Deterministic step-sequence (run every time, in order)
Run these steps in order:
- INVENTORY β Read both agent definitions and all skills. List capabilities, principles, skills, commands from both. Identify overlaps + B's unique contributions. Gate: inventory table produced.
- MERGE DEFINITION β Rewrite A to absorb B's unique capabilities. Consolidate principles (no duplicates), merge workflows, update examples. Add B's skill references to A's frontmatter. Stay under 400 lines. Gate: merged A written, under 400 lines.
- RELOCATE SKILLS β Copy skill files from B's directory to A's. If B has a reviewer, copy its skills too. Update frontmatter skill references. Gate: all skills relocated, frontmatter updated.
- CLEAN UP β Delete deprecated agent file
nWave/agents/nw-{agent-b}.md, deprecated reviewer, deprecated skill directories, deprecated command task files. Gate: zero deprecated files remain. - UPDATE REFERENCES β Update
nWave/framework-catalog.yaml,nWave/README.md,nWave/templates/*.yaml. Grep for remaining references to B's name. Gate: zero references remain (legacy/ exempt). - VALIDATE β compose βΆ
nw-ab-validate-specon merged A. Gate: every checklist item passes, zero anti-patterns.
Composition
- COMPOSES (PROCEDURE):
nw-ab-validate-spec(step 6). - No domain knowledge skill β this is a pure relocation/reference-update procedure.
Success Criteria
- Inventory table produced
- Merged A under 400 lines; skills relocated; zero deprecated files; zero dangling references
-
nw-ab-validate-speccomposed (not re-inlined)
Related skills
Claude API Helper
anthropics
Build, debug, and optimize Claude API applications with caching and model migration support.
Documentation Co-Authoring
anthropics
Guide structured workflows for writing docs, proposals, and technical specs collaboratively.
PPTX Text Extractor
axoviq-ai
Extract text and speaker notes from PowerPoint presentations.
Memory Search
davila7
Search conversation history and recall previous discussions, decisions, and context.