plugin:skill
БесплатноЗапускает вложенные скриптыНе проверенUse when creating a skill, converting a memory file into one, debugging skill activation, or structuring skill content. For prompt wording, pair with…
от bendrucker★ 18 звёзд на GitHubОб этом скилле
Claude Code Skills Development
Arguments
Run a check against a skill path in $ARGUMENTS, defaulting to the skill you just edited:
--validate: runskill-lint(see Validation) for frontmatter, naming, and reference depth.--structure: run${CLAUDE_SKILL_DIR}/scripts/check-structure.tsfor the SKILL.md,scripts/,references/,assets/layout.
With neither flag, use the skill as an authoring reference.
Skill Structure
---
name: plugin-name:skill-name
description: Third-person capability description with trigger terms
argument-hint: "[--flag] [<positional>]"
allowed-tools: [Read, Grep, Glob]
model: sonnet
effort: low
context: fork
agent: Explore
background: false
user-invocable: false
hooks:
PreToolUse:
- matcher: "Bash"
hooks:
- type: command
command: "./scripts/validate.sh"
once: true
---
Required Fields
name: Lowercase letters, numbers, hyphens only (max 64 chars). See Naming.description: Third-person, includes trigger terms and use cases (max 1024 chars).
Optional Fields
argument-hint: Arguments the skill accepts, shown in the slash menu after the skill name. See Argument Hints.allowed-tools: Tools Claude can use without permission when skill is activemodel: Override the conversation's model. Prefer a tier alias (haiku,sonnet,opus,fable) orinheritover a dated model ID.effort: Reasoning effort while the skill is active, whether the user types it as a slash command or the model invokes it through the Skill tool. Defaults to the conversation's effort. See Reasoning Effort for levels and cache cost by model.context: Set toforkto run in isolated subagent contextagent: Agent type whencontext: fork(Explore,Plan,general-purpose, or custom)background: Only withcontext: fork.falsewaits for the fork's result in the invoking turn instead of backgrounding it. Defaulttrue.user-invocable: Hide from slash menu whenfalse(default:true)disable-model-invocation: Block model (Skill-tool) invocation and drop the skill's name and description from the always-on catalog (zero recurring context cost); still slash-invocable. Opposite ofuser-invocable: false, which hides the slash menu but keeps the description loaded for the model.hooks: Skill-scoped hooks (PreToolUse,PostToolUse,Stop)
Naming
Plugin skills use plugin-name:skill-name with a colon namespace (e.g., gitlab:ci, things:url). The part after the colon should not repeat the plugin name. Skip the prefix when name equals plugin name. For standalone skills, use a specific gerund form (verb + -ing): processing-pdfs, analyzing-data.
Storage
~/.claude/skills/ (personal), .claude/skills/ (project), plugins (bundled)
Skill Authoring Best Practices
Load the prompting skill before writing a skill body or a reference file. The sections below cover what is specific to Claude Code skills.
Descriptions
The description field is the pointer Claude scans to decide whether to activate the skill. Write it for the model and make it slightly pushy, since under-triggering is the common failure.
List triggers: the requests that call for the skill. End with the boundary to any sibling skill a request could land on. Tools, techniques, and capabilities go in the body.
description: Use when timing a program or command, asking whether a change or version made it faster, or building a benchmark harness. For repeated optimization toward a target, use performance:hill-climb.
Gotchas
Record failure modes hit in practice in a ## Gotchas section, and grow it as edge cases surface.
Progressive Disclosure
Keep SKILL.md a concise hub and push details into references/, scripts/, and assets/, organized by domain. Point to each file with when to read it.
A model-invocable skill's description costs tokens in every session. Keep an invoked skill's body under roughly 4k tokens, since it is re-injected in full at every compaction. A references/ file costs nothing until its pointer fires.
Split one skill into two by invocation when the branches need different frontmatter: a different model, different allowed-tools, or one branch routed by the model while the other stays user-invoked.
State and Scripts
Store state that must survive plugin upgrades (logs, JSON records, SQLite, a first-run config.json of user answers) in ${CLAUDE_PLUGIN_DATA}. Point to bundled scripts with "Run script.py" to execute and "See script.py" to read.
On-Demand Hooks
Skill-scoped hooks activate when the skill is invoked and last for the session. Use them for guardrails that belong only in the skill's context, such as blocking destructive commands during prod operations.
Content Features
String Substitutions
| Variable
Установить plugin:skill в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditGlobGrepBashWebFetch(domain:docs.claude.com)Вложенные файлы
FAQ
Что делает скилл plugin:skill?
Use when creating a skill, converting a memory file into one, debugging skill activation, or structuring skill content. For prompt wording, pair with prompting:prompting.
Как установить скилл plugin:skill?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл plugin:skill запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic