agent-creator
它能做什么
这个工具用于创建更小、更专业的 AI 智能体。它可以把重复性或复杂的任务拆分到专门的“大脑”中,让主对话更易于管理。
适用场景
- ✓有一个经常重复的特定任务时。
- ✓需要 AI 专注于某一类问题时。
- ✓不想多次向 AI 重复同样冗长的指令时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/agent-creator/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“创建一个名为“code-reviewer”的智能体,用于检查 Python 代码中的安全漏洞。”
每周 5 个新技能,1 分钟读完。
工作原理
它会先询问新智能体的名称、用途以及应放置的位置。然后,它会为该智能体撰写详细的角色描述(人设),并按正确的结构组织所需文件。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Agent Creator
A skill for creating custom subagents packaged inside proper plugins. This skill handles the entire flow: gathering requirements, generating a rich persona from even a one-line description, scaffolding the correct folder structure, and optionally creating a companion skill that auto-routes tasks to the new agent.
When to use
Use this skill whenever you need a dedicated, isolated "brain" to handle a specific repetitive task, or when you find yourself repeatedly pasting the same massive system prompt or constraints into the main chat. Creating a dedicated subagent keeps the main conversation lightweight and focused.
Why this exists
The contributed example assumes a Windows-style host layout <appDataDir>\config\plugins\; it is not a universal Codex/Claude plugin path. For
a subagent to be properly registered and invokable, it needs to be inside a
plugin's agents/ directory with a valid plugin.json. Getting this structure
right manually is tedious and error-prone. This skill automates the entire
process so the user can go from "I want an agent that reviews code" to a reviewable agent package. Activation requires host-specific schema validation and an actual invocation check.
Target directory
Confirm the user's target host and its supported schema/path first. Codex and Claude distribution remain intentionally blocked in this skill's metadata until compatible packaging is validated. Do not remove these blocks merely because a folder can be created. The legacy example layout is:
<appDataDir>\config\plugins\<plugin-name>\
If the user wants the agent inside an existing plugin, add the agent folder
to that plugin's agents/ directory. If no plugin is specified, create a new
plugin named <agent-name>-plugin.
Before creating any path, validate both <agent-name> and <plugin-name>:
- accept only lowercase letters, numbers, and single hyphens:
^[a-z0-9]+(-[a-z0-9]+)*$ - reject
/,\,.,.., absolute paths, whitespace, shell metacharacters, and YAML metacharacters - resolve the final target path and verify it stays under
<appDataDir>\config\plugins\ - stop and ask for a safe replacement instead of sanitizing a suspicious name silently
Workflow
Use information already supplied, make routine reversible drafting choices, and ask only for material missing host, purpose or placement requirements. Creating a persona does not grant permission to spawn agents or modify global host configuration.
Step 1: Gather requirements
Ask the user these questions one at a time (use the ask_question tool where
appropriate, or ask conversationally if the flow is natural):
Agent name — What should this agent be called?
- Guide: short, lowercase, hyphenated (e.g.,
code-reviewer,sql-expert,test-writer)
- Guide: short, lowercase, hyphenated (e.g.,
Purpose — What is this agent for? (even a single line is fine)
- Example: "review code", "write SQL queries", "generate unit tests"
Plugin placement — Should this go into an existing plugin or a new one?
- List the user's existing plugins from
<appDataDir>\config\plugins\ - Default: create a new plugin named
<agent-name>-plugin
- List the user's existing plugins from
Companion skill — Should I also create a routing skill that auto-triggers this agent? (Create only when requested)
Step 2: Generate the persona
This is the most important step. The user might give you a one-liner like "for reviewing code" — your job is to expand that into a rich, detailed persona that makes the agent genuinely excellent at its job.
A good persona includes:
- Identity: Who the agent is and what it specializes in
- Expertise areas: Specific domains, technologies, or methodologies it knows
- Personality traits: How it communicates (e.g., direct, thorough, cautious)
- Working style: How it approaches problems step by step
- Output format: What its responses look like (structured, prose, etc.)
- Constraints: What it should NOT do or what it should defer to others
- Quality standards: What "good work" looks like for this agent
For example, if the user says "for reviewing code", generate a persona like:
Act as a careful code reviewer working across multiple languages and paradigms. You approach every review with three priorities: correctness first, maintainability second, performance third. You never approve code you haven't fully understood. You flag security vulnerabilities
…
常见问题
这里的“智能体”是什么意思?
智能体就像主 AI 中的一个专门助手,专注于把某项特定任务做好。
什么是“人设”(persona)?
人设是对智能体行为方式的详细描述,包括它掌握的知识、沟通方式,以及应该做什么、不应该做什么。
什么是“插件”(plugin)?
插件是一个打包好的组件,用于组织一个或多个智能体及其功能。它就像一个文件夹,把相关的工具归在一起。
详情
作者的原始描述
Create custom AI subagents with proper plugin structure, persona generation, and companion routing skills.
热度
- GitHub 星标
- 48k
- 排名
- #6246
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。