Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →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.
.claude/skills/majiayu000-ac-stop-hook-analyzer/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -61% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -69% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -44% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -75% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -74% | 0% |
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.
pythonfrom 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.
Other measured skills in the registry, with their headline benchmark lift.