スキル一覧に戻る
aiskillstore

creating-agents

by aiskillstore

creating-agentsは、other分野における実用的なスキルです。複雑な課題への対応力を強化し、業務効率と成果の質を改善します。

102🍴 3📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: creating-agents description: | Creates Claude Code subagents for task delegation. Guides through agent configuration, tool selection, and system prompts. Use this skill when the user wants to create a new agent, delegate tasks to specialists, or asks about subagents.

Creating Agents

Guides creation of Claude Code subagents for task delegation.

Quick Start

  1. Define agent purpose (what task does it handle?)
  2. Choose location (project or user level)
  3. Select tools (minimal set needed)
  4. Write system prompt
  5. Save to .claude/agents/

Workflow: Create New Agent

Progress:
- [ ] Define purpose and triggers
- [ ] Choose storage location
- [ ] Select tools and model
- [ ] Write system prompt
- [ ] Create agent file

Step 1: Define Purpose

Ask user:

  • What specific task should this agent handle?
  • When should it be invoked? (trigger phrases)
  • Should it run proactively or on-demand?

Step 2: Choose Location

LocationPathUse For
Project.claude/agents/Team-shared, project-specific
User~/.claude/agents/Personal, cross-project

Project agents take priority over user agents.

Step 3: Select Tools and Model

Tools - Grant minimum needed:

ToolPurpose
ReadRead files
WriteCreate files
EditModify files
GlobFind files
GrepSearch content
BashRun commands
TaskSpawn subagents

Model - Choose based on task:

ModelBest For
opusComplex reasoning, nuanced decisions
sonnetGeneral tasks (default)
haikuQuick lookups, simple analysis
inheritUse parent's model

Step 4: Write System Prompt

Keep prompts focused:

  • State the agent's role clearly
  • Define scope and constraints
  • Provide examples if helpful
  • Avoid unnecessary detail

Step 5: Create Agent File

---
name: {agent-name}
description: {when to use - include trigger words}
tools: Read, Grep, Glob
model: sonnet
---

{System prompt here}

Save to .claude/agents/{name}.md

Agent File Format

---
name: agent-name          # Required: lowercase, hyphens
description: |            # Required: when to invoke
  Reviews code for quality issues.
  Use when user asks for code review.
tools: Read, Grep, Glob   # Optional: omit to inherit all
model: sonnet             # Optional: opus, sonnet, haiku, inherit
permissionMode: default   # Optional: permission handling
skills: skill1, skill2    # Optional: auto-load skills
---

System prompt defining the agent's behavior.

Built-in Agents

Before creating custom agents, know what's built-in:

AgentModelToolsPurpose
general-purposesonnetAllComplex multi-step tasks
planhaikuRead, Glob, Grep, BashResearch and strategy
explorehaikuRead, Glob, GrepFast codebase exploration

When to create custom agents:

  • Need different tool restrictions
  • Want domain-specific prompts
  • Need proactive invocation

When to Use Each Type

NeedUse
Quick file searchBuilt-in explore
Research before planningBuilt-in plan
Multi-step code changesBuilt-in general-purpose
Code review with specific rulesCustom reviewer agent
Security analysisCustom security agent
Domain expertise (DB, API, etc.)Custom specialist agent

Proactive Invocation

To make Claude automatically use your agent, include in description:

  • "PROACTIVELY" or "MUST BE USED"
  • Clear trigger conditions
description: |
  PROACTIVELY reviews all code changes before commit.
  MUST BE USED when user mentions "review" or "check code".

Templates

Use templates from templates/ directory:

See reference.md for complete configuration details.

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

+5
最近の活動

3ヶ月以内に更新

+5
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

レビュー

💬

レビュー機能は近日公開予定です