/cursor-kit:digest-filesfrom cursor-kit
Convert documents and binary files to Markdown with Microsoft MarkItDown (PDF, DOCX, PPTX, XLSX, HTML, images, audio, epub, zip, YouTube URLs). Use whenever the user asks to digir / digest / converter arquivo para md, markitdown, extrair texto de PDF/slides/Word/Excel, or needs LLM-ready Markdown from office/binary files — even if they do not say "digest-files". Prefer this over ad-hoc pdftotext or manual copy-paste.
Ships in cursor-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Turn files into Markdown for agents and RAG using MarkItDown (pip install 'markitdown[all]').
Portuguese OK in chat. Paths, commands, and output filenames stay in English unless the project is PT-first.
test -f.basename.md (e.g. aula01.pdf → aula01.md)./digest/ next to the sources (create if missing).md already exists and is non-empty, ask before overwrite (idempotent: skip if content identical; check with cmp).Resolve the CLI in this order (do not use the ancient system python3 on macOS CLT — it may pull a broken 0.0.1a1); verify the result with markitdown --version:
$MARKITDOWN if set; confirm with test -x "$MARKITDOWN"command -v markitdown; expect a path# Prefer Homebrew or an existing project venv
python3.12 -m pip install -U 'markitdown[all]' # or: uv pip install ...
# Verify:
markitdown --version # expect 0.1.x+, not 0.0.1a1
Need only a subset of formats: pip install 'markitdown[pdf,docx,pptx,xlsx]'.
Python 3.10+ required.
CLI (preferred):
markitdown "/ABS/OR/REL/path-to-file.pdf" -o "/path/to/output.md"
Stdout redirect also works:
markitdown "/path/to/file.pdf" > "/path/to/output.md"
Batch: use the kit script when present:
bash "$(dirname "$0")/scripts/digest.sh" /path/to/file_or_dir [--out DIR]
# or from cursor-kit:
# bash ~/Projects/estack/skills/digest-files/scripts/digest.sh ./Modulos --out ./digest
Python API (when you need programmatic control):
from markitdown import MarkItDown
md = MarkItDown(enable_plugins=False)
result = md.convert("report.pdf")
Path("report.md").write_text(result.markdown, encoding="utf-8")
Prefer convert_local() for local-only paths when using the API in untrusted contexts.
Check: the output .md exists (test -s).
.md exists and size > 0.wc -lc), first heading if any.grep -n.PROJECT.md or course notes only if the user asked to record digests; check the note landed with git diff.## Digest complete
- Source: …
- Output: …
- Tool: markitdown …
- Notes: (OCR skipped / empty extract / overwrite skipped / …)
Check: every line above is filled in from the run, none guessed.
markitdown: command not found → install it (step 1) and rerun markitdown --version..md is empty → report the error, install the right extra ([pdf], etc.), rerun the convert.PDF, PowerPoint, Word, Excel, images (EXIF + OCR deps), audio (transcription extras), HTML, CSV/JSON/XML, ZIP (walks contents), EPub, YouTube URLs (extra), and more.
Azure Document Intelligence / Content Understanding flags exist (-d, --use-cu) but are out of default scope unless the user provides endpoints and asks.
[pdf], etc.).User: "digere o Modulo03.pdf pra md"
→ markitdown Modulos/Modulo03.pdf -o Modulos/Modulo03.md (or digest/Modulo03.md if they prefer a digest folder)
User: "converte todos os pptx da pasta Slides"
→ batch into ./digest/ via scripts/digest.sh
User: "/digest-files" with an attachment path
→ same pipeline; ask only if output path is ambiguous
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bossmann007/estack --plugin cursor-kit38 skills in this plugin
/4dGuided 4D questions (Delegation, Description, Discernment, Diligence) that train the user, one card at a time, to plan how they work with AI. Use at a project start (before a spec) or after a grilling/brainstorm round, or on "/4d", "4D", "AI fluency". Not for every task: skip small edits and routine work.
/ai-memory-curateCurate the ai-memory wiki from inside a Claude Code session, with no API key and no external LLM: read recent session observations and write distilled rules, decisions, gotchas and profile habits. Use when the user says "curar a memória", "curate memory", "consolidar ai-memory", or after a stretch of work when ai-memory has no LLM provider configured.
/apresentacao-animadaMotion graphics em HTML para MP4. Entrega - apresentação acadêmica (notas, folhas, roteiro, voz do aluno). Redes - vídeo vertical curto, só legenda, música NCS opcional. Use em "monta a apresentação", "apresentação animada", "motion graphics", "vídeo da entrega", "roteiro do vídeo", "folhas para apresentar", "vídeo para as redes", "vídeo para postar", "motion da extensão", "prompt de vídeo", "storyboard", "vídeo de terminal", ou se um enunciado exigir vídeo/demonstração. NÃO use para vídeo em React (remotion-best-practices), editar mídia existente (ffmpeg-skill) ou 3D (blender-*).Other plugins' skills for the same job