skills/uninstall-cookbook/SKILL.md
Remove the agentic cookbook from your project. Removes rules, state files, CLAUDE.md section, and optionally global plugins and status line.
npx skillsauth add agentic-cookbook/tools uninstall-cookbookInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
First action: If $ARGUMENTS is --version, print uninstall-cookbook v1.0.0 and stop — do not run the skill.
Otherwise, print uninstall-cookbook v1.0.0 as the first line of output, then proceed.
Version check: Read ${CLAUDE_SKILL_DIR}/SKILL.md from disk and extract the version: field from frontmatter. If it differs from this skill's version (1.0.0), print:
⚠ This skill is running v1.0.0 but vA.B.C is installed. Restart the session to use the latest version.
Continue running — do not stop.
Remove the agentic cookbook from your project. This reverses what /install-cookbook installed:
.cookbook/).claude/rules/cookbook.md, .claude/rules/committing.md)## Agentic Cookbook)/uninstall-cookbook
Run from your project directory.
Check the current project for installed cookbook components:
.cookbook/ exist? List its contents..claude/cookbook-* files exist? (cookbook-manifest.json, cookbook-preferences.json, cookbook-pipeline.json, cookbook-statusline.sh).claude/rules/cookbook.md exist? Does .claude/rules/committing.md exist?CLAUDE.md contain an ## Agentic Cookbook section?~/.claude/settings.json contain a statusLine entry referencing .cookbook/statusline.sh or .claude/cookbook-statusline.sh?If none of these are found, print: "Cookbook does not appear to be installed in this project." and stop.
Print the detected state:
=== Cookbook Installation Detected ===
State directory (.cookbook/): found / not found
Legacy state files (.claude/cookbook-*): found / not found
Rule: .claude/rules/cookbook.md — found / not found
Committing: .claude/rules/committing.md — found / not found
CLAUDE.md section: found / not found
Status line config: found / not found
Show the user what will be removed and ask for confirmation:
=== Cookbook Uninstall Plan ===
Will remove:
• .cookbook/ directory (manifest, preferences, pipeline state, statusline)
• .claude/rules/cookbook.md
• .claude/rules/committing.md (if present)
• "## Agentic Cookbook" section from CLAUDE.md
Will also ask about:
• Global plugins installed by the cookbook
• Status line configuration in ~/.claude/settings.json
Proceed? (yes / no)
Only list items that were actually detected in Step 1. If an item was not found, omit it from the list.
If the user says no, stop.
Remove the .cookbook/ directory if it exists: rm -rf .cookbook/
Also remove any old-location files if they exist:
rm -f .claude/cookbook-manifest.jsonrm -f .claude/cookbook-preferences.jsonrm -f .claude/cookbook-pipeline.jsonrm -f .claude/cookbook-statusline.shPrint which items were removed.
Remove cookbook rule files if they exist:
rm -f .claude/rules/cookbook.mdrm -f .claude/rules/committing.mdPrint which files were removed.
If CLAUDE.md contains an ## Agentic Cookbook section:
## Agentic Cookbook and ends just before the next ## heading or at end of fileDo not delete CLAUDE.md itself, even if the section was the only content besides the title heading.
Print: "Removed ## Agentic Cookbook section from CLAUDE.md"
If the section was not found, print: "No cookbook section found in CLAUDE.md — skipped."
The following plugins may have been installed by /install-cookbook. Present them to the user grouped by category.
Run claude plugin list --scope user to see what is currently installed. Only show plugins that are actually installed.
Core:
Development Workflow:
Skill & Plugin Authoring:
LSP:
Present only the plugins that are currently installed:
=== Global Plugins ===
⚠ These plugins are shared across ALL projects. Removing them
affects every project, not just this one.
The following installed plugins may have been added by the cookbook:
Core:
1. playwright
2. context7
...
Development Workflow:
3. superpowers
...
Remove cookbook-installed plugins?
1. Remove all listed plugins
2. Pick which to remove
3. Keep all (skip)
claude plugin uninstall <name> --scope user for each listed plugin. Print results.claude plugin uninstall <name> --scope user for each selected plugin.If no cookbook-recommended plugins are currently installed, print: "No cookbook-recommended plugins found — skipped." and move on.
If ~/.claude/settings.json exists and contains a statusLine entry referencing .cookbook/statusline.sh or .claude/cookbook-statusline.sh:
Status line in ~/.claude/settings.json references the cookbook statusline.
Remove it? (yes / no)
If yes: Remove the statusLine key from ~/.claude/settings.json using the Edit tool.
If no: Print "Status line kept. You may want to update it manually since the cookbook files have been removed."
If no cookbook-related statusLine was found, skip this step silently.
=== Cookbook Uninstalled ===
State directory: removed / was not present
Legacy state files: removed / were not present
Rule (.claude/rules/cookbook.md): removed / was not present
Committing (.claude/rules/committing.md): removed / was not present
CLAUDE.md section: removed / was not present
Global plugins: N removed / kept / no cookbook plugins found
Status line: removed / kept / was not configured
The agentic cookbook has been removed from this project.
To reinstall: /install-cookbook
.claude/ itself — only cookbook-specific files within it.CLAUDE.md — only the ## Agentic Cookbook section.~/.claude/settings.json beyond the statusLine key without user approval.testing
Validate cookbook integrity — frontmatter, cross-references, indexes, skills, rules, file placement. Run from cookbook or consuming project.
tools
Analyze a macOS SwiftUI app and plan its conversion to native AppKit. Triggers on 'port to AppKit', 'convert SwiftUI to AppKit', 'remove SwiftUI', or /port-swiftui-to-appkit.
tools
--- name: plan-cookbook-recipe version: 2.3.0 description: Interactively design a new cookbook recipe through guided discussion disable-model-invocation: true context: fork allowed-tools: Read, Glob, Grep, Agent, Write, Edit, AskUserQuestion, Bash(git *), Bash(mkdir *), Bash(ls *) argument-hint: [recipe-name] [--version] --- # Plan Agentic Cookbook Recipe v2.3.0 ## Startup **First action**: If `$ARGUMENTS` is `--version`, print `plan-cookbook-recipe v2.3.0` and stop. Otherwise, print `plan-c
development
Optimize Claude Code rules by consolidating into a single efficient file. Triggers on 'optimize rules', 'optimize my rules', or /optimize-rules.