跳到正文
Skillpedia
智能体48k · #6246

agent-creator

它能做什么

这个工具用于创建更小、更专业的 AI 智能体。它可以把重复性或复杂的任务拆分到专门的“大脑”中,让主对话更易于管理。

适用场景

  • ✓有一个经常重复的特定任务时。
  • ✓需要 AI 专注于某一类问题时。
  • ✓不想多次向 AI 重复同样冗长的指令时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/agent-creator/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/agent-creator/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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):

  1. Agent name — What should this agent be called?

    • Guide: short, lowercase, hyphenated (e.g., code-reviewer, sql-expert, test-writer)
  2. Purpose — What is this agent for? (even a single line is fine)

    • Example: "review code", "write SQL queries", "generate unit tests"
  3. 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
  4. 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.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#6246
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能