caveman-help
Quick-reference card for caveman modes, skills and commands. Trigger: /caveman-help or "caveman help".
1How It Works & Mechanism
This is a purely display-oriented instruction card: the SKILL.md body is a static cheat sheet (6 modes + 4 skills + deactivation methods + language rules + default mode configuration), containing no scripts, tool calls, or file write instructions.
Display this reference card when invoked. One-shot — do NOT change mode, write flag files, or persist anything. Output in caveman style.
"One-off, no side effects" is explicitly stated in two places: within the SKILL.md body itself, and in the repository's built-in skill behavior comparison table (under the output contract and side effects columns).
| `caveman-help` | One-shot command card | Does not change active mode |
The "default mode" configuration taught by the card is an actual mechanism rather than documentation rhetoric: the host's hook code features a four-tier resolution chain where env vars have the highest priority, falling back to 'full'.
// Resolution order for default mode: // 1. CAVEMAN_DEFAULT_MODE environment variable // 2. Repo-local config (checked-in, per-project default):
Mode semantics are implemented by the primary caveman skill in the same repository; this card serves merely as its index: modes are "sticky" until modified by the user or the session ends.
Mode stick until changed or session end.
The card intentionally preserves the user's language: it compresses style, not language; technical terms, code, commands, and error strings are retained verbatim.
Keep user's language by default. User write Portuguese → reply Portuguese caveman. Compress the style, not the language. Technical terms, code, commands, commit types, and exact error strings stay verbatim unless user ask for translation.
The trigger surface consists of an explicit user invocation (/caveman-help) plus a natural language alias, both documented in SKILL.md description and the human-facing README.
Also triggers on "caveman help", "what caveman commands", "how do I use caveman".
Distribution path: this skill is not included in the Claude Code plugin mirror (plugins/caveman/skills/ only contains caveman / cavecrew / caveman-stats / caveman-compress); instead, it reaches various hosts via standalone hook+skill install paths, `npx skills add`, and CLI skill directory manifests for hermes/opencode.
const HERMES_SKILL_DIRS = ['caveman', 'caveman-commit', 'caveman-review', 'caveman-help', 'caveman-stats', 'caveman-compress', 'cavecrew'];
2Core Capabilities
4Recommended Governance & Evidence
- SKILL.md: Pure prompt instructions and rule text; no script execution or external impact.
5Second-Pass Verification
- [ok] 卡片属实:一次性展示、不改模式、不落盘 — SKILL.md 正文首段与 docs/technical/skills-hooks-and-plugins.md 的副作用列两处独立印证;目录内无任何可执行脚本。
- [discrepancy] 默认模式配置链(卡片声称 env > config file > full) — 卡片写 'Resolution: env var > config file > `full`.',实际代码是四级且含仓库内配置:① CAVEMAN_DEFAULT_MODE → ② 仓库内 .caveman/config.json 或 .caveman.json(从 process.cwd() 向上最多 64 级查找,拒绝符号链接)→ ③ 用户 config($XDG_CONFIG_HOME/caveman/config.json,或 ~/.config,或 Windows %APPDATA%)→ ④ 'full'(src/hooks/caveman-config.js:15-26 与 findRepoConfigPath 注释)。卡片漏了「仓库内配置」这一层,团队若用 .caveman.json 固定项目默认档,卡片会让人误判优先级。非安全影响,属文档简化。
- [ok] wenyan 档位命名一致性(卡片 vs 主 skill vs 代码) — 卡片列 wenyan-lite/wenyan/wenyan-ultra(并称 'Wenyan-Full | /caveman wenyan');代码 VALID_MODES 为 ['off','lite','full','ultra','wenyan-lite','wenyan','wenyan-full','wenyan-ultra',...],卡片触发词全部落在集合内;主 skill SKILL.md 的切换串亦为 '/caveman lite|full|ultra|wenyan-lite|wenyan-full|wenyan-ultra|off'。
- [ok] 外部依赖为零 — 对两个文件扫描 URL/CLI/包/网络 token 零命中;卡片末行的 'Full docs: https://github.com/JuliusBrussee/caveman' 是给人点的文档链接,不是运行时调用点。
- [ok] 无脚本执行 / 无凭证读取 / 无文件写入 — skills/caveman-help 下仅两个 markdown;仓库级 shell/node 代码(bin/install.js、src/hooks/*)属于 caveman CLI 本体,不由本 skill 触发,除 SKILL.md 文字外无任何指向它们的调用指令。
- [ok] 声明 'Saves ~46% input tokens'(指向 caveman-compress)是否有出处 — skills/caveman-compress/README.md 基准表平均值为 46%(Average 898 → 481,46%),卡片引用与邻居 skill 自述一致。
- [ok] pin commit 与上游状态 — 本地 HEAD == origin/main == 15581d14007fd01fb3f132016741962f34936ca2(2026-09-07T08:19:43+00:00, 'chore: sync SKILL.md copies [skip ci]')。gh 显示仓库 pushed_at 晚于该时间,故本报告结论仅对该 pin commit 有效,不跨版本推广。
6Verdict & Scenarios
742f9e1fe5d8d598…