Token导航 LogoToken导航

Agent Skill · 研究检索

create-skill(创造技能)

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

create-skill 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 52,038。

总安装 565周安装 17GitHub Stars 12下载 140核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/pjt222/development-guides --skill create-skill

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。适用于需要根据关键词或任务场景从来源仓库中获取技能开发相关技术资料的场景。通过 npx skills add 命令安装,需结合原始 README 核验具体用法和功能细节。

安装前建议确认权限范围和维护状态,避免触发不必要的联网或文件操作。create-skill 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/create-skill

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/pjt222/development-guides --skill create-skill;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

create-skill 怎么安装?

在终端执行 npx skills add https://github.com/pjt222/development-guides --skill create-skill。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

create-skill 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

create-skill 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

create-skill 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

create-skill 用的人多吗?

公开数据是累计安装 565 次,近一周安装 17 次,下载 140 次,GitHub 12 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

create-skill 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
create-skill

创造技能 · 本页

56512调用外部服务未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Create a New Skill

Author a SKILL.md file that agentic systems can consume to execute a specific procedure.

When to Use

  • Codifying a repeatable procedure that agents should follow
  • Adding a new capability to the skills library
  • Converting a guide, runbook, or checklist into agent-consumable format
  • Standardizing a workflow across projects or teams

Inputs

  • Required: Task the skill should accomplish
  • Required: Domain classification — one of the 48 domains in skills/_registry.yml: r-packages, jigsawr, containerization, reporting, compliance, mcp-integration, web-dev, git, general, citations, data-serialization, review, bushcraft, esoteric, design, defensive, project-management, devops, observability, mlops, workflow-visualization, swarm, morphic, alchemy, tcg, intellectual-property, gardening, shiny, animal-training, mycology, prospecting, crafting, library-science, travel, relocation, a2a-protocol, geometry, number-theory, stochastic-processes, theoretical-science, diffusion, hildegard, maintenance, blender, visualization, 3d-printing, lapidary, versioning
  • Required: Complexity level (basic, intermediate, advanced)
  • Optional: Source material (existing guide, runbook, or working example)
  • Optional: Related skills to cross-reference

Procedure

Step 1: Create Directory

Each skill lives in its own directory:

mkdir -p skills/<skill-name>/

Naming conventions:

  • Use lowercase kebab-case: submit-to-cran, not SubmitToCRAN
  • Start with a verb: create-, setup-, write-, deploy-, configure-
  • Be specific: create-r-dockerfile not create-dockerfile

Expected: Directory skills/<skill-name>/ exists, and the name follows lowercase kebab-case starting with a verb.

On failure: If the name does not start with a verb, rename the directory. Check for naming conflicts: ls skills/ | grep <keyword> to ensure no existing skill has an overlapping name.

Step 2: Write YAML Frontmatter

---
name: skill-name-here
description: >
  One to three sentences plus key activation triggers. Must be clear
  enough for an agent to decide whether to activate this skill from
  the description alone. Max 1024 characters. Start with a verb.
license: MIT
allowed-tools: Read Write Edit Bash Grep Glob  # optional, experimental
metadata:
  author: Philipp Thoss
  version: "1.0"
  domain: general
  complexity: intermediate
  language: R | TypeScript | Python | Docker | Rust | multi
  tags: comma, separated, lowercase, tags
---

Required fields: name, description

Optional fields: license, allowed-tools (experimental), metadata, compatibility

Metadata conventions:

  • complexity: basic (< 5 steps, no edge cases), intermediate (5-10 steps, some judgment), advanced (10+ steps, significant domain knowledge)
  • language: primary language; use multi for cross-language skills
  • tags: 3-6 tags for discovery; include the domain name

Expected: YAML frontmatter parses without errors, name matches the directory name, and description is under 1024 characters with clear activation triggers.

On failure: Validate YAML by checking for matching --- delimiters, proper quoting of version strings (e.g., "1.0" not 1.0), and correct > multi-line folding syntax for the description field.

