Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计异常

creating-agent-skills创造 Agent 技能

Agent Skill

creating-agent-skills 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,755

周安装

71

GitHub Stars

15,876

下载量

551
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/everyinc/compound-engineering-plugin --skill creating-agent-skills

简介

该技能教授如何按照 Anthropic 官方规范创建高效的 Claude Code Skills。

  • 强调清晰提示、标准 Markdown 格式与实用示例,避免冗余上下文。
  • 适用于编写可被广泛复用的技能模板,提升 Agent 自主执行能力。
  • 安装方式:GitHub 仓库,使用 npx 命令添加;注意遵循 YAML frontmatter 与内容结构约定。
  • creating-agent-skills 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Creating Agent Skills

This skill teaches how to create effective Claude Code Skills following Anthropic's official specification.

Core Principles

1. Skills Are Prompts

All prompting best practices apply. Be clear, be direct. Assume Claude is smart - only add context Claude doesn't have.

2. Standard Markdown Format

Use YAML frontmatter + markdown body. No XML tags - use standard markdown headings.

---
name: my-skill-name
description: What it does and when to use it
---

# My Skill Name

## Quick Start
Immediate actionable guidance...

## Instructions
Step-by-step procedures...

## Examples
Concrete usage examples...

3. Progressive Disclosure

Keep SKILL.md under 500 lines. Split detailed content into reference files. Load only what's needed.

my-skill/
├── SKILL.md              # Entry point (required)
├── reference.md          # Detailed docs (loaded when needed)
├── examples.md           # Usage examples
└── scripts/              # Utility scripts (executed, not loaded)

4. Effective Descriptions

The description field enables skill discovery. Include both what the skill does AND when to use it. Write in third person.

Good:

description: Extracts text and tables from PDF files, fills forms, merges documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.

Bad:

description: Helps with documents

Skill Structure

Required Frontmatter

FieldRequiredMax LengthDescription
nameYes64 charsLowercase letters, numbers, hyphens only
descriptionYes1024 charsWhat it does AND when to use it
allowed-toolsNo-Tools Claude can use without asking
modelNo-Specific model to use

Naming Conventions

Use gerund form (verb + -ing) for skill names:

  • processing-pdfs
  • analyzing-spreadsheets
  • generating-commit-messages
  • reviewing-code

Avoid: helper, utils, tools, anthropic-*, claude-*

Body Structure

Use standard markdown headings:

# Skill Name

## Quick Start
Fastest path to value...

## Instructions
Core guidance Claude follows...

## Examples
Input/output pairs showing expected behavior...

## Advanced Features
Additional capabilities (link to reference files)...

## Guidelines
Rules and constraints...

What Would You Like To Do?

  1. Create new skill - Build from scratch
  2. Audit existing skill - Check against best practices
  3. Add component - Add workflow/reference/example
  4. Get guidance - Understand skill design

Creating a New Skill

Step 1: Choose Type

Simple skill (single file):

  • Under 500 lines
  • Self-contained guidance
  • No complex workflows

Progressive disclosure skill (multiple files):

  • SKILL.md as overview
  • Reference files for detailed docs
  • Scripts for utilities

Step 2: Create SKILL.md

---
name: your-skill-name
description: [What it does]. Use when [trigger conditions].
---

# Your Skill Name

## Quick Start

[Immediate actionable example]

[Code example]


## Instructions

[Core guidance]

## Examples

**Example 1:** Input: [description] Output:

[result]


## Guidelines

- [Constraint 1]
- [Constraint 2]

Step 3: Add Reference Files (If Needed)

Link from SKILL.md to detailed content:

For API reference, see [REFERENCE.md](REFERENCE.md).
For form filling guide, see [FORMS.md](FORMS.md).

Keep references one level deep from SKILL.md.

Step 4: Add Scripts (If Needed)

Scripts execute without loading into context:

## Utility Scripts

Extract fields:

python scripts/analyze.py input.pdf > fields.json

Step 5: Test With Real Usage

  1. Test with actual tasks, not test scenarios
  2. Observe where Claude struggles
  3. Refine based on real behavior
  4. Test with Haiku, Sonnet, and Opus

Auditing Existing Skills

Check against this rubric:

  • [ ] Valid YAML frontmatter (name + description)
  • [ ] Description includes trigger keywords
  • [ ] Uses standard markdown headings (not XML tags)
  • [ ] SKILL.md under 500 lines
  • [ ] References one level deep
  • [ ] Examples are concrete, not abstract
  • [ ] Consistent terminology
  • [ ] No time-sensitive information
  • [ ] Scripts handle errors explicitly

Common Patterns

Template Pattern

Provide output templates for consistent results:

## Report Template

[Analysis Title]

Executive Summary

[One paragraph overview]

Key Findings

  • Finding 1
  • Finding 2

Recommendations

  1. [Action item]
  2. [Action item]

Workflow Pattern

For complex multi-step tasks:

## Migration Workflow

Copy this checklist:
  • Step 1: Backup database
  • Step 2: Run migration script
  • Step 3: Validate output
  • Step 4: Update configuration
**Step 1: Backup database**
Run: `./scripts/backup.sh`
...

Conditional Pattern

Guide through decision points:

## Choose Your Approach

**Creating new content?** Follow "Creation workflow" below.
**Editing existing?** Follow "Editing workflow" below.

Anti-Patterns to Avoid

  • XML tags in body - Use markdown headings instead
  • Vague descriptions - Be specific with trigger keywords
  • Deep nesting - Keep references one level from SKILL.md
  • Too many options - Provide a default with escape hatch
  • Windows paths - Always use forward slashes
  • Punting to Claude - Scripts should handle errors
  • Time-sensitive info - Use "old patterns" section instead

Reference Files

For detailed guidance, see:

Success Criteria

A well-structured skill:

  • Has valid YAML frontmatter with descriptive name and description
  • Uses standard markdown headings (not XML tags)
  • Keeps SKILL.md under 500 lines
  • Links to reference files for detailed content
  • Includes concrete examples with input/output pairs
  • Has been tested with real usage

Sources:

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

Claude Code

26.6%
按下载量换算147

Cursor

21.46%
按下载量换算118

Gemini CLI

20.06%
按下载量换算111

OpenCode

14.27%
按下载量换算79

Antigravity

8.96%
按下载量换算49

Codex

3.5%
按下载量换算19

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills