Skip to content

feat(hooks): add /caveman status command to report active mode#191

Open
Cna59 wants to merge 1 commit intoJuliusBrussee:mainfrom
Cna59:feat-add-caveman-status
Open

feat(hooks): add /caveman status command to report active mode#191
Cna59 wants to merge 1 commit intoJuliusBrussee:mainfrom
Cna59:feat-add-caveman-status

Conversation

@Cna59
Copy link
Copy Markdown

@Cna59 Cna59 commented Apr 16, 2026

Feat - Add /caveman status

PR Description

Before: No way to check which caveman mode is active. User switches to ultra, forgets,
has no command to verify.

After: /caveman status reports current active mode:

# When ultra is active:
> /caveman status
β†’ "Current caveman mode: ultra"

# When inactive:
> /caveman status
β†’ "Caveman mode is currently off"

New feature β€” read-only status query via hook. No flag writes, no mode changes.

Why: Users switching between modes (lite/full/ultra/wenyan) need a way to check what's
currently active without guessing from output style.

Files changed

  • hooks/caveman-mode-tracker.js β€” add status branch, emit mode via hookSpecificOutput
  • skills/caveman/SKILL.md β€” document /caveman status
  • skills/caveman-help/SKILL.md β€” add "Check Active Mode" section
  • CLAUDE.md β€” document status command in hook reference

Test

Case 1 inactive:

echo '{"prompt":"/caveman status"}' | CLAUDE_CONFIG_DIR="$(mktemp -d)" node
hooks/caveman-mode-tracker.js

Case 2 active (ultra):

D=$(mktemp -d) && echo "ultra" > "$D/.caveman-active" && echo '{"prompt":"/caveman
status"}' | CLAUDE_CONFIG_DIR="$D" node hooks/caveman-mode-tracker.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant