wiki-ingest-pdf

wiki-ingest-pdf is a skill for Claude Code from geronimo-iia/agent-skills. It costs 77 tokens per session (1,797 once invoked), scanned A, original, MIT.

A repeatable process for adding PDF files to an `llm-wiki` knowledge base. It extracts the PDF, analyses it, creates the source structure, updates the index, and ingests the result.

In plain words
What is it for?
Use it when adding research papers or other PDFs as searchable, organised wiki sources.
Why use it?
It replaces a series of manual file, naming, metadata, and index updates. It also checks the existing wiki structure before adding a source.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the geronimo-skills plugin — 9 skills shipped together

Good fit Use it when adding research papers or other PDFs as searchable, organised wiki sources.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/geronimo-iia/agent-skills/wiki-ingest-pdf
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.

Any agent
npx skills add geronimo-iia/agent-skills --skill wiki-ingest-pdf
Clone the repo
git clone --depth 1 https://github.com/geronimo-iia/agent-skills

Made for: Claude Code.

Or install geronimo-skills, the plugin that ships this one along with the rest of its 9 skills.

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 wiki-ingest-pdf

README.md
[![agentmods](https://agentmods.dev/badge/skills/geronimo-iia/agent-skills/wiki-ingest-pdf/github.svg)](https://agentmods.dev/skills/geronimo-iia/agent-skills/wiki-ingest-pdf)
Your own site
<a href="https://agentmods.dev/skills/geronimo-iia/agent-skills/wiki-ingest-pdf"><img src="https://agentmods.dev/badge/skills/geronimo-iia/agent-skills/wiki-ingest-pdf/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 wiki-ingest-pdf

Your own site · 80×15
<a href="https://agentmods.dev/skills/geronimo-iia/agent-skills/wiki-ingest-pdf"><img src="https://agentmods.dev/badge/skills/geronimo-iia/agent-skills/wiki-ingest-pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,797 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.00077 $0.01797
Opus 5.5 $0.00031 $0.00719
Sonnet 5.5 $0.00015 $0.00359
Haiku 4.5 $0.00008 $0.00180

Measured 2mo ago against content hash b516a20337ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wiki-ingest-pdf 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 2mo 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.

skills/wiki-ingest-pdf/SKILL.md · 191 lines

How it starts

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

Wiki Ingest PDF

Add one or more PDFs as first-class wiki sources: folder layout, extraction, structured analysis, index update, and ingest in one repeatable pipeline.

Required sub-skills (read before starting):

  • geronimo-skills:pdf-parse — extraction tool selection and xberg invocation
  • geronimo-skills:research-paper — structured analysis pipeline and anti-slop
  • geronimo-skills:kb-conventions — frontmatter schema, annotation markers, layout
  • llm-wiki:bootstrap — orient to the target wiki before touching files
  • llm-wiki:content — create and update wiki pages with correct frontmatter

Step 0 — Orient to the wiki

Run llm-wiki:bootstrap for the target wiki. Identify:

  • Wiki root path (from wiki_config)
  • The sources/ section slug and its index.md path
  • Existing source slugs (avoid collisions)

Step 1 — Derive slug and paths

From the PDF filename, derive a lowercase-hyphenated slug. Convention: <author>-<short-topic> or <author>-<year>-<short-topic>.

PDF:  Psychisme_modele_constructible_cardon.pdf
Slug: cardon-psychisme

Paths:

<wiki_root>/sources/<slug>/
  original.pdf          ← PDF moved/copied here
  extracted/
    content.md          ← xberg output
  analysis/
    <slug>.md           ← structured analysis
    README.md           ← analysis index
  source.md             ← wiki page (paper.json schema)

Step 2 — Create folder layout and move PDF

mkdir -p <wiki_root>/sources/<slug>/extracted
mkdir -p <wiki_root>/sources/<slug>/analysis
mv <inbox_path> <wiki_root>/sources/<slug>/original.pdf

If the PDF is already in the right place, skip the move.

Step 3 — Create stub source.md

Use the paper type schema from geronimo-skills:kb-conventions. Fill title, tags, read_when from the filename and any known context. Set status: draft, confidence: 0.0, leave tldr and claims empty.

Step 4 — Extract PDF

Follow geronimo-skills:pdf-parse to select the right tool.

xberg (machine-readable PDFs):

# Detect
pdfinfo original.pdf   # check Characters: > 0

# Extract — xberg writes WARN lines to stdout; redirect and strip
xberg extract original.pdf --content-format markdown --page-markers true \
  > /tmp/<slug>_raw.md
grep -vE "^WARN" /tmp/<slug>_raw.md > extracted/content.md

# Verify
wc -w -l extracted/content.md   # sanity: > 500 words for a real doc

Read the full file on GitHub · 191 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. 2mo ago First seen · 191 lines · 77 tokens per session scan A b516a20337ce

Subscribe to this mod's changes

wiki-ingest-pdf is a skill published in the GitHub repository geronimo-iia/agent-skills (3 stars, last pushed 3mo ago), licensed MIT. It adds 77 tokens to every session and 1,797 once invoked, about $0.0003 per session on Opus 5.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-09-05.

Related

wiki-ingest-pdf compared with skills from other repositories

wiki-ingest-pdf next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wiki-ingest-pdfgeronimo-iia/agent-skillsSkill33mo agoMITA77Claude Code
pdfagentscope-ai/QwenPawSkill38kyesterdayApache-2.0A95Claude Code, Codex
yida-print-templateopenyida/openyidaSkill234todayMITA110Claude Code, Codex
iflytek-ocr-invoiceiflytek/iFly-SkillsSkill2176d agoApache-2.0A77Claude Code, Codex
iflytek-pdf-image-ocriflytek/iFly-SkillsSkill2176d agoApache-2.0A81Claude Code, Codex
pdfagentscope-ai/QwenPawSkill38kyesterdayApache-2.0A92Claude Code, Codex
consulting-pdf-from-youtubedavidtoby/agent-skillsSkill1111d agoMITA76Claude Code, Codex