Clear ACE playbook (reset all learned bullets)
Resets ACE playbook by deleting all learned bullets across all sections. Use when you need a fresh start after accumulating bad patterns or for testing. Warning: This permanently deletes all learned strategies, snippets, and troubleshooting patterns.
/plugin marketplace add ce-dot-net/ce-claude-marketplace/plugin install ace@ce-dot-net-marketplace--confirmReset the ACE playbook by clearing all learned bullets.
⚠️ WARNING: This will delete ALL learned bullets across all 4 sections!
#!/usr/bin/env bash
set -euo pipefail
if ! command -v ace-cli >/dev/null 2>&1; then
echo "❌ ace-cli not found - Install: npm install -g @ace-sdk/cli"
exit 1
fi
ORG_ID=$(jq -r '.orgId // .env.ACE_ORG_ID // empty' .claude/settings.json 2>/dev/null || echo "")
PROJECT_ID=$(jq -r '.projectId // .env.ACE_PROJECT_ID // empty' .claude/settings.json 2>/dev/null || echo "")
if [ -z "$ORG_ID" ] || [ -z "$PROJECT_ID" ]; then
echo "❌ Run /ace-configure first"
exit 1
fi
echo "⚠️ WARNING: This will delete ALL learned patterns!"
read -p "Are you sure? Type 'yes' to confirm: " CONFIRMATION
if [ "$CONFIRMATION" != "yes" ]; then
echo "❌ Aborted"
exit 1
fi
ace-cli --org "$ORG_ID" --project "$PROJECT_ID" clear --confirm
All playbook sections:
strategies_and_hard_rules - All strategies cleareduseful_code_snippets - All code snippets clearedtroubleshooting_and_pitfalls - All troubleshooting clearedapis_to_use - All API patterns clearedAll metadata:
Clears from:
ACE will start learning from scratch:
Before clearing, export your playbook:
/ace:ace-export-patterns
This saves a JSON backup you can re-import later.
/ace:ace-export-patterns - Backup before clearing/ace:ace-import-patterns - Restore from backup/ace:ace-status - Verify playbook is cleared