Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问clear审计未展示

skill-mastery技能掌握

Agent Skill

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

总安装

309

周安装

13

GitHub Stars

公开资料未说明

下载量

108
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add henkisdabro/wookstar-claude-code-plugins --skill "skill-mastery"

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 当前顶部介绍:skill-mastery 用于查找、检索和筛选相关信息。
  • 当前底部简介:发现并安装 AI 代理的技能。

SKILL.md

Skill Mastery: The Ultimate Guide

Combines three authoritative sources into a unified approach:

  1. Official plugin-dev toolkit - Validation, patterns, AI-assisted creation
  2. Community best practices - Token hierarchy, archetypes, advanced patterns
  3. Official documentation - Current API fields, latest features

Mental Model: How Skills Actually Work

Skills use pure LLM reasoning for selection - no embeddings or keyword matching. Claude evaluates all skill descriptions via natural language understanding, making description quality critical.

Token Loading Hierarchy

Level 1: Metadata (~100 tokens)        Always loaded at startup
         name + description in system prompt
                    ↓
Level 2: SKILL.md (~1,500-5,000 tokens) Loaded when skill triggers
         Full instructions after selection
                    ↓
Level 3: Resources (unlimited)          Loaded on-demand only
         scripts/, references/, assets/
         Zero cost until accessed

Key insight: Only Level 1 costs tokens in every conversation. Design accordingly.

Quick Start: Creating a Skill

1. Choose Your Archetype

ArchetypeBest ForStructure
CLI ReferenceTool documentation (git, gcloud)Pure reference, minimal prose
MethodologyWorkflows, processesPhilosophy + THE EXACT PROMPT + examples
Safety ToolValidation, securityThreat model + risk tiers + what blocks/allows
OrchestrationMulti-agent coordinationQuick start + robot mode APIs + integrations

See references/archetypes.md for detailed templates.

2. Write the Description (Most Critical)

Rules:

  • Third person always ("Processes files" not "I help you")
  • Include WHAT it does AND WHEN to trigger
  • Specific trigger phrases users would say
  • Max 1024 characters

Template:

description: >-
  [What it does - actions, capabilities].
  Use when [trigger phrases, contexts, file types, user intents].

Good examples:

# Specific + triggers
description: >-
  Extract text and tables from PDF files, fill forms, merge documents.
  Use when working with PDF files or when user mentions PDFs, forms,
  or document extraction.

# Action + context
description: >-
  Generate descriptive commit messages by analysing git diffs.
  Use when user asks for help writing commit messages or reviewing
  staged changes.

3. Structure with Progressive Disclosure

skill-name/
├── SKILL.md              # Core guidance (<500 lines, ~2,000 words)
├── references/           # Detailed docs (loaded on-demand)
│   ├── api.md
│   └── patterns.md
├── examples/             # Working code samples
│   └── complete-example.md
└── scripts/              # Executable utilities (run, not loaded)
    └── validate.py

Critical rules:

  • Keep references ONE level deep from SKILL.md
  • No chains: SKILL.md -> advanced.md -> details.md (Claude may partial-read)
  • Long files (>100 lines): include TOC at top

4. Write the Body

Style:

  • Imperative/infinitive form (verb-first): "Extract the data", "Run validation"
  • NOT second person: avoid "You should extract..."
  • Concise - assume Claude is intelligent
  • Challenge each line: "Does Claude need this?"

Bad (~150 tokens):

PDF (Portable Document Format) files are a common file format that
contains text, images, and other content. To extract text from a PDF,
you'll need to use a library. There are many libraries available...

Good (~50 tokens):

## Extract PDF text
Use pdfplumber:
python
import pdfplumber
with pdfplumber.open("file.pdf") as pdf:
    text = pdf.pages[0].extract_text()

Required Frontmatter Fields

FieldRequiredConstraints
nameYesMax 64 chars, [a-z0-9-] only, no "anthropic"/"claude"
descriptionYesMax 1024 chars, non-empty, no XML tags

Optional Frontmatter Fields

FieldPurposeExample
allowed-toolsLimit tool accessRead, Grep, Glob
modelSpecific modelclaude-sonnet-4-20250514
contextIsolationfork for separate context
agentSubagent typeExplore, Plan, custom
hooksLifecycle eventsPreToolUse, PostToolUse, Stop
user-invocableSlash menu visibilityfalse to hide
disable-model-invocationBlock Skill tooltrue to prevent programmatic use

See references/api-reference.md for complete field documentation.

