Agent Skills
› NeverSight/learn-skills.dev
› ac-stop-hook-analyzer
ac-stop-hook-analyzer
GitHub基于Two-Claude模式,智能分析上下文以决定是否继续自主操作。通过检查目标完成度、剩余功能及安全限制,输出继续或停止的决策及理由。
Trigger Scenarios
需要判断工作是否应继续时
分析任务完成状态时
实施Two-Claude模式时
Install
npx skills add NeverSight/learn-skills.dev --skill ac-stop-hook-analyzer -g -y
SKILL.md
Frontmatter
{
"name": "ac-stop-hook-analyzer",
"description": "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."
}
AC Stop Hook Analyzer
Analyze context to decide on continuation (Two-Claude Pattern).
Purpose
Implements the Analyzer role in the Two-Claude Pattern, using Opus 4.5 to intelligently decide whether to continue autonomous operation.
Quick Start
from scripts.stop_hook_analyzer import StopHookAnalyzer
analyzer = StopHookAnalyzer(project_dir)
decision = await analyzer.should_continue()
# Returns: {"decision": "block", "reason": "Continue with api-003"}
Decision Logic
- Check completion against objective
- Analyze remaining features
- Validate safety limits
- Return continue/stop decision
API Reference
See scripts/stop_hook_analyzer.py for full implementation.
Version History
- e0220ca Current 2026-07-05 23:06


