microsoft/cat-agent-skills is a static website that catalogs reusable instruction sets and related packages for AI agents. People use it to search, filter, rate, and download skills for Cowork, Copilot Studio, and Scout, along with Copilot plugins and Scout automations. The catalogue entries are the skills, instructions, plugins, and settings displayed by the site.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add microsoft/cat-agent-skills --skill pdf-table-data-conversiongit clone --depth 1 https://github.com/microsoft/cat-agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/microsoft/cat-agent-skills/pdf-table-data-conversion)<a href="https://agentmods.dev/skills/microsoft/cat-agent-skills/pdf-table-data-conversion"><img src="https://agentmods.dev/badge/skills/microsoft/cat-agent-skills/pdf-table-data-conversion.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00177 | $0.01926 |
| Opus 5 | $0.00088 | $0.00963 |
| Sonnet 5 | $0.00035 | $0.00385 |
| Haiku 4.5 | $0.00018 | $0.00193 |
Grade A, and why
pdf-table-data-conversion scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Turn tables locked inside a PDF into a clean, nicely formatted spreadsheet the user can open in Excel or feed to another tool. The user is asking for the data as a file, not a prose answer — so your job is to locate the source PDF, get its full content (not just retrieved chunks), extract the relevant table(s), and hand back a formatted workbook.
When this applies (and when it does not)
- Applies — the user wants the tabular data itself as a file: "pull out / extract / export / convert / get me a spreadsheet of …", "put the rebate schedule in Excel", "give me the line items from this contract".
- Applies to follow-ups too — even if you already answered or summarized the data in the chat, a subsequent "give me that as a file / spreadsheet / Excel" is still an extraction request. Invoke this skill and rebuild the file from the source document — do not assemble a spreadsheet from the text already in the conversation, which may be partial, truncated, or reformatted.
- Does not apply — the user is asking a question to be answered in the conversation: "what are the rebates for Contoso?", "how much is the Q3 discount?". Answer those inline from knowledge within reason; do not run an extraction or produce a file.
If a request is ambiguous (e.g. "show me the rebates"), prefer a short inline answer and offer to export it as a file if they want the full table.
Instructions
- Identify the target document. Let the user ask naturally — they need not name an exact file. Use the cues in their request (customer/contract name, topic, document title, or a file they referenced) to search knowledge for the best-matching PDF. If one document is a clear match, proceed with it. Only when the match is genuinely ambiguous — several plausible documents, or none obvious — ask the user a brief question to confirm which one they mean.
- Get the FULL document, not chunks. Retrieved knowledge chunks are enough to answer a question but not to extract a whole table — rows are routinely split across chunks — so work from the complete PDF in the agent's container. A SharePoint knowledge source handles this naturally: let it search and pull the full file down. If the maker collects files another way (direct upload, a connector, a different store), use whatever mechanism is available to get the full PDF locally. The rest of these steps are the same once the file is local.
- Extract the table(s) — script first. Run the bundled
scripts/extract_tables.pyagainst the downloaded PDF to pull tabular data out deterministically (see Bundled files). This is the default path because it lifts the grid verbatim — no dropped or "tidied" rows — which matters most for long schedules. It writes a formatted.xlsxworkbook by default, with one tab per detected table (so multiple tables and page splits stay cleanly separated). Narrow to the relevant table when the user named a specific one (e.g. rebates, pricing, line items) using the--containsfilter; otherwise extract all detected tables. - Fall back to reading it yourself when the script can't cope.
pdfplumberrelies on a text layer and clean rules, so it under-performs on scanned / image-only PDFs (no text to extract) and borderless or merged-cell tables (misaligned output). When the script returns nothing, or the output is clearly garbled/misaligned versus the PDF, read the table directly from the document and build the workbook yourself following the cleaning rules below. Use your judgement to pick the right table when a keyword filter is too blunt. - Clean the output. Ensure a single header row per table, trim stray whitespace, drop fully empty rows (but keep empty columns — they preserve the table's structure and alignment), and keep numbers/currency/dates as they appear in the source (do not invent, reformat, or "correct" values). If cells were merged or a header spans multiple rows, flatten to one clear header row. Put each distinct table on its own sheet/tab; if one logical table is split across pages, you may merge the parts into a single sheet.
- Respond with a recap, then the file. Open your reply with a short,
natural summary of what the user asked for and what you pulled — restate the
request in your own words (e.g. "Here's the full rebate schedule from the
Contoso contract you asked for") — then attach the full extracted data as a
formatted
.xlsxworkbook. The complete data lives in the file, not the chat: don't paste the whole table inline or truncate it. When multiple tables were extracted, give each its own clearly named tab and briefly say what each contains. Then offer a.csvas an alternative ("Let me know if this works, or if you'd prefer a CSV instead") — produce it with--format csv(orboth) if they say yes, one CSV per table. - Confirm and flag gaps. Give a one-line summary (which document, which table(s)/tab(s), rows × columns) and note whether the script or a manual read produced it. Call out anything uncertain — a table that spanned pages, cells that failed to parse, or a table the tool could not detect — so the user can verify rather than trust silently.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 126 lines · 177 tokens per session scan A 735a67c9967d
pdf-table-data-conversion is a skill published in the GitHub repository microsoft/cat-agent-skills (64 stars, last pushed yesterday), licensed MIT. It adds 177 tokens to every session and 1,926 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
pydicom
Use pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.
foundry-hosted-agent-validation
Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.
skill-doc-delivery
Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.
pdf-extract-create-workflow
Complete PDF lifecycle: download, extract, and generate structured documents with reportlab.
document-direct-python
Use direct Python execution for reliable document creation including spreadsheets, PDFs, and structured reports.
pdf-text-extraction-fallback-85d5ca
Fallback workflow for extracting text from PDFs when readfile returns binary data.