infly-ai/inf-mllm/infinity-parser

Claude Code and agent skill by infly-ai/inf-mllm

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Extract Markdown, tables, formulas, and layout blocks from PDFs or images with Infinity Parser. Use Nano for simple digital PDFs, Flash for routine scans and images, and Pro for complex layouts, handwriting, or poor-quality scans.

Install

npx vskill@latest install infly-ai/inf-mllm/infinity-parser

SKILL.md

Infinity Parser Skill

Submit one PDF or supported image per request to get Markdown and layout blocks. Download URLs or capture webpage screenshots before sending the resulting file.

Copy .env.example to .env, then set INF_API_URL to the API base URL and INF_API_KEY to your key. The Python command reads .env automatically without printing the key. Environment variables with the same names override the file and can also be used without one.

Choose a tier

TierBest for
NanoDigital PDFs with a real text layer and simple layouts. Fast and lightweight; GPU processing is rarely needed.
FlashScanned documents and images with ordinary layouts. Balances speed and cost for high-volume processing.
ProComplex documents with multi-column layouts, dense tables, formulas, handwriting, or poor-quality scans.

Input and options

  • Send multipart/form-data with required file and optional tier (nano, flash, or pro; default flash). The same fields apply to /v1/parse and /v1/parse/stream.
  • PDFs and single-frame PNG, JPEG, WEBP, BMP, TIFF, and GIF are supported. The Gateway identifies content from bytes, so a wrong extension or MIME type does not prevent parsing.
  • Multi-frame images, HTML, URL strings, Office files, SVG, and archives are unsupported. Download a web URL or capture a webpage screenshot in the platform, then send the resulting PDF or image.
OptionBehavior
pagesOptional 1-based page selection, such as 1-3,5. Duplicates are removed and pages are parsed in ascending order. Omit it for all PDF pages; for an image, omit it or use 1.
keep_header_footerBoolean, default false. Set to true to retain headers, footers, and page footnotes in Markdown. Their blocks remain in the response either way.
parse_chartBoolean, default true. Set to false to skip extra descriptions or data extraction for image and chart regions.
bash
python3 skills/infinity-parser/scripts/parse.py /path/to/report.pdf \
--tier pro \
--pages 1-3,5 \
--parse-chart true \
--keep-header-footer false \
-o /path/to/output

The command saves report.json and report.md in the -o directory. Omit -o to save them next to the input. Omit --pages to parse all pages. --tier defaults to Flash. Use --keep-header-footer true to include header/footer text in Markdown or --parse-chart false to skip extra chart extraction. Partial page failures still save both files and return exit code 2.

For a direct API request, send tier:

bash
set -a
source skills/infinity-parser/.env
set +a
curl "${INF_API_URL%/}/v1/parse" \
-H "Authorization: Bearer ${INF_API_KEY}" \
-F 'file=@/path/to/report.pdf' \
-F 'tier=pro' \
-F 'pages=1-3,5' \
-F 'parse_chart=true' \
-F 'keep_header_footer=false'

Read references/api-reference.md for response and streaming event details.

Use the multipart endpoint in preference to the legacy /v1/chat/completions JSON endpoint. The OpenAI-compatible JSON endpoint still uses model; it accepts PDF Base64 only and requires data:application/pdf;base64,... plus a .pdf filename.

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/infly-ai/inf-mllm/infinity-parser/badge)](https://verified-skill.com/skills/infly-ai/inf-mllm/infinity-parser)

Something wrong with this skill or its page? Tell us.