majiayu000/ac-stop-hook-analyzer
Analyze context and decide on continuation via Stop hook. Use when determining if work should continue, analyzing completion status, making continuation decisions, or implementing the Two-Claude pattern.
npx skills add https://github.com/majiayu000/claude-skill-registry --skill ac-stop-hook-analyzer
Analyze context to decide on continuation (Two-Claude Pattern).
Implements the Analyzer role in the Two-Claude Pattern, using Opus 4.5 to intelligently decide whether to continue autonomous operation.
from scripts.stop_hook_analyzer import StopHookAnalyzer
analyzer = StopHookAnalyzer(project_dir)
decision = await analyzer.should_continue()
# Returns: {"decision": "block", "reason": "Continue with api-003"}
See scripts/stop_hook_analyzer.py for full implementation.
Take majiayu000/ac-stop-hook-analyzer from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.