Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

create-skill创造技能

Agent Skill

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

总安装

216

周安装

9

GitHub Stars

51

下载量

72
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/paulrberg/agent-skills --skill create-skill

简介

create-skill 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。
  • 通过 npx skills add 命令从指定仓库安装,需确认权限和维护状态。
  • 使用前建议核验是否会触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Create Skill

Bootstrap a new agent skill, then symlink it into .claude/skills/ so Claude Code can discover it. Default to splitting bulk content into references/ and scripts/ so SKILL.md stays lean.

Arguments

  • skill-name (required): kebab-case name (e.g., my-skill). Stop if missing or invalid.
  • --global (optional): install under ~ instead of the current repo.

Resolved Paths

ModeSkill sourceClaude Code symlink
local (default).agents/skills/<name>/.claude/skills/<name>
--global~/.agents/skills/<name>/~/.claude/skills/<name>

The symlink target is always the relative path ../../.agents/skills/<name> so it resolves correctly in both scopes.

Skill Layout

<name>/
├── SKILL.md       # Required: frontmatter + lean workflow (aim for <500 lines)
├── scripts/       # Optional: executable code (Bash/Python/etc.) the workflow invokes
├── references/    # Optional: long-form docs loaded on demand
└── assets/        # Optional: templates / fonts / images used in OUTPUT (never loaded into context)

Agents load skills via progressive disclosure, in three stages:

  1. Discovery — only name + description are visible at startup. Front-load triggers in description.
  2. Activation — the full SKILL.md body is read once a task matches.
  3. Executionscripts/ run without being read into context; references/ are read only when SKILL.md explicitly links to them.

Keep SKILL.md focused on workflow. Push bulk into scripts/ (deterministic logic) or references/ (documentation).

When to Split Content

Use scripts/ when

  • The same code would be rewritten on every invocation (e.g., PDF rotate, JSON transform, curl wrapper).
  • Determinism matters more than flexibility (parsing, validation, codegen, idempotent setup).
  • A shell pipeline grows past ~5 lines or needs real error handling.
  • A long heredoc keeps appearing inside SKILL.md.

Scripts are token-efficient: the agent invokes them without reading them. Document the CLI signature in SKILL.md and leave the implementation in scripts/.

Use references/ when

  • A topic exceeds ~100 lines of prose, examples, or schemas.
  • Content is conditionally relevant (variant-, framework-, or domain-specific) — splitting keeps irrelevant context out.
  • Detailed API surfaces, DB schemas, policies, or large templates would otherwise dominate SKILL.md.
  • The same explanation would be repeated across multiple skills (extract once, link from each).

Rules of thumb:

  • One level deep — link references/foo.md directly from SKILL.md, never reference-to-reference.
  • Files >100 lines: include a table of contents at the top.
  • Files >10k words: document grep patterns in SKILL.md so the agent can locate sections without reading the whole file.
  • No duplication — each fact lives in SKILL.md *or* a reference, never both.
  • For every reference, write one line in SKILL.md that says *when* to read it.

Reference organization patterns

Pattern A — High-level guide + topical references

SKILL.md
references/
├── forms.md
├── api.md
└── examples.md

SKILL.md teaches the happy path; references hold deep-dive material.

Pattern B — Domain or variant split

SKILL.md           # workflow + selection logic
references/
├── aws.md
├── gcp.md
└── azure.md

The agent reads only the variant the user picked — irrelevant providers never enter context.

Pattern C — Conditional details

Inline the basic case in SKILL.md, link advanced files for edge cases (tracked-changes.md, ooxml.md, etc.).

Do NOT add to a skill

  • README.md, INSTALLATION.md, CHANGELOG.md, QUICK_REFERENCE.md — extraneous.
  • Notes about how the skill was authored, test logs, scratch files.
  • Anything the agent will not use at runtime.

Workflow

1. Fetch Agent Skills Docs

Always fetch the latest spec before authoring frontmatter or content:

Use WebFetch to confirm the current frontmatter schema, naming rules, and progressive-disclosure conventions. Do not guess — the spec evolves.

2. Validate

  • Reject names that are not kebab-case or collide with an existing skill at the resolved path.
  • Stop if <scope>/.agents/skills/<name>/ or <scope>/.claude/skills/<name> already exists.

3. Plan the Layout

Before writing anything, decide what belongs where:

  • Will the workflow invoke helper code? → scripts/<name>.{sh,py,ts}
  • Schemas, long examples, variant guides, domain knowledge? → references/<topic>.md
  • Templates or files the skill writes into the user's output? → assets/
  • None of the above? → ship just SKILL.md.

Sketch the directory tree first, then create only the subdirectories the layout actually needs.

4. Create the Skill

mkdir -p "<scope>/.agents/skills/<name>"
# Add only the subdirectories the layout calls for:
# mkdir -p "<scope>/.agents/skills/<name>/scripts"
# mkdir -p "<scope>/.agents/skills/<name>/references"

Write <scope>/.agents/skills/<name>/SKILL.md with:

  • Frontmatter sorted alphabetically, with description last. The description is the only field seen at discovery time — front-load trigger phrases there, not in the body.
  • A short # Title.
  • A one-line summary of what the skill does.
  • ## Arguments (if any) and ## Workflow sections in imperative form with concrete steps.
  • Explicit links to every references/ file the workflow may need, each with a one-line note describing *when* to read it.
  • CLI signatures for any bundled scripts so the agent can call them without reading them.

Aim for SKILL.md under 500 lines. If a section grows past ~50 lines and is not core workflow, move it to references/ and link it.

5. Create the Claude Code Symlink

Always create a relative symlink so Claude Code picks the skill up from its own discovery path:

mkdir -p "<scope>/.claude/skills"
ln -s "../../.agents/skills/<name>" "<scope>/.claude/skills/<name>"

6. Verify

  • test -f "<scope>/.agents/skills/<name>/SKILL.md"
  • readlink "<scope>/.claude/skills/<name>" resolves to the source directory.
  • Print both absolute paths to the user.

Notes

  • Frontmatter rule: sort fields alphabetically, but always place description last.
  • "When to use" information belongs in description (discovery-time), not in the body (activation-time only).
  • Use imperative / infinitive form throughout SKILL.md.
  • All paths inside SKILL.md (e.g., references/foo.md, scripts/bar.sh) are relative to the skill directory.
  • Bash scripts inside the skill must be compatible with Bash 3.2 (/bin/bash), since Codex uses the built-in Bash by default.
  • Do not commit the new skill — leave that to the user.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.9%
按下载量换算25

Claude

31.75%
按下载量换算23

Cursor

18.08%
按下载量换算13

Gemini CLI

9.11%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/paulrberg/agent-skills --skill create-skill 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills