blackbelttechnology/pi-agent-dashboard/doc-summarizer
Claude Code and agent skill by blackbelttechnology/pi-agent-dashboard
- community
Checking that the SKILL.md file is still in the repository.
Summarize documents of any size: extract with the document-converter engine, chunk to fit context, fan out to subagents, then synthesize one unified summary. Handles PDF, DOCX, PPTX, XLSX, HTML, CSV, TXT, MD. Triggers: "summarize this document", "what''s in this PDF", "give me a summary of these files", "extract key points from", "condense this document", "TL;DR of this file".
Install
npx vskill@latest install blackbelttechnology/pi-agent-dashboard/doc-summarizerSKILL.md
The same SKILL.md was published earlier as blackbelttechnology/pi-agent-dashboard/doc-summarizer.
Document Summarizer
Summarize documents of any size. Extraction goes through the document-converter engine facade (dc.convertToMarkdown) — the same Docker-quarantined engine the document-converter skill uses. There are NO host-side extractor scripts here; the facade is the only extraction surface. Chunking and synthesis are agent work.
Prerequisites
- The
document-converterpackage built and runnable: Docker available, image
built (cd packages/document-converter && npm run build:image). See the document-converter SKILL for the full facade contract.
- Nothing else. No
pdftotext/pandoc/Python on the host — the engine owns all
format handling inside Docker.
Step 1 — Extract to Markdown via the engine
Call the facade; never invoke Python, docling, or pdftotext directly.
The result is a provenance-stamped .md in stagingDir. Read that file to get the document text. On failure the call rejects with DocConverterError (.code, .stderr) — surface UNSUPPORTED_FORMAT, PATH_NOT_ALLOWED, OCR_LANG_UNSUPPORTED, INGEST_FAILED, DOCKER_UNAVAILABLE rather than retrying blindly.
Step 2 — Decide direct vs. chunked
Measure the extracted Markdown:
- < ~8,000 words (~10k tokens): summarize directly in the current context
(Step 3a).
- >= ~8,000 words: chunk and fan out (Step 3b).
Step 3a — Direct summarization (small documents)
Read the extracted .md and produce a summary using the output format below: title/subject, key points, entities, document type, language.
Step 3b — Chunked summarization (large documents)
- Chunk. Split the extracted Markdown into context-friendly pieces
(~3,000–4,000 tokens each). Prefer natural boundaries — headings, sections, page markers in the engine output — over blind character cuts. No script needed; split with judgment.
- Fan out. For each chunk launch a subagent (
Agenttool,
subagent_type: "general-purpose"), up to ~3–4 concurrent:
``` Summarize this text chunk (chunk {i}/{total} of document '{filename}'). Extract: key points, entities (people/orgs/dates/amounts), topics, and any conclusions or action items. Output as structured markdown.
Text: {chunk_text} ```
- Merge. Collect chunk summaries, deduplicate entities and key points, and
produce one unified summary in the output format. If the merged result is still > ~8,000 words, run one more summarization pass on it.
Batch summarization
For a directory or glob: extract each file via dc.convertToMarkdown (run a few in parallel), then apply the single-document workflow per file. Emit a table:
Summary output format
Special cases
- Scanned PDF, no text: the engine returns little/empty text on
mode: auto.
Re-run with ocr: { mode: "force", lang: [...] } (canonical language names).
- Encrypted / unsupported / empty: surface the
DocConverterError.codeand
.stderr; report metadata only.
- Mixed-language: report the primary language, note others present.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/document-converter/.pi/skills/doc-summarizer/SKILL.md
Popularity
- Repository stars
- 313
- Repository forks
- 47
- 7-day trend score
- 34
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/blackbelttechnology/pi-agent-dashboard/doc-summarizer)