seed: Skill for Claude Code

.agents/skills/seed-pdf-import/SKILL.md

seed-pdf-import is a skill for Claude Code, Codex from seed-hypermedia/seed. It costs 91 tokens per session (1,480 once invoked), scanned A, original, Apache-2.0.

A tool for converting PDF files into Seed Hypermedia documents by recognizing their text, structure, images, tables, and other content.

In plain words
What is it for?
Use it to import reports, papers, or other PDFs into Seed, including documents with headings, lists, figures, tables, code, or formulas.
Why use it?
It removes the need to manually rebuild a PDF as a structured Seed document and can handle images alongside the document.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is seed-hypermedia/seed's own configuration. It tells Claude Code and Codex how to work on seed 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 seed configures →

Reuse

Borrowing it

Nothing to install: this file belongs to seed-hypermedia/seed. 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/seed-hypermedia/seed/main/.agents/skills/seed-pdf-import/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/seed-hypermedia/seed

Made for: Claude Code, Codex.

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 seed-pdf-import

README.md
[![agentmods](https://agentmods.dev/badge/skills/seed-hypermedia/seed/seed-pdf-import.svg)](https://agentmods.dev/skills/seed-hypermedia/seed/seed-pdf-import)
Your own site
<a href="https://agentmods.dev/skills/seed-hypermedia/seed/seed-pdf-import"><img src="https://agentmods.dev/badge/skills/seed-hypermedia/seed/seed-pdf-import.svg" alt="Measured on agentmods" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,480 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00091 $0.01480
Opus 5 $0.00046 $0.00740
Sonnet 5 $0.00018 $0.00296
Haiku 4.5 $0.00009 $0.00148

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

Security

Grade A, and why

seed-pdf-import 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 7d 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/skills/seed-pdf-import/SKILL.md · 194 lines

How it starts

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

PDF to Seed Document Import

Convert PDFs into Seed Hypermedia documents by reading the PDF, structuring the content, and publishing via the Seed CLI. Images are extracted, converted to IPFS, and published atomically alongside the document.

For CLI setup, key management, and environment configuration, see the seed-hypermedia-write skill.

Prerequisites

  1. Seed CLI (@seed-hypermedia/cli on npm, binary: seed-cli) -- See the seed-hypermedia-write skill for detection, installation, updates, key management, and environment configuration.
  2. For image extraction (optional) -- poppler-utils for pdfimages, or Python pypdfium2. See references/pdf-extraction.md.

Workflow

Step 1: Read the PDF

Preferred: Read the PDF directly using vision capabilities. Analyze each page to understand:

  • Document structure (headings, sections, hierarchy)
  • Text content with formatting (bold, italic, links, code)
  • Images and figures (location, captions)
  • Tables, lists, code blocks, math formulas
  • Reading order and logical nesting
  • Metadata: title, authors, publication date, abstract/summary

Fallback: For very large PDFs or when vision is unavailable, use extraction tools documented in references/pdf-extraction.md.

Step 2: Extract Images

If the PDF contains images/figures that should be preserved:

# Extract embedded images
pdfimages -j document.pdf /tmp/pdf-images/img
# Produces /tmp/pdf-images/img-000.jpg, img-001.jpg, etc.

# Or render specific pages as images for figures
pdftoppm -png -r 300 -f 3 -l 3 document.pdf /tmp/pdf-images/page

Or use Python:

import pypdfium2 as pdfium
pdf = pdfium.PdfDocument("document.pdf")
# Render page 3 (0-indexed) at 2x resolution
bitmap = pdf[2].render(scale=2.0)
bitmap.to_pil().save("/tmp/pdf-images/figure1.png")

Step 3: Produce Content

You have two output format options:

Option A: Markdown with Frontmatter (Preferred)

Read the full file on GitHub · 194 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 194 lines · 91 tokens per session scan A fe21ad1e5841

Subscribe to this mod's changes

seed-pdf-import is a skill published in the GitHub repository seed-hypermedia/seed (56 stars, last pushed yesterday), licensed Apache-2.0. It adds 91 tokens to every session and 1,480 once invoked, about $0.0005 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.