本文へ移動
cccskills
無料GitHub で公開

agent-specialization

Guide creation of focused single-purpose agents following the One Agent One Prompt One Purpose principle. Use when designing new agents, refactoring general agents into specialists, or optimizing agent context for a single task.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md4.4 KB
  • metadata.json1.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Agent Specialization Skill

Guide for creating focused, single-purpose agents that maximize effectiveness.

When to Use

  • Designing new agents for workflows
  • Refactoring god-mode agents into specialists
  • Optimizing agent context usage
  • Creating eval-friendly agent architecture

Core Principle

"One Agent, One Prompt, One Purpose"

Every agent should:

  • Have exactly one purpose
  • Run exactly one prompt
  • Use the full context window for that purpose
  • Be reproducible and improvable

Design Workflow

Step 1: Identify the Single Purpose

Ask: "What is the ONE question this agent answers?"

Good PurposeBad Purpose
"Classify this issue""Classify, plan, and implement"
"Generate a patch plan""Fix all the bugs"
"Review against spec""Review, test, and document"

Step 2: Determine Minimum Required Context

Apply the Minimum Context Principle:

## Required Context
- [Specific file or section needed]
- [Pattern or example needed]

## NOT Needed
- [Documentation that's irrelevant]
- [Code that won't be touched]

Step 3: Select Appropriate Tools

Only include tools the agent will actually use:

PurposeTools
ClassificationRead
PlanningRead, Write, Glob
ImplementationRead, Write, Edit, Bash
ReviewRead, Bash, Glob
DocumentationRead, Write

Step 4: Choose Model

Match model to task complexity:

ModelBest For
haikuClassification, simple extraction
sonnetPlanning, moderate reasoning
opusComplex implementation, critical decisions

Step 5: Design Focused Output Format

Output should be:

  • Structured (JSON when appropriate)
  • Minimal (only what downstream needs)
  • Parseable (for automation)

Agent Template

---
description: [Single sentence describing the ONE purpose]
tools: [Only tools actually needed]
model: [haiku/sonnet/opus based on complexity]
---

# [Agent Name]

You are a [role] agent. Your ONE purpose is to [specific task].

## Your Capabilities

- **[Tool]**: [How it supports the purpose]

## Process

[Focused steps for the single purpose]

## Output Format

[Structured output format]

## Rules

1. [Constraint that maintains focus]
2. [Another constraint]

Anti-Patterns to Avoid

God Mode Agent

# BAD: Does everything
You are an all-purpose assistant. Plan features,
implement code, write tests, review changes, and
create documentation. Handle any request.

Unfocused Output

# BAD: Returns everything
Return a detailed analysis including history,
context, alternatives, implications, and
recommendations for all stakeholders.

Kitchen Sink Tools

# BAD: All tools enabled
tools: [Read, Write, Edit, Bash, Glob, Grep, WebFetch, Task, ...]

Benefits of Specialization

  1. Full Context Window: 100% for the task
  2. No Context Confusion: Single objective
  3. Reproducible: Same prompt, same behavior
  4. Improvable: Can optimize independently
  5. Eval-Friendly: Can A/B test models
  6. Debuggable: Clear scope of responsibility

Example: Specialized vs God Mode

God Mode (Bad)

Handle the GitHub issue:
1. Classify it
2. Create a branch
3. Plan the implementation
4. Implement the feature
5. Write tests
6. Run tests
7. Review the implementation
8. Fix any issues
9. Create documentation
10. Create a PR

Specialized (Good)

/classify-issue → Issue Classifier Agent
/generate-branch-name → Branch Namer Agent
/feature → Plan Generator Agent
/implement → Plan Implementer Agent
/test → Test Runner Agent
/review → Spec Reviewer Agent
/patch → Patch Planner Agent
/document → Documentation Generator Agent
/pull-request → PR Creator Agent

Each agent does ONE thing well.

Memory References

  • @one-agent-one-purpose.md - Full principle documentation
  • @minimum-context-principle.md - Context engineering guidance
  • @review-vs-test.md - Example of different purposes

Version History

  • v1.0.0 (2025-12-26): Initial release

Last Updated

Date: 2025-12-26 Model: claude-opus-4-5-20251101

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

[00] TnR ABSOLUTE RIGOR — Systemic Verification Doctrine. Forced cognitive exertion for high-stakes investigations. Mandates absolute deconstruction, mathematical proof chains, and ≥95% derived certainty. Zero-tolerance for heuristics or sentiment-based reasoning. Shortcuts are defined as intentional hallucinations.

日本語の概要は準備中です。原文の説明を表示しています。

diegosouzapw/awesome-omni-skill622026年3月2日 更新

2agent

無料日本語概要

Configures 2-Agent workflow between PM and implementation roles. Use when user mentions 2-Agent, 2エージェント, PM連携設定, Cursor設定, Cursor連携, 2-agent運用. Do NOT load for: 単独運用, ワークフロー実行, ハンドオフ処理.

diegosouzapw/awesome-omni-skill622026年3月2日 更新

Appends relevant hashtags to journal entries based on content analysis. Intended for LLM execution.

日本語の概要は準備中です。原文の説明を表示しています。

diegosouzapw/awesome-omni-skill622026年3月2日 更新

add-agent

無料

Add a new AI coding agent to Agent Sandbox. Creates all required files (Dockerfile, templates, CI, docs) and wires the agent into the CLI, proxy, and build system.

日本語の概要は準備中です。原文の説明を表示しています。

diegosouzapw/awesome-omni-skill622026年3月2日 更新

Add a new property to the AI agents database. Use when the user wants to add, create, or introduce a new column, property, field, or feature to track across all agents in the comparison matrix. Handles all four required steps - database updates, groups.json, table display, and GitHub issue templates.

日本語の概要は準備中です。原文の説明を表示しています。

diegosouzapw/awesome-omni-skill622026年3月2日 更新

Add new Agent templates to the meta-agent-skills framework.

日本語の概要は準備中です。原文の説明を表示しています。

diegosouzapw/awesome-omni-skill622026年3月2日 更新

diegosouzapw のスキルをすべて見る

このスキルの問題を報告する