From autoresearch
Stop an active autoresearch experiment loop. Removes the auto-resume state file so the session can end cleanly.
How this skill is triggered — by the user, by Claude, or both
Slash command
/autoresearch:stopThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Stop the active autoresearch loop and disable auto-resume.
Stop the active autoresearch loop and disable auto-resume.
# List active state files
ls -la ~/.claude/states/autoresearch/ 2>/dev/null
# Remove only the state file for the CURRENT session (not other concurrent sessions)
SESSION_ID="${CLAUDE_SESSION_ID:-}"
for f in ~/.claude/states/autoresearch/*.md; do
FILE_SESSION=$(sed -n '/^---$/,/^---$/{ /^---$/d; p; }' "$f" 2>/dev/null | grep '^session_id:' | sed 's/session_id: *//' | sed 's/^"\(.*\)"$/\1/')
if [[ -n "$SESSION_ID" ]] && [[ "$FILE_SESSION" == "$SESSION_ID" ]]; then
echo "Removing: $f (session match)"
rm "$f"
elif [[ -z "$SESSION_ID" ]] && grep -q "$(pwd)" "$f" 2>/dev/null; then
# Fallback: match by cwd if session ID unavailable
echo "Removing: $f (cwd match)"
rm "$f"
fi
done
${CLAUDE_PLUGIN_ROOT}/scripts/status.sh to show final summary/autoresearch:resume to resume later, or /autoresearch:create to start a new session."npx claudepluginhub sderosiaux/claude-plugins --plugin autoresearchCancels active Claude Code loops by checking/removing .loophaus/state.json or legacy .claude/ralph-loop.local.md files and reporting stopped iteration.
Sets up and runs autonomous experiment loops to optimize any target metric using git branches, autoresearch.md configs, bash benchmark scripts, and JSONL state logging. Activates on 'run autoresearch' or optimization loop requests.
Resumes paused code experiments by listing them, checking out git branches, loading configs/results history/git logs, summarizing progress/metrics/patterns, and prompting for next iteration or loop.