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

better-skill-creator更好的技能创建器

Agent Skill

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

总安装

245

周安装

10

GitHub Stars

4

下载量

78
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/psylch/better-skills --skill better-skill-creator

简介

better-skill-creator 用于查找、检索和筛选相关信息,适合在多种宿主环境中快速定位候选结果。

  • 适用于需要根据关键词或任务场景进行信息搜集与线索整理的任务。
  • 通过 npx skills add 命令从 GitHub 仓库安装并使用。
  • 使用前需确认权限范围、维护状态及是否触发联网或文件操作。
  • 建议结合原始 README 进一步验证功能细节与使用方式。

SKILL.md

Skill Creator

Language

Match user's language: Respond in the same language the user uses.

Overview

Create new agent skills by guiding the user through a series of choices, then generating a ready-to-edit project structure with best practices baked in.

How It Works

  1. Collect requirements through dialogue (AskUserQuestion)
  2. Call scaffold.py with the collected parameters (non-interactive)
  3. Report what was generated and guide next steps

Dialogue Flow

Progress:

  • Step 1: Understand intent
  • Step 2: Skill name
  • Step 3: Skill level (auto-recommended)
  • Step 4: Environment strategy (L1 only)
  • Step 5: Output directory
  • Generate, validate, and report

Follow these steps in order. Use AskUserQuestion for steps 1–5.

Step 1: Understand Intent

Before any structural decisions, understand what the skill will do. Ask the user:

  1. What does this skill do? (one sentence)
  2. Give 2–3 example user prompts that should trigger it
  3. What does the output/result look like?

This step is critical — it determines the level recommendation and produces a better description field.

Step 2: Skill Name

Ask the user for a skill name. Validate it meets these rules:

  • Lowercase letters, digits, and hyphens only
  • Must start with a letter, end with a letter or digit
  • No consecutive hyphens
  • Maximum 64 characters

If invalid, explain the constraint and ask again.

Step 3: Skill Level (Auto-Recommended)

Based on the examples gathered in Step 1, recommend a level before asking:

  • If all examples can be handled with Claude's built-in tools, MCP servers, or domain knowledge → recommend L0
  • If examples need environment detection, status caching, or lightweight shell checks → recommend L0+
  • If examples involve API calls, data processing, or operations benefiting from deterministic code → recommend L1

Present the recommendation with rationale, then let the user confirm or override:

L0 — Pure Prompt: Only a SKILL.md file. All capabilities come from Claude's built-in tools, MCP servers, or general knowledge. Best for workflow guides, domain knowledge, configuration wizards. No scripts needed.

L0+ — Prompt + Helper Scripts: SKILL.md plus lightweight helper scripts for environment detection, status caching, or other auxiliary tasks. Core logic stays in the prompt. Best when Claude needs a preflight check or a small utility but handles business logic itself.

L1 — Prompt + Business Scripts: SKILL.md orchestrates CLI scripts that handle core business logic. Scripts accept parameters, return structured JSON, and follow MCP tool design principles. Best for skills that interact with APIs, process data, or perform operations that benefit from deterministic code.

Step 4: Environment Strategy (L1 only)

If the user chose L1, ask which environment strategy to use:

stdlib — Python standard library only. Zero dependencies, zero environment issues. Choose this when urllib, json, argparse, pathlib are sufficient. This is the recommended default.

uv — Dependencies declared inline via PEP 723, executed with uv run. No persistent venv, global cache, version-isolated. Choose this when external packages are needed but a full venv is overkill.

venv — Traditional per-skill virtual environment with run.sh wrapper. Choose this only when dependencies require C extensions, or the skill runs long-lived processes.

Step 5: Output Directory

Ask where to generate the skill. Default: current working directory. The script creates skills/<name>/ under this directory.

Generate

After collecting all parameters, run:

python3 {SKILL_DIR}/scripts/scaffold.py scaffold \
    --name <name> \
    --level <level> \
    [--env <strategy>] \
    --output <dir>

