auto-executor
Task tool 강제 사용 자동화 엔진
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
auto-executor 스킬
Task tool을 반드시 사용하여 서브에이전트에 작업을 위임하는 자동화 엔진입니다.
핵심 원칙
- 모든 작업은 서브에이전트가 처리
- Python 스크립트가 Claude CLI 호출 시 Task tool 사용 강제
- 메인 에이전트는 조정만, 실제 작업은 서브에이전트
사용법
# /auto 커맨드에서 자동 호출
/auto
# 직접 스크립트 실행
python .claude/skills/auto-executor/scripts/auto_executor.py
python .claude/skills/auto-executor/scripts/auto_executor.py --task "API 분석"
python .claude/skills/auto-executor/scripts/auto_executor.py --status
python .claude/skills/auto-executor/scripts/auto_executor.py --stop
스크립트 구조
scripts/
├── auto_executor.py # 메인 실행 스크립트 (CLI 진입점)
├── task_runner.py # Task tool 강제 호출 로직
├── session_manager.py # 세션 YAML 관리
└── agent_selector.py # 에이전트 자동 선택
Task tool 강제 메커니즘
# task_runner.py에서 Claude CLI 호출 시
prompt = f"""
**중요: 반드시 Task tool을 사용하세요. 직접 처리 금지.**
다음 작업을 Task tool로 서브에이전트에 위임하세요:
- 작업: {task_description}
- 에이전트: {agent_type}
Task tool 호출 형식:
Task(
subagent_type="{agent_type}",
prompt="...",
description="..."
)
**직접 처리하면 실패로 간주됩니다.**
"""
subprocess.run(["claude", "-p", prompt])
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!