seed-pdf-import — for Claude Code seed-pdf-import, community, for Claude Code, ide skills, PDF to Hypermedia conversion, Seed CLI, IPFS publishing, image extraction, self-publishing, Hypermedia protocol, Claude Code

v1.0.0
GitHub

About this Skill

Perfect for Document Analysis Agents needing advanced PDF to Seed Hypermedia conversion capabilities. seed-pdf-import is a desktop and web app skill for self-publishing, powered by the open Hypermedia protocol, converting PDFs to Seed documents.

Features

Convert PDFs to Seed Hypermedia documents using the Seed CLI
Extract images from PDFs using poppler-utils or pypdfium2
Publish documents atomically with IPFS
Structure content with headings, sections, and hierarchy
Preserve text formatting, links, and code blocks

# Core Topics

seed-hypermedia seed-hypermedia
[49]
[8]
Updated: 3/18/2026

Agent Capability Analysis

The seed-pdf-import skill by seed-hypermedia is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for for Claude Code, PDF to Hypermedia conversion, Seed CLI.

Ideal Agent Persona

Perfect for Document Analysis Agents needing advanced PDF to Seed Hypermedia conversion capabilities.

Core Value

Empowers agents to convert PDFs into Seed Hypermedia documents using vision capabilities, extracting images and preserving document structure, and publishing via the Seed CLI with IPFS integration, utilizing libraries like poppler-utils and pypdfium2.

Capabilities Granted for seed-pdf-import

Converting research papers into Seed Hypermedia documents for efficient self-publishing
Automating PDF image extraction and conversion to IPFS for decentralized storage
Generating Seed Hypermedia documents with structured content and metadata for improved discoverability

! Prerequisites & Limits

  • Requires Seed CLI installation and setup
  • Optional dependencies on poppler-utils or pypdfium2 for image extraction
  • Limited to PDF format input
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

seed-pdf-import

Install seed-pdf-import, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

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:

bash
1# Extract embedded images 2pdfimages -j document.pdf /tmp/pdf-images/img 3# Produces /tmp/pdf-images/img-000.jpg, img-001.jpg, etc. 4 5# Or render specific pages as images for figures 6pdftoppm -png -r 300 -f 3 -l 3 document.pdf /tmp/pdf-images/page

Or use Python:

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

Step 3: Produce Content

You have two output format options:

Option A: Markdown with Frontmatter (Preferred)

Write a markdown file with YAML frontmatter containing all extracted metadata. This is the simplest approach:

markdown
1--- 2name: 'Paper Title' 3summary: 'The paper abstract or a brief summary' 4displayAuthor: 'Jane Doe, John Smith' 5displayPublishTime: '2024-06-15' 6--- 7 8# Introduction 9 10Paper content as markdown... 11 12## Methods 13 14![Figure 1: Experimental setup](/tmp/pdf-images/img-000.jpg) 15 16More content...

Then publish:

bash
1seed-cli document create -f extracted.md --key <keyname>

Option B: JSON Blocks (Precise Control)

For precise control over block structure, annotations, and non-standard block types, produce a JSON array of HMBlockNode objects. Use file:///absolute/path for image links -- the CLI converts them to IPFS automatically.

See references/seed-document-format.md for the complete block format reference and a comprehensive example covering all block types.

Key rules:

  • Every block needs a unique id: 8 random characters from [A-Za-z0-9_-]
  • Headings contain their content as children
  • Lists are a container Paragraph with childrenType ("Ordered"/"Unordered") and child Paragraphs
  • Annotations use byte-offset starts/ends arrays within the text field
  • Images use "link": "file:///path/to/image.png" for local files
  • Math blocks use LaTeX in the text field
  • Code blocks use attributes.language for syntax highlighting

Then publish:

bash
1seed-cli document create -f blocks.json --name "Paper Title" --display-author "Jane Doe" --key <keyname>

Or pipe JSON via stdin:

bash
1cat blocks.json | seed-cli document create --name "Paper Title" --key <keyname>

Step 4: Publish and Verify

Publish using the Seed CLI (see seed-hypermedia-write skill for full reference):

bash
1# Create the document 2seed-cli document create -f content.md --key <keyname> 3 4# Or with explicit metadata overrides 5seed-cli document create -f content.md \ 6 --name "Paper Title" \ 7 --display-author "Jane Doe, John Smith" \ 8 --display-publish-time "2024-06-15" \ 9 --key <keyname> 10 11# Preview extraction without publishing 12seed-cli document create -f content.md --dry-run 13 14# Append to an existing document 15seed-cli document update <hm-id> -f additional-content.md --key <keyname>

Verify the result:

bash
1seed-cli document get <hm-id> --md

Built-in PDF Extraction

The CLI also has built-in PDF extraction (pdfjs-dist + optional GROBID) which can be used directly:

bash
1# Built-in extraction 2seed-cli document create -f paper.pdf --key <keyname> 3 4# With GROBID for better academic paper extraction 5seed-cli document create -f paper.pdf --grobid-url http://localhost:8070 --key <keyname> 6 7# Preview extraction result 8seed-cli document create -f paper.pdf --dry-run

The LLM-powered approach (this skill) produces higher quality results for complex layouts, figures, and multi-column papers, but the built-in extraction is faster for simple documents.

Output Format Summary

The JSON output should be valid JSON matching HMBlockNode[]:

[
  {
    "block": {
      "id": "<8-char-id>",
      "type": "Heading|Paragraph|Code|Math|Image|Video|File|Embed|WebEmbed|Button",
      "text": "...",
      "annotations": [...],
      "attributes": {...},
      "link": "..."        // for Image, Video, File, Embed, WebEmbed, Button
    },
    "children": [...]      // nested HMBlockNode[]
  }
]

For the full schema, block type details, annotation format, and a comprehensive worked example, see references/seed-document-format.md.

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is seed-pdf-import?

Perfect for Document Analysis Agents needing advanced PDF to Seed Hypermedia conversion capabilities. seed-pdf-import is a desktop and web app skill for self-publishing, powered by the open Hypermedia protocol, converting PDFs to Seed documents.

How do I install seed-pdf-import?

Run the command: npx killer-skills add seed-hypermedia/seed/seed-pdf-import. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for seed-pdf-import?

Key use cases include: Converting research papers into Seed Hypermedia documents for efficient self-publishing, Automating PDF image extraction and conversion to IPFS for decentralized storage, Generating Seed Hypermedia documents with structured content and metadata for improved discoverability.

Which IDEs are compatible with seed-pdf-import?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for seed-pdf-import?

Requires Seed CLI installation and setup. Optional dependencies on poppler-utils or pypdfium2 for image extraction. Limited to PDF format input.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add seed-hypermedia/seed/seed-pdf-import. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use seed-pdf-import immediately in the current project.

Related Skills

Looking for an alternative to seed-pdf-import or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI