/baspowers:consulting-cross-modelfrom baspowers
Use when a hard technical decision remains ambiguous after inspecting relevant evidence and choosing incorrectly would cause meaningful rework
Ships in baspowers. 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.
None: SKILL.md is the whole skill.
Use one independent model as an adviser, then own the decision yourself.
Codex consults Claude on Opus 5.5 (claude-opus-5-5); Claude consults Codex on
GPT-6 Astra (gpt-6-astra). Pin these models in every call. Consultation is
advisory, not an authorization and not a substitute for inspecting the
repository.
Consult only when all four hold:
Cheap reversible choices do not qualify. Decide those yourself.
BASPOWERS_CONSULT_DEPTH is already set, you are the consultant. Never consult again.End every prompt with:
You are an adviser. Inspect and recommend; do not edit, commit, or run
agent-cli. Do not consult another agent. Reply in under 300 words with: recommendation, strongest reason, strongest counterargument.
Write a self-contained prompt under .claude/consultations/. Include the
decision, evidence, options, constraints, target repository path, and requested
output. Keep it git-ignored.
Prefer synchronous agent-cli dev run; it returns the answer directly and
does not create a task file:
Non-login shells can omit user-level executable directories. Before reporting
a CLI unavailable, resolve it from PATH, then check
$HOME/.local/bin/agent-cli and $HOME/.bun/bin/{claude,codex}. Pass --
after the worktree name so agent-cli does not parse the nested CLI's flags.
codex exec also reads stdin when it is not a terminal, so redirect it from
/dev/null; a background shell's open stdin otherwise hangs it until the
timeout.
# Codex -> Claude
consult_agent_cli=$(command -v agent-cli || printf '%s\n' "$HOME/.local/bin/agent-cli")
consult_claude_cli=$(command -v claude || printf '%s\n' "$HOME/.bun/bin/claude")
[ -x "$consult_agent_cli" ] && [ -x "$consult_claude_cli" ] || exit 127
BASPOWERS_CONSULT_DEPTH=1 timeout 300 \
"$consult_agent_cli" dev run . -- "$consult_claude_cli" \
-p --model claude-opus-5-5 --output-format text \
--permission-mode plan "$(<.claude/consultations/question.md)"
# Claude -> Codex
consult_agent_cli=$(command -v agent-cli || printf '%s\n' "$HOME/.local/bin/agent-cli")
consult_codex_cli=$(command -v codex || printf '%s\n' "$HOME/.bun/bin/codex")
[ -x "$consult_agent_cli" ] && [ -x "$consult_codex_cli" ] || exit 127
BASPOWERS_CONSULT_DEPTH=1 timeout 300 \
"$consult_agent_cli" dev run . -- "$consult_codex_cli" \
exec -m gpt-6-astra --sandbox read-only --color never \
"$(<.claude/consultations/question.md)" < /dev/null
When synchronous output is unavailable, use agent-cli dev agent . with the
opposite --agent, the same model flag in --agent-args, --no-hooks,
-m tmux, and --prompt-file. Require a
unique report path. Remove generated TASK-* and consultation files after
reading the report.
agent-cli dev path . can resolve to a superproject when called inside a
submodule. Compare it with git rev-parse --show-toplevel; if they differ,
name the exact nested repository path in the prompt so the adviser inspects the
right tree.
baspowers:merging-when-approved uses the same call for an independent code review of a pull request. In review mode these rules replace When to Consult, Stopping Rules, and the adviser footer:
Review the full diff at the pinned head SHA, not a delta since an earlier review.
End the prompt with this footer instead of the adviser footer:
You are a code reviewer. Inspect only; do not edit, commit, or run
agent-cli. Do not consult another agent. Report real defects with file:line and a failing scenario, plus over-engineering and scope creep. End withVERDICT: APPROVEorVERDICT: CHANGES REQUIRED.
There is no word limit.
Use timeout 900 instead of timeout 300.
Each push starts a new review round; review rounds don't count toward any consultation limit.
BASPOWERS_CONSULT_DEPTH still applies, and the verdict gates the merge but authorizes nothing else.
Evaluate the advice against repository evidence. Record one line:
Consulted <model>: <question> — <advice> — <decision>
Then proceed. Escalate only if the remaining issue is missing human intent or requires authority you do not have.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
24 skills in this plugin
/brainstormingYou MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation./diagnosing-baspowersUse when a baspowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing", for the current session or a past one identified by id or path, on any harness./dispatching-parallel-agentsUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesnpx claudepluginhub basnijholt/baspowers --plugin baspowers