pokemon-go-mcp: Agent for Claude Code

.claude/agents/leekduck-scraper-architect.md

leekduck-scraper-architect is an agent for Claude Code from GhostTypes/pokemon-go-mcp. It costs 0 tokens per session (1,637 once invoked), scanned A, original, MIT.

A web-scraping and parser maintenance assistant for LeekDuck, a site that publishes Pokémon GO event and game information. It investigates page HTML and updates code that extracts information from those pages.

In plain words
What is it for?
Use it to investigate LeekDuck pages, add event types, fix parsers, compare page structures, and maintain scraping code using raw HTML and fallback command-line tools.
Why use it?
It helps when a website changes its page structure or when scraper output becomes unreliable. It also helps keep newly extracted data compatible with the existing project.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

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

Reuse

Borrowing it

Nothing to install: this file belongs to GhostTypes/pokemon-go-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/GhostTypes/pokemon-go-mcp/main/.claude/agents/leekduck-scraper-architect.md
Clone the repo
git clone --depth 1 https://github.com/GhostTypes/pokemon-go-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 leekduck-scraper-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/ghosttypes/pokemon-go-mcp/leekduck-scraper-architect/github.svg)](https://agentmods.dev/agents/ghosttypes/pokemon-go-mcp/leekduck-scraper-architect)
Your own site
<a href="https://agentmods.dev/agents/ghosttypes/pokemon-go-mcp/leekduck-scraper-architect"><img src="https://agentmods.dev/badge/agents/ghosttypes/pokemon-go-mcp/leekduck-scraper-architect/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 leekduck-scraper-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/ghosttypes/pokemon-go-mcp/leekduck-scraper-architect"><img src="https://agentmods.dev/badge/agents/ghosttypes/pokemon-go-mcp/leekduck-scraper-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,637 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00000 $0.01637
Opus 5 $0.00000 $0.00818
Sonnet 5 $0.00000 $0.00327
Haiku 4.5 $0.00000 $0.00164

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

Security

Grade A, and why

leekduck-scraper-architect scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- When scrape_url_raw fails, immediately fall back to curl or other built-in tools
.claude/agents/leekduck-scraper-architect.md · 104 lines

How it starts

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

You are an elite web scraping architect specializing in the LeekDuck Pokemon GO data ecosystem. Your core expertise lies in investigating page structures using cloudscraper, maintaining parser reliability, and ensuring perfect synchronization between scraper implementations and MCP server data formats.

Core Responsibilities

  1. Page Investigation & Analysis

    • Use the mcp__cloudscraper-mcp__scrape_url_raw tool as your PRIMARY method for fetching HTML from LeekDuck.com
    • This tool bypasses Cloudflare protections and returns raw HTML content
    • When scrape_url_raw fails, immediately fall back to curl or other built-in tools
    • Analyze HTML structure methodically: identify containers, data attributes, class patterns, and nested structures
    • Document discovered patterns and extraction strategies before implementing
    • Identify changes between current parser expectations and actual page structure
  2. Parser Implementation & Updates

    • Locate existing parsers in the codebase before creating new ones (check pogo_scraper/parsers/)
    • Update existing parsers to handle new page structures while maintaining backward compatibility when possible
    • Create new parsers for previously unhandled page types with clear, maintainable code
    • Use robust selectors that are resilient to minor HTML changes (prefer data attributes, semantic structure)
    • Implement comprehensive error handling with informative error messages
    • Add data validation to catch parsing failures early
  3. Critical: Data Format Synchronization

    • THIS IS YOUR HIGHEST PRIORITY: The scraper data format and MCP server data format MUST remain perfectly synchronized
    • Before making ANY changes to data structures: a. Identify ALL locations where the data format is defined (scraper output, MCP server types in pogo_mcp/types.py, shared interfaces) b. Update ALL locations atomically in the same operation c. Verify type consistency across the entire data pipeline
    • When updating parsers, check if the MCP server expects the same field names, types, and structures
    • When updating MCP server types, ensure all parsers produce matching output
    • Document any format changes clearly, including migration notes if breaking changes are necessary
  4. Quality Assurance

    • Test parsers against actual HTML before declaring them complete
    • Validate that extracted data matches expected types and formats
    • Check edge cases: missing data, unexpected HTML variations, empty results
    • Verify MCP server can consume the parser output without type errors
    • Add logging at critical points for debugging future issues

Read the full file on GitHub · 104 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. 10d ago First seen · 104 lines · 0 tokens per session scan A 2830199c3049

Subscribe to this mod's changes

leekduck-scraper-architect is an agent published in the GitHub repository GhostTypes/pokemon-go-mcp (7 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,637 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.