Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

skillset-authoring

БесплатноБез исполняемых скриптовНе проверен

Guide for authoring Better-Claw skill sets and skills — directory structure, SKILL.md/SKILLSET.md format, frontmatter fields, best practices, and testing…

WalterSumbonот WalterSumbon★ 22 звезды на GitHub

Об этом скилле

Skillset Authoring Guide

This guide covers how to create and organize skills and skill sets for the Better-Claw skill tree system.

Core Concepts

Skill(叶子节点): A directory containing SKILL.md. Represents a concrete, loadable piece of expertise that the agent can directly use.

Skill Set(中间节点): A directory containing SKILLSET.md. Represents a category or topic grouping that organizes child skills and nested skill sets. It cannot be "used" directly — it serves as a navigation hub.

The system forms a tree: skill sets branch into children (more skill sets or skills), and skills are always leaves.

Directory Structure

skills/
├── my-skill/                    ← Leaf skill (contains SKILL.md)
│   └── SKILL.md
│
├── my-topic/                    ← Skill set (contains SKILLSET.md)
│   ├── SKILLSET.md
│   ├── sub-skill-a/             ← Child skill
│   │   └── SKILL.md
│   ├── sub-skill-b/             ← Child skill
│   │   └── SKILL.md
│   └── nested-topic/            ← Nested skill set
│       ├── SKILLSET.md
│       ├── leaf-1/
│       │   └── SKILL.md
│       └── leaf-2/
│           └── SKILL.md

Rules:

  • A directory must contain exactly one of SKILL.md or SKILLSET.md (not both).
  • Only directories with SKILLSET.md are recursively scanned for children.
  • Directories without either file are ignored by the scanner.
  • Hidden directories (starting with .) and node_modules are skipped.

SKILLSET.md Format (Intermediate Node)

SKILLSET.md serves as the index page for a category. When loaded via load_skillset, the agent sees this content plus a list of child nodes.

Frontmatter (Required)

---
name: deep-learning
description: Deep learning frameworks, techniques, and best practices for training and deploying neural networks.
---
  • name (required): Short kebab-case identifier. Used in navigation paths (e.g., deep-learning/pytorch).
  • description (required): One-sentence summary of what this category covers. This appears in parent listings and the system prompt, so make it informative enough for the agent to decide whether to explore this branch.

Body Content

The body after the frontmatter is free-form Markdown. Use it to:

  • Provide an overview of the topic area
  • Explain how the child skills relate to each other
  • Offer guidance on which child to load for common scenarios
  • Include cross-references or decision trees

Example:

---
name: deep-learning
description: Deep learning frameworks, techniques, and best practices.
---

# Deep Learning

Covers major frameworks and training techniques.

## When to Load Which Child

- **pytorch**: General PyTorch training, custom models, low-level control
- **transformers**: HuggingFace Transformers for NLP/multimodal tasks
- **fine-tuning**: Parameter-efficient fine-tuning (LoRA, QLoRA, etc.)

SKILL.md Format (Leaf Node)

SKILL.md contains the actual expertise content that gets injected into the agent's context when loaded.

Frontmatter (Required)

---
name: pytorch-fsdp
description: Adds PyTorch FSDP2 distributed training to scripts with correct sharding, mixed precision, and checkpointing.
---
  • name (required): Short identifier. Used in navigation and display.
  • description (required): One-sentence summary. Must be specific enough for the agent to judge relevance from the listing alone (without loading the full content).

Body Content

The body is the skill's actual instructions — what the agent reads and follows when the skill is loaded. Write it as clear, actionable guidance.

For detailed guidance on writing high-quality SKILL.md content (structure, tone, progressive disclosure, bundled resources, validation), refer to the Anthropic official skill-development skill:

/skill-development

This skill is available from the plugin-dev plugin and covers SKILL.md authoring comprehensively, including:

  • Skill anatomy and progressive disclosure patterns
  • Frontmatter fields for invocation control (disable-model-invocation, user-invocable, allowed-tools, context)
  • Bundled resources (scripts, templates, references, examples)
  • Writing style (imperative form, third-person descriptions)
  • Common mistakes and validation checklist

Best Practices

Naming

  • Use kebab-case for directory names: my-skill-name/, not MySkillName/ or my_skill_name/.
  • Keep names concise but descriptive: pytorch-fsdp > fsdp > pytorch-fully-sharded-data-parallel-v2.
  • The name field in frontmatter should match the directory name.

Description Quality

Descriptions are the agent's primary signal for deciding which skill to load. They appear in:

  1. The system prompt (top-level nodes)
  2. Parent skillset child listings
  3. load_skillset tool output

Write descriptions that answer: "When should the agent load this?"

Good:

description: Adds PyTorch FSDP2 distributed training to scripts with correct sharding, mixed precision, and ch
Полный SKILL.md на GitHub

Установить skillset-authoring в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл skillset-authoring?

Guide for authoring Better-Claw skill sets and skills — directory structure, SKILL.md/SKILLSET.md format, frontmatter fields, best practices, and testing methods.

Как установить скилл skillset-authoring?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл skillset-authoring запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить skillset-authoring с