Coupling-aware architectural delegation and skill-stack compatibility router for multi-agent workflows. Evaluates routing plans against a pre-execution gate (spec alignment, verifiable acceptance criteria, DAG integrity, scope overlap, evidence-backed assumptions) with multi-perspective review for plans of 5+ tasks, then analyzes task dependency graphs, shared mutable state, type definitions, and active skill interactions to deterministically route tasks to sequential builders or parallel fan-out workers, while auditing installed skills to suppress redundant instructions, resolve prompt contradictions, and eliminate token bloat. Completion claims require verification receipts. Enforces a shared-worktree lease so two agent sessions in one git checkout never collide on branches, stashes, or shared files.
Evaluates the topological coupling of a task breakdown and audits active skill stacks before dispatching subagents. Deterministically routes tightly coupled tasks (shared types, schema migrations, rendering pipelines) to a single sequential builder, dispatches truly orthogonal tasks (isolated test suites, independent docs, separate microservices) to parallel fan-out subagents, and audits installed skills to enforce a Minimal Viable Skill Set (MVSS) that eliminates prompt contradictions and token bloat.
When to Use
Trigger Conditions
Execute this skill when:
Planning Multi-Agent Delegation: You have a task list or project plan with 2 or more subtasks.
Auditing Skill-Stack Compatibility: Multiple agent skills are installed or active, risking prompt contradictions, overlapping triggers, or token budget exhaustion.
Enforcing Minimal Viable Skill Set (MVSS): Trimming secondary/redundant skills when a primary dominant skill (e.g., ai-ready, git, refactor-ui, code-review) already covers the execution scope.
Preventing Merge Collisions: Multiple files or modules share mutable state, type contracts, or lifecycle flows.
Deciding Concurrency Strategy: Resolving whether to spawn subagents concurrently in parallel or pipeline them sequentially.
Complex Refactors: Multi-layer changes spanning database schemas, API controllers, and frontend clients.
Shared Checkout, Multiple Sessions (/worktree-lease): Another agent session (or a human) may be working in the same git clone — acquire or respect the worktree lease before switching branches, touching stashes, or staging shared files.
Anti-Triggers
Do NOT use this skill when:
Executing a single atomic task in the current conversation without subagents.
Running simple batch queries or file searches across unrelated directories where only one skill is needed.
Quick Reference
Coupling Decision Matrix
┌───────────────────────────────┐
│ Task Graph Dependency & │
│ Skill Stack Pre-Flight │
└──────────────┬────────────────┘
│
┌──────────────────────┴──────────────────────┐
▼ ▼
┌──────────────────────┐ ┌──────────────────────┐
│ HIGH COUPLING │ │ LOW COUPLING │
│ - Shared type defs │ │ - Independent files │
│ - DB schema updates │ │ - Separate docs/libs │
│ - Pipeline state │ │ - Isolated unit tests│
└──────────┬───────────┘ └──────────┬───────────┘
│ │
▼ ▼
┌──────────────────────┐ ┌──────────────────────┐
│ SEQUENTIAL PIPELINE │ │ PARALLEL FAN-OUT │
│ Single builder agent │ │ Concurrent subagents │
│ with linear commits │ │ with disjoint scopes │
└──────────────────────┘ └──────────────────────┘
Coupling Classification Rubric
Level
Characteristics
Recommended Execution Strategy
High Coupling ($C \ge 0.6$)
Tasks touch the same files, share database models, or depend on intermediate outputs
Strict Sequential: Single agent runs steps linearly
Medium Coupling ($0.3 \le C < 0.6$)
Tasks share read-only interfaces but write to separate modules
Staged Pipelining: Step 1 locks interfaces $\rightarrow$ Steps 2a/2b fan out
Low Coupling ($C < 0.3$)
Zero overlapping write paths, separate namespaces, zero shared mutable state
Before any git mutation (branch switch, stash push/pop, git checkout --, commit, branch force-update) in a clone that another session may share:
Probe.agents/artifacts/WORKTREE-LEASE.md. Absent → acquire (write owner/branch/heartbeat/scope/notes, ≤20 lines). Present with a fresh heartbeat (≤30 min) → you are the second session: take a separate git worktree add directory (preferred), stay read-only, or wait — never mutate shared git state. Present with a stale heartbeat → takeover: append a takeover line, preserve any WIP recorded in the lease notes as foreign.
One-command gate: bun <skill-dir>/coupling-router/scripts/worktree-lease.ts probe --owner <id> --scope "<paths>" (exit 0 = clear to mutate, exit 1 = defer; also hold and release subcommands).
Re-probe before each mutation; stage explicit paths only; never pop a stash you did not create; audit shared-surface diffs hunk-by-hunk (skills.json, llms.txt, README, CHANGELOG).
Release at close: fold state into HANDOFF.md, delete the lease, leave a residual-state note for whatever stays in the worktree.
Full contract, takeover rules, and the collision repair ladder: references/worktree-lease-protocol.md.
Inventory Candidate Skills: Identify all installed or triggered skills requested for the workflow.
Pairwise Conflict Check: Consult references/skill-compatibility-matrix.md to evaluate interactions between candidate skills.
Resolve Contradictory Directives:
If an instruction contradiction exists (e.g. broad speculative refactoring vs surgical diff discipline), enforce the higher precedence tier and silence the subordinate rule.
Select Minimal Viable Skill Set (MVSS):
Suppress redundant secondary skills (e.g., suppress new-project Stage 0 if ai-ready is active; suppress generic styling if refactor-ui is active).
Enforce Token Budget Gate:
Ensure the total active skill prompt footprint remains $\le 6,000$ tokens ($\le 3$ active skills per subagent context).
Prune auxiliary skills into staged sequential handoffs if the token budget is exceeded.
Step 2 — Plan-Evaluation Gate (pre-execution)
Before any dispatch, evaluate the routing plan itself against five checks. A plan that fails any check is rejected and reworked — not dispatched with caveats:
#
Check
Reject When
1
Spec alignment
Every task must trace to a declared spec/source requirement; unclaimed work is cut or the spec is amended first
2
Verifiable acceptance criteria
A task without testable done-criteria cannot be dispatched — it produces unverifiable completion claims
3
DAG integrity
Dependency graph has cycles, or tasks reference dependencies not in the plan
4
Scope overlap with completed work
A task reimplements what an earlier task already delivered
5
Evidence-backed assumptions
Estimates and premises cite an artifact (measurement, doc, receipt) — not speculation
The primary verdict is spec alignment: a plan missing spec alignment is rejected as primary, before the other checks are even consulted.
Multi-perspective review (plans with ≥5 tasks): a large plan is reviewed through more than one lens before dispatch — at minimum three, in sequence: (1) spec/devil's-advocate lens — does each task trace to the spec, and what premise could invalidate it; (2) coupling lens — write-overlap matrix, interface locks, wave structure (the checks of Steps 3–4); (3) failure lens — for each wave, what happens when it fails: recovery owner, dead-letter route, dependent-skip policy. Findings from each lens are recorded against the plan; unresolved findings reject the plan. Single-lens review is acceptable only below 5 tasks.
Step 3 — Dependency & Artifact Overlap Audit
List all planned subtasks: $T_1, T_2, \dots, T_n$.
For each task, list intended Input Dependencies and Target Write Files.
Calculate the Write-Overlap Matrix:
If two tasks write to the same file or package interface $\rightarrow$ HIGH COUPLING ($C \ge 0.6$).
If Task $B$ reads the output of Task $A$ before starting $\rightarrow$ SEQUENTIAL DEPENDENCY.
Step 4 — Interface Invariant Check
Audit whether shared types, API schemas, or configuration contracts are already established and locked:
Unlocked Interfaces: Must be assigned to a single precursor task before any downstream work begins.
Locked Interfaces: Downstream implementations can safely parallelize.
Step 5 — Emit Routing Plan (ROUTING_PLAN.md)
Output structured routing instructions:
Skill Stack Allocation: Active Minimal Viable Skill Set (MVSS) and explicitly suppressed skills.
Task Ordering Graph: Mermaid DAG showing execution phases, barriers, and subagent assignments.
Context Allocation: Explicit scope and file boundaries for each assigned agent.
Lease Handshake (shared checkouts): every git-mutating task spec embeds the one-command lease probe (scripts/worktree-lease.ts probe --owner <task-id> --scope "<paths>") as its first step; tasks whose scopes overlap on one checkout are never dispatched concurrently.
Implementation-Existence Clause: every task marked complete in the plan carries a verification receipt — the test run, file path, or command output proving the work exists and passes. A completion claim without a receipt reopens the task.
Pitfalls
Skill Token Bloat: Loading 5+ skills simultaneously, exhausting 30–50% of the context window with redundant instructions before reading user code.
Contradictory Mandates: Running un-audited skills where one demands "speculative architectural refactoring" and another demands "surgical, minimal diffs".
False Parallelism: Spawning 3 parallel agents to write client, server, and shared types simultaneously guarantees merge conflicts and divergent interfaces.
Premature Concurrency: Parallelizing tasks before the database schema or shared interfaces are committed and tested.
Dispatching an Unverified Plan: Skipping the Plan-Evaluation Gate because the plan "looks right" — spec-misaligned or unverifiable tasks produce rework that exceeds the gate's cost by an order of magnitude.
Unverified Completion Claims: Accepting "done" from a subagent without a verification receipt — premature completion is the #1 multi-agent failure mode.
Over-Serialization: Forcing documentation, standalone unit tests, and independent CSS styling into sequential bottlenecks when they share zero files.
Blind Staging in a Shared Checkout: git add . in a clone where another session left WIP sweeps their hunks into your commit; a branch switch behind their back orphans their uncommitted work onto the wrong branch. Probe the lease first; stage explicit paths only.
Verification
Before executing subagent delegation:
Plan-Evaluation Gate passed: spec alignment, verifiable acceptance criteria, DAG integrity, no overlap with completed work, evidence-backed assumptions.
Active skills audited for trigger collisions and contradictory instructions against the Precedence Hierarchy.
Minimal Viable Skill Set (MVSS) selected; redundant secondary skills marked as SUPPRESSED.
No two parallel tasks have overlapping target write file paths.
Shared types and database schemas are fully committed before fan-out begins.
Output ROUTING_PLAN.md provides unambiguous subagent assignments, skill stacks, isolation boundaries, and verification receipts for every completion claim.
Worktree lease probed (and held, if mutating) before every branch switch, stash operation, or shared-surface staging; foreign WIP untouched.
1---2name: coupling-router3description: Coupling-aware architectural delegation and skill-stack compatibility router for multi-agent workflows. Evaluates routing plans against a pre-execution gate (spec alignment, verifiable acceptance criteria, DAG integrity, scope overlap, evidence-backed assumptions) with multi-perspective review for plans of 5+ tasks, then analyzes task dependency graphs, shared mutable state, type definitions, and active skill interactions to deterministically route tasks to sequential builders or parallel fan-out workers, while auditing installed skills to suppress redundant instructions, resolve prompt contradictions, and eliminate token bloat. Completion claims require verification receipts. Enforces a shared-worktree lease so two agent sessions in one git checkout never collide on branches, stashes, or shared files.4license: MIT5---67# 🔀 Coupling Router — Architectural Delegation, Skill-Stack & Concurrency Router89> Evaluates the topological coupling of a task breakdown and audits active skill stacks before dispatching subagents. Deterministically routes tightly coupled tasks (shared types, schema migrations, rendering pipelines) to a single sequential builder, dispatches truly orthogonal tasks (isolated test suites, independent docs, separate microservices) to parallel fan-out subagents, and audits installed skills to enforce a Minimal Viable Skill Set (MVSS) that eliminates prompt contradictions and token bloat.1011---1213## When to Use1415### Trigger Conditions16Execute this skill when:171. **Planning Multi-Agent Delegation**: You have a task list or project plan with 2 or more subtasks.182. **Auditing Skill-Stack Compatibility**: Multiple agent skills are installed or active, risking prompt contradictions, overlapping triggers, or token budget exhaustion.193. **Enforcing Minimal Viable Skill Set (MVSS)**: Trimming secondary/redundant skills when a primary dominant skill (e.g., `ai-ready`, `git`, `refactor-ui`, `code-review`) already covers the execution scope.204. **Preventing Merge Collisions**: Multiple files or modules share mutable state, type contracts, or lifecycle flows.215. **Deciding Concurrency Strategy**: Resolving whether to spawn subagents concurrently in parallel or pipeline them sequentially.226. **Complex Refactors**: Multi-layer changes spanning database schemas, API controllers, and frontend clients.237. **Shared Checkout, Multiple Sessions** (`/worktree-lease`): Another agent session (or a human) may be working in the same git clone — acquire or respect the worktree lease before switching branches, touching stashes, or staging shared files.2425### Anti-Triggers26Do NOT use this skill when:27- Executing a single atomic task in the current conversation without subagents.28- Running simple batch queries or file searches across unrelated directories where only one skill is needed.2930---3132## Quick Reference3334### Coupling Decision Matrix3536```37 ┌───────────────────────────────┐38 │ Task Graph Dependency & │39 │ Skill Stack Pre-Flight │40 └──────────────┬────────────────┘41 │42 ┌──────────────────────┴──────────────────────┐43 ▼ ▼44 ┌──────────────────────┐ ┌──────────────────────┐45 │ HIGH COUPLING │ │ LOW COUPLING │46 │ - Shared type defs │ │ - Independent files │47 │ - DB schema updates │ │ - Separate docs/libs │48 │ - Pipeline state │ │ - Isolated unit tests│49 └──────────┬───────────┘ └──────────┬───────────┘50 │ │51 ▼ ▼52 ┌──────────────────────┐ ┌──────────────────────┐53 │ SEQUENTIAL PIPELINE │ │ PARALLEL FAN-OUT │54 │ Single builder agent │ │ Concurrent subagents │55 │ with linear commits │ │ with disjoint scopes │56 └──────────────────────┘ └──────────────────────┘57```5859### Coupling Classification Rubric6061| Level | Characteristics | Recommended Execution Strategy |62| :--- | :--- | :--- |63| **High Coupling ($C \ge 0.6$)** | Tasks touch the same files, share database models, or depend on intermediate outputs | **Strict Sequential**: Single agent runs steps linearly |64| **Medium Coupling ($0.3 \le C < 0.6$)** | Tasks share read-only interfaces but write to separate modules | **Staged Pipelining**: Step 1 locks interfaces $\rightarrow$ Steps 2a/2b fan out |65| **Low Coupling ($C < 0.3$)** | Zero overlapping write paths, separate namespaces, zero shared mutable state | **Parallel Fan-Out**: Spawn independent concurrent subagents |6667### Skill Compatibility & Conflict Matrix6869| Active Skill Candidate | Co-Active Candidate | Interaction | Conflict / Overlap Description | Deterministic Resolution |70| :--- | :--- | :--- | :--- | :--- |71| **`ai-ready`** | `new-project` | Redundant | Both attempt repository scaffolding and root context creation. | **Suppress `new-project` Stage 0**: `ai-ready` takes precedence as the single source of repository audit and readiness. |72| **`ai-ready`** | `updateagents` | Synergistic | `ai-ready` verifies baseline readiness; `updateagents` synchronizes ongoing cognitive memory. | **Sequential**: Run `ai-ready` audit first; invoke `updateagents` only if memory drift is detected. |73| **`code-review`** | Generic Refactor Skills | Conflicting | Generic refactor prompts encourage speculative code reorganization, whereas Linus/Karpathy demands surgical, minimal diffs. | **Override with Linus**: Linus/Karpathy surgical diff rule dominates. Disallow broad refactoring outside stated task scope. |74| **`git`** | Ad-Hoc VCS Prompts | Conflicting | Ad-hoc git prompts may attempt direct commits to `master` or unstructured messages. `git` enforces strict dev-branch staging and Conventional Commits. | **Suppress Ad-Hoc**: Route all VCS actions strictly through `git` lifecycle. Silence conflicting direct-commit instructions. |75| **`refactor-ui`** | Generic CSS / Styling Skills | Conflicting / Redundant | Generic UI prompts introduce decorative border clutter and arbitrary hex colors, violating Refactoring UI heuristics. | **Suppress Generic UI**: Enforce `refactor-ui` 11 heuristics and 5-state anti-slop coverage. |76| **`gauntlet-loop`** | Single-Shot Test Prompts | Synergistic | Single-shot tests provide early unit signals; `gauntlet-loop` provides bounded regression cycling. | **Pipeline**: Run fast unit checks locally; invoke `gauntlet-loop` at milestone hardening gate. |77| **`secretary`** | Autonomous Execution Skills | Synergistic / Supervisory | Autonomous skills move fast; `secretary` holds SHA-256 evidence approvals and dissent preservation. | **Supervisor Role**: `secretary` acts as quality gatekeeper. Tasks pass through secretary approval before merging. |7879### Skill Precedence Hierarchy8081```82Tier 1: Governance & Verification (secretary, evidence-ledger, gauntlet-loop)83 └── Tier 2: Review & Correctness Doctrine (code-review / Karpathy)84 └── Tier 3: Architecture & Context Engines (coupling-router, ai-ready, agent-engine)85 └── Tier 4: Domain Implementation Specialists (refactor-ui, designscope, updatedocs, git)86 └── Tier 5: Ad-Hoc / Generic Prompts (Suppressed when higher tiers active)87```8889---9091## Procedure9293### Step 0 — Worktree Lease Gate (shared checkouts)9495Before any git mutation (branch switch, stash push/pop, `git checkout --`, commit, branch force-update) in a clone that another session may share:96971. **Probe** `.agents/artifacts/WORKTREE-LEASE.md`. Absent → acquire (write owner/branch/heartbeat/scope/notes, ≤20 lines). Present with a fresh heartbeat (≤30 min) → you are the second session: take a separate `git worktree add` directory (preferred), stay read-only, or wait — never mutate shared git state. Present with a stale heartbeat → takeover: append a takeover line, preserve any WIP recorded in the lease `notes` as foreign.98 - One-command gate: `bun <skill-dir>/coupling-router/scripts/worktree-lease.ts probe --owner <id> --scope "<paths>"` (exit 0 = clear to mutate, exit 1 = defer; also `hold` and `release` subcommands).992. **Re-probe before each mutation**; stage explicit paths only; never pop a stash you did not create; audit shared-surface diffs hunk-by-hunk (skills.json, llms.txt, README, CHANGELOG).1003. **Release at close**: fold state into `HANDOFF.md`, delete the lease, leave a residual-state note for whatever stays in the worktree.101102Full contract, takeover rules, and the collision repair ladder: `references/worktree-lease-protocol.md`.103104### Step 1 — Skill-Stack Compatibility & Conflict Audit1051. **Inventory Candidate Skills**: Identify all installed or triggered skills requested for the workflow.1062. **Pairwise Conflict Check**: Consult `references/skill-compatibility-matrix.md` to evaluate interactions between candidate skills.1073. **Resolve Contradictory Directives**:108 - If an instruction contradiction exists (e.g. broad speculative refactoring vs surgical diff discipline), enforce the higher precedence tier and silence the subordinate rule.1094. **Select Minimal Viable Skill Set (MVSS)**:110 - Suppress redundant secondary skills (e.g., suppress `new-project` Stage 0 if `ai-ready` is active; suppress generic styling if `refactor-ui` is active).1115. **Enforce Token Budget Gate**:112 - Ensure the total active skill prompt footprint remains $\le 6,000$ tokens ($\le 3$ active skills per subagent context).113 - Prune auxiliary skills into staged sequential handoffs if the token budget is exceeded.114115### Step 2 — Plan-Evaluation Gate (pre-execution)116117Before any dispatch, evaluate the routing plan itself against five checks. A plan that fails any check is **rejected and reworked** — not dispatched with caveats:118119| # | Check | Reject When |120| :--- | :--- | :--- |121| 1 | **Spec alignment** | Every task must trace to a declared spec/source requirement; unclaimed work is cut or the spec is amended first |122| 2 | **Verifiable acceptance criteria** | A task without testable done-criteria cannot be dispatched — it produces unverifiable completion claims |123| 3 | **DAG integrity** | Dependency graph has cycles, or tasks reference dependencies not in the plan |124| 4 | **Scope overlap with completed work** | A task reimplements what an earlier task already delivered |125| 5 | **Evidence-backed assumptions** | Estimates and premises cite an artifact (measurement, doc, receipt) — not speculation |126127The primary verdict is spec alignment: a plan missing spec alignment is rejected as primary, before the other checks are even consulted.128129**Multi-perspective review (plans with ≥5 tasks):** a large plan is reviewed through more than one lens before dispatch — at minimum three, in sequence: (1) **spec/devil's-advocate lens** — does each task trace to the spec, and what premise could invalidate it; (2) **coupling lens** — write-overlap matrix, interface locks, wave structure (the checks of Steps 3–4); (3) **failure lens** — for each wave, what happens when it fails: recovery owner, dead-letter route, dependent-skip policy. Findings from each lens are recorded against the plan; unresolved findings reject the plan. Single-lens review is acceptable only below 5 tasks.130131### Step 3 — Dependency & Artifact Overlap Audit1321. List all planned subtasks: $T_1, T_2, \dots, T_n$.1332. For each task, list intended **Input Dependencies** and **Target Write Files**.1343. Calculate the Write-Overlap Matrix:135 - If two tasks write to the same file or package interface $\rightarrow$ **HIGH COUPLING ($C \ge 0.6$)**.136 - If Task $B$ reads the output of Task $A$ before starting $\rightarrow$ **SEQUENTIAL DEPENDENCY**.137138### Step 4 — Interface Invariant Check139Audit whether shared types, API schemas, or configuration contracts are already established and locked:140- **Unlocked Interfaces**: Must be assigned to a single precursor task before any downstream work begins.141- **Locked Interfaces**: Downstream implementations can safely parallelize.142143### Step 5 — Emit Routing Plan (`ROUTING_PLAN.md`)144Output structured routing instructions:145- **Skill Stack Allocation**: Active Minimal Viable Skill Set (MVSS) and explicitly suppressed skills.146- **Execution Strategy**: `SEQUENTIAL` | `STAGED_PIPELINE` | `PARALLEL_FAN_OUT`.147- **Task Ordering Graph**: Mermaid DAG showing execution phases, barriers, and subagent assignments.148- **Context Allocation**: Explicit scope and file boundaries for each assigned agent.149- **Lease Handshake** (shared checkouts): every git-mutating task spec embeds the one-command lease probe (`scripts/worktree-lease.ts probe --owner <task-id> --scope "<paths>"`) as its first step; tasks whose scopes overlap on one checkout are never dispatched concurrently.150- **Implementation-Existence Clause**: every task marked complete in the plan carries a verification receipt — the test run, file path, or command output proving the work exists and passes. A completion claim without a receipt reopens the task.151152---153154## Pitfalls155156- **Skill Token Bloat**: Loading 5+ skills simultaneously, exhausting 30–50% of the context window with redundant instructions before reading user code.157- **Contradictory Mandates**: Running un-audited skills where one demands "speculative architectural refactoring" and another demands "surgical, minimal diffs".158- **False Parallelism**: Spawning 3 parallel agents to write client, server, and shared types simultaneously guarantees merge conflicts and divergent interfaces.159- **Premature Concurrency**: Parallelizing tasks before the database schema or shared interfaces are committed and tested.160- **Dispatching an Unverified Plan**: Skipping the Plan-Evaluation Gate because the plan "looks right" — spec-misaligned or unverifiable tasks produce rework that exceeds the gate's cost by an order of magnitude.161- **Unverified Completion Claims**: Accepting "done" from a subagent without a verification receipt — premature completion is the #1 multi-agent failure mode.162- **Over-Serialization**: Forcing documentation, standalone unit tests, and independent CSS styling into sequential bottlenecks when they share zero files.163- **Blind Staging in a Shared Checkout**: `git add .` in a clone where another session left WIP sweeps their hunks into your commit; a branch switch behind their back orphans their uncommitted work onto the wrong branch. Probe the lease first; stage explicit paths only.164165---166167## Verification168169Before executing subagent delegation:1701. [ ] Plan-Evaluation Gate passed: spec alignment, verifiable acceptance criteria, DAG integrity, no overlap with completed work, evidence-backed assumptions.1712. [ ] Active skills audited for trigger collisions and contradictory instructions against the Precedence Hierarchy.1723. [ ] Minimal Viable Skill Set (MVSS) selected; redundant secondary skills marked as `SUPPRESSED`.1734. [ ] Combined skill instruction token footprint verified within budget ($\le 6,000$ tokens).1745. [ ] No two parallel tasks have overlapping target write file paths.1756. [ ] Shared types and database schemas are fully committed before fan-out begins.1767. [ ] Output `ROUTING_PLAN.md` provides unambiguous subagent assignments, skill stacks, isolation boundaries, and verification receipts for every completion claim.1778. [ ] Worktree lease probed (and held, if mutating) before every branch switch, stash operation, or shared-surface staging; foreign WIP untouched.
Run npx skillmds@latest add harshsinghmp/coupling-router in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Coupling-aware architectural delegation and skill-stack compatibility router for multi-agent workflows. Evaluates routing plans against a pre-execution gate (spec alignment, verifiable acceptance criteria, DAG integrity, scope overlap, evidence-backed assumptions) with multi-perspective review for plans of 5+ tasks, then analyzes task dependency graphs, shared mutable state, type definitions, and active skill interactions to deterministically route tasks to sequential builders or parallel fan-out workers, while auditing installed skills to suppress redundant instructions, resolve prompt contradictions, and eliminate token bloat. Completion claims require verification receipts. Enforces a shared-worktree lease so two agent sessions in one git checkout never collide on branches, stashes, or shared files. It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free. This skill is licensed under MIT.
harshsinghmp (@harshsinghmp) published this skill. Their other Agent Skills are listed on their SkillMD profile.