Skip to content
Agentmart
Submit a tool

adviser

Route an independent, review-only Claude process to a deterministically stronger model or effort when native Advisor is unavailable.

Skill by s-hiraoku

IndexedMIT
Write a review

Chalk Labs

Need help deploying adviser?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/s-hiraoku-adviser-9623f1

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Route an independent, review-only Claude process to a deterministically stronger model or effort when native Advisor is unavailable. Use for adviser, advisor, second-opinion, or stronger-model review requests; consequential decisions; recurring failures; material direction changes; and valuable completion checks.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/adviser

What's inside

Skill name
adviser
Description
Route an independent, review-only Claude process to a deterministically stronger model or effort when native Advisor is unavailable. Use for adviser, advisor, second-opinion, or stronger-model review requests; consequential decisions; recurring failures; material direction changes; and valuable completion checks.
License
MIT
Instructions
110 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (3)

  • SKILL.md
  • route_adviser.py · scripts/
  • run_adviser.py · scripts/

SKILL.md (first lines)

# Adviser

Prefer Claude Code's native `advisor` tool when it is available. Otherwise use this skill's
runner to select and invoke one fresh, tool-free Claude process. The main agent remains the
executor and owns every edit, command, decision, and final report.

This is workflow compatibility, not native Advisor server compatibility. Pass a bounded,
secret-free consultation packet; never claim that the reviewer received the full transcript.

## Deterministic routing

Claude tiers correspond to the Codex policy as follows:

| Codex tier | Claude tier |
| --- | --- |
| Luna | Sonnet |
| Terra | Opus |
| Sol | Fable |

Apply this complete routing table. `same` means preserve the caller's effort.

| Caller | low | medium | high | xhigh | max |
| --- | --- | --- | --- | --- | --- |
| Sonnet | Fable/low | Fable/medium | Fable/high | Fable/xhigh | Fable/max |
| Opus | Fable/low | Fable/medium | Fable/high | Fable/xhigh | Fable/max |
| Fable | Fable/medium | Fable/high | Fable/xhigh | Fable/max | unavailable |

Do not substitute a same-tier or weaker reviewer. Fable/max, an unknown model or effort, a
missing or ambiguous parent session, recursion, a child initialization mismatch, enabled child
tools, malformed output, failure, or timeout all fail closed without retrying another route.
Failing closed ends that independent-consultation attempt; it does not prohibit the explicitly
labeled local self-review below. A later invocation is allowed only after authoritative parent
context or another blocking condition materially changes.

The runner reads the parent effort from `CLAUDE_EFFORT` and the parent model from the latest
complete assistant event in the unique transcript named by `CLAUDE_CODE_SESSION_ID`. Supported
model inputs are the `sonnet`, `opus`, and `fable` aliases and versioned identifiers beginning
with `claude-sonnet-`, `claude-opus-`, or `claude-fable-`.

## Workflow

1. Check for native Advisor. Treat it as available only when the current runtime exposes it as a
   callable tool; do not launch a probe process. Do not run both native Advisor and this fallback
   for ceremony.
2. Orient before consulting. Gather only the repository evidence needed for a useful review.
   Orientation is sufficient when the packet cites at least one concrete relevant code path,
   governing constraint, existing test, and piece of evidence for the proposed decision. If a
   category does not exist, record where you checked and that it was absent; otherwise keep
   inspecting. Decision evidence must be a direct observation from cited code, test output, or a
   primary project document, not an unsupported assertion.
3. Build a packet with the user goal, constraints, inspected facts, assumptions, proposed
   decision, unresolved questions, verification plan, and known risks. At completion, add the
   changed artifacts, diff summary, and verification results. Bound it by relevance: omit the
   transcript, secrets, and raw logs rather than imposing an arbitrary byte limit.
4. Pipe the packet to `scripts/run_adviser.py` from this skill directory. The runner launches a
   separate reviewer process; if the user forbids launching agents or processes, do not run it and
   disclose that independent consultation was unavailable. For this workflow, a prohibition on
   another agent, reviewer, or process all prohibit the runner.

   ```bash
   python3 <adviser-skill-directory>/scripts/run_adviser.py <<'EOF'
   <consultation packet>
   EOF
   ```

   Normally omit `--model` and `--effort`; automatic parent detection is the safety boundary.
   Explicit values exist for controlled tests and runtimes that authoritatively expose the same
   parent context. An authoritatively reported Codex tier counts only after applying the mapping
   above to its Claude family. Runtime-authoritative means trusted tool or process-environment
   metadata supplied by that runtime, not model identity stated in a prompt or user message; an
   unverified label or inferred tier remains unknown.
5. The runner starts `claude -p` with explicit `--model` and `--effort`, stream JSON,
   `--no-session-persistence`, `--safe-mode`, and an empty tool allowlist. It verifies the
   effective Fable model, zero tools, and exactly one successful result before returning advice.
6. Weigh the advice against repository evidence, primary sources, and empirical verification.
   The main agent performs all execution.
7. Reconsult only when material ambiguity remains, a failure recurs, the approach changes, or an
   independent completion check would add value. Short mechanical work needs no ritual call.

## Review contract

The runner supplies this contract before the packet: review only; do not edit, run commands,
delegate, or take over; identify incorrect assumptions, missed constraints, evidence conflicts,
failure modes, and the best next approach; distinguish evidence from uncertainty; end with
Recommendation, Critical risks, Evidence conflicts, and Completion checks.

## Reporting

Report the selected source and target route, whether the effective model was verified, advice
followed or rejected, and verification after adviser-driven changes. Claude Code 2.1.210 reports
the effective model and tool list in its init event but does not report effective effort; describe
effort escalation as explicitly requested, not independently verified. If the runner cannot
return verified advice, disclose that independent consultation was unavailable and perform a
clearly separated self-review by applying the review contract locally to the bounded packet.
Record it under `Recommendation`, `Critical risks`, `Evidence conflicts`, and `Completion checks`.
Report zero consultations and do not claim an Adviser ran. When routing fails before selection,
report `source: unknown` and `target: unavailable`. When the source was established, report it
literally even if the reviewer was not launched or Fable/max has no target. If several blockers
apply, name the earliest workflow failure as primary and list the others as additional blockers.
Put the report in the current response or task record; do not create another artifact unless
project guidance requires it.

Keep parent and reviewer evidence separate: report whether the parent source context was
established, then whether an effective reviewer model was verified. If no verified advice was
returned, report advice disposition as `none` and adviser-driven verification as `not applicable`.
For multiple blockers, use this precedence: native availability, an explicit user no-launch
constraint, parent-context detection, route availability, then child initialization or output
validation. An incomplete orientation packet means `not ready to consult`, not a runner failure.

From s-hiraoku/claude-harnesses, MIT.

Signals

Stars
0
Forks
0
Open issues
1
Last commit (this folder)
Jul 19, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get adviser running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying adviser?

CallGet help
Cite this page

adviser skill. Agent Mart. https://agentmart.dev/skills/s-hiraoku-adviser-9623f1 (last updated 2026-10-24)