subagents
하는 일
이 스킬은 devspace 명령줄 도구로 DevSpace 서브에이전트에게 작업을 맡기는 방법을 설명합니다. 제한된 작업을 위한 별도의 작업자나, 같은 작업자와 후속 작업을 원하는 사용자를 위한 것입니다.
사용하는 경우
- ✓코드에 대한 두 번째 의견처럼 별도의 맥락이 도움이 되는 작업일 때.
- ✓검토자 같은 전문 역할이 한 가지 작업을 맡아야 할 때.
- ✓위임한 작업을 같은 작업자와 이어서 진행해야 하는 경우.
스킬 링크
https://github.com/Waishnav/devspace/blob/main/skills/subagents/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 코드 검토를 별도의 DevSpace 검토 서브에이전트에게 맡기고, 그 결과를 제게 보내 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 devspace 명령으로 사용 가능한 대상을 나열하고, 제공자나 이름 있는 역할을 고른 뒤, 제한된 작업을 보냅니다. 서브에이전트가 반환한 간결한 출력을 읽습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
DevSpace subagents
Subagents are optional. Use your normal tools for routine work; delegate only when a separate worker materially helps through independent context, specialization, or follow-up.
Run the devspace CLI through your shell tool from the project the subagent should work in (the git root of the current directory). Commands print compact XML fragments by default. Read that output directly. Add --json only when a program, not a model, parses the output.
Choose a target
Discover usable targets instead of guessing names:
devspace agents targets
Each line is one of:
<provider name="codex" .../>: an installed coding agent you can run directly.<profile name="..." provider="...">description</profile>: a named role (instructions plus provider) defined in.devspace/agents/or~/.devspace/agents/.<unavailable name="cursor">reason</unavailable>: a provider that cannot run on this machine, with the reason. Do not use it.<disabled>: subagents are switched off in the DevSpace config; tell the user instead of retrying.
Pass the name as <profile-or-provider>. Prefer a matching profile; otherwise use a provider. Keep the default model and effort unless the task needs an override (--model, --effort).
Never guess model names. List the exact --model values (and supported efforts) a provider accepts:
devspace agents models <provider>
Start work
Give the subagent a self-contained brief with the objective, relevant paths, constraints, context it cannot infer, and the expected result. It receives this brief (and its profile instructions), not your conversation.
devspace agents run <profile-or-provider> "<brief>"
devspace agents run <profile-or-provider> --model <model> --effort <effort> "<brief>"
The command returns <agent id="agt_..." status="running" turn="trn_..."/> immediately. Keep the id for waiting, inspection, or follow-up. The agent keeps running if your command or session ends.
Add --request-id <key> when a retry is possible (a flaky network, a scheduled job). Running again with the same key, project, and arguments returns the existing agent instead of starting a duplicate; the key (letters, digits, . _ : -, up to 128 characters) becomes the agent id. The same key with a different brief is an AGENT_CONFLICT error.
Isolate writing agents
Agents run in your checkout by default. When you start more than one agent that writes at the same time, or you are editing the same checkout yourself, add --worktree so each agent gets its own git worktree and branch instead of overwriting the others:
devspace agents run <profile-or-provider> --worktree "<brief>"
devspace agents run <profile-or-provider> --worktree --branch <name> "<brief>"
Output then carries worktree="<path>" and branch="<name>". The worktree starts from the committed HEAD; uncommitted changes in your checkout are not copied, so commit first if the agent needs them. continue reuses the same worktree. Nothing is merged or deleted for you: review with git -C <worktree> diff and git log, commit the agent's changes if it left them uncommitted, merge the branch, then git worktree remove <worktree>. Read-only agents do not need --worktree.
Write modes
--write-mode limits what the subagent may change:
| Mode | Meaning |
|---|---|
read_only |
Reads and searches only. Use for review, research, and verification. |
allowed (default) |
May edit files inside the project, sandboxed where the provider supports it. |
full_access |
No sandbox. Use only when the user explicitly asks for it. |
A follow-up can lower the mode but never raise it. Providers differ in what they can enforce; if one cannot honor a mode, the command fails with an error that says so. Subagents run with the local user's authority, so choose the narrowest mode that fits the task.
Wait
When you need the result before continuing:
devspace agents wait <id>
devspace agents wait <id> <id> --timeout 60
Without --timeout it blocks until every named agent finishes. Many agent hosts cap how long one shell command may run, so always pass --timeout (60 to 120 seconds is safe) and call wait again while the agent is still running. Do not poll show when wait can express the dependency.
For a short task, start and wait in one command:
devspace agents run <profile-or-provider> --wait --timeout 90 "<brief>"
On timeout the a
자주 묻는 질문
서브에이전트가 꼭 필요한가요?
아닙니다. 스킬은 일상적인 작업에는 일반 도구를 쓰고, 별도의 작업자가 실제로 도움이 될 때만 위임하라고 설명합니다.
작업자는 어떻게 고르나요?
먼저 사용 가능한 대상을 나열한 뒤, 맞는 이름 있는 역할을 우선하고, 없으면 코딩 제공자를 고른다고 설명합니다.
서브에이전트가 꺼져 있으면 어떻게 하나요?
스킬은 다시 시도하지 말고, 설정에서 서브에이전트가 꺼져 있다고 사용자에게 알리라고 설명합니다.
상세 정보
작성자의 원본 설명
Delegate focused coding, research, review, or verification work to a bounded DevSpace subagent. Use when a task benefits from separate context, a specialist perspective, or a follow-up with the same worker.
repo: Waishnav/devspace
인기도
- GitHub 스타
- 5.4k
- 순위
- #14958
- 라이선스
- MIT
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.