Degrees of Freedom

Match specificity to task fragility:

FreedomWhenExample
HighMultiple valid approachesCode review guidelines
MediumPreferred pattern existsReport templates
LowFragile/error-proneDB migration scripts - exact command

Analogy: Narrow bridge with cliffs = low freedom (exact guardrails). Open field = high freedom (general direction).

Advanced Patterns

THE EXACT PROMPT Pattern

For reproducible prompts in agent-to-agent handoff:

## THE EXACT PROMPT - Plan Review

Carefully review this entire plan and provide revisions for
better architecture, new features, edge cases...

Copy-paste ready, automation friendly, no ambiguity.

Validation Loop Pattern

## Validation workflow

1. Make edits
2. **Validate immediately**: python scripts/validate.py output/
3. If validation fails:
   - Review error message
   - Fix issues
   - Run validation again
4. **Only proceed when validation passes**

Risk Tiering Pattern

For safety-critical skills:

TierApprovalsAuto-approveExamples
CRITICAL2+Neverrm -rf /, DROP DATABASE
DANGEROUS1Nevergit reset --hard
CAUTION0After 30srm file.txt

See references/advanced-patterns.md for more patterns.

Anti-Patterns to Avoid

Anti-PatternWhy BadFix
Windows paths (scripts\helper.py)Breaks on UnixForward slashes
Deeply nested referencesPartial readsOne level deep
Too many optionsConfusingDefault + escape hatch
Vague descriptionsNever triggersSpecific + triggers
Magic numbersUnverifiableDocument why

Workflow: Creating Your Skill

  1. Identify the archetype - CLI, methodology, safety, or orchestration?
  2. Write description first - This determines if skill ever triggers
  3. Initialise with script - Use init_skill.py to scaffold structure
  4. Draft SKILL.md - Core guidance only (<500 lines)
  5. Extract to references - Detailed docs, API specs, schemas
  6. Add examples - Working code that demonstrates usage
  7. Create scripts - Utilities that execute (not load into context)
  8. Test with fresh instance - Does it trigger? Apply rules correctly?
  9. Validate - Use skill-reviewer or plugin-validator agents
  10. Package for distribution - Use package_skill.py to create zip

Utility Scripts

This skill includes two utility scripts in scripts/:

init_skill.py - Scaffold New Skills

python scripts/init_skill.py <skill-name> --path <location>

# Examples:
python scripts/init_skill.py my-api-helper --path ~/.claude/skills
python scripts/init_skill.py database-tool --path .claude/skills

Creates a complete skill directory structure:

  • SKILL.md with template and TODO placeholders
  • scripts/ directory with example script
  • references/ directory with example reference
  • assets/ directory for output files

package_skill.py - Create Distributable Zip

python scripts/package_skill.py <path/to/skill> [output-dir]

# Examples:
python scripts/package_skill.py ~/.claude/skills/my-skill
python scripts/package_skill.py ./my-skill ./dist

Validates the skill and creates a distributable zip file:

  • Checks frontmatter format and required fields
  • Validates naming conventions
  • Ensures no TODO placeholders remain
  • Excludes __pycache__ and .pyc files

Integration with Plugin-Dev

This skill works alongside the official plugin-dev toolkit (requires plugin-dev@claude-plugins-official):

  • Use /plugin-dev:create-plugin for full plugin creation workflow
  • Use plugin-dev:skill-reviewer agent for quality validation
  • Use plugin-dev:plugin-validator agent for comprehensive checks

Quick Reference Card

SKILL CHECKLIST
===============
[ ] name: lowercase, hyphens, ≤64 chars
[ ] description: third person, specific triggers, ≤1024 chars
[ ] SKILL.md body: <500 lines
[ ] References: one level deep
[ ] Long refs: include TOC
[ ] Scripts: tested, explicit error handling
[ ] Forward slashes only
[ ] Consistent terminology
[ ] Examples concrete, not abstract
[ ] Tested with real scenarios

DESCRIPTION TEMPLATE
====================
description: >-
  [What it does - actions, capabilities].
  Use when [trigger phrases, contexts, file types].

Further Reading

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

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

平台分布

OpenCode

28.45%
按下载量换算31

Claude Code

21.45%
按下载量换算23

Codex

19%
按下载量换算21

Cursor

12.9%
按下载量换算14

mcpjam

7.43%
按下载量换算8

command-code

3.52%
按下载量换算4

安全审计

暂无安全审计结果可展示。

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills