
Which Tasks Need a Claude Code Subagent? Planner
List your recurring tasks; get a keep-as-agent / skill / script verdict and read-only .claude/agents drafts. #엔지니어링
붙여넣는 내용과 받는 결과
붙여넣는 내용: 코딩 작업 과정에서 반복되는 작업들(얼마나 자주 하는지, 규모는 어느 정도인지, 무엇을 건드리는지)입니다.
받는 결과: 각 작업이 눈으로 확인할 수 있는 평가 기준으로 점수가 매겨져 서브에이전트, 스킬, 스크립트, 수동 유지 중 하나로 분류됩니다. 여기에 인력 배치표와, 에이전트를 둘 만한 작업에 대한 Claude Code 서브에이전트 형식(.claude/agents/
1회 결제 다운로드. 로그인하고 한 번 결제한 뒤 SKILL.md를 내려받아 사용하시는 AI 에이전트에서 실행합니다. Claude Code용으로 만들어졌으며, SKILL.md 파일을 읽는 다른 에이전트(Codex CLI나 OpenClaw 등)에서도 작동할 것으로 보입니다. 네트워크 접속이나 추가 도구는 필요하지 않습니다. 저희 쪽 구독은 없으며, 사용하시는 에이전트와 그 요금제를 그대로 쓰시면 됩니다.
샘플 출력
입력은 직접 작성한 일반적인 작업 목록이었습니다.
이 스킬을 샘플 문제에 실행해 얻은, 편집하지 않은 실제 출력입니다.
## Evidence
| # | Task | Frequency | Input size | Output | Side effects | Pain |
|---|---|---|---|---|---|---|
| 1 | Dependency scan | Weekly | ~400 package files + lockfile | Short table | None | Volume of reading |
| 2 | Format + lint fix | Daily | Changed files | Clean code | Edits files | Manual, forgettable |
| 3 | PR review (tests, input handling) | Several/week | 20+ file diffs | Short report | None | Big diffs fill context |
| 4 | Error-log summary | Monthly | 30 days of logs, very long | Top recurring errors | None | Size |
| 5 | Feature-flag rename | Occasional | Codebase-wide search | Edited files | Edits many files | Needs judgement |
| 6 | Release checklist | Twice/month | The checklist | Steps done with you | Unknown, likely tags/deploys | Unknown |
## Rubric scores
| # | 1 Freq | 2 Context | 3 Isolation | 4 Tool risk | 5 Parallel | 6 Simpler option |
|---|---|---|---|---|---|---|
| 1 | `+` weekly, same shape | `+` reads far more than it reports | `+` lockfile noise stays out of chat | `+` read-only if `npm audit`/`outdated` output is passed in as files | `0` one lockfile | `0` `npm audit` gives raw data, but not the "risky" judgement |
| 2 | `+` daily | `-` only changed files | `0` | `-` must write | `0` | `-` Prettier/ESLint `--fix` in a pre-commit hook |
| 3 | `+` several/week | `+` 20+ files → short report | `+` diff noise stays out | `+` Read/Grep/Glob are enough if you pass the diff | `+` split per module | `+` no script judges missing tests |
| 4 | `0` monthly, not weekly | `+` very long logs | `+` | `+` read-only | `+` per-week chunks | `-` a grouping script (normalise, count, sort) does the heavy part |
| 5 | `-` occasional | `+` codebase-wide search | `-` needs your judgement in the chat | `-` broad edits | `0` | `0` |
| 6 | `0` twice/month | `-` | `-` needs the conversation | `-` release steps change state | `-` sequential | `-` a skill covers it |
## Buckets
- **Agent:** 1, 3
- **Script/CI:** 2 (pre-commit hook), 4 (aggregation script, then the main session summarises its short output)
- **Skill:** 6 (the checklist as a skill the main session follows with you)
- **Stay manual:** 5 (do it in the main session, where you can approve each judgement call)
## Anti-pattern check
- No one-agent-per-task: 6 tasks → 2 agents. Tasks 1 and 3 read different material, so they are not merged.
- No write tools: both agents are Read/Grep/Glob only. The main session runs `npm audit --json`, `npm outdated --json` and `git diff`, saves the output to files and passes the paths. That avoids granting Bash at all.
- No god-agent, no nested delegation, and no secrets in the bodies.
## Agent drafts
`.claude/agents/dependency-auditor.md`
```markdown
---
name: dependency-auditor
description: Reviews a Node lockfile plus npm audit/outdated JSON and returns a short risk table. Read-only; never edits files or runs commands.
tools: Read, Grep, Glob
---
You are the dependency auditor for this project. You receive a request without the surrounding conversation.
## Do
1. Confirm you were given the repo path, the lockfile path, and the paths to `npm audit --json` and `npm outdated --json` output files.
2. Read the audit and outdated files. Use the lockfile and package.json files only to check whether a package is direct or transitive and which top-level dependency pulls it in.
3. Rank the packages by risk: known vulnerabilities by severity first, then major versions behind, then deprecation notices found in package metadata.
## Does not do
- Does not edit, create or delete files.
- Does not run commands, install, upgrade or push anything.
- Does not guess: anything it cannot confirm from the given files is marked "unverified".
- Does not recommend upgrades beyond naming the target version.
## If context is missing
Say exactly which file or path is missing and stop. Do not assume.
## Report format
Table of at most 15 rows: Package | Direct/Transitive | Current | Latest | Issue | Severity | Suggested target.
Then a one-line verdict: "N urgent, N worth scheduling, rest fine."
```
`.claude/agents/pr-reviewer.md`
```markdown
---
name: pr-reviewer
description: Reviews a saved PR diff for missing tests and unsafe input handling and returns a short report. Read-only; never edits files.
tools: Read, Grep, Glob
---
You are the PR reviewer for this project. You receive a request without the surrounding conversation.
## Do
1. Confirm you were given the repo path, the diff file path, and the scope (all files, or a named module).
2. For each changed source file, find its tests with Glob/Grep. Flag new or changed behaviour that has no matching test change.
3. Check changed code that handles request input (params, body, query, headers, uploads) for missing validation, unescaped output, raw SQL/shell construction and unchecked redirects.
4. Report findings only. Do not narrate your process.
## Does not do
- Does not edit, create or delete files.
- Does not run commands, tests or git operations.
- Does not guess: unclear cases are reported as "unverified".
- Does not comment on style or formatting; linting handles that.
## If context is missing
Say exactly what is missing (diff path, scope) and stop.
## Report format
At most 10 bullets, each written as `file:line — category (Missing test | Input handling) — one-line issue`.
Then a one-line verdict: "Ready", "Ready with notes", or "Needs changes".
```
## Delegation examples
- **dependency-auditor:** "Repo /work/example-shop. Lockfile /work/example-shop/package-lock.json. Audit JSON at `<path>`, outdated JSON at `<path>`. Return the risk table."
- **pr-reviewer:** "Repo /work/example-shop. Diff at `<path>` (main...feature-x). Scope: all files." For large PRs, run one copy per top-level module with the same diff path and a different scope, then have the main session merge the reports and remove duplicates.
## Staffing table
| Task | Bucket | Criteria met | Agent name or alternative | Tools | Writes? |
|---|---|---|---|---|---|
| 1 Dependency scan | Agent | 1, 2, 3, 4 | dependency-auditor | Read, Grep, Glob | No |
| 2 Format/lint | Script/CI | 1 | Pre-commit hook (Prettier + ESLint `--fix`) | — | Yes (by the hook) |
| 3 PR review | Agent | 1, 2, 3, 4, 5, 6 | pr-reviewer | Read, Grep, Glob | No |
| 4 Log summary | Script/CI | 2, 3, 4, 5 | Grouping script, then the main session summarises | — | No |
| 5 Flag rename | Stay manual | 2 | Main session, with you approving edits | — | Yes (reviewed) |
| 6 Release | Skill | none | Release-checklist skill | — | Per step |
**Recommendation: 2 agents.** Not staffed:
- 2: deterministic, so a hook is cheaper.
- 4: monthly, and a script does the heavy reduction.
- 5: rare and judgement-heavy, so it belongs with you.
- 6: needs the conversation, so a skill fits better.
**Review step:** read each draft's `tools:` line and its `Does not do` list before saving. Saving the files, and deciding which tools to grant, is your call. I haven't written anything to disk.
활용 사례
- 같은 잡무를 Claude Code에 계속 다시 설명하고 있어서 에이전트로 만들어야 하는지 고민될 때
- 모든 도구를 가진 채 지나치게 커진 '헬퍼' 에이전트를 정리할 때
- 반복 작업을 에이전트, 스킬, 스크립트, git 훅 중 무엇으로 처리할지 정할 때
- 각 에이전트에 최소 권한 도구와 명확한 보고 형식을 부여할 때
자주 묻는 질문
파일을 대신 만들어 주나요? 요청하지 않으면 만들지 않습니다. 초안은 답변 안에 작성되며, 무엇을 저장할지는 직접 정하십시오.
Claude Code 전용인가요? 초안은 Claude Code의 에이전트 형식을 사용합니다. SKILL.md 파일을 읽는 다른 에이전트도 점수 매기기 단계를 따라 할 수 있을 것으로 보이지만, Claude Code를 기준으로 만들고 설명한 제품입니다.
에이전트를 만들지 말라고 말해 주기도 하나요? 자주 그렇습니다. 스크립트, 훅, 저장된 프롬프트가 더 잘 처리하는 작업은 그렇게 표시됩니다.
여기에 언급된 Anthropic, OpenAI, OpenClaw를 비롯한 제품명과 회사명은 각 소유자의 상표이며, 이 스킬은 독립 제품으로서 이들 중 어느 곳과도 제휴, 보증, 후원 관계가 없습니다.
작동 방식(상세)
Subagent Staffing Planner는 '이 작업은 에이전트를 만들어야겠다'고 생각하지만 어떤 작업이 정말 에이전트를 둘 만한지 확신이 서지 않을 때를 위한 것입니다. 반복 작업마다 점수를 매겨, 수동으로 남겨 둘 것, 일반 스킬로 만들 것, 스크립트로 만들 것을 알려 줍니다.
1단계 — 작업 나열. 주신 반복 작업마다 빈도, 입력 규모, 필요한 출력, 부수 효과, 불편함을 정리합니다. 알 수 없는 항목은 알 수 없음으로 표시해 둡니다.
2단계 — 점수 매기기. 투명한 평가 기준을 사용합니다: 빈도, 컨텍스트 크기, 격리 필요성, 도구 위험도, 병렬성, 그리고 스크립트나 저장된 프롬프트로 충분한지 여부입니다.
3단계 — 분류와 안티패턴. 에이전트, 스킬, 스크립트, 수동 유지 중 하나로 분류하고, 작업 하나당 에이전트 하나를 두는 방식과 쓰기 도구를 가진 만능 에이전트에 해당하지 않는지 점검합니다.
4단계 — 초안과 표. 명시적 tools 줄과 하지 않는 일 목록을 갖춘 읽기 전용 .claude/agents/


