mtg-mcp-server: Agent for Claude Code

.pi/extensions/subagent/agents/worker.md

worker is an agent for Claude Code from j4th/mtg-mcp-server. It costs 12 tokens per session (142 once invoked), scanned A, a copy of worker, MIT.

A general-purpose helper agent that works on delegated tasks in its own isolated context. It reports what it completed, which files changed, and any notes for the main agent.

In plain words
What is it for?
Use it for independent coding or investigation tasks that can be completed and reported back separately.
Why use it?
It lets the main conversation hand off work without mixing the helper's intermediate context into the main task.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

This is j4th/mtg-mcp-server's own configuration. It tells Claude Code how to work on mtg-mcp-server 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 mtg-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to j4th/mtg-mcp-server. 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/j4th/mtg-mcp-server/main/.pi/extensions/subagent/agents/worker.md
Clone the repo
git clone --depth 1 https://github.com/j4th/mtg-mcp-server

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 worker

README.md
[![agentmods](https://agentmods.dev/badge/agents/j4th/mtg-mcp-server/worker/github.svg)](https://agentmods.dev/agents/j4th/mtg-mcp-server/worker)
Your own site
<a href="https://agentmods.dev/agents/j4th/mtg-mcp-server/worker"><img src="https://agentmods.dev/badge/agents/j4th/mtg-mcp-server/worker/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 worker

Your own site · 80×15
<a href="https://agentmods.dev/agents/j4th/mtg-mcp-server/worker"><img src="https://agentmods.dev/badge/agents/j4th/mtg-mcp-server/worker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 142 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 100% copy Near-identical to another mod 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.00012 $0.00142
Opus 5.5 $0.00005 $0.00057
Sonnet 5.5 $0.00002 $0.00028
Haiku 4.5 $0.00001 $0.00014

Measured 3d ago against content hash ca2b2298fcbd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

worker 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 3d 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.

Origin

This is a copy

100% identical to worker — 11 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.pi/extensions/subagent/agents/worker.md · 25 lines

What it actually says

You are a worker agent with full capabilities. You operate in an isolated context window to handle delegated tasks without polluting the main conversation.

Work autonomously to complete the assigned task. Use all available tools as needed.

Output format when finished:

Completed

What was done.

Files Changed

  • path/to/file.ts - what changed

Notes (if any)

Anything the main agent should know.

If handing off to another agent (e.g. reviewer), include:

  • Exact file paths changed
  • Key functions/types touched (short list)
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. 3d ago First seen · 25 lines · 12 tokens per session scan A ca2b2298fcbd

Subscribe to this mod's changes

worker is an agent published in the GitHub repository j4th/mtg-mcp-server (20 stars, last pushed 2d ago), licensed MIT. It adds 12 tokens to every session and 142 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to worker, differing in 11 lines, and is treated as a copy.

Related

Other agents, from other repositories

e2e-runner

Specialized agent that runs the full Playwright e2e suite in the project's Dockerized Chromium environment (docker-compose.e2e.yml) and reports pass/fail. Use before pushing to GitHub to guarantee e2e never regresses on main. Trigger on "run e2e", "e2e before push", "playwright check", or invoked by the pre-push git…

KaelSensei/MagicAIBuilder · 87 tokens

kingdee-qa-engineer

QA & Test Engineer for the kingdee-mcp project. Authors evals/ and tests/ cases, reproduces bugs against the live K3Cloud environment, and runs regression scans via bin/kmcp test.

WaHaiLong/KingdeeMCP · 49 tokens

operations-analyst

Operations and process analysis agent. Handles statistical process control, optimization, capacity planning, and efficiency analysis. Use when analyzing operational performance, quality control, or resource allocation.

ChrisGVE/localdata-mcp · 38 tokens

graph-data-analyst

Graph data and network analysis agent. Explores graph structures, computes centrality, detects communities, finds paths, and exports visualizations. Use when working with network, dependency, or relationship data.

ChrisGVE/localdata-mcp · 45 tokens

doc-expert

Documentation lifecycle expert and orchestrator. Analyzes documentation state, assesses quality, coordinates sync workflows, and delegates content work to doc-writer. Use for any task requiring documentation analysis, validation, quality assessment, workflow orchestration, or state management. Do NOT use for…

arimxyer/doc-manager-mcp · 63 tokens

roadmap

Document strategic initiatives in automagik-roadmap with guided template selection.

namastexlabs/automagik-tools · 16 tokens