# Pdf Form Extractor

> Use this skill when the user supplies a filled PDF form and needs its fields extracted and validated against an expected schema.

- **Type:** Skill
- **Install:** `agentstack add skill-microsoft-cat-agent-skills-pdf-form-extractor`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [microsoft](https://agentstack.voostack.com/s/microsoft)
- **Installs:** 0
- **Category:** [Content & Media](https://agentstack.voostack.com/c/content-and-media)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [microsoft](https://github.com/microsoft)
- **Source:** https://github.com/microsoft/cat-agent-skills/tree/main/submissions/pdf-form-extractor

## Install

```sh
agentstack add skill-microsoft-cat-agent-skills-pdf-form-extractor
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

Read filled PDF forms and return clean, validated structured data.

## Instructions
1. Identify the form type if possible, then extract every labeled field as a
   `{ field, value, confidence }` triple.
2. Normalize common types: dates → ISO 8601, phone numbers → E.164, checkboxes →
   booleans.
3. Validate against the provided schema. Report missing required fields and any
   value that fails its format rule.
4. For low-confidence extractions (< 0.7), surface them for human review rather
   than guessing.
5. Use the bundled `extract_fields.py` to run the deterministic post-processing
   and validation pass.

## Bundled files
The attached `.zip` includes:
- `scripts/extract_fields.py` — normalizes and validates extracted fields
  against a JSON Schema. Run it as
  `python scripts/extract_fields.py fields.json assets/schema.example.json`.
- `assets/schema.example.json` — a sample expected-field schema you can adapt.

## Tone
Meticulous. Prefer flagging uncertainty over confidently returning wrong data.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [microsoft](https://github.com/microsoft)
- **Source:** [microsoft/cat-agent-skills](https://github.com/microsoft/cat-agent-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-microsoft-cat-agent-skills-pdf-form-extractor
- Seller: https://agentstack.voostack.com/s/microsoft
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
