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

skill-creator

它能做什么

这个技能为你的智能体提供一份指南,用于创建和更新技能包,从而增加专业能力。适合希望为智能体安装或构建技能的人。

适用场景

  • ✓当你想从网址或其他远程来源安装技能的时候。
  • ✓当你想从零开始创建一个新技能的时候。
  • ✓当现有技能需要更新或重新组织结构的时候。

技能链接

https://github.com/zhayujie/CowAgent/blob/master/skills/skill-creator/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请从这个网页链接安装该技能,并告诉我它能做什么。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会按照指南设置技能的文件夹结构和文件。安装和创建技能都要经过这份指南。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Skill Creator

This skill provides guidance for creating effective skills using the existing tool system.

About Skills

Skills are modular, self-contained packages that extend the agent's capabilities by providing specialized knowledge, workflows, and tools. They transform a general-purpose agent into a specialized agent equipped with procedural knowledge.

What Skills Provide

  1. Specialized workflows - Multi-step procedures for specific domains
  2. Tool integrations - Instructions for working with specific file formats or APIs
  3. Domain expertise - Company-specific knowledge, schemas, business logic
  4. Bundled resources - Scripts, references, and assets for complex tasks

Core Principle

Concise is Key: Only add context the agent doesn't already have. Challenge each piece of information: "Does this justify its token cost?" Prefer concise examples over verbose explanations.

Skill Structure

Every skill consists of a required SKILL.md file and optional bundled resources:

skill-name/
├── SKILL.md (required)
│   ├── YAML frontmatter metadata (required)
│   │   ├── name: (required)
│   │   └── description: (required)
│   └── Markdown instructions (required)
└── Bundled Resources (optional)
    ├── scripts/          - Executable code (Python/Bash/etc.)
    ├── references/       - Documentation intended to be loaded into context as needed
    └── assets/           - Files used in output (templates, icons, fonts, etc.)

SKILL.md Components

Frontmatter (YAML) - Required fields:

  • name: Skill name in hyphen-case (e.g., weather-api, pdf-editor)
  • description: CRITICAL - Primary triggering mechanism
    • Must clearly describe what the skill does
    • Must explicitly state when to use it
    • Include specific trigger scenarios and keywords
    • All "when to use" info goes here, NOT in body
    • Example: "PDF document processing with rotation, merging, splitting, and text extraction. Use when user needs to: (1) Rotate PDF pages, (2) Merge multiple PDFs, (3) Split PDF files, (4) Extract text from PDFs."

Body (Markdown) - Loaded after skill triggers:

  • Detailed usage instructions
  • How to call scripts and read references
  • Examples and best practices
  • Use imperative/infinitive form ("Use X to do Y")

Bundled Resources

scripts/ - When to include:

  • Code is repeatedly rewritten
  • Deterministic execution needed (avoid LLM randomness)
  • Examples: PDF rotation, image processing
  • Must test scripts before including

references/ - When to include:

  • ONLY when documentation is too large for SKILL.md (>500 lines)
  • Database schemas, complex API specs that agent needs to reference
  • Agent reads these files into context as needed
  • NOT for: API reference docs, usage examples, tutorials (put in SKILL.md instead)
  • Rule of thumb: If it fits in SKILL.md, don't create a separate reference file

assets/ - When to include:

  • Files used in output (not loaded to context)
  • Templates, icons, boilerplate code
  • Copied or modified in final output

Important: Most skills don't need all three. Choose based on actual needs.

What NOT to Include

Do NOT create auxiliary documentation files:

  • README.md - Instructions belong in SKILL.md
  • INSTALLATION_GUIDE.md - Setup info belongs in SKILL.md
  • CHANGELOG.md - Not needed for local skills
  • API_REFERENCE.md - Put API docs directly in SKILL.md
  • USAGE_EXAMPLES.md - Put examples directly in SKILL.md
  • Any other documentation files - Everything goes in SKILL.md unless it's too large

Critical Rule: Only create files that the agent will actually execute (scripts) or that are too large for SKILL.md (references). Documentation, examples, and guides ALL belong in SKILL.md.

Installing a Skill

Install target directory: <workspace>/skills/<name>/ (the <workspace> is from the "Workspace" section).

Step 1 — Obtain skill content

Source Action
URL (single file) Fetch content via curl or web_fetch
URL (zip/archive) Download and extract to a temp directory
Local file (SKILL.md) Read directly
Local archive (zip) Extract to a temp directory

Step 2 — Identify and install

  1. Locate the SKILL.md (may be at top level or inside a subdirectory)
  2. Extract name from YAML frontmatter
  3. Copy the entire skill directory (SKILL.md and all sibling files/folders such as references/, scripts/, assets/, etc.) into <workspace>/skills/<name>/
  4. If an ins
常见问题

技能里包含什么?

技能有一个带名称和描述的主文件,还可以包含可选的脚本、参考资料和素材。

所有技能任务都要使用它吗?

是的。该技能说明,任何技能的安装或创建任务都应始终使用它。

它会让指令保持简短吗?

会。指南说明,只添加智能体尚未具备的上下文。

详情

作者的原始描述

Create, install, or update skills in the workspace. Use when (1) installing a skill from a URL or remote source, (2) creating a new skill from scratch, (3) updating or restructuring existing skills. Always use this skill for any skill installation or creation task.

repo: zhayujie/CowAgent

热度

GitHub 星标
48k
排名
#3617
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能