claude-delegate
하는 일
이 도구는 프로그래밍 작업을 다른 Claude Code 인스턴스에 맡길 수 있게 해 줍니다. 작업을 정의하면 Claude Code가 별도의 환경에서 실행하고, 수락하기 전에 여러분이 결과를 검토할 수 있습니다.
사용하는 경우
- ✓다른 AI(Claude Code)가 코드를 작성하거나 수정하기를 원할 때.
- ✓적용되기 전에 코드 변경 사항을 검토하고 싶을 때.
- ✓사용자가 프로그래밍 작업을 다른 도구에 맡기라고 명시적으로 요청할 때.
스킬 링크
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/claude-delegate/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Claude, 숫자의 팩토리얼을 계산하는 함수를 만드는 일을 Claude Code에 맡겨 줘.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
Claude Code를 위한 명확한 지시(브리프)를 작성합니다. 도구는 이 지시를 별도의 프로세스에서 실행하고 코드를 돌려줍니다. 그다음 여러분이 코드를 검토하고 수락할지 결정합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Claude Delegate
When to Use
- You want to delegate a bounded coding task to a separate
claudeimplementer (Claude Code) and then review its diff yourself. - The user explicitly asked for delegation to this implementer.
You are the orchestrator. Delegate one bounded coding task to a separate implementer — a Claude Code CLI session — then review what it produced and land it yourself. You write the brief and own the judgment; the separate Claude session edits the working tree; you verify and commit.
This skill is not a signal for the current Claude to implement directly. Use it only after the human explicitly asks for delegation to another Claude Code process or session.
When not to use this
- The human asked the current agent to implement the task directly.
- The task is small enough to do inline and the human did not request delegation.
- The
claudeCLI is missing or unauthenticated (claude auth status). - The task needs a stronger host boundary than Claude Code's tool permissions and shell-only sandbox provide. Use an isolated container or VM for that requirement.
Prerequisites
claude --versionsucceeds.claude auth statusreports an authenticated session. On macOS the live credentials sit in the login Keychain; when the orchestrator's own sandbox blocks Keychain access (Codex's sandbox does),claudefalls back to a possibly stale credentials file and reportsloggedIn: falseeven though the login is valid. Re-run the check — and the dispatch itself — with that sandbox escalated or outside it before concluding the CLI is unauthenticated.- The target repository is the directory passed with
--cd. - On Linux/WSL2, Claude's sandbox dependencies are installed. The normal relay profile is configured to fail when the sandbox is unavailable instead of silently running shell commands unsandboxed. Existing merged settings can still affect the effective boundary.
The loop
1. Write the brief
The separate session has no orchestrator chat history. It receives the brief on stdin and can inspect the target working tree.
Claude Code automatically discovers the target project's CLAUDE.md and normal local Claude
configuration because the relay does not use --bare. It does not generically auto-load
AGENTS.md. Read AGENTS.md yourself and copy every load-bearing constraint and the real gate
commands into the brief. Tell the implementer not to commit. Keep one task per brief.
Template and details: references/writing-the-brief.md.
2. Dispatch
node "<skill-dir>/scripts/relay.mjs" --brief brief.txt --cd /path/to/repo
# review/diagnosis only: add --read-only
# continue the latest session: add --resume-last
# continue the recorded session: add --session <id>
# choose limits: add --max-turns 40 --max-budget-usd 10
# hard relay deadline: add --timeout 2h
# inspect every option: node .../relay.mjs --help
<skill-dir> is this installed skill directory, the folder containing this SKILL.md.
The relay runs claude -p --output-format stream-json --verbose, sends the brief through stdin, and
writes artifacts under the system temp directory by default. It never uses --bg or --bare, and it
never commits. See references/dispatch-and-poll.md.
3. Wait
The relay blocks until Claude exits. Use the orchestrator's background-command facility, or run it in
the foreground and wait. Completion means the process exited and result.json exists.
- A pre-run usage error exits 2 and writes no
result.json. - A missing
claudeexits 127 and writesstatus: "claude_unavailable". - Timeout and caught relay signals terminate the whole implementer process tree and preserve an outcome artifact.
Read finalMessage, touchedFiles, resultSubtype, and the raw artifact paths from result.json.
4. Review
Treat the implementer's report and gate outcomes as claims:
- Review edits to existing tests before a green gate means anything.
- Re-run the project's actual gates yourself.
- Read the complete diff against the brief, starting with
touchedFiles. - Inspect untracked and staged content as well as the ordinary diff.
- Run relevant guard skills if installed.
Full checklist: references/review-and-land.md.
5. Land
…
자주 묻는 질문
‘오케스트레이터’란 무엇인가요?
과정을 관리하고, 작업을 맡길지 결정하고, 다른 AI가 한 작업을 검토하는 메인 AI입니다.
‘구현자’란 무엇인가요?
맡겨진 작업을 받아 코드를 실행하는 다른 AI(Claude Code)입니다.
작은 작업에는 왜 쓰지 않나요?
작은 작업은 맡기고 검토하는 과정을 거치는 것보다 메인 AI가 직접 하는 것이 더 빠르고 효율적입니다.
상세 정보
작성자의 원본 설명
Delegate coding tasks to a separate Claude Code CLI process or Claude session only when the user explicitly requests it, while the orchestrator retains review and landing responsibility.
인기도
- GitHub 스타
- 48k
- 순위
- #4145
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.