Token导航 LogoToken导航TokenDH.com
AI 工具需要联网github未标认证来源可访问clear审计通过

agent-specializationAgent 专业化

Agent Skill

agent-specialization 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

380

周安装

16

GitHub Stars

61

下载量

133
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-specialization(Agent 专业化)
来源仓库:https://github.com/melodic-software/claude-code-plugins
仓库路径:skills/agent-specialization
安装命令:
npx skills add https://github.com/melodic-software/claude-code-plugins --skill agent-specialization
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/melodic-software/claude-code-plugins --skill agent-specialization

简介

用于打造专注单一目的的高效能专用代理。agent-specialization 属于AI 工具类 Skill,可作为该场景下的辅助能力补充。

  • 适合重构全能型代理为模块化 specialists 时使用。
  • 通过 GitHub 安装,遵循 "一个代理、一个提示、一个用途" 原则。
  • 最大化上下文窗口利用率,提升可复现性和可改进性。
  • 适用于工作流设计与评估友好的代理架构优化。

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

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Antigravity

29.71%
按下载量换算40

trae

19.46%
按下载量换算26

windsurf

16.46%
按下载量换算22

Claude Code

12.37%
按下载量换算16

Codex

8.07%
按下载量换算11

Gemini CLI

3.18%
按下载量换算4

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills