geronimo-iia/agent-skills/wiki-ingest-pdf
Claude Code and agent skill by geronimo-iia/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when adding one or more PDF files as sources in a llm-wiki knowledge base. Covers source folder creation, PDF extraction, structured analysis, index update, and wiki ingest. Triggers on: "add this PDF to the wiki", "ingest this paper", "create a source for this file", "add as source in my wiki".
Install
npx vskill@latest install geronimo-iia/agent-skills/wiki-ingest-pdfSKILL.md
The same SKILL.md was published earlier as geronimo-iia/agent-skills/wiki-ingest-pdf.
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 invocationgeronimo-skills:research-paper— structured analysis pipeline and anti-slopgeronimo-skills:kb-conventions— frontmatter schema, annotation markers, layoutllm-wiki:bootstrap— orient to the target wiki before touching filesllm-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 itsindex.mdpath - 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>.
Paths:
Step 2 — Create folder layout and move 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):
marker-pdf (scanned/image PDFs):
Step 5 — Produce structured analysis
Follow geronimo-skills:research-paper §Step 4. Output: analysis/<slug>.md.
Required sections:
- Publication details
- Core thesis (
[DIRECT]) - Key contributions (annotated)
- Mathematical foundations (or
∅ NOT FOUND IN SOURCES) - Algorithms / pseudocode (or
∅) - Architecture / system design
- Experimental results (or
∅) - Limitations and open problems
- Relation to existing KB (use
> ✦ NEW:,> ⚠ DIVERGES FROM KB:,> ∅ NOT FOUND IN SOURCES:) - Glossary
Apply geronimo-skills:anti-slop before saving.
Create analysis/README.md — one-line entry per analysis file (no frontmatter needed; indexer skips it by design).
Step 5b — Verify analysis frontmatter
Every file in analysis/ that should be indexed must have valid frontmatter. Use llm-wiki:content to verify and fix if needed.
Required fields per geronimo-skills:kb-conventions:
Checklist before proceeding:
- [ ]
type:field present (most common omission — indexer silently skips pages without it) - [ ]
status: active - [ ]
summaryis one line, not a paragraph - [ ]
sourcepoints tosources/<slug>/original.pdf
extracted/content.md and analysis/README.md intentionally have no frontmatter — leave them as-is.
Step 6 — Update source.md
After analysis, fill in:
tldr: one-sentence key takeawaystatus: activeconcepts: slugs of wiki concept pages this source informsconfidence: 0.8–1.0 for[DIRECT]; 0.5–0.7 for[INFERRED]; 0.1–0.4 for[SPECULATIVE]claims: 3–7 key claims using the claim schema inkb-conventions
Step 7 — Update sources/index.md
Add a row to the sources table:
Step 8 — Ingest
Use llm-wiki:content to review the final page set, then commit and index with wiki_ingest:
Check the response:
pages_validatedshould coversource.md+ allanalysis/*.mdfiles with frontmatter- Warnings about
no frontmatteronextracted/content.mdandanalysis/README.mdare expected — ignore informsedge warnings (target has type 'note', expected concept) mean a slug inconcepts:points to a non-concept page — fix the target type or remove the slug and add a[[wikilink]]in the body instead- All other warnings need investigation before proceeding
After ingest, run wiki_lint and check for orphan warnings:
- An orphan warning on
analysis/<slug>.mdmeanssource.mdhas no link to the analysis file — add a[[sources/<slug>/analysis/<slug>]]wikilink in thesource.mdbody and re-run ingest - 0 errors and 0 warnings (excluding expected no-frontmatter) is the acceptance bar
Multiple PDFs
Run Steps 1–8 for each PDF independently. Do not batch-create slugs or merge analyses. Each PDF gets its own folder and analysis.
Common mistakes
| Mistake | Fix | |
|---|---|---|
Using --output flag with xberg | Flag doesn't exist; use stdout redirect + grep | |
Skipping pdfinfo check | Machine-readable vs scanned requires different tool | |
type: note on analysis files | Set type: note (analysis files are notes, not papers) | |
Linking concepts: to synthesis docs or sections | Only type: concept pages; use [[wikilink]] in body for others | |
Forgetting type: field in analysis frontmatter | Required; wiki indexer skips pages without it | |
Leaving confidence: 0.0 in source.md after analysis | Update to reflect actual annotation level |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/wiki-ingest-pdf/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/geronimo-iia/agent-skills/wiki-ingest-pdf)