Drawn from 25 years of software engineering across startups and large organizations, Consult is a human in the loop focused portable skill library for raising the engineering maturity of coding agents.
Humans are good at mapping real-world issues to technical solutions, and, given enough context, coding agents are good at generating a correct implementation. Consult does not try to change either side of that equation: it does not automate humans away, and it does not change how coding agents, or their harnesses, work internally. Instead, it augments the collaboration between them so agent-assisted work produces simpler, trustworthy, and maintainable production-grade software while humans still own intent, design, and acceptance.
Consult is not a vibe-coding safety net. It works best when you have enough software fundamentals to judge plans, tradeoffs, risk, and proof. Consult can still suggest a solution, but it's more effective if you can make the hard engineering decisions yourself (plus you'll actually know how the code works).
- Keep humans in the loop for significant and hard-to-change work: public interfaces, project structure, dependency picks, data boundaries, long-lived behavior, substantial new modules, non-trivial logic, and deliberate behavior changes.
- Use AI to improve the developer's mental model, not to replace it.
- Model data first: make values, states, and rules clear; limit side effects; keep state changes at the edges.
- Show their work: prove behavior with tests, contracts, logs, or visible checks rather than relying on what seems correct.
- Treat security, data safety, and accessibility as essential, not extras.
- Plan beyond launch: invest in observability, reliability, safe deployment, and a rollback plan.
- Organize work into clear, reviewable changes humans can trust and maintain.
Most users should install the package for their primary agent. Use the manual install only when you want one shared skill directory across several tools, or when your tool does not support plugins.
Inside Claude Code:
/plugin marketplace add kreek/consult
/plugin install consult@consult
codex plugin marketplace add kreek/consultThen open /plugins in Codex, find Consult in the list,
press Enter to open its details, and select Install plugin.
To update:
codex plugin marketplace upgrade consultThen open /plugins, find Consult in the list, press Enter
to open its details, and select Install plugin again.
Install from the Cursor Marketplace (search for
Consult or submit this repo at
cursor.com/marketplace/publish if it is
not listed yet). Open the marketplace panel in Cursor, install consult, then
confirm skills under Settings → Rules → Agent Decides. Invoke a skill with
/skill-name in Agent chat (for example /workflow, /proof).
To test from a local checkout before marketplace listing:
mkdir -p ~/.cursor/plugins/local
cp -R /path/to/consult/plugin ~/.cursor/plugins/local/consultReload the window (Developer: Reload Window). Prefer cp -R over symlinks;
some Cursor builds do not load symlinked local plugins reliably.
If you also run ./setup.sh, Cursor can load the same skills twice (plugin plus
~/.agents/skills/). Use either the Cursor plugin or manual install for Cursor,
not both.
Developing inside this repository with a local plugin copy also duplicates skills
(project agents/.agents/skills/ plus the plugin). See
CONTRIBUTING.md.
pi install github:kreek/consultAfter installing, run /reload inside Pi. Consult includes bundled skills plus
runtime extensions for /proof and /consult:self-review.
Antigravity's CLI (agy) manages plugins with agy plugin install. Consult ships a
ready-to-install plugin at plugin/ (a plugin.json marker plus a skills/
directory). Install it from a local checkout:
agy plugin install /path/to/consult/pluginagy copies the plugin into ~/.gemini/antigravity-cli/plugins/consult and
registers its skills; verify with agy plugin list. Because it copies rather
than links, re-run the command (or ./setup.sh) after pulling new skills.
./setup.sh runs this automatically when agy is on your PATH.
Prerequisites: Git and GNU Stow. Install Stow with one of:
brew install stow # macOS
apt install stow # Debian/Ubuntu
dnf install stow # Fedora/RHELgit clone https://github.com/kreek/consult.git
cd consult
./setup.shsetup.sh prints the actions it will take and confirms before changing
anything. It links ~/.agents/skills/, installs the Antigravity plugin via
agy plugin install, and links tool-specific skill locations when those tools
are present. End-user installs do not need Python or uv.
Consult includes 24 skills. Open a skill for its triggers, workflow, and verification.
- Routing and proof:
workflow: Use first for almost every software engineering task to route risks, choose skills, and define proof.proof: Tests, claims, invariants, behavior specs, edge cases, and evidence.contract-first: Approve caller-facing interfaces or shared structure before implementation.
- Design:
specify: Design-partner mode for discovery, tradeoffs, decisions, and design artifacts.domain-modeling: Data shapes, invariants, state transitions, parsing, and effects.architecture: Architecture decisions, module boundaries, coupling, layering, and system shape.
- Correctness and change:
code-review: Review diffs and PRs for bugs, regressions, edge cases, and merge readiness.debugging: Reproduce symptoms, isolate causes, inspect evidence, and fix bugs.error-handling: Error types, propagation, retries, user messages, and recovery.refactoring: Behavior-preserving change, tests, and safe rewrites.official-source-check: Check external behavior against official sources.
- Safety:
- Public surfaces:
api: REST API contracts: endpoints, fields, evolution, status codes, errors, pagination, idempotency.documentation: READMEs, ADRs, runbooks, API docs, and comments.ui-design: Frontend UI, layouts, components, responsive behavior, and usability.accessibility: WCAG, ARIA, keyboard, focus, contrast, and inclusive states.
- Production quality:
async-systems: Concurrency, queues, streams, pub/sub, ordering, and backpressure.observability: Logs, metrics, traces, health checks, dashboards, alerts, and SLOs.performance: Profiling, latency, throughput, allocation, caching, and hot paths.
- Repo workflow:
commit: Staging reviewed work, commit splits, and messages.scaffolding: New projects, package setup, quality tooling, CI, and repo structure.git-workflow: Branches, history edits, conflicts, rebases, recovery, and force-push.
Greenfield stack templates live under
scaffolding/references/stacks/.
Shared language defaults are in
language-defaults.md.
Consult routing is collaboration-aware, quality-driven, and risk-triggered. Risk determines which skills load; working mode determines whether the agent should continue, ask for approval, or stay read-only.
The working modes are Direct, Guided, Design-partner, and Review-only. Most implementation work stays in Direct or Guided mode.
Consult is autonomous by default and consultative for significant or hard-to-change work. The agent should get a plan or shape/API sign-off before significant new code (a substantial new module or component, non-trivial logic, or a deliberate behavior change) and before it locks in a caller-facing interface, class or library API, project/package/module structure, structural runtime dependency, data model, or boundary that future work will depend on. Local helpers, private file moves, and narrow bug fixes that restore intended behavior should not become consultation gates.
Caller-facing interfaces and shared structure trigger contract-first: the
agent stops at one recommended contract/API/structure and high-level plan, then
asks for approval before implementation continues.
See workflow for the full
routing model and contract-first
for sign-off on interfaces and shared structure.
eval/README.md benchmarks Codex with and without Consult
against shared engineering tasks. It combines deterministic hidden tests with
LLM-judged engineering maturity, proof quality, simplicity, and risk handling.
See CONTRIBUTING.md for project conventions, the skill
authoring template, branching rules, checks, and maintenance steps. Skill
authoring rules and pack-versioning policy live in
AGENTS.md.
MIT: see LICENSE. Third-party/adapted extension notices are listed
in THIRD_PARTY_NOTICES.md.
Manual install:
stow --target="$HOME" -D agentsManual cleanup may still be needed for tool-specific symlinks.
If you installed the Claude Code plugin, run these from inside Claude Code:
/plugin uninstall consult@consult
/plugin marketplace remove consult
For Codex, remove Consult from the plugin UI or marketplace commands. For Cursor,
disable or uninstall consult from the marketplace panel (or remove
~/.cursor/plugins/local/consult and any ~/.cursor/plugins/cache/consult copy). For
Antigravity, run agy plugin uninstall consult.