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

better-skill-publish更好的技能发布

Agent Skill

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

总安装

250

周安装

10

GitHub Stars

4

下载量

81
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

将 Agent Skill 打包为完整的 GitHub 分发仓库,自动生成 README、LICENSE 等周边文件。

  • 支持交互式收集发布元数据,可选自动初始化 Git 仓库并推送至 GitHub。
  • 确保技能符合市场发布规范,便于后续维护和共享。
  • 使用前应准备好技能核心逻辑与测试用例,避免空壳仓库被拒绝。
  • better-skill-publish 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Skill Publish

Language

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

Overview

Package a agent skill into a complete, distributable GitHub repository. Generates all the surrounding files (README, LICENSE, plugin.json, marketplace.json) and optionally creates the GitHub repo.

How It Works

  1. Identify the skill to publish
  2. Optionally review first with better-skill-review
  3. Collect publishing metadata through dialogue
  4. Generate the repository structure with publish.py
  5. Optionally initialize git and create GitHub repo

Dialogue Flow

Progress:

  • Step 1: Identify the skill
  • Step 2: Pre-publish validation
  • Step 3: Collect metadata
  • Step 4: Generate repository
  • Step 5: Post-generation

Step 1: Identify the Skill

Accept the skill location in multiple forms:

InputDetectionAction
Directory with SKILL.mdDirect pathUse as-is
SKILL.md file pathPath ends in SKILL.mdUse parent directory
Current directoryNo input, cwd has SKILL.mdAuto-detect

Step 2: Pre-Publish Validation

Check for better-skill-review availability:

  1. First try: {SKILL_DIR}/../better-skill-review/scripts/validate.py
  2. Fallback: ~/.agents/skills/better-skill-review/scripts/validate.py

If found, suggest running validation:

python3 <validate.py path> run --path <skill-path>

If there are failures, recommend fixing them before proceeding. Warnings are acceptable.

If better-skill-review is not available, offer:

  • A) Install it: npx skills add psylch/better-skills@better-skill-review -g -y
  • B) Continue without it (quick manual check: verify SKILL.md exists with valid frontmatter)
  • C) Cancel

Step 3: Collect Metadata

Use AskUserQuestion to gather:

  1. GitHub owner/org — Default: try to infer from git config user.name or gh api user -q.login. Ask user to confirm or change.
  2. Repository name — Default: <skill-name>-skill (e.g., cors-audit-skill). Suggest the convention but let user override.
  3. Version — Default: 1.0.0. Use semver.
  4. License — Default: MIT. Options: MIT, Apache-2.0, GPL-3.0.
  5. Output directory — Where to create the repo. Default: parent directory of the skill.

Step 4: Generate Repository

python3 {SKILL_DIR}/scripts/publish.py generate \
    --skill-path <path> \
    --owner <owner> \
    --repo <repo-name> \
    --version <version> \
    [--license mit|apache2|gpl3] \
    [--output <dir>] \
    [--force]

Where {SKILL_DIR} is the directory containing this SKILL.md file.

The script outputs JSON to stdout:

{
  "status": "ok",
  "output_dir": "/path/to/output",
  "repo": "owner/repo-name",
  "created": [".claude-plugin/plugin.json", "README.md", "LICENSE", ...],
  "hint": "Repository files generated. Next: git init or gh repo create."
}

Step 5: Post-Generation

Present a completion report:

[Skill Publish] Complete!

Skill: <skill-name>
Repository: <owner>/<repo>
License: <license>
Output: <directory>

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

Next Steps:
→ A) Initialize git repo
→ B) Create GitHub repo and push
→ C) Done — handle git manually

Then let the user choose:

Option A: Initialize git repo

cd <output-dir>
git init
git add .
git commit -m "Initial commit"

Option B: Create GitHub repo and push

cd <output-dir>
git init
git add .
git commit -m "Initial commit"
gh repo create <owner>/<repo> --public --source . --push

Option C: Done — User will handle git themselves.

After creation, remind the user:

  • Edit README.md and README.zh.md to polish auto-generated content
  • Register on skills.sh if they want public discoverability
  • Test installation: npx skills add./ -g -y

Generated Repository Structure

<repo-name>/
├── .claude-plugin/
│   ├── plugin.json
│   └── marketplace.json
├── skills/
│   └── <skill-name>/        # Copied from source
│       ├── SKILL.md
│       ├── scripts/
│       └── references/
├── README.md
├── README.zh.md
├── LICENSE
└── .gitignore

Distribution Guide Reference

For details about skills.sh registry, versioning strategy, and publishing conventions, read references/distribution_guide.md.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.22%
按下载量换算27

Claude

33.33%
按下载量换算27

Cursor

18.14%
按下载量换算15

Gemini CLI

9.87%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills