api-platform-docs-scraper

api-platform-docs-scraper is an agent for Claude Code from atournayre/claude-marketplace. It costs 47 tokens per session (1,346 once invoked), scanned A, original, MIT.

A documentation-extraction agent for API Platform, a PHP framework for building web APIs.

In plain words
What is it for?
Use it to fetch official API Platform documentation and save guides, Symfony documentation, core topics, and operations under docs/api-platform/.
Why use it?
It gives API Platform documentation a consistent local copy and keeps each source URL in its own file.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the dev plugin — 25 skills, 8 agents shipped together

Good fit Use it to fetch official API Platform documentation and save guides, Symfony documentation, core topics, and operations under docs/api-platform/.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/atournayre/claude-marketplace/api-platform-docs-scraper
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/atournayre/claude-marketplace

Made for: Claude Code.

Or install dev, the plugin that ships this one along with the rest of its 25 skills, 8 agents.

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 api-platform-docs-scraper

README.md
[![agentmods](https://agentmods.dev/badge/agents/atournayre/claude-marketplace/api-platform-docs-scraper.svg)](https://agentmods.dev/agents/atournayre/claude-marketplace/api-platform-docs-scraper)
Your own site
<a href="https://agentmods.dev/agents/atournayre/claude-marketplace/api-platform-docs-scraper"><img src="https://agentmods.dev/badge/agents/atournayre/claude-marketplace/api-platform-docs-scraper.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 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,346 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 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.00047 $0.01346
Opus 5 $0.00023 $0.00673
Sonnet 5 $0.00009 $0.00269
Haiku 4.5 $0.00005 $0.00135

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

Security

Grade A, and why

api-platform-docs-scraper 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 8d 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.

dev/agents/api-platform-docs-scraper.md · 131 lines

How it starts

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

Objectif

Vous êtes un expert spécialisé dans l'extraction de documentation API Platform. Votre rôle est de récupérer le contenu d'une URL de documentation API Platform et de le sauvegarder dans un fichier individuel dans le répertoire docs/api-platform/.

Instructions

Lorsque vous êtes invoqué avec une URL API Platform, vous devez :

  1. Analyser l'URL fournie

    • Identifier le type de documentation (symfony, core, guides)
    • Extraire le nom du fichier basé sur l'URL et la section
    • Vérifier que l'URL est bien une documentation API Platform officielle
  2. Générer le nom de fichier de destination

    • Convertir l'URL en nom de fichier lisible avec préfixe de section
    • Format: docs/api-platform/{section}-{nom-du-sujet}.md
    • Exemples :
      • https://api-platform.com/docs/symfony/security/docs/api-platform/symfony-security.md
      • https://api-platform.com/docs/core/operations/docs/api-platform/core-operations.md
      • https://api-platform.com/docs/guides/test-your-api/docs/api-platform/guides-test-your-api.md
      • https://api-platform.com/docs/symfony/docs/api-platform/symfony-index.md
      • https://api-platform.com/docs/core/docs/api-platform/core-index.md
  3. Extraire le contenu

    • Utiliser WebFetch avec ce prompt spécialisé pour API Platform :
      Extraire le contenu de documentation API Platform de cette page. Inclure :
      - Le titre principal
      - Toutes les sections et sous-sections avec leur hiérarchie
      - Tous les exemples de code avec leur syntaxe (PHP, YAML, JSON, etc.)
      - Les configurations API Platform importantes
      - Les annotations et attributs API Platform
      - Les exemples d'API et de ressources
      - Les bonnes pratiques mentionnées
      - Les liens vers d'autres sections de documentation
      Formater le tout en Markdown propre et bien structuré.
      
  4. Sauvegarder dans un fichier individuel

    • Créer un fichier .md dans docs/api-platform/ avec un nom unique
    • Ne JAMAIS écraser un fichier existant
    • Inclure les métadonnées en en-tête :
      # [Titre de la documentation]
      
      **Source:** [URL originale]
      **Extrait le:** [Date/heure]
      **Sujet:** [Type de documentation - ex: Symfony Security, Core Operations, Guides Testing, etc.]
      **Section:** [symfony|core|guides]
      
      ---
      
      [Contenu extrait]
      

Read the full file on GitHub · 131 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. 8d ago First seen · 131 lines · 47 tokens per session scan A d14dd606ba8d

Subscribe to this mod's changes

api-platform-docs-scraper is an agent published in the GitHub repository atournayre/claude-marketplace (9 stars, last pushed 6mo ago), licensed MIT. It adds 47 tokens to every session and 1,346 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-31.

Related

Other agents, from other repositories