nWave-ai/nWave / nWave/skills/nw-ab-merge-agents
nw-ab-merge-agents
VerifiedPROCEDURE — merge agent B into agent A, relocating skills and cleaning up all references. Trigger: two agents must become one. Composes nw-ab-validate-spec.
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
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |