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 BlackBeltTechnology/pi-agent-dashboard --skill craft-doc-publishgit clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboardWrote 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/blackbelttechnology/pi-agent-dashboard/craft-doc-publish)<a href="https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/craft-doc-publish"><img src="https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/craft-doc-publish/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/craft-doc-publish"><img src="https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/craft-doc-publish.svg" alt="Reviewed on agentmods" width="80" 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.00084 | $0.03893 |
| Opus 5.5 | $0.00034 | $0.01557 |
| Sonnet 5.5 | $0.00017 | $0.00779 |
| Haiku 4.5 | $0.00008 | $0.00389 |
Grade B, and why
craft-doc-publish scanned grade B with 1 finding 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 1mo 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
S=$(mktemp); chmod 600 "$S" How it starts
The opening of the file, as written. The whole thing — 206 lines — stays where its author put it; the contents beside it link to each section on GitHub.
craft-doc-publish — Markdown + template → DOCX + PDF (→ packaged PDF)
The default Markdown → templated DOCX/PDF path. pi-craft doc prepare fills the template's placeholders (frontmatter,
--var, template defaults, system variables) and prepares the body; WordCraft then only appends the body, builds the TOC and
exports; PdfCraft packages the result. No Docker, no pandoc. Read wordcraft (and pdfcraft for step 3) first. Resumable-job
rules are in the craft-studio router, section Craft jobs. Ingest/OCR of existing documents, round-trip editing
(extract → edit → merge back), PlantUML and table-width profiles stay with document-converter.
Step table
| # | Step | Tool | Input → Output | Gate |
|---|---|---|---|---|
| 0 | Preflight + job | agent | request → job.json |
check: job |
| 1 | Prepare | pi-craft doc prepare |
report.md + template → 01-prepare/ (template.filled.docx, body.md, prepare.json) |
check: prepare (+ user confirms defaults) |
| 2 | Render | WordCraft | filled template + body → 02-render/out.docx, out.pdf |
pi-craft verify --pages --text-contains |
| 3 | Package (optional) | PdfCraft | pdf (+ extra pdfs) → 03-package/final.pdf |
pi-craft verify (before protecting) |
Hand-off formats: filled docx + Markdown body between 1 and 2, pdf out (the docx is verified through its pdf). The
template is a doc-engine template directory <templates-dir>/<name>/template.docx (+ variables.xml, manifest.xml).
Passwords and API keys are never written to job.json, gate reports or step files.
Step 0 — Preflight and job
Output: craft-jobs/<slug>/job.json (created or loaded).
Gate: check: job.
| Sibling | Package | Check | If missing |
|---|---|---|---|
document-converter |
@blackbelt-technology/pi-dashboard-document-converter |
skill in the loaded skill list | not needed here: only for ingest/OCR, round-trip editing and PlantUML — route those requests to it, continue otherwise |
mmdc |
@mermaid-js/mermaid-cli |
command -v mmdc (it needs a Chromium; if it cannot find one set PUPPETEER_EXECUTABLE_PATH) |
diagrams stay code blocks; step 1's gate asks you to install it or accept code-block diagrams |
pi-nano-banana |
already a dependency of craft-apps | usable credentials, only when the frontmatter sets nano_banana.enabled: true |
no credentials: diagrams render with mmdc (the fallback runs anyway) |
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.
- 1mo ago First seen · 206 lines · 84 tokens per session scan B cea204f4c403
craft-doc-publish is a skill published in the GitHub repository BlackBeltTechnology/pi-agent-dashboard (357 stars, last pushed today), licensed MIT. It adds 84 tokens to every session and 3,893 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-18.
craft-doc-publish compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| craft-doc-publishBlackBeltTechnology/pi-agent-dashboard | Skill | 357 | today | MIT | B | 84 | Claude Code, Codex |
| pdf-processorlofcz/LLMTornado | Skill | 656 | 9d ago | MIT | A | 39 | Claude Code, Codex |
| document-processorvixues/LeAgent | Skill | 248 | 3mo ago | Apache-2.0 | A | 44 | Claude Code |
| akihtmlreportlacvietanh/akidevrule | Skill | 12 | 1mo ago | MIT | A | 70 | Claude Code, Codex |
| OCR and Documentsagentic-in/elephant-agent | Skill | 586 | 3mo ago | none | A | 21 | Claude Code, Codex |
| Nano PDFagentic-in/elephant-agent | Skill | 586 | 3mo ago | none | A | 23 | Claude Code, Codex |
| agency-document-generatorBlackPearl-AI/BlackPearl-CodingAgent | Skill | 10 | 3mo ago | none | A | 37 | Claude Code, Codex |