jmservera/aithena/pdf-extraction-dual-tool
Claude Code and agent skill by jmservera/aithena
- community
Checking that the SKILL.md file is still in the repository.
Tika vs pdfplumber — complementary tools for PDF extraction, not redundant
Install
npx vskill@latest install jmservera/aithena/pdf-extraction-dual-toolSKILL.md
The same SKILL.md was published earlier as jmservera/aithena/pdf-extraction-dual-tool.
Context
Aithena uses two PDF extraction tools that serve different purposes. They are complementary, not redundant. Tika (integrated with Solr) handles full-text keyword search and metadata extraction. pdfplumber (used in the document-indexer) handles per-page semantic chunking for embedding-based search. Removing either tool would break a core search capability.
Patterns
- Tika (via Solr):
- Extracts full document text for keyword/BM25 search
- Extracts metadata (title, author, creation date, page count)
- Integrated into Solr's indexing pipeline via
ExtractingRequestHandler - Handles a wide range of formats beyond PDF (DOCX, PPTX, etc.)
- Best for: full-text search, metadata extraction, format-agnostic processing
- pdfplumber (in document-indexer):
- Extracts text page-by-page with layout awareness
- Enables per-page semantic chunking for embedding generation
- Provides table detection and extraction
- Gives precise control over text extraction boundaries
- Best for: semantic search chunks, page-level granularity, table extraction
- Data flow separation:
- File → Solr (Tika) → full-text index → keyword search via solr-search API
- File → document-indexer (pdfplumber) → page chunks → embeddings-server → vector search
- When to use which:
- User searches by keywords → Tika/Solr path
- User searches by meaning/concept → pdfplumber/embeddings path
- Hybrid search combines both results
Examples
Anti-Patterns
- Don't remove pdfplumber because "Tika already extracts text" — Tika produces a single text blob per document; pdfplumber provides page-level chunks needed for semantic search.
- Don't remove Tika because "pdfplumber already extracts text" — pdfplumber is PDF-only and doesn't integrate with Solr's keyword search pipeline.
- Don't use pdfplumber for keyword search indexing — Solr's Tika integration is purpose-built for this and handles format diversity.
- Don't use Tika for semantic chunking — its output lacks the page-level granularity needed for meaningful embedding generation.
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 repositoryChecking.squad/skills/pdf-extraction-dual-tool/SKILL.md
Popularity
- Repository stars
- 1
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. 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/jmservera/aithena/pdf-extraction-dual-tool)