/caveman:caveman-setup-cavemanfrom caveman
"Set up caveman-mcp server with SLOP management for context compression. 以SLOP管理配置caveman-mcp服務器以行上下文壓縮. Use when: install caveman, setup context compression, configure caveman-mcp, first time caveman setup, register condense tools"
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.
此命令為Claude Code配置caveman-mcp服務器。caveman壓縮URL、文件、圖像、PDF、git artifact、日誌、原始文本,省token於研究、代碼審查、日誌分流。
依下列步驟設置caveman-mcp。
caveman-mcp無需API令牌。僅需npx(Node.js 18+)。
驗證node可用:
node --version # 應 >= 18
npx --version
首選SLOP-MCP:
調用以下命令檢查slop-mcp是否可用:
mcp__plugin_slop-mcp_slop-mcp__get_metadata
若slop-mcp可用,以SLOP注冊caveman:
mcp__plugin_slop-mcp_slop-mcp__manage_mcps
action: register
name: caveman
type: command
command: npx
args: ["-y", "@standardbeagle/caveman-mcp@latest"]
env: {}
scope: user
若slop-mcp不可用,直接安裝:
工具調用失敗(工具未找到)時,降級為直接Claude MCP安裝:
claude mcp add caveman --command "npx" --args "-y @standardbeagle/caveman-mcp@latest"
調用condense_text測試連接:
If using slop-mcp:
mcp__plugin_slop-mcp_slop-mcp__execute_tool
mcp_name: caveman
tool_name: condense_text
parameters:
text: "The quick brown fox jumps over the lazy dog. This sentence has been used to test typewriters since the early days of typewriting."
If using direct install:
mcp__plugin_caveman_caveman__condense_text
text: "..."
應返回壓縮後文本,token顯著減少。
若失敗,查看排查節。
安裝後,以下caveman工具可用:
| Tool | Purpose |
|---|---|
condense_url | 取URL並壓縮,含YouTube/GitHub/arXiv/HN/Reddit/RSS智能路由 |
condense_file | 壓縮本地文件,含圖像/音頻/簡報/表格/PDF/文本專用處理 |
condense_git | 處理git diff/log/blame及GitHub PR URL |
condense_log | 壓縮錯誤日誌與堆棧追蹤,含語言檢測與去重 |
condense_text | 直接壓縮原始文本輸入 |
Access Pattern:
mcp__plugin_slop-mcp_slop-mcp__execute_tool with mcp_name: caveman, tool_name: <tool>mcp__plugin_caveman_caveman__<tool>caveman兩階段壓縮:
代碼塊、錯誤消息、URL、版本號保持原樣。
直接測試服務器:
npx -y @standardbeagle/caveman-mcp@latest
若使用SLOP,查看服務器狀態:
mcp__plugin_slop-mcp_slop-mcp__manage_mcps
action: status
name: caveman
若caveman工具不可用:
claude mcp list或SLOP的manage_mcps搭配action: listmanage_mcps搭配action: reconnect, name: caveman首次調用拉取npm包,可能慢。後續調用走npx緩存,秒級。
安裝後,以caveman技能:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub standardbeagle/standardbeagle-tools --plugin caveman9 skills in this plugin
/caveman-condense-fileCompress 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/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-imageOther plugins' skills for the same job