Agent skill

Consult

by cluesmith in cluesmith/codev

AI consultation CLI — query Gemini, Codex, or Claude for reviews and analysis.

Apache-2.0Auto-check: notes

Install Consult

skills CLI
$ npx skills add cluesmith/codev --skill consult -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cluesmith/codev consult --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cluesmith/codev.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/consult .claude/skills/consult && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
consult
GitHub stars
288
Token cost
~1.1k tokens
SKILL.md length
276 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

AI consultation CLI — query Gemini, Codex, or Claude for reviews and analysis.

  • Reviewing specs
  • SKILL.md covers Synopsis, Models, Credentials and .env and All flags, plus 3 more sections
  • Needs CLAUDE_CODE_OAUTH_TOKEN and ANTHROPIC_AUTH_TOKEN
  • Implementations

What it does

Consult is an agent skill from cluesmith/codev. AI consultation CLI — query Gemini, Codex, or Claude for reviews and analysis. ALWAYS check this skill before running any consult command. Use when reviewing specs, plans, implementations, or PRs with external models, running parallel 3-way reviews (cmap), or checking consultation stats. The -m model flag is always required except for consult stats.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Codev helps humans and agents co-develop both the context and the code of the project. The licence is Apache-2.0.

When your agent uses it

  • Reviewing specs
  • Implementations
  • PRs with external models
  • Running parallel 3-way reviews (cmap)

Example prompts

  • “/consult”

Requirements

  • A credential in CLAUDE_CODE_OAUTH_TOKEN
  • A credential in ANTHROPIC_AUTH_TOKEN

What it can do on your machine

