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.py against 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 .xlsx workbook 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 --contains filter; otherwise extract all
detected tables.
- Fall back to reading it yourself when the script can't cope.
pdfplumber
relies 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
.xlsx workbook. 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 .csv as an alternative ("Let me know if this works, or if you'd prefer a CSV instead") — produce it with --format csv (or both) 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.
Bundled files
The attached .zip includes:
scripts/extract_tables.py — extracts tables from a local PDF using
pdfplumber (available natively in the agent container). Run it as
python scripts/extract_tables.py <document.pdf> --out-dir out. By default it
writes a formatted .xlsx workbook — one tab per table, with a bold frozen
header row, an autofilter, and sized columns. Useful flags:
--format xlsx|csv|both — output format (default xlsx; csv writes one
CSV per table; both writes the workbook and the CSVs),
--pages 2-5 (or --pages 3) to limit to specific pages,
--contains rebate to keep only tables whose text contains a keyword,
--out-dir out to choose where the files are written.
It prints a JSON summary of everything produced (workbook path, per-table sheet
names, any CSV paths, source page, row/column counts) so you can report back
accurately. If it produces no tables or clearly
mangles them (scanned or borderless PDFs), fall back to reading the tables
yourself per step 4.
Guardrails
- Never fabricate rows, values, or headers. If a cell is unreadable, leave it
empty and flag it rather than guessing.
- Do not answer extraction requests from retrieved chunks alone — always work
from the full downloaded document so tables aren't truncated.
- Never build the file from the chat. When the user asks for a file after
you've already answered or summarized in conversation, still run this skill and
extract from the source document — do not hand-assemble a spreadsheet from the
text in the chat, which may be partial or reformatted.
- Do not turn a plain question into a file dump; only produce a file when the user
actually wants the data as a file.
- Do not expand scope beyond what was asked (don't export every table when the
user asked only for the rebates).
Tone
Precise and practical. Prefer surfacing uncertainty over confidently returning a
table that may be incomplete.
Run this — do not improvise
This capability's deterministic implementation is a RAPP single-file agent, linked beside this file as pdf_table_data_conversion_agent.py and embedded as the fenced Python below (sha256 815527a7c5b5db5a…; a byte-exact copy is also vaulted in the capsule comment at the end of this file). On a host with sandbox execution, run the linked file directly — if it is missing, write the fence contents verbatim to pdf_table_data_conversion_agent.py first:
python3 pdf_table_data_conversion_agent.py '{"key": "value"}' # arguments as one JSON object
echo '{"key": "value"}' | python3 pdf_table_data_conversion_agent.py # or on stdin
python3 pdf_table_data_conversion_agent.py --tool # emit the JSON tool contract
Treat stdout as a tool result. If it reports missing or unresolved inputs, stop and collect them. If it returns steps, execute those steps in order exactly as returned; if it returns instructions, follow them with the supplied inputs. Otherwise use the result verbatim. Do not invent behavior beyond that output. On a host without code execution, treat the Parameters schema and the code below as the exact specification and never paraphrase a step. Never edit inside the generated markers; a converter-equipped host can instead restore the original file checksum-verified with the installed rapp-agent-converter/scripts/toast.py convert SKILL.md --to agent.
"""PdfTableDataConversion -- Use this skill whenever the user wants tabular data from a PDF document AS A FILE — to extract, pull out, export, convert, or "put into a spreadsheet/Excel/CSV" (e.g. "pull out the rebates from the Contoso contract", "extract this pricing table", "get this into a spreadsheet"). This INCLUDES follow-up requests after you have already answered or summarized the data in chat — e.g. "now give me that as a file/spreadsheet", "export what you just showed me", "download that as Excel". In those follow-ups you MUST still invoke this skill and extract from the source document; never hand-build a spreadsheet from the chat summary. Do NOT use this skill for answer-in-line questions such as "what are the rebates in the Contoso contract?" — those are grounded Q&A.
Generated by the rapp skill from pdf-table-data-conversion. The RCI capsule at the bottom of this file carries the full original; `toast.py convert` restores it byte-exact."""
import json
import re
import sys
try:
from agents.basic_agent import BasicAgent
except ImportError: # running OUTSIDE a brainstem -- stay executable anyway.
class BasicAgent: # noqa: D101 - minimal stand-in, same contract
def __init__(self, name=None, metadata=None):
if name:
self.name = name
if metadata:
self.metadata = metadata
def perform(self, **kwargs):
return "Not implemented."
def system_context(self):
return None
def to_tool(self):
return {"type": "function", "function": {
"name": self.name,
"description": self.metadata.get("description", ""),
"parameters": self.metadata.get("parameters", {})}}
# The procedural layer, verbatim from the source capability.
INSTRUCTIONS = 'Turn tables locked inside a PDF into a clean, nicely formatted spreadsheet the\nuser can open in Excel or feed to another tool. The user is asking for the *data\nas a file*, not a prose answer — so your job is to locate the source PDF, get its\n**full** content (not just retrieved chunks), extract the relevant table(s), and\nhand back a formatted workbook.\n\n## When this applies (and when it does not)\n- **Applies** — the user wants the tabular data itself as a file: "pull out /\n extract / export / convert / get me a spreadsheet of …", "put the rebate\n schedule in Excel", "give me the line items from this contract".\n- **Applies to follow-ups too** — even if you already answered or summarized the\n data in the chat, a subsequent "give me that as a file / spreadsheet / Excel"\n is still an extraction request. Invoke this skill and rebuild the file from the\n **source document** — do not assemble a spreadsheet from the text already in the\n conversation, which may be partial, truncated, or reformatted.\n- **Does not apply** — the user is asking a question to be answered in the\n conversation: "what are the rebates for Contoso?", "how much is the Q3\n discount?". Answer those inline from knowledge within reason; do **not** run an\n extraction or produce a file.\n\nIf a request is ambiguous (e.g. "show me the rebates"), prefer a short inline\nanswer and offer to export it as a file if they want the full table.\n\n## Instructions\n1. **Identify the target document.** Let the user ask naturally — they need not\n name an exact file. Use the cues in their request (customer/contract name,\n topic, document title, or a file they referenced) to search knowledge for the\n best-matching PDF. If one document is a clear match, proceed with it. Only when\n the match is genuinely ambiguous — several plausible documents, or none obvious\n — ask the user a brief question to confirm which one they mean.\n2. **Get the FULL document, not chunks.** Retrieved knowledge chunks are enough\n to *answer* a question but not to *extract a whole table* — rows are routinely\n split across chunks — so work from the complete PDF in the agent's container.\n A SharePoint knowledge source handles this naturally: let it search and pull\n the full file down. If the maker collects files another way (direct upload, a\n connector, a different store), use whatever mechanism is available to get the\n full PDF locally. The rest of these steps are the same once the file is local.\n3. **Extract the table(s) — script first.** Run the bundled\n `scripts/extract_tables.py` against the downloaded PDF to pull tabular data out\n deterministically (see *Bundled files*). This is the default path because it\n lifts the grid verbatim — no dropped or "tidied" rows — which matters most for\n long schedules. It writes a formatted `.xlsx` workbook by default, with one tab\n per detected table (so multiple tables and page splits stay cleanly separated).\n Narrow to the relevant table when the user named a specific one (e.g. rebates,\n pricing, line items) using the `--contains` filter; otherwise extract all\n detected tables.\n4. **Fall back to reading it yourself when the script can't cope.** `pdfplumber`\n relies on a text layer and clean rules, so it under-performs on **scanned /\n image-only PDFs** (no text to extract) and **borderless or merged-cell tables**\n (misaligned output). When the script returns nothing, or the output is clearly\n garbled/misaligned versus the PDF, read the table directly from the document\n and build the workbook yourself following the cleaning rules below. Use your\n judgement to pick the right table when a keyword filter is too blunt.\n5. **Clean the output.** Ensure a single header row per table, trim stray\n whitespace, drop fully empty rows (but keep empty columns — they preserve the\n table's structure and alignment), and keep numbers/currency/dates as they\n appear in the source (do not invent, reformat, or "correct" values). If cells\n were merged or a header spans multiple rows, flatten to one clear header row.\n Put each distinct table on its own sheet/tab; if one logical table is split\n across pages, you may merge the parts into a single sheet.\n6. **Respond with a recap, then the file.** Open your reply with a short,\n natural summary of what the user asked for and what you pulled — restate the\n request in your own words (e.g. "Here's the full rebate schedule from the\n Contoso contract you asked for") — then attach the **full** extracted data as a\n formatted `.xlsx` workbook. The complete data lives in the file, not the chat:\n don't paste the whole table inline or truncate it. When multiple tables were\n extracted, give each its own clearly named tab and briefly say what each\n contains. Then **offer a `.csv` as an alternative** ("Let me know if this works, or if you'd prefer a CSV instead") — produce it with `--format csv` (or `both`) if they say yes, one\n CSV per table.\n7. **Confirm and flag gaps.** Give a one-line summary (which document, which\n table(s)/tab(s), rows × columns) and note whether the script or a manual read\n produced it. Call out anything uncertain — a table that spanned pages, cells\n that failed to parse, or a table the tool could not detect — so the user can\n verify rather than trust silently.\n\n## Bundled files\nThe attached `.zip` includes:\n- `scripts/extract_tables.py` — extracts tables from a local PDF using\n `pdfplumber` (available natively in the agent container). Run it as\n `python scripts/extract_tables.py <document.pdf> --out-dir out`. By default it\n writes a formatted `.xlsx` workbook — one tab per table, with a bold frozen\n header row, an autofilter, and sized columns. Useful flags:\n - `--format xlsx|csv|both` — output format (default `xlsx`; `csv` writes one\n CSV per table; `both` writes the workbook and the CSVs),\n - `--pages 2-5` (or `--pages 3`) to limit to specific pages,\n - `--contains rebate` to keep only tables whose text contains a keyword,\n - `--out-dir out` to choose where the files are written.\n It prints a JSON summary of everything produced (workbook path, per-table sheet\n names, any CSV paths, source page, row/column counts) so you can report back\n accurately. If it produces no tables or clearly\n mangles them (scanned or borderless PDFs), fall back to reading the tables\n yourself per step 4.\n\n## Guardrails\n- Never fabricate rows, values, or headers. If a cell is unreadable, leave it\n empty and flag it rather than guessing.\n- Do not answer extraction requests from retrieved chunks alone — always work\n from the full downloaded document so tables aren't truncated.\n- **Never build the file from the chat.** When the user asks for a file after\n you've already answered or summarized in conversation, still run this skill and\n extract from the source document — do not hand-assemble a spreadsheet from the\n text in the chat, which may be partial or reformatted.\n- Do not turn a plain question into a file dump; only produce a file when the user\n actually wants the data as a file.\n- Do not expand scope beyond what was asked (don't export every table when the\n user asked only for the rebates).\n\n## Tone\nPrecise and practical. Prefer surfacing uncertainty over confidently returning a\ntable that may be incomplete.'
# Ordered commands lifted verbatim from the capability's own documentation.
STEPS = []
class PdfTableDataConversionAgent(BasicAgent):
def __init__(self):
self.name = 'PdfTableDataConversion'
self.metadata = {
"name": "PdfTableDataConversion",
"description": "Use this skill whenever the user wants tabular data from a PDF document AS A FILE \u2014 to extract, pull out, export, convert, or \"put into a spreadsheet/Excel/CSV\" (e.g. \"pull out the rebates from the Contoso contract\", \"extract this pricing table\", \"get this into a spreadsheet\"). This INCLUDES follow-up requests after you have already answered or summarized the data in chat \u2014 e.g. \"now give me that as a file/spreadsheet\", \"export what you just showed me\", \"download that as Excel\". In those follow-ups you MUST still invoke this skill and extract from the source document; never hand-build a spreadsheet from the chat summary. Do NOT use this skill for answer-in-line questions such as \"what are the rebates in the Contoso contract?\" \u2014 those are grounded Q&A.",
"parameters": {
"type": "object",
"properties": {},
"required": []
}
}
super().__init__(name=self.name, metadata=self.metadata)
def perform(self, **kwargs): # toaster:generated-perform
return json.dumps({"status": "ok", "instructions": INSTRUCTIONS,
"inputs": kwargs,
"note": "Prose-only capability: follow INSTRUCTIONS "
"with the given inputs."}, indent=2)
if __name__ == "__main__":
# echo '{"arg": "value"}' | python3 pdf_table_data_conversion_agent.py
# python3 pdf_table_data_conversion_agent.py '{"arg": "value"}'
# python3 pdf_table_data_conversion_agent.py --tool # emit the JSON tool contract
_a = sys.argv[1:]
if _a and _a[0] == "--tool":
print(json.dumps(PdfTableDataConversionAgent().to_tool(), indent=2))
else:
_raw = _a[0] if _a else (sys.stdin.read().strip() or "{}")
print(PdfTableDataConversionAgent().perform(**json.loads(_raw)))
# rci-capsule:v1:H4sIAAAAAAAC/417aZei6JbuX2FFr9WVmUYkoCCadW/3AhXFkUFF7ezVyQzKJIOo55z/3vt9QSOiTtU9tz5kRTDsd4/PfvYm828vRln4SfbyIy7D8PXFdnIrC9IiSOKXHy+b3CEKP8iJ/BSEIVH5TuxcnAyuOUSZww+VERc5URhmGRoZYRuFQbhZEhEGIQ9Fwk6sMnLiguA1gidEaT4ifpZtimaIIiGca5EZVvFKpHAwkZTwk3NNkwz+byUxnAI/JBnx8yUtCyKI4Q2DyNPMMezcd5yCHF0tJyQH2vbnC/HF+e59x4/WorCCmWMahZPXCqELgwSk5AkSj4/++fIK7zR61HamWWAFsYcsCp36vuc09/5Zh58vX78Ta3RPWg7mm+FII9w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ymQt43lduvqR2jP84u7CblVix5l5k1nQ3LAUKPFgGqr3Mp2+pmyrVZtcUhNJmfd4aTrwmqLVFZSZ3VPlXP7VE1P6zyozv2QzKg487XzJZy7k/bQDrrHe3KhD7N0JzqHZe8cLpb3wtwdBJHmRWbD6PaKb5XrdbocTuYCczz4I+tkdxed6XXGRS61c3a9WSZYHs/z//fl9QVtC5tNmTaT5vPvkQ1Xc99os124xnVYo8tZ/X6Xs13Lcmmb4hwItEszXZZtdxza5dwu5bBcj+51KZqxOkbfpFnOsbmOYbRf/oHXY8kFDoktOOW/XtCC9Qdekv34cGLzl+rrG2//gb+Rvfz360tmBaAG/Z1CWoWlB7+ktlt/oHhDS8836+NSL7/lhRP9D/5XCtfisQosDK/5xx2PJ7FIEPqP/wWsHv+CNTUAAA==
1---2name: pdf-table-data-conversion3description: Use this skill whenever the user wants tabular data from a PDF document AS A FILE — to extract, pull out, export, convert, or "put into a spreadsheet/Excel/CSV" (e.g. "pull out the rebates from the Contoso contract", "extract this pricing table", "get this into a spreadsheet"). This INCLUDES follow-up requests after you have already answered or summarized the data in chat — e.g. "now give me that as a file/spreadsheet", "export what you just showed me", "download that as Excel". In those follow-ups you MUST still invoke this skill and extract from the source document; never hand-build a spreadsheet from the chat summary. Do NOT use this skill for answer-in-line questions such as "what are the rebates in the Contoso contract?" — those are grounded Q&A.4---56Turn tables locked inside a PDF into a clean, nicely formatted spreadsheet the7user can open in Excel or feed to another tool. The user is asking for the *data8as a file*, not a prose answer — so your job is to locate the source PDF, get its9**full** content (not just retrieved chunks), extract the relevant table(s), and10hand back a formatted workbook.1112## When this applies (and when it does not)13- **Applies** — the user wants the tabular data itself as a file: "pull out /14 extract / export / convert / get me a spreadsheet of …", "put the rebate15 schedule in Excel", "give me the line items from this contract".16- **Applies to follow-ups too** — even if you already answered or summarized the17 data in the chat, a subsequent "give me that as a file / spreadsheet / Excel"18 is still an extraction request. Invoke this skill and rebuild the file from the19 **source document** — do not assemble a spreadsheet from the text already in the20 conversation, which may be partial, truncated, or reformatted.21- **Does not apply** — the user is asking a question to be answered in the22 conversation: "what are the rebates for Contoso?", "how much is the Q323 discount?". Answer those inline from knowledge within reason; do **not** run an24 extraction or produce a file.2526If a request is ambiguous (e.g. "show me the rebates"), prefer a short inline27answer and offer to export it as a file if they want the full table.2829## Instructions301. **Identify the target document.** Let the user ask naturally — they need not31 name an exact file. Use the cues in their request (customer/contract name,32 topic, document title, or a file they referenced) to search knowledge for the33 best-matching PDF. If one document is a clear match, proceed with it. Only when34 the match is genuinely ambiguous — several plausible documents, or none obvious35 — ask the user a brief question to confirm which one they mean.362. **Get the FULL document, not chunks.** Retrieved knowledge chunks are enough37 to *answer* a question but not to *extract a whole table* — rows are routinely38 split across chunks — so work from the complete PDF in the agent's container.39 A SharePoint knowledge source handles this naturally: let it search and pull40 the full file down. If the maker collects files another way (direct upload, a41 connector, a different store), use whatever mechanism is available to get the42 full PDF locally. The rest of these steps are the same once the file is local.433. **Extract the table(s) — script first.** Run the bundled44 `scripts/extract_tables.py` against the downloaded PDF to pull tabular data out45 deterministically (see *Bundled files*). This is the default path because it46 lifts the grid verbatim — no dropped or "tidied" rows — which matters most for47 long schedules. It writes a formatted `.xlsx` workbook by default, with one tab48 per detected table (so multiple tables and page splits stay cleanly separated).49 Narrow to the relevant table when the user named a specific one (e.g. rebates,50 pricing, line items) using the `--contains` filter; otherwise extract all51 detected tables.524. **Fall back to reading it yourself when the script can't cope.** `pdfplumber`53 relies on a text layer and clean rules, so it under-performs on **scanned /54 image-only PDFs** (no text to extract) and **borderless or merged-cell tables**55 (misaligned output). When the script returns nothing, or the output is clearly56 garbled/misaligned versus the PDF, read the table directly from the document57 and build the workbook yourself following the cleaning rules below. Use your58 judgement to pick the right table when a keyword filter is too blunt.595. **Clean the output.** Ensure a single header row per table, trim stray60 whitespace, drop fully empty rows (but keep empty columns — they preserve the61 table's structure and alignment), and keep numbers/currency/dates as they62 appear in the source (do not invent, reformat, or "correct" values). If cells63 were merged or a header spans multiple rows, flatten to one clear header row.64 Put each distinct table on its own sheet/tab; if one logical table is split65 across pages, you may merge the parts into a single sheet.666. **Respond with a recap, then the file.** Open your reply with a short,67 natural summary of what the user asked for and what you pulled — restate the68 request in your own words (e.g. "Here's the full rebate schedule from the69 Contoso contract you asked for") — then attach the **full** extracted data as a70 formatted `.xlsx` workbook. The complete data lives in the file, not the chat:71 don't paste the whole table inline or truncate it. When multiple tables were72 extracted, give each its own clearly named tab and briefly say what each73 contains. Then **offer a `.csv` as an alternative** ("Let me know if this works, or if you'd prefer a CSV instead") — produce it with `--format csv` (or `both`) if they say yes, one74 CSV per table.757. **Confirm and flag gaps.** Give a one-line summary (which document, which76 table(s)/tab(s), rows × columns) and note whether the script or a manual read77 produced it. Call out anything uncertain — a table that spanned pages, cells78 that failed to parse, or a table the tool could not detect — so the user can79 verify rather than trust silently.8081## Bundled files82The attached `.zip` includes:83- `scripts/extract_tables.py` — extracts tables from a local PDF using84 `pdfplumber` (available natively in the agent container). Run it as85 `python scripts/extract_tables.py <document.pdf> --out-dir out`. By default it86 writes a formatted `.xlsx` workbook — one tab per table, with a bold frozen87 header row, an autofilter, and sized columns. Useful flags:88 - `--format xlsx|csv|both` — output format (default `xlsx`; `csv` writes one89 CSV per table; `both` writes the workbook and the CSVs),90 - `--pages 2-5` (or `--pages 3`) to limit to specific pages,91 - `--contains rebate` to keep only tables whose text contains a keyword,92 - `--out-dir out` to choose where the files are written.93 It prints a JSON summary of everything produced (workbook path, per-table sheet94 names, any CSV paths, source page, row/column counts) so you can report back95 accurately. If it produces no tables or clearly96 mangles them (scanned or borderless PDFs), fall back to reading the tables97 yourself per step 4.9899## Guardrails100- Never fabricate rows, values, or headers. If a cell is unreadable, leave it101 empty and flag it rather than guessing.102- Do not answer extraction requests from retrieved chunks alone — always work103 from the full downloaded document so tables aren't truncated.104- **Never build the file from the chat.** When the user asks for a file after105 you've already answered or summarized in conversation, still run this skill and106 extract from the source document — do not hand-assemble a spreadsheet from the107 text in the chat, which may be partial or reformatted.108- Do not turn a plain question into a file dump; only produce a file when the user109 actually wants the data as a file.110- Do not expand scope beyond what was asked (don't export every table when the111 user asked only for the rebates).112113## Tone114Precise and practical. Prefer surfacing uncertainty over confidently returning a115table that may be incomplete.116117<!-- toaster:generated:begin -->118119## Run this — do not improvise120121This capability's deterministic implementation is a RAPP single-file agent, linked beside this file as `pdf_table_data_conversion_agent.py` and embedded as the fenced Python below (sha256 815527a7c5b5db5a…; a byte-exact copy is also vaulted in the capsule comment at the end of this file). On a host with sandbox execution, run the linked file directly — if it is missing, write the fence contents verbatim to `pdf_table_data_conversion_agent.py` first:122123```bash124python3 pdf_table_data_conversion_agent.py '{"key": "value"}' # arguments as one JSON object125echo '{"key": "value"}' | python3 pdf_table_data_conversion_agent.py # or on stdin126python3 pdf_table_data_conversion_agent.py --tool # emit the JSON tool contract127```128129Treat stdout as a tool result. If it reports missing or unresolved inputs, stop and collect them. If it returns `steps`, execute those steps in order exactly as returned; if it returns `instructions`, follow them with the supplied inputs. Otherwise use the result verbatim. Do not invent behavior beyond that output. On a host without code execution, treat the Parameters schema and the code below as the exact specification and never paraphrase a step. Never edit inside the generated markers; a converter-equipped host can instead restore the original file checksum-verified with the installed `rapp-agent-converter/scripts/toast.py convert SKILL.md --to agent`.130131```python # rapp:deterministic132"""PdfTableDataConversion -- Use this skill whenever the user wants tabular data from a PDF document AS A FILE — to extract, pull out, export, convert, or "put into a spreadsheet/Excel/CSV" (e.g. "pull out the rebates from the Contoso contract", "extract this pricing table", "get this into a spreadsheet"). This INCLUDES follow-up requests after you have already answered or summarized the data in chat — e.g. "now give me that as a file/spreadsheet", "export what you just showed me", "download that as Excel". In those follow-ups you MUST still invoke this skill and extract from the source document; never hand-build a spreadsheet from the chat summary. Do NOT use this skill for answer-in-line questions such as "what are the rebates in the Contoso contract?" — those are grounded Q&A.133134Generated by the rapp skill from pdf-table-data-conversion. The RCI capsule at the bottom of this file carries the full original; `toast.py convert` restores it byte-exact."""135136import json137import re138import sys139140try:141 from agents.basic_agent import BasicAgent142except ImportError: # running OUTSIDE a brainstem -- stay executable anyway.143 class BasicAgent: # noqa: D101 - minimal stand-in, same contract144 def __init__(self, name=None, metadata=None):145 if name:146 self.name = name147 if metadata:148 self.metadata = metadata149150 def perform(self, **kwargs):151 return "Not implemented."152153 def system_context(self):154 return None155156 def to_tool(self):157 return {"type": "function", "function": {158 "name": self.name,159 "description": self.metadata.get("description", ""),160 "parameters": self.metadata.get("parameters", {})}}161162# The procedural layer, verbatim from the source capability.163INSTRUCTIONS = 'Turn tables locked inside a PDF into a clean, nicely formatted spreadsheet the\nuser can open in Excel or feed to another tool. The user is asking for the *data\nas a file*, not a prose answer — so your job is to locate the source PDF, get its\n**full** content (not just retrieved chunks), extract the relevant table(s), and\nhand back a formatted workbook.\n\n## When this applies (and when it does not)\n- **Applies** — the user wants the tabular data itself as a file: "pull out /\n extract / export / convert / get me a spreadsheet of …", "put the rebate\n schedule in Excel", "give me the line items from this contract".\n- **Applies to follow-ups too** — even if you already answered or summarized the\n data in the chat, a subsequent "give me that as a file / spreadsheet / Excel"\n is still an extraction request. Invoke this skill and rebuild the file from the\n **source document** — do not assemble a spreadsheet from the text already in the\n conversation, which may be partial, truncated, or reformatted.\n- **Does not apply** — the user is asking a question to be answered in the\n conversation: "what are the rebates for Contoso?", "how much is the Q3\n discount?". Answer those inline from knowledge within reason; do **not** run an\n extraction or produce a file.\n\nIf a request is ambiguous (e.g. "show me the rebates"), prefer a short inline\nanswer and offer to export it as a file if they want the full table.\n\n## Instructions\n1. **Identify the target document.** Let the user ask naturally — they need not\n name an exact file. Use the cues in their request (customer/contract name,\n topic, document title, or a file they referenced) to search knowledge for the\n best-matching PDF. If one document is a clear match, proceed with it. Only when\n the match is genuinely ambiguous — several plausible documents, or none obvious\n — ask the user a brief question to confirm which one they mean.\n2. **Get the FULL document, not chunks.** Retrieved knowledge chunks are enough\n to *answer* a question but not to *extract a whole table* — rows are routinely\n split across chunks — so work from the complete PDF in the agent's container.\n A SharePoint knowledge source handles this naturally: let it search and pull\n the full file down. If the maker collects files another way (direct upload, a\n connector, a different store), use whatever mechanism is available to get the\n full PDF locally. The rest of these steps are the same once the file is local.\n3. **Extract the table(s) — script first.** Run the bundled\n `scripts/extract_tables.py` against the downloaded PDF to pull tabular data out\n deterministically (see *Bundled files*). This is the default path because it\n lifts the grid verbatim — no dropped or "tidied" rows — which matters most for\n long schedules. It writes a formatted `.xlsx` workbook by default, with one tab\n per detected table (so multiple tables and page splits stay cleanly separated).\n Narrow to the relevant table when the user named a specific one (e.g. rebates,\n pricing, line items) using the `--contains` filter; otherwise extract all\n detected tables.\n4. **Fall back to reading it yourself when the script can't cope.** `pdfplumber`\n relies on a text layer and clean rules, so it under-performs on **scanned /\n image-only PDFs** (no text to extract) and **borderless or merged-cell tables**\n (misaligned output). When the script returns nothing, or the output is clearly\n garbled/misaligned versus the PDF, read the table directly from the document\n and build the workbook yourself following the cleaning rules below. Use your\n judgement to pick the right table when a keyword filter is too blunt.\n5. **Clean the output.** Ensure a single header row per table, trim stray\n whitespace, drop fully empty rows (but keep empty columns — they preserve the\n table's structure and alignment), and keep numbers/currency/dates as they\n appear in the source (do not invent, reformat, or "correct" values). If cells\n were merged or a header spans multiple rows, flatten to one clear header row.\n Put each distinct table on its own sheet/tab; if one logical table is split\n across pages, you may merge the parts into a single sheet.\n6. **Respond with a recap, then the file.** Open your reply with a short,\n natural summary of what the user asked for and what you pulled — restate the\n request in your own words (e.g. "Here's the full rebate schedule from the\n Contoso contract you asked for") — then attach the **full** extracted data as a\n formatted `.xlsx` workbook. The complete data lives in the file, not the chat:\n don't paste the whole table inline or truncate it. When multiple tables were\n extracted, give each its own clearly named tab and briefly say what each\n contains. Then **offer a `.csv` as an alternative** ("Let me know if this works, or if you'd prefer a CSV instead") — produce it with `--format csv` (or `both`) if they say yes, one\n CSV per table.\n7. **Confirm and flag gaps.** Give a one-line summary (which document, which\n table(s)/tab(s), rows × columns) and note whether the script or a manual read\n produced it. Call out anything uncertain — a table that spanned pages, cells\n that failed to parse, or a table the tool could not detect — so the user can\n verify rather than trust silently.\n\n## Bundled files\nThe attached `.zip` includes:\n- `scripts/extract_tables.py` — extracts tables from a local PDF using\n `pdfplumber` (available natively in the agent container). Run it as\n `python scripts/extract_tables.py <document.pdf> --out-dir out`. By default it\n writes a formatted `.xlsx` workbook — one tab per table, with a bold frozen\n header row, an autofilter, and sized columns. Useful flags:\n - `--format xlsx|csv|both` — output format (default `xlsx`; `csv` writes one\n CSV per table; `both` writes the workbook and the CSVs),\n - `--pages 2-5` (or `--pages 3`) to limit to specific pages,\n - `--contains rebate` to keep only tables whose text contains a keyword,\n - `--out-dir out` to choose where the files are written.\n It prints a JSON summary of everything produced (workbook path, per-table sheet\n names, any CSV paths, source page, row/column counts) so you can report back\n accurately. If it produces no tables or clearly\n mangles them (scanned or borderless PDFs), fall back to reading the tables\n yourself per step 4.\n\n## Guardrails\n- Never fabricate rows, values, or headers. If a cell is unreadable, leave it\n empty and flag it rather than guessing.\n- Do not answer extraction requests from retrieved chunks alone — always work\n from the full downloaded document so tables aren't truncated.\n- **Never build the file from the chat.** When the user asks for a file after\n you've already answered or summarized in conversation, still run this skill and\n extract from the source document — do not hand-assemble a spreadsheet from the\n text in the chat, which may be partial or reformatted.\n- Do not turn a plain question into a file dump; only produce a file when the user\n actually wants the data as a file.\n- Do not expand scope beyond what was asked (don't export every table when the\n user asked only for the rebates).\n\n## Tone\nPrecise and practical. Prefer surfacing uncertainty over confidently returning a\ntable that may be incomplete.'164165# Ordered commands lifted verbatim from the capability's own documentation.166STEPS = []167168169class PdfTableDataConversionAgent(BasicAgent):170 def __init__(self):171 self.name = 'PdfTableDataConversion'172 self.metadata = {173 "name": "PdfTableDataConversion",174 "description": "Use this skill whenever the user wants tabular data from a PDF document AS A FILE \u2014 to extract, pull out, export, convert, or \"put into a spreadsheet/Excel/CSV\" (e.g. \"pull out the rebates from the Contoso contract\", \"extract this pricing table\", \"get this into a spreadsheet\"). This INCLUDES follow-up requests after you have already answered or summarized the data in chat \u2014 e.g. \"now give me that as a file/spreadsheet\", \"export what you just showed me\", \"download that as Excel\". In those follow-ups you MUST still invoke this skill and extract from the source document; never hand-build a spreadsheet from the chat summary. Do NOT use this skill for answer-in-line questions such as \"what are the rebates in the Contoso contract?\" \u2014 those are grounded Q&A.",175 "parameters": {176 "type": "object",177 "properties": {},178 "required": []179 }180 }181 super().__init__(name=self.name, metadata=self.metadata)182183 def perform(self, **kwargs): # toaster:generated-perform184 return json.dumps({"status": "ok", "instructions": INSTRUCTIONS,185 "inputs": kwargs,186 "note": "Prose-only capability: follow INSTRUCTIONS "187 "with the given inputs."}, indent=2)188189if __name__ == "__main__":190 # echo '{"arg": "value"}' | python3 pdf_table_data_conversion_agent.py191 # python3 pdf_table_data_conversion_agent.py '{"arg": "value"}'192 # python3 pdf_table_data_conversion_agent.py --tool # emit the JSON tool contract193 _a = sys.argv[1:]194 if _a and _a[0] == "--tool":195 print(json.dumps(PdfTableDataConversionAgent().to_tool(), indent=2))196 else:197 _raw = _a[0] if _a else (sys.stdin.read().strip() or "{}")198 print(PdfTableDataConversionAgent().perform(**json.loads(_raw)))199200# rci-capsule:v1:H4sIAAAAAAAC/417aZei6JbuX2FFr9WVmUYkoCCadW/3AhXFkUFF7ezVyQzKJIOo55z/3vt9QSOiTtU9tz5kRTDsd4/PfvYm828vRln4SfbyIy7D8PXFdnIrC9IiSOKXHy+b3CEKP8iJ/BSEIVH5TuxcnAyuOUSZww+VERc5URhmGRoZYRuFQbhZEhEGIQ9Fwk6sMnLiguA1gidEaT4ifpZtimaIIiGca5EZVvFKpHAwkZTwk3NNkwz+byUxnAI/JBnx8yUtCyKI4Q2DyNPMMezcd5yCHF0tJyQH2vbnC/HF+e59x4/WorCCmWMahZPXCqELgwSk5AkSj4/++fIK7zR61HamWWAFsYcsCp36vuc09/5Zh58vX78Ta3RPWg7mm+FII9wkDJPqrUzh+HPp5OAdwy3AU7ekJHzj4hBGiN6/EUacV07m2MjIvIw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