/pioneer:pioneerfrom Pioneer
Delegates code review to the locally installed Pi coding agent. Use when the user asks Pioneer, Pi, or another model to review code, a repository, a diff, or an implementation.
Ships in Pioneer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Run independent reviews with the pioneer CLI and the operator's configured Pi installation. Keep native-session recovery enabled for ordinary reviews unless the caller explicitly chooses --no-resume.
pioneer controller outside any enclosing agent sandbox. It must reach the operator's Pi configuration and configured model provider. Pioneer launches the Pi review actor in its own native sandbox on macOS and Linux.pioneer and pi are available on PATH.pioneer doctor before the first review in a session.
PIONEER_OUTER_SANDBOX_REQUIRED, PI_CONFIG_HIDDEN_BY_SANDBOX, or PI_MODELS_CONFIG_INVALID, explain that the outer sandbox can block configuration access or lock-file creation.doctor and the review in an escalated or unsandboxed terminal. Do this before changing Pi configuration. Do not read any Pi configuration file. Pioneer's native actor sandbox remains enabled.doctor as a review readiness check because strict eval isolation is unsupported. Run pi --version and pi --offline --no-approve --no-extensions --list-models instead.When the user requests a Git-target review, run this from the repository root and pass explicit --git targets:
pioneer review \
--source "$PWD" \
--git working-tree \
--prompt "Review the current changes for correctness, security, and regressions. Report concrete findings with file and line references." \
--model provider/model \
--thinking high
Repeat --git for multiple targets. Accepted values are working-tree, staged, untracked, commit:REF, range:FROM...TO, and range:FROM..TO. The controller collects Git context on every platform and requires Git 2.45 or newer. Use the Git status from doctor or run git --version on Windows. --allow-partial-clone permits offline inspection when the required objects are already present.
For a GitHub pull-request number or URL, request a local --git target. For source-only reviews, omit --git. Use a scope such as Review the implementation under src for correctness, security, and regressions.
Include --model and --thinking only when requested. Pass the exact requested thinking level as --thinking <level>. Never omit or substitute a requested value. Supported levels are off, minimal, low, medium, high, xhigh, and max.
Reviews save a private controller-owned report by default. Preserve stderr and both path markers: [PIONEER_REPORT] ABSOLUTE_PATH and [PIONEER_WORK_LOG] ABSOLUTE_PATH. The API exposes the report path as ReviewResult.reportPath.
Pioneer announces the report path after exclusively creating its private reservation file. The initial contents are an ownership marker bound to that controller instance. Wait for completion before treating the file as a report. --report selects another create-only controller target.
Use --no-resume only for an explicitly requested ephemeral Pi launch without session retention. This mode neither creates nor prunes resume storage.
Use repeated grants when the review needs more context:
--allow-read /absolute/reference/path
--allow-write /absolute/output/path
On native sandbox platforms, the source and --allow-read directories remain read-only. Use --allow-write only for actor-created artifacts. For the final report, use --report /absolute/path/report.md. Pioneer writes it through its exclusive controller reservation after review success. Pi has no write access to that target.
Pioneer creates a real-time JSONL work log and immediately prints [PIONEER_WORK_LOG] ABSOLUTE_PATH to stderr. Preserve that line. Use the private platform default unless the caller requests a specific create-only target through --work-log /absolute/new-file.jsonl. Paths must contain no control characters.
Windows custom targets inherit their parent directory ACL. Pioneer cannot validate that ACL. Use the default unless the caller identifies a parent already private to the current user.
While the terminal session runs, inspect or tail the log for status. Five-second heartbeats and sanitized Pi events show activity, silence, retries, tool execution, settlement, and termination. Records exclude prompts and model/tool content.
On macOS and Linux, reviews default to --network full, which permits public destinations and other LAN hosts through the authenticated proxy. Use public for public destinations and explicit host grants, or provider-only to limit DNS and connections to the selected model provider and explicit grants. Preserve the caller's --allow-host and --block-host settings. Every native tier blocks loopback, host interface addresses, and metadata destinations through the proxy. Only evals can grant direct access to an exact local service with --allow-loopback 127.0.0.1:PORT. Do not use --network none for reviews. Pi needs to reach its provider.
Use --controller-provider-auth only when requested. It keeps the supported provider's credential in the controller, disables user extensions and resumption, and requires an exact --model PROVIDER/MODEL with a public HTTPS endpoint declared in the source Pi home's models.json. Preserve the caller's requested model and network policy. If protected auth is unsupported or OAuth has expired, present the diagnostic.
Use --pi-home /absolute/path only when the caller provides a prepared Pi agent directory. The directory is copied into the isolated run; it is not mounted in place.
Windows reviews rely on instructions for source immutability and use the host's network policy. Explain these limits and obtain the user's explicit approval before passing --allow-unsandboxed-windows. An approved Windows review requires --no-extensions. Strict evals, provider-only networking, host filters, and controller-only authentication require macOS or Linux.
PI_EXTENSION_* diagnostics identify extension resolution, staging, or runtime failures. Keep the exact requested model. Do not patch installed dist files, substitute providers, disable extensions, or widen the sandbox to hide errors.
Resume rejects changed snapshots with REVIEW_RESUME_EXTENSIONS_CHANGED. Restore the same code and dependencies, or ask the user to start a new review.
{"output":""} is insufficient evidence of either success or failure.[PIONEER_WORK_LOG] ABSOLUTE_PATH identifies the work log. Preserve the path for progress checks and hang diagnosis.[PIONEER_REPORT] ABSOLUTE_PATH identifies the report reservation. Preserve it and wait for a terminal result before reading a completed report. On transport success, it contains the private durable report.write and edit are excluded, while the native sandbox keeps the source read-only. Loading an extension does not authorize its subagent, write or MCP tools. Only add --no-extensions when the user explicitly requests the built-in-only opt-out.fs.watch, polling, or a subagent-results directory. The calling agent runtime emits watcher fallback messages. Those watchers cannot save or deliver a Pioneer report.[REVIEW_REPORT_WRITE_FAILED], preserve and present the non-empty stdout Markdown report together with the persistence diagnostic; Pi's review completed, but the requested durable copy did not.[REVIEW_WORK_LOG_CREATE_FAILED] or [REVIEW_WORK_LOG_WRITE_FAILED], report it as terminal. Pioneer intentionally stops rather than continue a review that cannot be observed in real time, including after the bounded log writes work_log_truncated. If stdout still contains a verified report after a close-time work-log failure, preserve and present that report together with the diagnostic.REVIEW_RPC_OUTPUT_LIMIT and [PIONEER_REVIEW_RESUME] TOKEN, run exactly pioneer review --resume TOKEN.
Only timeout, bounded RPC output, controller-owned output paths, and a fresh Windows acknowledgement can change. Keep model, thinking, sandbox, grants, Pi-home, and network authority unchanged. Do not start a fresh review. Without a token, keep report-only failure handling. Never fabricate or infer a token.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub rock3r/pioneer --plugin pioneer