/ 目录 / 演练场 / Caveman
● 社区 JuliusBrussee ⚡ 即开即用

Caveman

作者 JuliusBrussee · JuliusBrussee/caveman

Caveman cuts Claude's output tokens ~65% by stripping filler words while preserving technical accuracy — faster, cheaper, still correct.

Caveman is a Claude Code skill (with ports to Cursor, Codex, Gemini, Windsurf, Cline, Copilot) that enforces a terse output style. Three intensity levels: Lite (professional terseness), Full (default), Ultra (maximum compression), plus a 文言文 / Classical Chinese mode. Ships with sub-skills: /caveman-commit (one-line commit messages), /caveman-review (single-line PR comments), /caveman-compress (trim memory files by ~46%). Benchmarks show ~65% token savings on diverse tasks with accuracy preserved.

为什么要用

核心特性

实时演示

实际使用效果

caveman-skill.replay ▶ 就绪
0/0

安装

选择你的客户端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "caveman-skill": {
      "command": "claude",
      "args": [
        "plugin",
        "marketplace",
        "add",
        "JuliusBrussee/caveman"
      ],
      "_inferred": false
    }
  }
}

打开 Claude Desktop → Settings → Developer → Edit Config。保存后重启应用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "caveman-skill": {
      "command": "claude",
      "args": [
        "plugin",
        "marketplace",
        "add",
        "JuliusBrussee/caveman"
      ],
      "_inferred": false
    }
  }
}

Cursor 使用与 Claude Desktop 相同的 mcpServers 格式。项目级配置优先于全局。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "caveman-skill": {
      "command": "claude",
      "args": [
        "plugin",
        "marketplace",
        "add",
        "JuliusBrussee/caveman"
      ],
      "_inferred": false
    }
  }
}

点击 Cline 侧栏中的 MCP Servers 图标,然后选 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "caveman-skill": {
      "command": "claude",
      "args": [
        "plugin",
        "marketplace",
        "add",
        "JuliusBrussee/caveman"
      ],
      "_inferred": false
    }
  }
}

格式与 Claude Desktop 相同。重启 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "caveman-skill",
      "command": "claude",
      "args": [
        "plugin",
        "marketplace",
        "add",
        "JuliusBrussee/caveman"
      ]
    }
  ]
}

Continue 使用服务器对象数组,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "caveman-skill": {
      "command": {
        "path": "claude",
        "args": [
          "plugin",
          "marketplace",
          "add",
          "JuliusBrussee/caveman"
        ]
      }
    }
  }
}

加入 context_servers。Zed 保存后热重载。

claude mcp add caveman-skill -- claude plugin marketplace add JuliusBrussee/caveman

一行命令搞定。用 claude mcp list 验证,claude mcp remove 卸载。

使用场景

实战用法: Caveman

Get crisp one-line commit messages for every patch

👤 Anyone tired of 8-paragraph AI-written commits ⏱ ~5 min beginner

何时使用: Claude writes a commit message, and it's a novel. You want it to say 'fix: off-by-one in pagination' and stop.

前置条件
  • Caveman plugin installed — claude plugin marketplace add JuliusBrussee/caveman && claude plugin install caveman@caveman
步骤
  1. Commit with caveman-commit
    /caveman-commit — write a commit message for the staged changes.✓ 已复制
    → One-line conventional commit; no body unless genuinely needed
  2. Ship a branch of small commits
    For the 4 staged files, use /caveman-commit per file — atomic commits, one line each.✓ 已复制
    → git log shows 4 short commits

结果: Readable git log; bisect-friendly commits.

注意事项
  • Lost nuance when a message should be longer (e.g. breaking changes) — Override per-commit: 'write the full version, not caveman, this is a breaking change'
搭配使用: git · github

Review a PR with one-line actionable comments

👤 Reviewers (and reviewees who dislike AI walls of text) ⏱ ~15 min beginner

何时使用: You're doing a quick pass and want pointed nits, not lectures.

步骤
  1. Run caveman-review
    /caveman-review — go through the diff. One line per comment.✓ 已复制
    → Inline comments read like 'rename x → userId for consistency with api/users.ts'
  2. Escalate when needed
    On the auth file specifically, switch off caveman for a full-length security review.✓ 已复制
    → Long-form only where the stakes justify it

结果: Faster review cycles; reviewees don't dismiss comments as noise.

注意事项
  • One-liners miss nuance on architectural changes — Architectural changes aren't Caveman's job — use default mode for those
搭配使用: github

Shrink CLAUDE.md and memory notes by 40–50% without losing intent

👤 Anyone whose CLAUDE.md grew past 5k tokens ⏱ ~10 min intermediate

何时使用: Your project memory is eating context every session and you know it could be tighter.

步骤
  1. Compress in place
    /caveman-compress CLAUDE.md — keep rules and facts, cut the prose.✓ 已复制
    → File shrinks ~46%; no rule deleted
  2. Audit the diff
    Show the diff. Any rule that changed meaning?✓ 已复制
    → Per-change verdict; rollbacks if intent drifted
  3. Commit
    /caveman-commit — single-line commit for the compression✓ 已复制
    → 'chore: compress CLAUDE.md (-46%)'

结果: Same rules, half the tokens.

注意事项
  • Compression drops a subtle caveat — Always diff-review after compressing rule files; intent loss is the main risk
搭配使用: filesystem

组合

与其他 MCP 搭配,撬动十倍杠杆

caveman-skill + git

Terse commit workflow

Stage the change, then /caveman-commit, then git push.✓ 已复制
caveman-skill + github

Caveman PR reviews at scale

For the 5 PRs in my review queue, /caveman-review each; post only actionable comments.✓ 已复制
caveman-skill + claude-mem-skill

Shrink memory transcripts without losing decisions

/caveman-compress the claude-mem notes for this project; flag anything where meaning shifted.✓ 已复制

工具

此 MCP 暴露的能力

工具输入参数何时调用成本
/caveman mode: Lite|Full|Ultra|文言文 Toggle mode for the current task free
/caveman-commit staged diff (implicit) At commit time; preserves staging small model call
/caveman-review PR diff Quick review pass small model call per file
/caveman-compress file path Shrink memory / rules files; diff-review before saving small model call

成本与限制

运行它的成本

API 配额
None
每次调用 Token 数
By design — negative; saves tokens
费用
Free (MIT)
提示
Use Ultra only on genuinely mechanical output (commits, tags); leave design discussions in default mode

安全

权限、密钥、影响范围

凭据存储: None
数据出站: None — pure prompt shaping; no telemetry

故障排查

常见错误与修复

Output still verbose after enabling Caveman

Most clients run Caveman per-turn; put /caveman Full at the top of each session or add it to CLAUDE.md

验证: First reply should feel distinctly terse
Caveman-commit returns multi-paragraph body

Usually triggers when the diff is genuinely large or breaks API. For true one-liner, add '—force-oneline'.

验证: Re-run with --force-oneline
Classical Chinese mode outputs garbled

Rare; usually a font / terminal issue, not the skill. Pipe to a file and open in an editor that supports CJK.

替代方案

Caveman 对比其他方案

替代方案何时用它替代权衡
System prompt with 'be terse'You want it without a pluginInconsistent; Caveman's intensity levels + benchmarks give measurable results
Custom slash commandsYou only need one of the sub-behaviors (e.g. terse commits)Reinventing the wheel

更多

资源

📖 阅读 GitHub 上的官方 README

🐙 查看未解决的 issue

🔍 浏览全部 400+ MCP 服务器和 Skills