consult
The consult skill implements a domain-expert consultation protocol that queries specialized subject-matter-expert agents based on identified task domains, caching results to minimize redundant calls. Use this when the architect needs external expertise across specific knowledge areas, with a maximum of three SME consultations per project phase.
git clone --depth 1 https://github.com/zaxbysauce/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.
>
>