consult - AI Consultation CLI
SkillAI & modelsAI consultation CLI quick reference. Use when running consult commands to check syntax for general queries, protocol reviews, and stats across Gemini, Codex, and Claude.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the consult - AI Consultation CLI skill
What this skill tells your AI
The instructions your AI receives, as published by ansari-project/ansari-frontend in .claude/skills/consult/SKILL.md and read by ahel’s review.
Synopsis
consult -m <model> [options]
consult stats [options]
The -m / --model flag is always required (except for stats).
Models
| Model | Alias | Speed | Approach |
|---|---|---|---|
gemini | pro | ~120-150s | File access via --yolo, fast |
codex | gpt | ~200-250s | Shell command exploration, thorough |
claude | opus | ~60-120s | Agent SDK with tool use |
Modes
General Mode
consult -m gemini --prompt "What's the best way to structure auth?"
consult -m codex --prompt-file review-checklist.md
Protocol Mode
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 review
Stats Mode
consult stats # 30-day summary
consult stats --days 7 --json # Last 7 days as JSON
Options
-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 |
|---|---|
spec | Review specification completeness |
plan | Review implementation plan |
impl | Review code implementation |
pr | Review pull request before merge |
phase | Phase-scoped review (builder only) |
integration | Architect's integration review |
Protocol-specific prompts live in codev/protocols/<protocol>/consult-types/.
Context Resolution
- Builder context (cwd in
.builders/): auto-detects project from porch state - Architect context (cwd outside
.builders/): requires--issue <N>
Parallel Consultation (3-Way / cmap)
Run all three models in parallel for thorough reviews:
consult -m gemini --protocol spir --type spec &
consult -m codex --protocol spir --type spec &
consult -m claude --protocol spir --type spec &
wait
Or from Claude Code, use cmap pattern: three parallel background Bash calls.
Common Mistakes
- The
-mflag is required —consult --type specwill fail without it - Cannot combine
--promptwith--type(mode conflict) - Cannot use
--promptand--prompt-filetogether --protocolrequires--type— cannot use alone- General mode:
--prompttext is passed directly, not as a positional arg
Signals
- GitHub stars
- 27
- Forks
- 16
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
consult- Source
- github.com/ansari-project/ansari-frontend