Read from SKILL.md and the folder at commit 9cd8607. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • CLAUDE_CODE_OAUTH_TOKEN
    • ANTHROPIC_AUTH_TOKEN
    • ANTHROPIC_API_KEY
    • CODEX_API_KEY
    • OPENAI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Consult loads about 1.1k tokens when it runs. Until then it costs about 91 tokens; SKILL.md has 276 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~91
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:27
    ## Credentials and `.env`
  • NoteMentions a .env fileSKILL.md:29
    `consult` loads `<workspace>/.env` and sets every key the shell does not already define, **credentials included**. Those
  • NoteMentions a .env fileSKILL.md:34
    UDE] auth: CLAUDE_CODE_OAUTH_TOKEN (from .env)`. If a review fails with a usage-limit or auth error while your own login

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from cluesmith/codev at commit 9cd8607, republished under its Apache-2.0 licence (© cluesmith). 276 words, ~1,066 tokens.

Download SKILL.mdSave it as .claude/skills/consult/SKILL.md (or your agent's skills folder).
name
consult
description
AI consultation CLI — query Gemini, Codex, or Claude for reviews and analysis. ALWAYS check this skill before running any `consult` command. Use when reviewing specs, plans, implementations, or PRs with external models, running parallel 3-way reviews (cmap), or checking consultation stats. The `-m` model flag is always required except for `consult stats`.

consult - AI Consultation CLI

Query external AI models for reviews and analysis. Supports Gemini, Codex, and Claude.

Synopsis

consult -m <model> [options]
consult stats [options]

The -m / --model flag is always required except for consult stats.

Models

Flag valueAliasNotes
geminiproAntigravity CLI (agy); agentic file access (--sandbox), OAuth login; skips non-blockingly if unavailable
codexgptThorough (~200-250s), shell exploration
claudeopusAgent SDK with tool use (~60-120s)

Credentials and .env

consult loads <workspace>/.env and sets every key the shell does not already define, credentials included. Those override your stored login:

  • claude: CLAUDE_CODE_OAUTH_TOKEN (or ANTHROPIC_AUTH_TOKEN / ANTHROPIC_API_KEY) beats the keychain login. When an OAuth token is set, the API keys are dropped.
  • codex: CODEX_API_KEY beats the ChatGPT login. OPENAI_API_KEY is ignored.

Each SDK lane prints what it authenticates with, e.g. [CLAUDE] auth: CLAUDE_CODE_OAUTH_TOKEN (from .env). If a review fails with a usage-limit or auth error while your own login works, check that line first. A key exported in the shell wins over .env.

All flags

-m, --model <model>         Model to use (required except stats)
--prompt <text>              Inline prompt (general mode)
--prompt-file <path>         Prompt file path (general mode)
--protocol <name>            Protocol: spir, aspir, air, bugfix, maintain
-t, --type <type>            Review type (see below)
--issue <number>             Issue number (required in architect context)
--output <path>              Save result to file
--plan-phase <phase>         Scope review to a plan phase (porch use)
--context <path>             Context file with feedback (porch use)
--project-id <id>            Project ID for metrics (porch use)
--days <n>                   Stats: limit to last N days (default: 30)
--project <id>               Stats: filter by project ID
--last <n>                   Stats: show last N invocations
--json                       Stats: output as JSON

Review types (--type)

TypeWhen to use
specReview a specification for completeness
planReview an implementation plan
implReview code implementation
prReview a pull request before merge
phasePhase-scoped review (builder context only)
integrationArchitect's integration review of a PR

Usage patterns

General query:

bash
consult -m gemini --prompt "What's the best way to structure auth?"
consult -m codex --prompt-file review-checklist.md

Protocol review:

bash
consult -m gemini --type spec --issue 42
consult -m codex --type plan --issue 42
consult -m claude --type integration --issue 42

3-way parallel review (cmap): Always use --output for background runs — without it, results go to a temp file that may be garbage-collected.

bash
consult -m gemini --type integration --issue 42 --output /tmp/cmap-gemini-42.md &
consult -m codex --type integration --issue 42 --output /tmp/cmap-codex-42.md &
consult -m claude --type integration --issue 42 --output /tmp/cmap-claude-42.md &
wait

Stats:

bash
consult stats                     # 30-day summary
consult stats --days 7 --json     # Last 7 days as JSON
consult stats --project 42        # Filter by project

Rules

  • -m is required for all non-stats commands
  • --prompt and --type are mutually exclusive (different modes)
  • --prompt and --prompt-file are mutually exclusive
  • --protocol requires --type
  • From architect context (outside .builders/), --issue is required for protocol reviews
  • From builder context (inside .builders/), project auto-detects from porch state

© cluesmith, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .codex/skills/consult of cluesmith/codev.

Open the folder on GitHubat commit 9cd8607

Compare with similar skills

Consult next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Consult compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Consult this skillcluesmith/codev288—~1.1kAutomated safety check: NotesApache-2.0
Design Consultationgarrytan/gstack136k—~15kAutomated safety check: NotesMIT
Design Consultationnexu-io/open-design100k—~313Automated safety check: PassApache-2.0
Consulting Analysisbytedance/deer-flow84k4 repos~8.4kAutomated safety check: PassMIT
Fda Consultant Specialistdavila7/claude-code-templates32k1 repos~2.7kAutomated safety check: PassMIT
Fda Consultant Specialistalirezarezvani/claude-skills28k—~2.9kAutomated safety check: PassMIT

Similar skills

  • Design Consultation

    garrytan/gstack

    Learns about your product, studies the landscape and writes a DESIGN.md with a full design system covering type, color, layout, spacing and motion.

    136k GitHub stars~15k tokensUpdated today
    Frontend & DesignAuto-check: notes
  • Design Consultation

    nexu-io/open-design

    Build a complete design system from scratch with creative risks and realistic product mockups.

    100k GitHub stars~313 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Consulting Analysis

    bytedance/deer-flow

    A skill your agent uses when the user requests to generate, create, or write professional research reports including but not limited to market analysis, consumer insights, brand analysis, financial…

    84k GitHub starsUsed in 4 repos~8.4k tokens
    Marketing & SEOAuto-check passed
  • Fda Consultant Specialist

    davila7/claude-code-templates

    Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management.

    32k GitHub starsUsed in 1 repo~2.7k tokens
    Legal & ComplianceAuto-check passed
  • Fda Consultant Specialist

    alirezarezvani/claude-skills

    FDA regulatory consultant for medical device companies. An agent skill from alirezarezvani/claude-skills.

    28k GitHub stars~2.9k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Consult Perf Knowledge

    ai-dynamo/dynamo

    Consults the repository performance rules and applicable Dynamo and engine guides to select one evidence-backed optimization proposal, then writes the generator's knowledge-consult.md reasoning…

    8.3k GitHub stars~4.2k tokensUpdated today
    Auto-check passed

More from cluesmith/codev

All 12 skills in this repo
  • Afx

    cluesmith/codev

    Agent Farm CLI — the tool for spawning builders, managing Tower, workspaces, and cron tasks.

    288 GitHub stars~2.4k tokensUpdated 3 days ago
    Auto-check passed
  • Arch Init

    cluesmith/codev

    Adopt an architect identity and recover its state from codev/state/<name.md.

    288 GitHub stars~2.7k tokensUpdated 3 days ago
    Auto-check passed
  • Arch Save

    cluesmith/codev

    Save an architect's state, clear its context, and re-init automatically — the packaged save→clear→re-init refresh cycle.

    288 GitHub stars~3.8k tokensUpdated 3 days ago
    Auto-check passed
  • Builder Refresh

    cluesmith/codev

    Refresh a builder's own context at a protocol boundary — save working state, verify it, clear, and re-orient.

    288 GitHub stars~1.7k tokensUpdated 3 days ago
    Auto-check passed
  • Codev

    cluesmith/codev

    Codev project management CLI — init, adopt, update, and doctor commands.

    288 GitHub stars~962 tokensUpdated 3 days ago
    Auto-check passed
  • Generate Image

    cluesmith/codev

    AI image generation via Gemini with optional async providers.

    288 GitHub stars~751 tokensUpdated 3 days ago
    Auto-check passed

Questions about Consult

What does Consult do?

AI consultation CLI — query Gemini, Codex, or Claude for reviews and analysis. Consult is an agent skill from cluesmith/codev. AI consultation CLI — query Gemini, Codex, or Claude for reviews and analysis.

When should I use Consult?

Consult fits situations like: reviewing specs; implementations; PRs with external models; running parallel 3-way reviews (cmap).

How do I install Consult in Claude Code?

Run `npx skills add cluesmith/codev --skill consult -a claude-code`. Or copy the skill folder (.codex/skills/consult in cluesmith/codev) into .claude/skills/consult in your project. Claude Code loads it when a task matches its description.

How do I install Consult in Codex?

Run `npx skills add cluesmith/codev --skill consult -a codex`. Or copy the skill folder (.codex/skills/consult in cluesmith/codev) into .agents/skills/consult in your project. Codex loads it when a task matches its description.

Can I use Consult in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cluesmith/codev --skill consult -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/consult, .gemini/skills/consult, .github/skills/consult and .opencode/skills/consult in your project.

What does Consult need to run?

Going by SKILL.md and its folder, Consult needs credentials named CLAUDE_CODE_OAUTH_TOKEN, ANTHROPIC_AUTH_TOKEN, ANTHROPIC_API_KEY and CODEX_API_KEY. Our summary lists: A credential in CLAUDE_CODE_OAUTH_TOKEN; A credential in ANTHROPIC_AUTH_TOKEN.

Does Consult access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Consult safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Consult use?

Consult is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Consult use?

About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Consult?

Skills that share tags, products or a category with Consult: Design Consultation (garrytan/gstack, 136k stars), Design Consultation (nexu-io/open-design, 100k stars), Consulting Analysis (bytedance/deer-flow, 84k stars) and Fda Consultant Specialist (davila7/claude-code-templates, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Consult?

cluesmith (a GitHub organization) maintains it in cluesmith/codev, which has 288 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 6, 2026.

Source: cluesmith/codev on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.