skill-crafting
БесплатноЗапускает вложенные скриптыНе проверенCreate, fix, and validate skills for AI agents. Use when user says 'create a skill', 'build a skill', 'fix my skill', 'skill not working', 'analyze my skill'…
Об этом скилле
Skill Crafting
Create effective, discoverable skills that work under pressure.
When to Use
Creating:
- "Create a skill for X"
- "Build a skill to handle Y"
From Session History:
- "Create a skill from this session"
- "Turn what we just did into a skill"
- "Can the database setup we did become a skill?"
- "Could we create a skill from this?" (evaluate first)
- "Should this be a skill?" (evaluate first)
Fixing:
- "This skill isn't working"
- "Why isn't this skill triggering?"
- "Skill didn't trigger when it should have"
Analyzing:
- "Analyze my skill for issues"
- "Run skill analysis"
- "Check this skill's quality"
- "Audit all my skills"
- "Check character budget across skills"
Analyzing a Skill
When user asks to analyze a skill:
Run scripts first when available for mechanical checks:
python3 ${CLAUDE_SKILL_DIR}/scripts/analyze-all.py path/to/skill/If scripts fail because of environment or tooling issues, state the blocker clearly and continue with manual review.
Read the skill files for qualitative review:
- Read SKILL.md
- Read REFERENCES.md (if exists)
- Read directly linked
references/,scripts/, oragents/openai.yamlfiles when they materially affect behavior
Provide holistic feedback covering:
- Script results (CSO, structure, tokens) or explicit blocker if scripts could not run
- Does
allowed-toolsmatch what the skill needs to do? - Does the analysis cover the files that actually define the skill's behavior?
- Is the workflow clear and actionable?
- Are references appropriate and sized correctly?
- Missing sections or anti-patterns?
Give verdict with prioritized recommendations
Validation Scripts
| Script | Purpose | Usage |
|---|---|---|
analyze-all.py |
Run all checks | python3 ${CLAUDE_SKILL_DIR}/scripts/analyze-all.py path/to/skill/ |
analyze-cso.py |
Check CSO compliance | python3 ${CLAUDE_SKILL_DIR}/scripts/analyze-cso.py path/to/SKILL.md |
analyze-tokens.py |
Count tokens | python3 ${CLAUDE_SKILL_DIR}/scripts/analyze-tokens.py path/to/SKILL.md |
analyze-triggers.py |
Find missing triggers | python3 ${CLAUDE_SKILL_DIR}/scripts/analyze-triggers.py path/to/SKILL.md |
analyze-compatibility.py |
Report standard, extension, and unknown fields | python3 ${CLAUDE_SKILL_DIR}/scripts/analyze-compatibility.py path/to/skill/ |
check-char-budget.py |
Check description caps | python3 ${CLAUDE_SKILL_DIR}/scripts/check-char-budget.py path/to/skills/ |
Quick start:
python3 ${CLAUDE_SKILL_DIR}/scripts/analyze-all.py ~/.claude/skills/my-skill/
python3 ${CLAUDE_SKILL_DIR}/scripts/check-char-budget.py ~/.claude/skills/
The scripts use a dependency-free YAML subset: plain multiline strings, single-line
quoted strings, literal (|) and folded (>) blocks with optional -/+ chomping,
and indented mappings and lists for metadata/hooks. Unsupported forms (flow collections,
anchors, tags, multiline quotes, explicit block indentation) produce parse errors.
Scalars remain strings. Unknown fields are compatibility warnings, not evidence of
cross-platform support. The budget checker fails if any skill cannot be parsed.
Run the parser and analyzer regression examples from the repository root:
python3 -m unittest discover -s tests -v.
Creating from Current Session
When user asks to create a skill from the current session:
- Reflect on the conversation — you already have full context
- Assess skill-worthiness using criteria below
- If worthy: Generate SKILL.md using methodology in this skill
- If not: Explain why (one-off, too scattered, etc.)
Skill-Worthiness Criteria
| Question | ✅ Extract | ❌ Skip |
|---|---|---|
| Will this repeat? | 3+ future uses likely | One-off task |
| Non-trivial? | Multi-step coordination | Just "read, edit" |
| Domain knowledge? | Captures expertise | Generic actions |
| Generalizable? | Works across projects | Project-specific |
Quick Assessment
Before creating, answer:
- What pattern repeats? (e.g., "set up auth with tests")
- What would break without the skill? (steps someone might skip)
- Who else would use this? (just me? team? public?)
If you can't answer these clearly → probably not skill-worthy.
For Evaluative Questions
When user asks "could this be a skill?" or "any reusable patterns?":
- Review what you did in this session
- Identify distinct workflow segments (not exploration/debugging)
- Apply criteria above
- Recommend yes/no with specific reasoning
- If partial: suggest which part is worth extracting
Core Principle
Writing skills is TDD for documentation.
- RED: Test without skill → document failures
- GREEN: Write skill addressing those failures
- REFACTOR: Close loopholes, improve discovery
If you didn't see an agent fail without the skill, you don't know if it prevent
Установить skill-crafting в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteBash(python3 ${CLAUDE_SKILL_DIR}/scripts/*)Вложенные файлы
FAQ
Что делает скилл skill-crafting?
Create, fix, and validate skills for AI agents. Use when user says 'create a skill', 'build a skill', 'fix my skill', 'skill not working', 'analyze my skill', 'validate skill', 'audit my skills', 'check character budget', 'create a skill from this session', 'turn this into a skill', 'make this reusable', 'can this become a skill', 'should this be a skill', or asks for reusable patterns in the session. Use even if the user does not explicitly say 'skill' but is sketching a reusable workflow.
Как установить скилл skill-crafting?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл skill-crafting запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic