Skip to main content
ClaudeWave
Skill354 repo starsupdated today

consult

The consult skill implements a domain-expertise protocol that identifies relevant knowledge areas in a task and sequentially queries subject matter expert agents within a swarm, caching results for reuse. Use this when architectural decisions require specialized input across multiple domains or when task scope changes necessitate fresh expert evaluation.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/ZaxbyHub/opencode-swarm /tmp/consult && cp -r /tmp/consult/.opencode/skills/consult ~/.claude/skills/consult
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# Consult Protocol

This protocol is loaded on demand by the architect stub in src/agents/architect.ts. The architect prompt keeps only activation, action, and hard safety constraints; the full execution details live here.

### MODE: CONSULT
Check .swarm/context.md for cached guidance first.
Identify 1-3 relevant domains from the task requirements.
Call the active swarm's sme agent once per domain, serially. Max 3 SME calls per project phase.
Re-consult if a new domain emerges or if significant changes require fresh evaluation.
Cache guidance in context.md.