Przejdź do treści
Biblioteka skilli
AI i agenci · Przegląd i audyt

consult

/consult

Obsługuje CLI konsultacji AI, które odpytuje Gemini, Codex lub Claude o przeglądy i analizy specyfikacji, planów, implementacji i PR, w tym równoległe przeglądy trójstronne (cmap) i statystyki konsultacji.

Repozytorium
codev ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
23.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 23.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Obsługuje CLI konsultacji AI, które odpytuje Gemini, Codex lub Claude o przeglądy i analizy specyfikacji, planów, implementacji i PR, w tym równoległe przeglądy trójstronne (cmap) i statystyki konsultacji.

Oryginalny opis (EN)

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`.

Jak działa

  1. Synopsis
  2. Models
  3. Credentials and .env
  4. All flags
  5. Review types (--type)
  6. Usage patterns
  7. Rules
Sekcje z nagłówków SKILL.md, w oryginale · 102 linii, 552 słów
Podgląd SKILL.md
---
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 value | Alias | Notes |
|------------|-------|-------|
| `gemini` | `pro` | Antigravity CLI (`agy`); agentic file access (`--sandbox`), OAuth login; skips non-blockingly if unavailable |
| `codex` | `gpt` | Thorough (~200-250s), shell exploration |
| `claude` | `opus` | Agent 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`)

| Type | When to use |
|------|-------------|
| `spec` | Review a specification for completeness |
| `plan` | Review an implementation plan |
| `impl` | Review code implementation |
| `pr` | Review a pull request before merge |
| `phase` | Phase-scoped review (builder context only) |
| `integration` | Architect'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

Wersje

RepozytoriumWynikLicencja
Ta strona · cluesmith/codev100Apache-2.0
milansolutionsai-ops/claude-code-consult100MIT
saadshahd/moo.md100MIT
hashintel/labs100MIT
noes-25h/agent-kit100MIT
facunicedev/consult100MIT
pronskiy/skills100MIT
21ko/consult-skill95MIT

Identyczna treść występuje jeszcze w 3 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki 7ef282183700 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100multi-llm-consult
    Konsultuje zewnętrzne LLM (Gemini, OpenAI/Codex, Qwen) w sprawie drugiej opinii, alternatywnych planów i niezależnych przeglądów oraz deleguje im podzadania.
  • 100claude-consult
    Konsultuje agentów specjalistów Claude w trakcie implementacji: zrozumienie bazy kodu, sprawdzanie wzorców, przegląd bezpieczeństwa i pomoc w debugowaniu przed napisaniem kodu.
  • 100consult-codex
    Konsultuje serwer MCP codex jako drugą opinię AI w trzech fazach: proaktywne przeglądy projektu, planu i kodu oraz reaktywne wyjście z impasu, wymaga codex.enabled=true w .feature-flow.yml.
  • 100claude-roundtable
    Włącza do środowiska Claude Code modele z innych dostawców przez lokalne proxy CLIProxyAPI (sol, terra, luna i kolejne) do konsultacji, krytyki lub implementacji, wywoływane zwykłym językiem.
  • 90legal-consults
    Pomaga kancelarii zwiększać liczbę podpisanych spraw, odsetek odbytych konsultacji i przejrzystość opłat, także po konsultacji.
  • 81ds-consult
    Zasięga niezależnej opinii Codexa lub Claude'a albo zwołuje radę modeli.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.