Step 3: Write the Title and Introduction

# Skill Title (Imperative Verb Form)

One paragraph: what this skill accomplishes and the value it provides.

The title should match the name but in human-readable form. "Submit to CRAN" not "submit-to-cran".

Expected: A top-level # heading in imperative form followed by a concise paragraph stating what the skill accomplishes.

On failure: If the title reads as a noun phrase rather than a verb phrase, rewrite it. "Package Submission" becomes "Submit to CRAN."

Step 4: Write "When to Use"

List 3-5 trigger conditions — concrete scenarios where an agent should activate this skill:

## When to Use

- Starting a new R package from scratch
- Converting loose R scripts into a package
- Setting up a package skeleton for collaborative development

Write from the agent's perspective. These are the conditions the agent checks to decide activation.

Note: The most important trigger conditions should also appear in the description frontmatter field, since that is read during the discovery phase before the full body is loaded. The ## When to Use section provides additional detail and context.

Expected: 3-5 bullet points describing concrete, observable conditions under which an agent should activate this skill.

On failure: If triggers feel vague ("when something needs to be done"), rewrite from the agent's perspective: what observable state or user request would trigger activation?

Step 5: Write "Inputs"

Separate required from optional. Be specific about types and defaults:

## Inputs

- **Required**: Package name (lowercase, no special characters except `.`)
- **Required**: One-line description of the package purpose
- **Optional**: License type (default: MIT)
- **Optional**: Whether to initialize renv (default: yes)

Expected: Inputs section clearly separates required from optional parameters, each with a type hint and default value where applicable.

On failure: If a parameter's type is ambiguous, add a concrete example in parentheses: "Package name (lowercase, no special characters except .)".

Step 6: Write "Procedure"

This is the core of the skill. Each step follows this pattern:

### Step N: Action Title

Context sentence explaining what this step accomplishes.

