/openwolf:removefrom openwolf
Removes openwolf from the current project: deletes .wolf/ directory, cleans hook entries from settings.json, removes rules file and CLAUDE.md snippet, and optionally uninstalls the global npm binary.
Ships in openwolf. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Cleanly tear down openwolf for the current project (cwd at invocation). The npm package ships no uninstall command — this skill is the canonical removal path.
Self-Evolving Skill: If openwolf changes its file layout, hook substring, or registry shape — fix this file. Only for real, reproducible drift.
.wolf/ directory (data + hook scripts).claude/settings.json whose command includes .wolf/hooks/ — every other hook is preserved verbatim.claude/rules/openwolf.mdCLAUDE.md (only that block; rest of file untouched)openwolf-$(basename "$PROJECT_ROOT") (if PM2 is installed)~/.openwolf/registry.jsonopenwolf npm binary (separate decision; ask user explicitly)..wolf/backups/ are removed with .wolf/ itself — if you need them, copy out first.Use AskUserQuestion. List all six removal targets above. Offer:
Yes, remove openwolf from this project (default)Also uninstall the global openwolf binary (extra step, runs pnpm remove -g openwolf || npm uninstall -g openwolf)Cancel — exit cleanlyPROJECT_ROOT="$(pwd)"
PROJECT_BASE="$(basename "$PROJECT_ROOT")"
PLUGIN_DIR="$(cc-plugin-root openwolf)"
bash "$PLUGIN_DIR/scripts/openwolf-remove.sh"
The script handles all six targets with set -e + step-level error reporting. It is idempotent — every step uses || true for the "already absent" case but reports each action.
If the user chose this in step 1:
if command -v pnpm >/dev/null; then pnpm remove -g openwolf
elif command -v bun >/dev/null; then bun remove -g openwolf
else npm uninstall -g openwolf
fi
[ ! -d "$PROJECT_ROOT/.wolf" ] && echo " ✓ .wolf/ removed"
[ ! -f "$PROJECT_ROOT/.claude/rules/openwolf.md" ] && echo " ✓ rules file removed"
grep -q '\.wolf/hooks/' "$PROJECT_ROOT/.claude/settings.json" 2>/dev/null && echo " ✗ stray .wolf/hooks/ entry in settings.json — investigate" || echo " ✓ settings.json clean"
grep -q '@\.wolf/OPENWOLF\.md' "$PROJECT_ROOT/CLAUDE.md" 2>/dev/null && echo " ✗ snippet still in CLAUDE.md — investigate" || echo " ✓ CLAUDE.md clean"
Summarize what was removed and what (if anything) was left behind on purpose.
scripts/openwolf-remove.sh), not just this skill.node block in the script.The script scripts/openwolf-remove.sh is the load-bearing component — keep it precise.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3 skills in this plugin
npx claudepluginhub terrylica/cc-skills --plugin openwolfOther plugins' skills for the same job