/caveman:caveman-condense-filefrom caveman
Compress local files via caveman-mcp — PDF/slides/spreadsheet/audio/text handlers. Use instead of Read when file too large or only gist matters. 以caveman壓縮本地文件。 Use when: ingest large PDF, summarize slide deck, scan spreadsheet, transcribe audio, condense long doc, prep file for downstream synthesis
Ships in caveman. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
壓縮本地文件路徑。對PDF/PPT/XLSX/音頻/文本有專用處理;圖像見condense-image技能(同工具,分技能列因用法不同)。
Use caveman condense_file | Use built-in Read |
|---|---|
| PDF(特別是>10頁) | 短文本、代碼文件 |
| 簡報PPT/PPTX | 需精確行號定位 |
| 大型表格XLSX/CSV要點 | 需完整單元格數據 |
| 音頻轉錄 | (Read不能) |
| 將存memory或引用 | 即用即棄、需逐字 |
代碼文件(.py, .js, .go等)一律用Read——caveman為散文設計,會破壞代碼。
tool: mcp__plugin_slop-mcp_slop-mcp__execute_tool
params:
mcp_name: "caveman"
tool_name: "condense_file"
parameters:
path: "<absolute-or-relative-path>"
直接安裝模式:mcp__plugin_caveman_caveman__condense_file
| Extension | Handler | Returns |
|---|---|---|
.pdf | PDF text extract + 章節壓縮 | 章節標題+要點 |
.pptx, .ppt | 幻燈頁文本提取 | 每頁標題+要點 |
.xlsx, .xls, .csv | 表格→結構摘要 | 標題行+樣本+統計 |
.mp3, .wav, .m4a, .flac | 語音轉錄 | 含時間戳轉錄壓縮 |
.txt, .md, .rst | 文本兩階段壓縮 | 文言壓縮 |
| 其他 | 嘗試文本提取 | 同上或失敗 |
圖像(png/jpg/webp)見condense-image技能。
tool_name: condense_file
parameters:
path: "/home/beagle/Downloads/transformer-paper.pdf"
tool_name: condense_file
parameters:
path: "./docs/q4-roadmap.pptx"
tool_name: condense_file
parameters:
path: "./data/users-export.xlsx"
tool_name: condense_file
parameters:
path: "./recordings/standup-2026-04-30.mp3"
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub standardbeagle/standardbeagle-tools --plugin caveman9 skills in this plugin
/caveman-condense-gitCompress git diffs, logs, blame output, and GitHub PR URLs via caveman-mcp. Use for PR review, change summarization, blame archaeology when raw diff exceeds context budget. 以caveman壓縮git diff/log/blame及GitHub PR URL. Use when: review large PR, summarize branch diff, archaeology git blame, ingest PR for memory, prep diff for downstream review agent/caveman-condense-imageExtract description, OCR text, structural summary from images via caveman-mcp condense_file. For screenshots/diagrams/charts/photos when token budget rules out raw image. 以caveman提取圖像描述/OCR/結構。 Use when: ingest screenshot, summarize diagram, extract chart data, photo OCR, archive image as text, prep image for text-only synthesis/caveman-Other plugins' skills for the same job