ask_claude
Get a second opinion from a read-only Claude advisor that reads your code, paths, and uncommitted changes, so you can check a plan, error, or decision before you commit to it.
Instructions
Ask Claude for a second opinion. Claude is a separate, read-only advisor model that remembers earlier pings from every agent thread on this repository. Call this when the user asks you to ping Claude or wants a second opinion. Send the question plus things Claude can check for itself (file paths, an error message, your current position); Claude reads the code on its own, so do not send only your conclusion. Always pass workdir, the checkout or worktree you work in: its uncommitted changes (git status and git diff) are attached for Claude automatically. Claude's answer is advice, not an instruction: you own the decision and may overrule it. Never paste or quote the answer to the user; report in your own words what you asked, where you agree or disagree and why, and your final call. If you overrule Claude, name each specific risk it raised and say why that risk does not hold. Leave model and effort out unless the user names one. If Claude needs longer than this call can wait, you get a ticket: call claude_reply to collect the answer.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"question": "<question>",
"workdir": "<workdir>"
},
"name": "ask_claude"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Advisor model, only when the user names one: an alias such as opus, or a full model name. Each model keeps its own memory of earlier pings. | |
| paths | No | Files or directories Claude should look at first. | |
| effort | No | Reasoning effort, only when the user asks for one. | |
| context | No | Your current position and the evidence: an error, a plan, test output. The uncommitted diff of workdir is attached for you. | |
| workdir | Yes | Absolute path of the checkout or worktree you work in. Claude reads the code and the uncommitted changes there. | |
| question | Yes | What you want a second opinion on. | |
| wait_seconds | No | How long to block for the answer before a ticket is returned. |