원클릭으로
cai-add-agent
Use when creating a custom domain agent. Triggers: 'cai-add-agent', 'agent 추가', 'domain agent', 'add agent', '에이전트 추가', '에이전트 생성'
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when creating a custom domain agent. Triggers: 'cai-add-agent', 'agent 추가', 'domain agent', 'add agent', '에이전트 추가', '에이전트 생성'
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Add backlog items to an existing sprint through guided brainstorming and planning. Automatically detects sprint context or asks for sprint location. Includes brainstorming phase, plan mode for task design, and ensures tasks are sized for single Claude Code sessions. Triggers include "add backlog", "new feature", "add task", "백로그 추가", "기능 추가", "태스크 추가".
Initialize a sprint with kanban-style structure for multi-agent collaboration. Use when user wants to start a sprint, set up sprint structure, or manage work with multiple agents. Triggers include "new sprint", "init sprint", "setup sprint", "start sprint", "스프린트 시작", "스프린트 초기화", "새 스프린트". Creates BACKLOG.md, HANDOFF.md, INSTRUCTION.md, and sets up active/, refs/designs/, refs/plans/ folders.
Design Feature or Task in detail within a sprint. Refines backlog items through brainstorming, creates implementation plan in Plan mode, and adds Sub-tasks to BACKLOG.md upon approval. Triggers: 'plan task', 'plan feature', 'plan backlog'
Review completed Task or Feature deliverables. Uses type-specific checklists (coding/docs/ideation/general) for quality review. Two modes: default (creates improvement Tasks) and immediate-fix (fixes issues directly). Triggers: 'review task', 'review feature', 'review backlog'
Review work in the current session after an agent marks a task as review. Applies type-specific criteria (coding/design/docs/general), reports findings, user selects improvements, enters Plan Mode, then executes improvements and marks task done. Triggers: 'review work', '작업 리뷰', '리뷰해줘'
Apply latest sprint-init template changes to existing sprints. Updates only rules/guidelines sections while preserving user data (Features, Tasks, tables). Triggers: 'update sprint', 'upgrade sprint', 'update template', 'update sprint version'
| name | cai-add-agent |
| description | Use when creating a custom domain agent. Triggers: 'cai-add-agent', 'agent 추가', 'domain agent', 'add agent', '에이전트 추가', '에이전트 생성' |
Creates a new project-specific agent definition file and optionally registers it in the rules file's agent routing trigger table.
Collect the following (from conversation context or by asking the user):
| Field | Description | Required |
|---|---|---|
| Name | Agent identifier in kebab-case (e.g., payment-expert) | Yes |
| Role | What this agent does (1-2 sentences) | Yes |
| Trigger patterns | When should this agent be invoked | Yes |
| File areas | Which files/directories this agent is responsible for | Yes |
| Domain knowledge | Specialized knowledge this agent needs | No |
| Referenced specs | Context docs this agent should read | No |
Create .claude/agents/{name}.md following Interface Contract 0.3 format:
---
name: {name}
description: "{trigger description}"
model: inherit
---
# {Agent Display Name}
## Role & Scope
{Role description, available tools, authority boundaries}
## Inputs
{What this agent receives: file paths, previous agent outputs, etc.}
## Process
{Step-by-step work procedure}
## Domain Knowledge
{Agent-specific expertise relevant to its domain}
## Output Format
{Exact format of artifacts and where they are stored}
## Referenced Specs
{List of context docs this agent should read}
## Constraints
{What this agent must NOT do}
Ask the user: "Add this agent to the routing trigger table in cai.md?"
If yes, add a row to the PROJECT-SPECIFIC section of .claude/rules/cai.md:
<!-- PROJECT-SPECIFIC:START -->
## [PROJECT-SPECIFIC] Agent routing trigger table
| Trigger Pattern | Agent | Description |
|----------------|-------|-------------|
| {existing rows} |
| {new trigger pattern} | {agent-name} | {brief description} |
<!-- PROJECT-SPECIFIC:END -->
Present the generated agent file to the user for review. Write to disk only after approval.
This skill does not invoke other agents. It generates agent definition files directly.
| Artifact | Path | Format |
|---|---|---|
| Agent definition | .claude/agents/{name}.md | Markdown with YAML frontmatter (Interface Contract 0.3) |
| Trigger table row | .claude/rules/cai.md | Appended to PROJECT-SPECIFIC section |
| Error | Action |
|---|---|
| Agent with same name already exists | Ask user: update existing or choose a different name |
.claude/agents/ directory does not exist | Create it before writing |
| Rules file has no PROJECT-SPECIFIC section | Add the section markers and trigger table |
| User provides insufficient role description | Ask clarifying questions about the agent's purpose and scope |