\```language
concrete_code("that the agent can execute")
\```

**Expected:** What success looks like. Be specific — file created, output matches pattern, command exits 0.

**On failure:** Recovery steps. Don't just say "fix it" — provide the most common failure cause and its resolution.

Writing effective steps:

  • Each step should be independently verifiable
  • Include actual code, not pseudocode
  • Put the most common path first, edge cases in "On failure"
  • 5-10 steps is the sweet spot. Under 5 may be too vague; over 12 should be split into multiple skills.
  • Reference real tools and real commands, not abstract descriptions

Writing for translation:

  • Target ~400 lines maximum for English skills. German expands 10-20%, and some CJK translations expand further — a 400-line English source stays under 500 after translation.
  • Avoid idioms and culturally-specific examples that translate poorly.
  • Keep prose concise and direct — shorter sentences translate better.

Expected: Procedure section contains 5-12 numbered steps, each with concrete code, an **Expected:** outcome, and an **On failure:** recovery action.

On failure: If a step lacks code, add the actual command or configuration. If Expected/On failure is missing, write it now — every step that can fail needs both.

Step 7: Write "Validation"

A checklist the agent runs after completing the procedure:

## Validation

- [ ] Criterion 1 (testable, binary pass/fail)
- [ ] Criterion 2
- [ ] No errors or warnings in output

Each item must be objectively verifiable. "Code is clean" is bad. "devtools::check() returns 0 errors" is good.

Expected: A markdown checklist (- []) with 3-8 binary pass/fail criteria that an agent can verify programmatically or by inspection.

On failure: Replace subjective criteria with measurable ones. "Well-documented" becomes "All exported functions have @param, @return, and @examples roxygen tags."

Step 8: Write "Common Pitfalls"

3-6 pitfalls with cause and avoidance:

## Common Pitfalls

- **Pitfall name**: What goes wrong and how to avoid it. Be specific about the symptom and the fix.

Draw from real experience. The best pitfalls are ones that waste significant time and are non-obvious.

Expected: 3-6 pitfalls, each with a bold name, a description of what goes wrong, and how to avoid it.

On failure: If pitfalls feel generic ("be careful with X"), make them specific: name the symptom, the cause, and the fix. Draw from actual failure scenarios encountered during development or testing.

Step 9: Write "Related Skills"

Cross-reference 2-5 skills that are commonly used before, after, or alongside this one:

## Related Skills

- `prerequisite-skill` - must be done before this skill
- `follow-up-skill` - commonly done after this skill
- `alternative-skill` - alternative approach to the same goal

Use the skill name field (kebab-case), not the title.

Expected: 2-5 related skills listed with kebab-case IDs and brief descriptions of the relationship (prerequisite, follow-up, alternative).

On failure: Verify each referenced skill exists: ls skills/<skill-name>/SKILL.md. Remove any references to skills that have been renamed or removed.

Step 10: Add to Registry

Edit skills/_registry.yml and add the new skill under the appropriate domain:

- id: skill-name-here
  path: skill-name-here/SKILL.md
  complexity: intermediate
  language: multi
  description: One-line description matching the frontmatter

Update the total_skills count at the top of the registry.

Expected: New entry appears in skills/_registry.yml under the correct domain, and total_skills count matches the actual number of skill directories on disk.

On failure: Count skills on disk with find skills -name SKILL.md | wc -l and compare against total_skills in the registry. Verify the id field matches the directory name exactly.

Step 11: Add Citations (Optional)

If the skill is based on established methodologies, research papers, software packages, or standards, add citation subfiles to the references/ directory:

mkdir -p skills/<skill-name>/references/

Create two files:

  • references/CITATIONS.bib — Machine-readable BibTeX (source of truth)
  • references/CITATIONS.md — Human-readable rendered references for GitHub browsing
% references/CITATIONS.bib
@article{author2024title,
  author  = {Author, First and Other, Second},
  title   = {Paper Title},
  journal = {Journal Name},
  year    = {2024},
  doi     = {10.xxxx/xxxxx}
}
<!-- references/CITATIONS.md -->
# Citations

References underpinning the **skill-name** skill.

1. Author, F., & Other, S. (2024). *Paper Title*. Journal Name. https://doi.org/10.xxxx/xxxxx

Citations are optional — add them when provenance tracking matters (academic methods, published standards, regulatory frameworks).

Handling references/ in translations: Prose descriptions in references/EXAMPLES.md should be translated. references/CITATIONS.bib stays in English (BibTeX is language-neutral). Translations may symlink to the English references/ directory if its content is code-only.

Expected: Both files exist and .bib parses as valid BibTeX.

On failure: Validate BibTeX syntax with bibtool -d references/CITATIONS.bib or an online validator.

Step 12: Validate Skill

Run local validation checks before committing:

# Check line count (must be ≤500)
lines=$(wc -l < skills/<skill-name>/SKILL.md)
[ "$lines" -le 500 ] && echo "OK ($lines lines)" || echo "FAIL: $lines lines > 500"

# Check required frontmatter fields
head -20 skills/<skill-name>/SKILL.md | grep -q '^name:' && echo "name: OK"
head -20 skills/<skill-name>/SKILL.md | grep -q '^description:' && echo "description: OK"

Expected: Line count ≤500, all required fields present.

On failure: If over 500 lines, apply progressive disclosure — extract large code blocks (>15 lines) to references/EXAMPLES.md:

mkdir -p skills/<skill-name>/references/

Move extended code examples, full configuration files, and multi-variant examples to references/EXAMPLES.md. Add cross-reference in SKILL.md: See [EXAMPLES.md](references/EXAMPLES.md) for complete configuration examples. Keep brief inline snippets (3-10 lines) in the main SKILL.md. The CI workflow at .github/workflows/validate-skills.yml enforces these limits on all PRs.

Step 13: Create Slash Command Symlinks

Create symlinks so Claude Code discovers the skill as a /slash-command:

# Project-level (available in this project)
ln -s ../../skills/<skill-name> .claude/skills/<skill-name>

# Global (available in all projects)
ln -s /mnt/d/dev/p/agent-almanac/skills/<skill-name> ~/.claude/skills/<skill-name>

Expected: ls -la.claude/skills/<skill-name>/SKILL.md resolves to the skill file.

On failure: Verify the relative path is correct. From .claude/skills/, the path ../../skills/<skill-name> should reach the skill directory. Use readlink -f to debug symlink resolution. Claude Code expects a flat structure at .claude/skills/<name>/SKILL.md.

Validation

  • SKILL.md exists at skills/<skill-name>/SKILL.md
  • YAML frontmatter parses without errors
  • name field matches directory name
  • description is under 1024 characters
  • All required sections present: When to Use, Inputs, Procedure, Validation, Common Pitfalls, Related Skills
  • Every procedure step has concrete code and Expected/On failure pairs
  • Related Skills reference valid skill names
  • Skill is listed in _registry.yml with correct path
  • total_skills count in registry is updated
  • SKILL.md is ≤500 lines (extract to references/EXAMPLES.md if over)
  • Estimated translation expansion is acceptable (English source ≤~400 lines so translations stay <500)
  • Citations added to references/CITATIONS.bib + CITATIONS.md if skill is based on published methods
  • Symlink exists at .claude/skills/<skill-name> pointing to skill directory
  • Global symlink exists at ~/.claude/skills/<skill-name> (if globally available)

Common Pitfalls

  • Vague procedures: "Configure the system appropriately" is useless to an agent. Provide exact commands, file paths, and configuration values.
  • Missing On failure: Every step that can fail needs recovery guidance. Agents can't improvise — they need the fallback spelled out.
  • Overly broad scope: A skill that tries to cover "Set up entire development environment" should be 3-5 focused skills instead. One skill = one procedure.
  • Untestable validation: "Code quality is good" can't be verified. "Linter passes with 0 warnings" can.
  • Stale cross-references: When renaming or removing skills, grep for the old name in all Related Skills sections.
  • Description too long: The description field is what agents read to decide activation. Keep it under 1024 characters and front-load the key information.
  • Authoring at 500-line limit for single language: An English skill at 490 lines will exceed 500 when translated to German (~10-20% expansion) or CJK languages. Target ~400 lines for the English source and use progressive disclosure (references/EXAMPLES.md) for the rest.
  • Avoid git mv on NTFS-mounted paths (WSL): On /mnt/ paths, git mv for directories can create broken permissions (d?????????). Use mkdir -p + copy files + git rm the old path instead. See the environment guide troubleshooting section.

Examples

A well-structured skill follows this quality checklist:

  1. An agent can decide whether to use it from the description alone
  2. The procedure can be followed mechanically without ambiguity
  3. Every step has a verifiable outcome
  4. Failure modes have concrete recovery paths
  5. The skill can be composed with related skills

Size reference from this library:

  • Basic skills: ~80-120 lines (e.g., write-vignette, configure-git-repository)
  • Intermediate skills: ~120-180 lines (e.g., write-testthat-tests, manage-renv-dependencies)
  • Advanced skills: ~180-250 lines (e.g., submit-to-cran, setup-gxp-r-project)
  • Skills with extended examples: SKILL.md ≤500 lines + references/EXAMPLES.md for large configs

Related Skills

  • evolve-skill - evolve and refine skills created with this procedure
  • create-agent - parallel procedure for creating agent definitions
  • create-team - parallel procedure for creating team compositions
  • write-claude-md - CLAUDE.md can reference skills for project-specific workflows
  • configure-git-repository - skills should be version-controlled
  • commit-changes - commit the new skill and its symlinks
  • security-audit-codebase - review skills for accidentally included secrets or credentials

平台分布

Codex

36.03%
按下载量换算50

Claude

31.94%
按下载量换算45

Cursor

17.79%
按下载量换算25

Gemini CLI

9.36%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills