consult
Original:🇺🇸 English
Translated
AI consultation CLI quick reference. Use when running consult commands to check syntax for general queries, protocol reviews, and stats across Gemini, Codex, and Claude.
53installs
Sourcecluesmith/codev
Added on
NPX Install
npx skill4agent add cluesmith/codev consultTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →consult - AI Consultation CLI
Synopsis
bash
consult -m <model> [options]
consult stats [options]The / flag is always required (except for stats).
-m--modelModels
| Model | Alias | Speed | Approach |
|---|---|---|---|
| | ~120-150s | File access via --yolo, fast |
| | ~200-250s | Shell command exploration, thorough |
| | ~60-120s | Agent SDK with tool use |
Modes
General Mode
bash
consult -m gemini --prompt "What's the best way to structure auth?"
consult -m codex --prompt-file review-checklist.mdProtocol Mode
bash
consult -m gemini --protocol spir --type spec # Review a specification
consult -m codex --protocol spir --type plan # Review a plan
consult -m claude --protocol spir --type impl # Review implementation
consult -m gemini --protocol spir --type pr # Review a PR
consult -m codex --protocol spir --type phase # Phase-scoped review
consult -m gemini --type integration # Integration reviewStats Mode
bash
consult stats # 30-day summary
consult stats --days 7 --json # Last 7 days as JSONOptions
bash
-m, --model <model> # Model to use (required except stats)
--prompt <text> # Inline prompt (general mode)
--prompt-file <path> # Prompt from file (general mode)
--protocol <name> # Protocol: spir, bugfix, tick, maintain
-t, --type <type> # Review type: spec, plan, impl, pr, phase, integration
--issue <number> # Issue number (architect context)Review Types (--type with --protocol)
| Type | Use Case |
|---|---|
| Review specification completeness |
| Review implementation plan |
| Review code implementation |
| Review pull request before merge |
| Phase-scoped review (builder only) |
| Architect's integration review |
Protocol-specific prompts live in .
codev/protocols/<protocol>/consult-types/Context Resolution
- Builder context (cwd in ): auto-detects project from porch state
.builders/ - Architect context (cwd outside ): requires
.builders/--issue <N>
Parallel Consultation (3-Way / cmap)
Run all three models in parallel for thorough reviews:
bash
consult -m gemini --protocol spir --type spec &
consult -m codex --protocol spir --type spec &
consult -m claude --protocol spir --type spec &
waitOr from Claude Code, use cmap pattern: three parallel background Bash calls.
Common Mistakes
- The flag is required —
-mwill fail without itconsult --type spec - Cannot combine with
--prompt(mode conflict)--type - Cannot use and
--prompttogether--prompt-file - requires
--protocol— cannot use alone--type - General mode: text is passed directly, not as a positional arg
--prompt