@anyformat/skill. It teaches Claude, or any compatible AI coding agent, the anyformat workflow API. Once installed, ask Claude to build typed-graph workflows, run documents, and read structured results without leaving your editor.
Install
What Claude can do once installed
- Build linear parse → extract workflows for a specific document type.
- Build branched workflows: classify-then-extract, splitter-then-extract.
- Run a document through an existing workflow and poll the run until its status is terminal, with the right backoff.
- Read structured output: per-field confidence, evidence, and the deprecated
extractionagainst the newextractions[]array. - Use agentic parse mode for documents with mixed tables / figures.
- Avoid the common gotchas: rate-limited submission tier, polling without backoff,
extra_forbiddenerrors when an unknown node-config key sneaks in.
Example prompts
Concrete asks to paste into Claude Code:“Extract invoice number, total, and issue date from invoice.pdf using anyformat.”
“Parse contract.pdf to markdown with agentic mode using anyformat, then save the markdown to contract.md.”
“Build an anyformat workflow that classifies documents as invoice or receipt and extracts the right fields for each. Wire it up so I can pipe new files into it from the command line.”
“Run every PDF in ./inbox through my anyformat workflow, wait for each run to finish, and write the extracted fields to results.csv.”Claude also has the TypeScript and Python SDKs, so it picks the shape that fits your project: a fluent builder in TypeScript, a fluent builder in Python, or raw HTTP through curl.
How it works under the hood
The skill is a single SKILL.md plus reference docs. They load into Claude Code’s context when it detects an anyformat-related task. It drives the public workflow API directly, so anything Claude does with the skill you reproduce with plain HTTP calls or either SDK. To inspect or hack on the skill itself, the source lives at@anyformat/skill on npm.
What’s next?
Recipes
Copy-paste examples Claude can drive: invoices, resumes, contracts, and more
API reference
Every endpoint Claude calls, with request/response schemas
TypeScript SDK
The fluent layer Claude prefers for TS projects
Python SDK
The fluent layer Claude prefers for Python projects

