Advisor
Advisor gives a coding agent an independent review at planning, recovery, and completion checkpoints. This repository is a marketplace containing exactly one plugin: advisor.
Users enable the advisors the working agent may choose, with one model and effort setting per CLI. The defaults are:
| Provider | Requested model | Effort | Runtime | Default |
|---|
claude | Claude Opus 5.5 (claude-opus-5-5) | Max | Claude Code CLI | enabled |
codex | GPT 6.1 Sol (gpt-6.1-sol) | Max | Codex CLI | enabled |
cursor | Claude Opus 5.5 High (claude-opus-5-5-high) | High | Cursor Agent CLI (cursor-agent) | disabled |
The working agent checks advisor_status and chooses one enabled advisor per consultation. User-supplied workflow preferences favor claude for frontend, design, UX, planning, delegation, and orchestration, and codex for engineering, backend, architecture, mathematics, implementation, testing, and optimization. Choose cursor when that profile is enabled and the question depends on Cursor's agent or CLI. These are soft selection preferences, not benchmarked rankings, and never override disabled settings.
Claude and Codex defaults follow the Claude CLI reference, Opus 5.5 documentation, and Codex model documentation. The Cursor id is the catalog entry reported by agent models on CLI 2026.10.22; Cursor encodes effort in that id and has no separate effort flag, so effort must match the suffix. Each consultation starts with one explicitly selected provider. Optional verified-usage handoff can try the other enabled profile once, and only between Claude and Codex. Cursor is never that alternate. Responses identify the requested model and effort; they do not prove model access or independently verify the served identity. An omitted cursor profile stays disabled, so installing this version does not start Cursor Agent consultations by itself.
How it works
- After brief orientation, the working agent loads the Advisor skill and consults before substantive implementation or committing to an approach.
- For longer, multistep tasks, it consults again after saving the deliverable and running tests, before declaring completion. Recurring errors, approach changes, and consequential uncertainty also call for review. Trivial reactive tasks need no repeated reviews.
- The local MCP tool starts a background job using the selected advising CLI's separate session. In ZCode, the worker immediately starts its returned native background waiter and continues independent work.
- ZCode alerts the agent at a model boundary or wakes it when idle. The worker promptly retrieves completed advice with
read_advice before making dependent decisions; a Markdown copy stays in private local state.
- The working agent evaluates the advice, verifies its decisions, and continues its own task.
ZCode, Claude Code, Cursor, and local Codex packages include session-start hooks that put review checkpoints into the worker's context. The native Muse and Antigravity exports also declare startup instruction hooks. These hooks only supply instructions; they never call an advisor. The working agent must invoke the tool and complete the reviews. Grok Build ignores stdout on passive lifecycle events. Ordinary Claude Desktop chat, ordinary ChatGPT cloud chat, a portable Muse install, and Cursor cloud agents have no instruction hook. Those hosts can use the startup instruction snippet in their project or user instructions. Installing an MCP tool or a skill alone does not guarantee the full rule is loaded.
Version 0.2.9 requires native ZCode requests to declare dependent_paths: concrete workspace files or directories awaiting advice; use [] only for read-only advice. Named-edit hooks hold those paths across turns until the exact job's completed advice is retrieved through native read_advice. Failed, unavailable, and completed-but-unread results do not release them. Independent named edits remain allowed; shell commands, delegation, and semantic decisions remain policy-only boundaries. Early/final review and waiter rules still apply. See checkpoint details.
Set up
Install uv and the advising CLIs you want to use, then sign in through their normal login flows. For Cursor Agent, use the cursor-agent executable (agent can name a different tool). Advisor does not copy credentials or call model APIs directly. It removes ANTHROPIC_API_KEY, OPENAI_API_KEY, CODEX_API_KEY, and CURSOR_API_KEY from child environments to favor existing CLI authentication; confirm each CLI's active account and billing mode yourself.