From sherlock-ai-plugin
Transforms academic PDFs into technical articles via MinerU Cloud API parsing of images, tables, formulas. Supports storytelling/academic/concise styles, optional formula explanations, GitHub code analysis. Outputs Markdown/HTML.
npx claudepluginhub proyecto26/sherlock-ai-plugin --plugin sherlock-ai-pluginThis skill uses the workspace's default tool permissions.
- **MinerU Cloud API** for high-precision PDF parsing
Processes research paper PDFs from local paths, URLs, or arXiv; extracts metadata, content, links; generates study materials in user's language for deep analysis.
Converts arXiv papers to structured Markdown docs by fetching LaTeX source or PDF, preserving math/sections via pandoc/pdfplumber. Invoke with ID for implementation reference.
Downloads arXiv papers (PDF, TeX), generates Chinese Markdown reports with analysis, breakdowns, Mermaid diagrams for methods/workflows. For detailed interpretation, not quick summaries.
Share bugs, ideas, or general feedback.
export MINERU_TOKEN="your_token_here"
pip install requests markdown
python scripts/mineru_api.py <pdf_path> <output_dir>
Or pass the token directly:
python scripts/mineru_api.py paper.pdf ./output YOUR_TOKEN
Output:
output_dir/*.md – Markdown files (including formulas and tables)output_dir/images/ – High-quality extracted imagespython scripts/extract_paper_info.py <output_dir>/*.md paper_info.json
Before generating the article, you must ask the user to choose the following options:
| Style | Characteristics | Use Cases |
|---|---|---|
| storytelling | Starts from intuition, uses metaphors and examples, narrative-driven | Blogs, tech columns, popular science |
| academic | Professional terminology, rigorous expression, preserves original concepts | Academic reports, surveys, research group sharing |
| concise | Straight to the point, tables and lists, high information density | Quick reads, paper overviews, technical research |
| Option | Description |
|---|---|
| with-formulas | Insert formula images and explain symbol meanings in detail |
| no-formulas (default) | Pure text description, no formula images |
| Option | Description |
|---|---|
| with-code | Clone the repository, include key source code, and explain it alongside the paper |
| no-code (default) | No code analysis |
(...)