{"slug":"deckprobe","title":"deckprobe","summary":"Inspect PDF, Microsoft Office (docx/xlsx/pptx and legacy doc/xls/ppt), and Apple iWork (key/numbers/pages) files without opening or rendering them. Use for page and slide and sheet counts, title/author/created metadata, encryption and macro and digital-signature and JavaScript ri","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-09-22T13:25:21.259683Z","repo":{"url":"https://github.com/deckflow/deckprobe","stars":117,"forks":10,"license":"Apache-2.0","updatedAt":"2026-09-22T07:48:59Z"},"bodyHtml":"<hr>\n<h2>name: deckprobe\ndescription: &gt;-\nInspect PDF, Microsoft Office (docx/xlsx/pptx and legacy doc/xls/ppt), and Apple iWork\n(key/numbers/pages) files without opening or rendering them. Use for page and slide and sheet\ncounts, title/author/created metadata, encryption and macro and digital-signature and JavaScript\nrisk signals, sheet and table structure, embedded assets and fonts, corruption checks, and\nverifying a file really is the format its extension claims. Also use to inventory many documents\nat once. Returns bounded, deterministic JSON on stdout. Never renders, never runs macros, never\nfollows external references, never sends the file anywhere.\nlicense: Apache-2.0\ncompatibility: &gt;-\nNeeds the deckprobe CLI on PATH, or Node.js with network access to run it through npx. Needs a\nshell tool and local read access to the file. Probing itself needs no network.\nallowed-tools: Bash(deckprobe:*)\nmetadata:\ntool: deckprobe\nhomepage: <a href=\"https://github.com/deckflow/deckprobe\">https://github.com/deckflow/deckprobe</a>\ndeckprobe-skill-format: \"1\"</h2>\n<h1>DeckProbe</h1>\n<p><code>ffprobe</code> for documents. One shell command answers a specific question about a PDF, Office, or iWork\nfile; the answer comes back as JSON on stdout and the exit status carries the verdict.</p>\n<p>Reach for it when a task needs facts <strong>about</strong> a document — how many slides, is it encrypted, does it\nhave macros, is it corrupt, is this really a <code>.pptx</code> — rather than the text inside it. It is safe on\nuntrusted input: nothing is rendered, no macro runs, no external reference is followed.</p>\n<h2>1. Make sure it runs</h2>\n<p><code>npx skills add</code> installs this document only, not the binary. Check first:</p>\n<pre><code>deckprobe --version\n</code></pre>\n<ul>\n<li>Prints a version → use <code>deckprobe</code> as written throughout this document.</li>\n<li>Command not found, but <code>node</code> exists → <strong>the command is <code>npx -y @deckflow/deckprobe</code></strong>. Prefix every\nexample below with it. First run downloads the package; later runs are cached.</li>\n<li>Neither → ask the user to install one of:\n<ul>\n<li><code>curl --proto '=https' --tlsv1.2 -LsSf https://github.com/deckflow/deckprobe/releases/latest/download/deckprobe-installer.sh | sh</code></li>\n<li><code>npm install -g @deckflow/deckprobe</code></li>\n<li><code>cargo install --git https://github.com/deckflow/deckprobe --locked deckprobe</code></li>\n</ul>\n</li>\n</ul>\n<p>If you cannot get it running, say so and stop. Do <strong>not</strong> fall back to unzipping the package, grepping\nXML, or parsing PDF bytes by hand — avoiding exactly that is the point of this tool.</p>\n<h2>2. The shape of every call</h2>\n<pre><code>deckprobe [-t TARGETS] [-l LEVEL] [-c CONFIDENCE] [--view values] [--pretty] FILE\n</code></pre>\n<p>Start here when you do not yet know what you need:</p>\n<pre><code>deckprobe -t @summary --view values --pretty report.pdf\n</code></pre>\n<p><code>--view values</code> returns a compact <code>target -&gt; value</code> map. Drop it when you also need each value's\nconfidence, the path that produced it, and the measured cost.</p>\n<p><strong>Check the exit status before parsing stdout.</strong> A non-zero status still writes valid JSON, but it is\nan error envelope, not a report.</p>\n<h2>3. Choosing targets</h2>\n<p><code>-t</code> accepts short names (<code>slide_count</code>), canonical names (<code>powerpoint.slide_count</code>), and selector\npresets. It is repeatable and comma-separated: <code>-t @header,title,page_count</code>.</p>\n<table>\n<thead>\n<tr>\n<th>Selector</th>\n<th>Expands to</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>@header</code></td>\n<td>Container identity only — format, size, extension match, encryption flag</td>\n</tr>\n<tr>\n<td><code>@default</code></td>\n<td>The driver's defaults for the active level. Used when <code>-t</code> is omitted</td>\n</tr>\n<tr>\n<td><code>@summary</code></td>\n<td>Identity, common metadata, and primary structure</td>\n</tr>\n<tr>\n<td><code>@security</code></td>\n<td>Encryption, macros, signatures, external references, active content</td>\n</tr>\n<tr>\n<td><code>@structure</code></td>\n<td>Format-owned counts, names, and dimensions</td>\n</tr>\n<tr>\n<td><code>@assets</code></td>\n<td>Images, media, previews, fonts, embedded objects</td>\n</tr>\n<tr>\n<td><code>@quality</code></td>\n<td>Integrity, repair, extension match, conformance</td>\n</tr>\n<tr>\n<td><code>@format</code></td>\n<td>Every format-specific target at the active level</td>\n</tr>\n<tr>\n<td><code>@all</code></td>\n<td>Everything available at the active level</td>\n</tr>\n</tbody>\n</table>\n<p><code>@summary</code> deliberately omits a statistic the current driver can only get from a full-file read. PDF\npage count is the notable case — ask for <code>page_count</code> or <code>@structure</code> explicitly.</p>\n<p><strong>Never guess a target name.</strong> The tool documents itself:</p>\n<pre><code>deckprobe targets --format pptx --pretty   # ids, aliases, min level, value type, cost class\ndeckprobe formats --pretty                 # drivers, profiles, support boundaries\ndeckprobe schema --pretty                  # the authoritative report JSON Schema\n</code></pre>\n<p><code>references/targets.md</code> has the full catalogue per format if you would rather read than run.</p>\n<h2>4. Probe level and confidence</h2>\n<p><code>-l</code> / <code>--level</code> picks the budget and which paths are eligible. Accepts <code>h</code>/<code>m</code>/<code>d</code> too.</p>\n<table>\n<thead>\n<tr>\n<th>Level</th>\n<th>Use it for</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>header</code></td>\n<td>Identity and container properties. ~500 ms budget</td>\n</tr>\n<tr>\n<td><code>metadata</code></td>\n<td><strong>Default.</strong> Bounded metadata and common structural counts. ~500 ms</td>\n</tr>\n<tr>\n<td><code>deep</code></td>\n<td>Higher-cost paths. ~5 s — only when a target's <code>min_level</code> says <code>deep</code></td>\n</tr>\n</tbody>\n</table>\n<p><code>-c</code> / <code>--confidence</code> filters eligible paths: <code>low</code> &lt; <code>medium</code> &lt; <code>high</code> (default) &lt; <code>exact</code>. Lower it\nwhen a target comes back unresolved and an approximate answer is acceptable; raise it with\n<code>-C target=exact</code> for a single target that must be authoritative.</p>\n<h2>5. Reading the report</h2>\n<pre><code>{\n  \"schema_version\": 2,\n  \"status\": \"ok\",              // \"ok\" | \"partial\" | \"error\"\n  \"input\":  { \"display_name\": \"deck.pptx\", \"source_kind\": \"local_file\" },\n  \"driver\": { \"id\": \"powerpoint\", \"profile\": \"pptx\" },\n  \"results\": {\n    \"powerpoint.slide_count\": {\n      \"status\": \"resolved\",     // see the eight values below\n      \"value\": 31,\n      \"confidence\": \"high\",     // none | low | medium | high | exact\n      \"path\": \"powerpoint.app_statistics\",\n      \"source\": \"docProps/app.xml saved statistic\"\n    }\n  },\n  \"execution\": { \"unresolved_targets\": [], \"actual_cost\": { } },\n  \"diagnostics\": []\n}\n</code></pre>\n<p>A result's <code>status</code> is one of <code>resolved</code>, <code>estimated</code>, <code>planned</code>, <code>unknown</code>, <code>unsupported</code>, <code>invalid</code>,\n<code>budget_exceeded</code>, <code>failed</code>. Only <code>resolved</code> and <code>estimated</code> carry a <code>value</code>. <code>unknown</code> is the common\none: the path ran and the document simply does not record that fact.</p>\n<ul>\n<li>The report's own <code>status</code> is <code>ok</code> or <code>partial</code>. <code>partial</code> is <strong>not</strong> a failure — at least one\nrequested target could not be resolved at the requested confidence, and the rest are still valid.\nCheck <code>execution.unresolved_targets</code>.</li>\n<li>Add <code>--strict</code> when an unresolved target must fail the command. The full report is still written,\nand the exit status becomes <code>5</code>.</li>\n<li><code>results</code> is keyed by the canonical target name even when you asked with a short alias.</li>\n</ul>\n<h2>6. Exit status — and what to do about it</h2>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: right\">Status</th>\n<th>Meaning</th>\n<th>Your next move</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td style=\"text-align: right\"><code>0</code></td>\n<td>Success</td>\n<td>Parse stdout. Unresolved targets are allowed unless <code>--strict</code></td>\n</tr>\n<tr>\n<td style=\"text-align: right\"><code>1</code></td>\n<td>Invalid request or unsupported target</td>\n<td>You named a target this format has no path for. Run <code>deckprobe targets --format &lt;fmt&gt;</code></td>\n</tr>\n<tr>\n<td style=\"text-align: right\"><code>2</code></td>\n<td>CLI syntax error, or the file is missing/unreadable</td>\n<td>Fix the flags or the path</td>\n</tr>\n<tr>\n<td style=\"text-align: right\"><code>3</code></td>\n<td>Unsupported or unrecognized format</td>\n<td>Check the extension against <code>deckprobe formats</code></td>\n</tr>\n<tr>\n<td style=\"text-align: right\"><code>4</code></td>\n<td>Malformed input or budget exceeded</td>\n<td>Genuinely damaged file, or raise <code>-b</code>/<code>-x</code>/<code>-e</code>/<code>-T</code>. See <code>references/limits.md</code></td>\n</tr>\n<tr>\n<td style=\"text-align: right\"><code>5</code></td>\n<td><code>--strict</code> and a target was unresolved</td>\n<td>The report is on stdout; decide whether the missing target matters</td>\n</tr>\n<tr>\n<td style=\"text-align: right\"><code>6</code></td>\n<td>Internal failure</td>\n<td>A bug. Report it</td>\n</tr>\n</tbody>\n</table>\n<h2>7. Many files at once</h2>\n<pre><code>printf '%s\\n' '{\"path\":\"a.pdf\"}' '{\"path\":\"b.pptx\"}' | deckprobe --jsonl -t @summary\n</code></pre>\n<p>One compact JSON per non-empty input line. A per-record error does not stop the run; the process\nexits with the highest per-record status. Each record is a JSON string path, <code>{\"path\":\"...\"}</code>, or\n<code>{\"name\":\"report.pdf\",\"data_base64\":\"...\"}</code>. Add an <code>id</code> to an object record when the caller\nneeds stable attribution; JSONL error envelopes echo that <code>id</code> and the original <code>path</code> under\n<code>input</code>.</p>\n<p>For bytes on stdin, <code>-n</code> supplies the logical filename that selects the format:</p>\n<pre><code>curl -sL \"$url\" | deckprobe -n download.pdf -t @security -\n</code></pre>\n<h2>8. What DeckProbe will not do</h2>\n<p>It has no renderer, no OCR, no text extraction, and no macro interpreter. It never opens a network\nconnection and never resolves an external reference. Legacy XML iWork packages are rejected by\ndesign — only modern IWA is supported. <code>.xlsb</code> is identity-only. PDF XMP is not merged into the\nmetadata targets.</p>\n<p>Routing is by filename extension, then verified against the container. Renaming a <code>.pptx</code> to <code>.docx</code>\nreturns <code>MALFORMED_INPUT</code>, and <code>-f</code>/<code>--input-format</code> is an assertion, not an override — it cannot\nforce an unrelated parser onto a file.</p>\n<p>Never parse stderr. Every result, including every error, is one JSON value on stdout.</p>\n<h2>References</h2>\n<p>Read these only when you need them:</p>\n<ul>\n<li><strong><code>references/targets.md</code></strong> — the full target catalogue per format, with aliases and minimum\nlevels. Read before naming a target you have not verified.</li>\n<li><strong><code>references/recipes.md</code></strong> — task → command lookup for the common questions.</li>\n<li><strong><code>references/output.md</code></strong> — the complete report shape, error codes, and cost accounting, for when\nyou are consuming the JSON programmatically.</li>\n<li><strong><code>references/limits.md</code></strong> — budgets, the <code>-b</code>/<code>-x</code>/<code>-e</code>/<code>-T</code> overrides, <code>-O</code> format options, and\nhow to diagnose an exit <code>4</code>.</li>\n</ul>\n","files":[{"path":"LICENSE","sizeBytes":11358,"isText":false},{"path":"NOTICE","sizeBytes":51,"isText":false},{"path":"references/limits.md","sizeBytes":3570,"isText":true},{"path":"references/output.md","sizeBytes":4502,"isText":true},{"path":"references/recipes.md","sizeBytes":4748,"isText":true},{"path":"references/targets.md","sizeBytes":7601,"isText":true},{"path":"SKILL.md","sizeBytes":9226,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-09-22T13:25:26.272279Z","sha256":"893FF9B023BE007BDD2EC41AA7C248933E9F2313A2983B50C117103F62C66D12","sizeBytes":18008},"review":null,"source":{"repositoryUrl":"https://github.com/deckflow/deckprobe","path":"skills/deckprobe","license":"Apache-2.0","commit":"2e5d064c006ec48509091e02575e377ecf627219","subtreeSha":"D58A450A6CCACC4D29184AABD4780D009BF365D5B4A72FC2311FC222B1FD9966","lastSyncedAt":"2026-09-22T13:25:21.207437Z"},"reviewedAt":"2026-09-22T13:25:30.00431Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/deckflow/deckprobe/tree/main/skills/deckprobe"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install deckflow-deckprobe@llmmart"},{"target":"git","command":"git clone https://github.com/deckflow/deckprobe.git"}]}