testdino-mcp: Skill for Claude Code

.claude/skills/debug-tool/SKILL.md

debug-tool is a skill for Claude Code from testdino-hq/testdino-mcp. It costs 19 tokens per session (759 once invoked), scanned A, original, MIT.

A systematic workflow for finding why an MCP tool is malfunctioning by tracing its request from input to response.

In plain words
What is it for?
Use it when a tool returns an error, wrong data, no data, or crashes, and you need to inspect each part of its request lifecycle.
Why use it?
It replaces guesswork with checks at the input schema, handler, URL, HTTP request, and response layers, helping locate the actual failure.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is testdino-hq/testdino-mcp's own configuration. It tells Claude Code how to work on testdino-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything testdino-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to testdino-hq/testdino-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/testdino-hq/testdino-mcp/main/.claude/skills/debug-tool/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/testdino-hq/testdino-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for debug-tool

README.md
[![agentmods](https://agentmods.dev/badge/skills/testdino-hq/testdino-mcp/debug-tool/github.svg)](https://agentmods.dev/skills/testdino-hq/testdino-mcp/debug-tool)
Your own site
<a href="https://agentmods.dev/skills/testdino-hq/testdino-mcp/debug-tool"><img src="https://agentmods.dev/badge/skills/testdino-hq/testdino-mcp/debug-tool/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for debug-tool

Your own site · 80×15
<a href="https://agentmods.dev/skills/testdino-hq/testdino-mcp/debug-tool"><img src="https://agentmods.dev/badge/skills/testdino-hq/testdino-mcp/debug-tool.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 759 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.00759
Opus 5.5 $0.00008 $0.00304
Sonnet 5.5 $0.00004 $0.00152
Haiku 4.5 $0.00002 $0.00076

Measured 2mo ago against content hash 08c7d34c6822, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

debug-tool scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/debug-tool/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Debug the tool issue: $ARGUMENTS

Do NOT guess. Trace systematically.

Phase 1 — Identify

  1. Which tool is affected?
  2. What is the expected behavior?
  3. What is the actual behavior? (error message, wrong data, empty response, crash)

Phase 2 — Trace the Request Lifecycle

Read the code for each layer and check for issues:

Layer 1: Tool Schema (src/tools/<category>/<tool>.ts)

  • Is name in the tool definition the same as the routing name in index.ts?
  • Does inputSchema match what the handler actually reads from args?
  • Are required fields correctly listed?
  • Are enum values complete?

Layer 2: Handler Logic

  • Is getApiKey(args) called correctly?
  • Are required params validated before use?
  • Are type conversions correct? (String(), Number())
  • Is the params object passed to the endpoint builder correctly?

Layer 3: Endpoint URL (src/lib/endpoints.ts)

  • Is the URL pattern correct? (/api/mcp/${projectId}/...)
  • Are query params built correctly?
  • Is projectId being destructured out before building query string?
  • Log the actual URL being built (add temporary console.error)

Layer 4: HTTP Request (src/lib/request.ts)

  • Is the right HTTP method used? (GET vs POST vs PATCH)
  • Is Content-Type: application/json being set?
  • Is the Authorization header present?
  • For POST/PATCH: is the body being JSON.stringify'd?

Layer 5: Response Handling

  • Does the API return { success, data } wrapper or direct data?
  • Is response.ok being checked?
  • Is the error text being read on failure?
  • Is the response being JSON.stringify'd for the MCP return?

Phase 3 — Isolate

Once you've identified the suspect layer:

  1. Read the specific code carefully
  2. Check if other tools in the same category work (pattern comparison)
  3. If the issue is in endpoints.ts, check the API docs or compare with working tools

Phase 4 — Fix & Verify

  1. Fix the root cause
  2. Run npm run typecheck && npm run lint
  3. If the tool's behavior or params changed, update docs/TOOLS.md
  4. Remove any temporary console.error debug lines

Read the full file on GitHub · 89 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 89 lines · 19 tokens per session scan A 08c7d34c6822

Subscribe to this mod's changes

debug-tool is a skill published in the GitHub repository testdino-hq/testdino-mcp (10 stars, last pushed yesterday), licensed MIT. It adds 19 tokens to every session and 759 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

open-metadata/OpenMetadata · 37 tokens

log-error-digest

Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…

zebbern/claude-code-guide · 71 tokens

cwv-optimizer

Diagnose and fix Core Web Vitals issues on AEM Edge Delivery Services pages. Goes deeper than generic CWV advice by understanding EDS-specific performance patterns including the 100KB LCP budget, E-L-D loading phases, block rendering behavior, and third-party script impact. Produces specific fixes for LCP, CLS, and…

adobe/skills · 112 tokens

incident-response-incident-response

Coordinate production incident triage, mitigation, investigation, recovery, and follow-up. Use when responding to outages or other incidents that require structured operational coordination.

rmyndharis/antigravity-skills · 36 tokens

ci-fixer

CI failures - read error, minimal fix, verify.

sipyourdrink-ltd/bernstein · 15 tokens

diagnosing-missing-recordings

Diagnoses why a session recording is missing or was not captured. Use when a user asks why a session has no replay, why recordings aren't appearing, or wants to troubleshoot session replay capture issues for a specific session ID or across their project. Covers SDK diagnostic signals, project settings, sampling…

PostHog/posthog · 76 tokens