Agent Skillsspinabot/brigade › share-skills

share-skills

GitHub

指导如何编写、打包和分享技能文件夹。涵盖SKILL.md结构、前置元数据、文件组织规范及归档方法,确保技能可被他人正确安装和使用。

skills/share-skills/SKILL.md spinabot/brigade

Trigger Scenarios

需要创建或修改技能文件夹结构时 需要将技能打包为tar.gz进行分享时 检查技能是否符合分享标准(如名称匹配、依赖声明)时

Install

npx skills add spinabot/brigade --skill share-skills -g -y
More Options

Use without installing

npx skills use spinabot/brigade@share-skills

指定 Agent (Claude Code)

npx skills add spinabot/brigade --skill share-skills -a claude-code -g -y

安装 repo 全部 skill

npx skills add spinabot/brigade --all -g -y

预览 repo 内 skill

npx skills add spinabot/brigade --list

SKILL.md

Frontmatter
{
    "name": "share-skills",
    "description": "Use when you need to author, package, or share a skill folder — understanding the SKILL.md format, where skills live, and how to bundle a folder so it can be shared with others."
}

Sharing Skills

This skill explains how skills are structured and how to package one for sharing. It is a companion to skill authoring: where skill-creator helps you write a skill, this covers laying it out correctly and bundling it to hand off.

Where skills live

Each skill is a folder under the skills/ directory. The folder name is the skill's identity and must match the name field in its frontmatter (lowercase). At minimum a skill folder contains a SKILL.md; it may also include supporting files (scripts, reference docs, assets) the skill refers to.

skills/
  my-skill/
    SKILL.md
    reference.md        # optional supporting docs
    scripts/run.sh      # optional helper scripts

SKILL.md format

A SKILL.md is a Markdown file with a YAML frontmatter block followed by the skill body.

---
name: my-skill          # must equal the folder name, lowercase
description: Use when ...  # the "use when" trigger guidance, product-free
# optional eligibility keys (omit any that don't apply):
os: [darwin, linux]       # OS restriction
requires-bins: [foo]      # binaries that MUST be present
requires-any-bins: [a, b] # at least one of these binaries
requires-env: [MY_TOKEN]  # required environment variables
---

Body guidelines:

  • Open with a short overview of what the skill does and when to reach for it.
  • Keep instructions truthful: only describe actions the runtime can actually perform.
  • Reference any supporting files by relative path within the folder.
  • Keep it lean — the description and metadata are what get surfaced; the body is read on demand.

Versioning a shared skill

When you intend to share a skill, keep a changelog note and a version in mind so recipients can tell revisions apart. A simple convention is a ## Changelog section at the bottom of SKILL.md or a sibling CHANGELOG.md.

Packaging a folder to share

To share a skill, bundle its entire folder (so supporting files travel with it) and hand it off as an archive.

# from the skills/ directory, archive a single skill folder
tar -czf my-skill.tar.gz my-skill/

The recipient unpacks the archive into their own skills/ directory:

tar -xzf my-skill.tar.gz -C ./skills/

After unpacking, confirm the folder name still matches the name in frontmatter and that any requires-* eligibility keys are accurate for the new environment.

Checklist before sharing

  • name equals the folder name (lowercase).
  • description is present and free of product names.
  • Eligibility keys (os / requires-bins / requires-any-bins / requires-env) reflect real requirements — omit them when there are none.
  • Supporting files are inside the folder and referenced by relative path.
  • The body never instructs calling a tool the runtime does not have.

Version History

  • db99206 Current 2026-07-05 10:59

Same Skill Collection

skills/1password/SKILL.md
skills/apple-notes/SKILL.md
skills/apple-reminders/SKILL.md
skills/bear-notes/SKILL.md
skills/blogwatcher/SKILL.md
skills/blucli/SKILL.md
skills/bluebubbles/SKILL.md
skills/canvas/SKILL.md
skills/discord/SKILL.md
skills/docx/SKILL.md
skills/eightctl/SKILL.md
skills/gemini/SKILL.md
skills/gh-issues/SKILL.md
skills/gifgrep/SKILL.md
skills/git-commit/SKILL.md
skills/github/SKILL.md
skills/gog/SKILL.md
skills/goplaces/SKILL.md
skills/healthcheck/SKILL.md
skills/himalaya/SKILL.md
skills/hyperframes/SKILL.md
skills/imsg/SKILL.md
skills/lead-scout/SKILL.md
skills/mcporter/SKILL.md
skills/model-usage/SKILL.md
skills/nano-pdf/SKILL.md
skills/node-connect/SKILL.md
skills/notion/SKILL.md
skills/oauth-setup/SKILL.md
skills/obsidian/SKILL.md
skills/openai-whisper-api/SKILL.md
skills/openai-whisper/SKILL.md
skills/openhue/SKILL.md
skills/oracle/SKILL.md
skills/ordercli/SKILL.md
skills/pdf/SKILL.md
skills/peekaboo/SKILL.md
skills/session-logs/SKILL.md
skills/sherpa-onnx-tts/SKILL.md
skills/slack/SKILL.md
skills/songsee/SKILL.md
skills/sonoscli/SKILL.md
skills/spotify-player/SKILL.md
skills/summarize/SKILL.md
skills/taskflow-inbox-triage/SKILL.md
skills/taskflow/SKILL.md
skills/things-mac/SKILL.md
skills/tmux/SKILL.md
skills/trello/SKILL.md
skills/video-frames/SKILL.md
skills/voice-call/SKILL.md
skills/wacli/SKILL.md
skills/weather/SKILL.md
skills/xlsx/SKILL.md
skills/xurl/SKILL.md
skills/camsnap/SKILL.md
skills/coding-agent/SKILL.md
skills/sag/SKILL.md
skills/skill-creator/SKILL.md

Metadata

Files
0
Version
3a48cfb
Hash
598bdc28
Indexed
2026-07-05 10:59

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-17 03:25
浙ICP备14020137号-1 $Carte des visiteurs$