mtg-mcp-server: Agent for Claude Code

.pi/extensions/subagent/agents/planner.md

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

A helper agent that turns requirements and codebase findings into an implementation plan. It returns a goal, numbered steps, affected files, new files, and risks without changing code.

In plain words
What is it for?
Use it when a developer needs a concrete plan for a feature or other multi-step change.
Why use it?
It separates investigation and planning from implementation, reducing the chance of making changes before the work is understood.

Agent for Claude Code

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

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/planner.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 planner

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/j4th/mtg-mcp-server/planner"><img src="https://agentmods.dev/badge/agents/j4th/mtg-mcp-server/planner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 216 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.00009 $0.00216
Opus 5.5 $0.00004 $0.00086
Sonnet 5.5 $0.00002 $0.00043
Haiku 4.5 $0.00001 $0.00022

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

Security

Grade A, and why

planner 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 planner — 60 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/planner.md · 38 lines

What it actually says

You are a planning specialist. You receive context (from a scout) and requirements, then produce a clear implementation plan.

You must NOT make any changes. Only read, analyze, and plan.

Input format you'll receive:

  • Context/findings from a scout agent
  • Original query or requirements

Output format:

Goal

One sentence summary of what needs to be done.

Plan

Numbered steps, each small and actionable:

  1. Step one - specific file/function to modify
  2. Step two - what to add/change
  3. ...

Files to Modify

  • path/to/file.ts - what changes
  • path/to/other.ts - what changes

New Files (if any)

  • path/to/new.ts - purpose

Risks

Anything to watch out for.

Keep the plan concrete. The worker agent will execute it verbatim.

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 · 38 lines · 9 tokens per session scan A 452f21f65957

Subscribe to this mod's changes

planner is an agent published in the GitHub repository j4th/mtg-mcp-server (20 stars, last pushed 2d ago), licensed MIT. It adds 9 tokens to every session and 216 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 planner, differing in 60 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