Where {SKILL_DIR} is the directory containing this SKILL.md file. Resolve it at runtime.

The script outputs JSON to stdout:

{
  "status": "ok",
  "level": "l1",
  "env": "uv",
  "created": ["skills/my-skill/SKILL.md", "skills/my-skill/scripts/main.py", ...],
  "hint": "..."
}

If it fails, stderr contains JSON with error, hint, and recoverable fields.

Post-Generate Validation

Immediately after scaffolding, run the built-in structural validator:

python3 {SKILL_DIR}/scripts/scaffold.py validate --path <generated-skill-dir>

This checks:

  • Frontmatter has name and description fields
  • No unreplaced {{PLACEHOLDER}} tokens remain
  • Referenced files (scripts, references) actually exist
  • SKILL.md is under 200 lines (context budget warning)

Report any warnings in the completion output. This catches structural issues before the user invests time editing.

Completion Report

After successful generation, present:

[Skill Creator] Complete!

Skill: <name> (Level: <level>[, Env: <env>])
Output: <directory>

Files created:
• <list from JSON "created" field>

Next Steps:
→ Edit SKILL.md — replace TODO markers, write description with trigger phrases
→ Customize scripts/ (L0+/L1)
→ Test preflight (L0+/L1)
→ Publish with skill-publish when ready

Then provide detailed guidance:

  1. Edit SKILL.md — Replace all placeholder markers. The description field in frontmatter is critical — it determines when Claude activates the skill. Be specific and include trigger phrases.
  2. Customize scripts/ (L0+/L1) — The generated scripts are functional frameworks with placeholder markers. Add your business logic.
  3. Test preflight (L0+/L1) — Run the preflight command to verify the JSON output structure works:

- L0+: bash scripts/helper.sh preflight - L1 stdlib: python3 scripts/main.py preflight - L1 uv: uv run scripts/main.py preflight - L1 venv: bash scripts/run.sh preflight (after setup)

  1. Add references/ — Put detailed reference documents here and reference them from SKILL.md with file read instructions. Keep SKILL.md lean (under 200 lines — the context window is shared with conversation history and other skills).
  2. Use assets/ for non-context files (L0+/L1) — If your skill produces documents, templates, or uses images/fonts in output, put them in assets/. Unlike references/ (which are loaded into context), assets/ files are only used by scripts and never consume context window budget.
  3. Do NOT add auxiliary docs — Do not create README.md, CHANGELOG.md, INSTALLATION_GUIDE.md, or other documentation files inside the skill directory. The skill should only contain files needed by the AI agent. READMEs belong at the repo level (handled by better-skill-publish).
  4. Ready to publish? — If the better-skill-publish skill is installed, use it to wrap this into a complete GitHub repo with README, LICENSE, plugin.json, and marketplace.json. If not installed: npx skills add psylch/better-skills@better-skill-publish -g -y

Design Principles

Context Budget

The context window is a shared resource. Every line of SKILL.md competes with conversation history, other skills, and tool results. Keep SKILL.md under 200 lines. Move detailed documentation to references/.

Degrees of Freedom

Match instruction specificity to task fragility:

  • Low freedom (exact commands, strict sequence): For operations where mistakes are costly or hard to reverse — setup flows, credential configuration, destructive operations.
  • Medium freedom (guidelines + examples): For business logic where the approach is clear but details vary — API interactions, data processing.
  • High freedom (goals + constraints): For creative or analytical tasks where Claude should adapt — research, analysis, content generation.

References

For skill design conventions — output formats, error handling, environment strategies, preflight conventions — read references/best_practices.md.

For common quality issues and how to avoid them, read references/improvement_patterns.md.

For what automated validation checks will be run (by better-skill-review), read references/validation_rules.md.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.86%
按下载量换算26

Claude

30.35%
按下载量换算24

Cursor

18.31%
按下载量换算14

Gemini CLI

10.02%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

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

安装前确认

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

来源信息

继续浏览同类 Skills