| name | clade-advanced-troubleshooting |
| description | Debug complex Claude issues — inconsistent outputs, tool use failures,
Use when working with advanced-troubleshooting patterns.
streaming problems, and edge cases.
Trigger with "claude inconsistent", "anthropic advanced debug",
"claude tool use broken", "anthropic streaming issues".
|
| allowed-tools | Read, Write, Edit, Grep, Bash(curl:*) |
| version | 1.0.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","anthropic","claude","debugging","advanced"] |
| compatibility | Designed for Claude Code |
Anthropic Advanced Troubleshooting
Overview
Debug complex Claude integration issues that go beyond basic error handling — inconsistent outputs, tool use failures where Claude calls nonexistent tools, streaming connection drops, max_tokens truncation, and image/vision format problems.
Inconsistent Outputs
Symptom: Same prompt gives different answers each time.
Cause: temperature defaults to 1.0 (maximum randomness).
const message = await client.messages.create({
model: 'claude-sonnet-4-20250514',
max_tokens: 1024,
temperature: 0,
messages,
});
Tool Use Failures
Symptom: Claude calls a tool that doesn't exist or sends wrong parameters.
const toolUse = response.content.find(b => b.type === 'tool_use');
if (toolUse) {
const validTools = tools.map(t => t.name);
if (!validTools.includes(toolUse.name)) {
console.error(`Claude requested unknown tool: ${toolUse.name}`);
messages.push({ role: , : response. });
messages.({ : , : [{
: ,
: toolUse.,
: ,
: ,
}]});
}
}