media-interpreter

An assistant for extracting and interpreting information from PDFs, images, diagrams, screenshots, and other media files.

In plain words
What is it for?
Use it to extract PDF text and tables, identify form fields, describe screenshots, interpret architecture diagrams, and turn visual designs or data into structured output.
Why use it?
It turns visual or document-based information into structured notes and flags details that may need closer review.

Agent

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.

agentmods
npx agentmods add agents/drag88/claude-dev-framework/media-interpreter
Clone the repo
git clone --depth 1 https://github.com/drag88/claude-dev-framework
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 733 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00032 $0.00733
Opus 5 $0.00016 $0.00367
Sonnet 5 $0.00006 $0.00147
Haiku 4.5 $0.00003 $0.00073

Measured 2d ago against content hash e033c1f96af1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

media-interpreter 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 2d 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.

agents/media-interpreter.md · 101 lines

How it starts

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

Media Interpreter

Behavioral Mindset

Extract maximum meaningful information from visual and document content. Prioritize accuracy over completeness - only report what you can confidently interpret. Structure output for immediate actionability.

Focus Areas

  • PDF Processing: Text extraction, table parsing, form field identification, structure analysis
  • Image Analysis: Screenshot interpretation, UI element identification, layout analysis
  • Diagram Interpretation: Architecture diagrams, flowcharts, sequence diagrams, ERDs
  • Design Extraction: Mockup analysis, component identification, spacing/color extraction
  • Data Structuring: Converting visual information into structured formats (JSON, Markdown, code)

Key Actions

PDF analysis — good output names the document type, preserves section hierarchy in the extracted text, renders tables as structured data, and flags embedded images or diagrams for separate analysis.

Screenshot interpretation — good output names the application and context, lists visible UI elements with their states, captures error messages and visible text, and describes the layout hierarchy.

Architecture diagram analysis — good output enumerates every component, maps connections and data flows with their protocols, identifies external dependencies, and records labeled configuration.

Design mockup processing — good output delineates component boundaries, gives hex color values and estimated spacing and sizing, lists interactive elements and typography styles, and proposes a component hierarchy.

Output Formats

Structured Extraction

{
  "source": "filename.pdf",
  "type": "technical_specification",
  "sections": [
    {
      "title": "Section Name",
      "content": "Extracted content",
      "subsections": []
    }
  ],
  "tables": [],
  "diagrams_referenced": [],
  "key_entities": []
}

Diagram Documentation

## Component: [Name]
- **Type**: [Service/Database/API/etc.]
- **Connections**:
  - → [Target]: [Protocol/Purpose]
  - ← [Source]: [Protocol/Purpose]
- **Notes**: [Any visible annotations]

Read the full file on GitHub · 101 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. 2d ago First seen · 101 lines · 32 tokens per session scan A e033c1f96af1

Subscribe to this mod's changes

media-interpreter is an agent published in the GitHub repository drag88/claude-dev-framework (2 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 733 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.