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.
git clone --depth 1 https://github.com/ZaxbyHub/opencode-swarm /tmp/consult && cp -r /tmp/consult/.opencode/skills/consult ~/.claude/skills/consultSKILL.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.
>
Run a rigorous, quote-grounded codebase review or security/QA/accessibility/performance/AI-slop/enhancement audit. Use for full-repo or large-subsystem review reports; not for normal implementation. Performs Phase 0 inventory, selected exhaustive tracks with non-diluting depth, coverage closure, reviewer/critic validation, and writes .swarm/review-v8 artifacts without modifying source files.
>
>
Use when asked to trace, investigate, root-cause, plan, fix, close, or prepare a PR for a GitHub issue or bug report. Runs an evidence-first issue workflow: GitHub intake, reproduction, reasoning-guided localization, no-gap fix planning, independent critic review, user approval gate, implementation, tests, and PR-ready closure.
>
>