Borrowing it
Nothing to install: this file belongs to dfridkin/clawops. 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/dfridkin/clawops/main/.claude/skills/mcp-tool/SKILL.mdgit clone --depth 1 https://github.com/dfridkin/clawopsWrote 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/dfridkin/clawops/mcp-tool)<a href="https://agentmods.dev/skills/dfridkin/clawops/mcp-tool"><img src="https://agentmods.dev/badge/skills/dfridkin/clawops/mcp-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.
<a href="https://agentmods.dev/skills/dfridkin/clawops/mcp-tool"><img src="https://agentmods.dev/badge/skills/dfridkin/clawops/mcp-tool.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.00000 | $0.00345 |
| Opus 5.5 | $0.00000 | $0.00138 |
| Sonnet 5.5 | $0.00000 | $0.00069 |
| Haiku 4.5 | $0.00000 | $0.00034 |
Grade A, and why
mcp-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.
What it actually says
/mcp-tool
Add a new MCP tool.
Steps
-
Add the tool to
spec/mcp-tools.yaml(source of truth, R-meta-1):- Name:
clawops_<verb>orclawops_<noun>_<verb> - Assign
toolset(cli | workflow | read | admin — or array) - Write
descriptionwith "Use when" and "Do NOT use when" (R3) - Set ALL four
annotationshints (R10):readOnlyHint,destructiveHint,idempotentHint,openWorldHint - Define
inputfields with types and optional/default
- Name:
-
Regenerate
_generated.ts:pnpm gen:schemas -
Create the handler in the appropriate toolset subdirectory:
src/mcp/tools/<toolset>/<tool-name>.ts -
Register the handler in
src/mcp/server.ts. -
Write tests in
tests/mcp/tools.test.ts— invoke via in-memory MCP client and assert schema conformance. -
Run
pnpm typecheck && pnpm test.
Constraints
- Per
.claude/rules/mcp.md: no credentials in inputs (R6), stdio never writes stdout (R15), cap output at 8KB (R14). - Destructive tools must trigger elicitation (R19) unless
yes: true. - Long-running tools (>10s) must emit
notifications/progressor return ataskId.
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.
- 2mo ago First seen · 35 lines · 0 tokens per session scan A b4f36f462c24
mcp-tool is a skill published in the GitHub repository dfridkin/clawops (6 stars, last pushed today), licensed MPL-2.0. It costs nothing until one of its globs matches a file; then it loads 345 tokens. 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.
mcp-tool compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mcp-tooldfridkin/clawops | Skill | 6 | today | MPL-2.0 | A | 0 | Claude Code |
| aws-clielasticdotventures/_b00t_ | Skill | 15 | 12d ago | none | A | 31 | Claude Code |
| notionArvo-AI/aurora | Skill | 454 | yesterday | Apache-2.0 | A | 23 | Claude Code |
| aws-essentialsericrisco/rsc-harness | Skill | 503 | 2d ago | MIT | A | 89 | Claude Code, Codex |
| dynamodbericrisco/rsc-harness | Skill | 503 | 2d ago | MIT | A | 82 | Claude Code, Codex |
| scalewayArvo-AI/aurora | Skill | 454 | yesterday | Apache-2.0 | A | 29 | Claude Code |
| ak-cloud-deployyaalalabs/agent-kernel | Skill | 192 | yesterday | Apache-2.0 | A | 177 | Claude Code, Codex |