clade-debug-bundle

Featured

Collect debug evidence for Anthropic API issues — request IDs, headers, Use when working with debug-bundle patterns. error payloads, and reproduction steps for support tickets. Trigger with "anthropic debug", "claude support ticket", "anthropic request id", "debug claude api call".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Anthropic Debug Bundle ## Overview When you need to file a support ticket or debug a persistent issue, collect these items. ## Prerequisites - Anthropic SDK installed - An API error or issue to debug - Access to application logs ## Instructions ### Step 1: Get the Request ID Every Anthropic API response includes a `request-id` header. This is the single most important thing for support tickets. ```typescript try { const message = await client.messages.create({ ... }); // Access response headers via the raw response } catch (err) { if (err instanceof Anthropic.APIError) { console.error('Request ID:', err.headers?.['request-id']); console.error('Status:', err.status); console.error('Error type:', err.error?.type); console.error('Message:', err.message); } } ``` ### Step 2: Log Full Error Details ```typescript function logAnthropicError(err: unknown) { if (err instanceof Anthropic.APIError) { const bundle = { timestamp: new Date().toISOString(), request_id: err.headers?.['request-id'], status: err.status, error_type: err.error?.type, error_message: err.message, rate_limit_remaining: err.headers?.['claude-ratelimit-requests-remaining'], rate_limit_reset: err.headers?.['claude-ratelimit-requests-reset'], }; console.error('Anthropic Debug Bundle:', JSON.stringify(bundle, null, 2)); return bundle; } console.error('Non-API error:', err); } ``` ### Step 3: Test with curl ```bash # Minimal ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category