@anyformat/skill) that teaches Claude — or any compatible AI coding agent — the anyformat workflow API. Once installed, you can ask Claude to build typed-graph workflows, run documents, and read structured results without context-switching out of 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, the deprecated
extractionvs. 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 you can 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 has the SDKs (TypeScript and Python) available too, so it can choose the shape that fits your project — fluent builder in TS, fluent builder in Python, or raw HTTP via curl.
How it works under the hood
The skill is a single SKILL.md plus reference docs that load into Claude Code’s context when it detects an anyformat-related task. It drives the public workflow API directly — anything Claude does with the skill is reproducible with plain HTTP calls or either SDK. If you want 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 also drive — invoices, resumes, contracts, 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

