Clean up the LLM Council working directory and temporary files created in .council/.
Removes the `.council/` working directory and all temporary session files. Use this to clean up after completing or abandoning a council session.
/plugin marketplace add xrf9268-hue/llm-council-plugin/plugin install llm-council-plugin@llm-councilclaude-haiku-4-5-20251001Remove the .council/ working directory and all temporary files created by the LLM Council for the most recent sessions.
/council-cleanup
This command takes no arguments and is safe to run multiple times.
When this command is invoked:
Check for existing working directory: Use the Bash tool to determine whether .council/ exists in the current project root.
If .council/ exists:
.council/final_report.mdstage1_*.txt, stage2_review_*.txt).council/# Resolve path to council_utils.sh
if [[ -n "${COUNCIL_PLUGIN_ROOT:-}" ]]; then
UTILS_PATH="${COUNCIL_PLUGIN_ROOT}/skills/council-orchestrator/scripts/council_utils.sh"
elif [[ -n "${CLAUDE_PLUGIN_ROOT:-}" ]]; then
UTILS_PATH="${CLAUDE_PLUGIN_ROOT}/skills/council-orchestrator/scripts/council_utils.sh"
elif [[ -n "${CLAUDE_PROJECT_DIR:-}" ]]; then
UTILS_PATH="${CLAUDE_PROJECT_DIR}/skills/council-orchestrator/scripts/council_utils.sh"
else
# Try standard installation locations
for candidate in \
"$HOME/.claude/plugins/cache/llm-council-plugin/skills/council-orchestrator/scripts/council_utils.sh" \
"$HOME/.claude/plugins/llm-council-plugin/skills/council-orchestrator/scripts/council_utils.sh"; do
if [[ -f "$candidate" ]]; then
UTILS_PATH="$candidate"
break
fi
done
fi
# Verify path exists
if [[ -z "${UTILS_PATH:-}" ]] || [[ ! -f "$UTILS_PATH" ]]; then
echo "❌ Error: Cannot locate council utilities"
echo "Please set COUNCIL_PLUGIN_ROOT to your plugin installation path."
exit 1
fi
source "$UTILS_PATH"
council_cleanup
✅ Council working directory cleaned (removed .council/)If .council/ does not exist:
ℹ️ No .council/ working directory found (already clean).Idempotency:
/council-cleanup is idempotent and can be run safely at any time when the user wants to remove prior council session files.