phuetz/code-buddy/doc-ingest
Claude Code and agent skill by phuetz/code-buddy
- community
Checking that the SKILL.md file is still in the repository.
Read existing documents (PDF, Word, PowerPoint, Excel, HTML) and convert them into clean Markdown/plain text the agent can reason over: extract text, ingest a file, summarize a document. Use whenever the user wants to READ, extract, ingest, transcribe, or summarize the contents of an existing file (not create one).
Install
npx vskill@latest install phuetz/code-buddy/doc-ingestSKILL.md
Ingest existing documents into Markdown / text
Turn a document the user already has (PDF, Word, PowerPoint, Excel, HTML) into clean Markdown or plain text so you can quote, summarize, or transform it. This is the read counterpart to the create skills (xlsx/docx/pptx/pdf).
Work one visible step at a time and verify before reporting.
Two backends — prefer the lean one
- Lean (always available, no extra install): the bundled libraries
pypdf, python-docx, python-pptx, openpyxl read the common Office/PDF formats with python3 -c "import pypdf, docx, pptx, openpyxl". Use this path by default.
- Rich (optional, `prepare:python:extras`):
markitdownadds HTML, images
(OCR), EPUB, ZIP and more, and emits tidy Markdown directly. Only reach for it when the lean path can't read the format.
Workflow (one step at a time)
- Identify the file and its type (extension).
- Extract: run a short Python script (heredoc via the
bashtool) that
reads the file with the matching library and prints — or writes — Markdown/text.
- Verify: assert the output is non-empty (e.g.
assert len(text) > 0) and
print a length + first lines so the extraction is visibly correct.
- Report: the extracted text (or the saved
.mdpath) and a one-line summary.
Lean extraction (covers PDF / Word / PowerPoint / Excel)
Rich backend (markitdown — optional)
Notes
- Never invent content — only report what the extractor returned.
- For large files, summarize after extraction rather than dumping everything.
- To then produce a new document from what you read, hand off to the
xlsx/docx/pptx/pdf create skills.
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 repositoryCheckingcowork/.claude/skills/doc-ingest/SKILL.md
Popularity
- Repository stars
- 48
- Repository forks
- 12
- 7-day trend score
- 0
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/phuetz/code-buddy/doc-ingest)