kramme-cc-workflow/skills/kramme:hooks:toggle/SKILL.md
Enable, disable, list, or reset hook toggles for the kramme-cc-workflow plugin. Use when a hook is firing unwantedly, when a new hook needs to be switched on, or when the user asks about current hook state.
npx skillsauth add abildtoft/kramme-cc-workflow kramme:hooks:toggleInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Enable or disable hooks in the kramme-cc-workflow plugin.
/kramme:hooks:toggle status - List all hooks and their current state/kramme:hooks:toggle <hook-name> - Toggle the hook (enable if disabled, disable if enabled)/kramme:hooks:toggle <hook-name> enable - Enable the hook/kramme:hooks:toggle <hook-name> disable - Disable the hook/kramme:hooks:toggle reset - Enable all hooks (clear disabled list)| Hook Name | Event | Description |
| --- | --- | --- |
| block-rm-rf | PreToolUse | Blocks destructive file deletion (rm -rf, shred, etc.) |
| confirm-review-responses | PreToolUse | Confirms before committing configured review artifact files (see hooks/confirm-review-artifacts.txt) |
| noninteractive-git | PreToolUse | Forces non-interactive git commands |
| skill-usage-stats | UserPromptSubmit, PreToolUse | Records local skill usage statistics for slash invocations and Skill tool calls |
| auto-format | PostToolUse | Auto-formats code after Write/Edit operations |
| context-links | Stop | Shows PR and Linear issue links at session end |
The canonical hook list is the set of names each script passes to exit_if_hook_disabled (grep hooks/*.sh for exit_if_hook_disabled). Treat that set as the source of truth: if a hook script registers a name not in this table, the table is stale — update it (and surface the discrepancy to the user) rather than rejecting the name.
block-rm-rf, confirm-review-responses, and noninteractive-git are safety guardrails.
The state file is at ${CLAUDE_PLUGIN_ROOT}/hooks/hook-state.json. status and reset are reserved subcommands and take precedence over a hook of the same name.
Whenever you read the state file: a missing file means all hooks are enabled (proceed as if {"disabled": []}). If the file exists but is not valid JSON, do not guess — report it and offer reset to restore a clean state.
status command:hooks/hook-state.json (missing file = all enabled)hooks/hook-state.json (missing file = all enabled)enable or disable, stop and show the valid forms.block-rm-rf, confirm-review-responses, noninteractive-git), warn the user which protection is being removed and confirm before writing.disabled array:
reset command:{"disabled": []} to hooks/hook-state.json{
"disabled": ["auto-format", "context-links"]
}
Empty disabled array or missing file means all hooks are enabled.
development
Compare an existing PR's title and body against the actual branch diff and report drift — false claims, missing major changes, stale scope, missing risk callouts. Use after pushing changes to a branch with an open PR, or before requesting review. Read-only by default; add --fix to delegate to kramme:pr:generate-description for an updated description. Complements kramme:pr:code-review (which checks description accuracy as one signal among many code-quality checks) by being a fast, focused, single-purpose check that runs in seconds.
tools
Reviews plugin skills for focused scope, progressive disclosure, portability, safety, retry behavior, and documentation quality. Use when auditing a SKILL.md, skill directory, or proposed skill text against skill-authoring standards. Not for creating new skills, editing skills, or reviewing ordinary application code.
tools
Reviews recent agent session transcripts to find repeated manual workflows or repeated user asks, then proposes and optionally scaffolds only useful new skills or custom subagents. Use when the user asks to inspect recent sessions, find automation opportunities, or create reusable workflows from repeated work. Not for summarizing one session, general retrospectives, or codebase refactoring.
data-ai
Remove all DONE issues and renumber remaining issues within each prefix group. Not for editing live issue content, archiving still-open issues, or moving issues between prefix groups.