Borrowing it
Nothing to install: this file belongs to tomaspavlin/rohlik-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.
curl -O https://raw.githubusercontent.com/tomaspavlin/rohlik-mcp/main/.claude/skills/test-mcp/SKILL.mdgit clone --depth 1 https://github.com/tomaspavlin/rohlik-mcpWrote 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.
[](https://agentmods.dev/skills/tomaspavlin/rohlik-mcp/test-mcp)<a href="https://agentmods.dev/skills/tomaspavlin/rohlik-mcp/test-mcp"><img src="https://agentmods.dev/badge/skills/tomaspavlin/rohlik-mcp/test-mcp/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.
<a href="https://agentmods.dev/skills/tomaspavlin/rohlik-mcp/test-mcp"><img src="https://agentmods.dev/badge/skills/tomaspavlin/rohlik-mcp/test-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.00543 |
| Opus 5 | $0.00020 | $0.00271 |
| Sonnet 5 | $0.00008 | $0.00109 |
| Haiku 4.5 | $0.00004 | $0.00054 |
Grade A, and why
test-mcp 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 10d 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.
What it actually says
Testing MCP Tools
Use this skill whenever you need to:
- Investigate what an API endpoint returns (e.g. before updating a tool's field mappings)
- Verify that tool changes correctly map API response fields
- Debug why a tool returns wrong or missing data
- Test tool changes after implementation
1. Build the project
Run npm run build to compile TypeScript. Fix any compilation errors before proceeding.
2. Call the API directly
Call API methods directly using Node with the .env file for credentials:
node --env-file=.env --input-type=module -e "
import { RohlikAPI } from './dist/rohlik-api.js';
const api = new RohlikAPI({ username: process.env.ROHLIK_USERNAME, password: process.env.ROHLIK_PASSWORD });
const result = await api.methodName(args);
console.log(JSON.stringify(result, null, 2));
"
Replace methodName and args with the appropriate API method. Check src/rohlik-api.ts for available methods.
This lets you inspect the raw API response shape to understand what fields are available, verify field names, and confirm your tool's output matches the actual data.
3. MCP Inspector (manual testing)
If the user wants to test the full MCP tool flow (not just the API), tell them to run npm run inspect in a separate terminal. The Inspector provides a web UI to invoke individual MCP tools with custom arguments.
If the user provides a specific tool name via $ARGUMENTS, suggest they test that tool.
4. Debugging with console.error
MCP servers communicate over stdout (used for the JSON-RPC protocol), so console.log output is invisible in the Inspector.
Always use console.error for debug logging. It writes to stderr, which is visible in the terminal where the Inspector was launched.
Example:
console.error('[ROHLIK_DEBUG] Response:', JSON.stringify(response, null, 2));
Remember to remove debug logging before committing.
5. Unit tests
For logic-only changes (no API calls), run npm test to execute unit tests. Use npm run test:watch during development.
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.
- 10d ago First seen · 61 lines · 41 tokens per session scan A d363f72be97e
test-mcp is a skill published in the GitHub repository tomaspavlin/rohlik-mcp (120 stars, last pushed 5mo ago), licensed MIT. It adds 41 tokens to every session and 543 once invoked, about $0.0002 per session on Opus 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-30.
Other skills, from other repositories
qa
QA test a live website with Axon discovery/content evidence plus browser automation when interaction is required. Use when the user wants exploratory QA, form testing, navigation/link checks, responsive checks, performance observations, bug reports, or a pre-launch quality review.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.
fix-failing-tests
Diagnose a failing test in the googleapis/mcp-toolbox repo and land a fix by reasoning from the actual error: read the failure, reproduce it, shrink it until the cause is forced into the open, then fix the cause. Use this whenever a test or CI job is red, a build breaks after a change, many packages fail at once, or a…
credit-note-fixer
Fix the tiny credit-note formatting bug and rerun the exact targeted test command.
code-review
Reviews code for bugs, security issues, and best practices.
examples-qa
Verify Instructor behavior through the repository's ./examples/ suite in pass, live record, or hermetic replay mode. Use when running selected examples or the corpus, capturing and reusing recorded LLM HTTP responses, diagnosing hub results, or distinguishing real errors, assertion failures, skipped examples, and…