create-skill
About
This skill provides a structured framework for developers to create, update, and structure new skills within Kai's personal AI infrastructure. It guides users through defining a skill's purpose, activation triggers, and dependencies, while adhering to both Anthropic standards and PAI-specific patterns. The workflow helps determine the appropriate structure, from simple single-capability skills to more complex implementations.
Quick Install
Claude Code
Recommended/plugin add https://github.com/danielmiessler/PAIPlugingit clone https://github.com/danielmiessler/PAIPlugin.git ~/.claude/skills/create-skillCopy and paste this command in Claude Code to install this skill
Documentation
Create Skill - Skill Creation Framework
When to Activate This Skill
- "Create a new skill for X"
- "Build a skill that does Y"
- "Add a skill for Z"
- "Update/improve existing skill"
- "Structure a skill properly"
- User wants to extend Kai's capabilities
Core Skill Creation Workflow
Step 1: Understand the Purpose
Ask these questions:
- What does this skill do? (Clear, specific purpose)
- When should it activate? (Trigger conditions)
- What tools/commands does it use? (Dependencies)
- Is it simple or complex? (Determines structure)
Step 2: Choose Skill Type
Simple Skill (SKILL.md only):
- Single focused capability
- Minimal dependencies
- Quick reference suffices
- Examples: fabric-patterns, youtube-extraction
Complex Skill (SKILL.md + CLAUDE.md + supporting files):
- Multi-step workflows
- Extensive context needed
- Multiple sub-components
- Examples: development, website, consulting
Step 3: Create Directory Structure
# Simple skill
${PAI_DIR}/skills/[skill-name]/
└── SKILL.md
# Complex skill
${PAI_DIR}/skills/[skill-name]/
├── SKILL.md # Quick reference
├── CLAUDE.md # Full context
└── [subdirectories]/ # Supporting resources
Step 4: Write SKILL.md (Required)
Use this structure:
---
name: skill-name
description: Clear description of what skill does and when to use it. Should match activation triggers.
---
# Skill Name
## When to Activate This Skill
- Trigger condition 1
- Trigger condition 2
- User phrase examples
## [Main Content Sections]
- Core workflow
- Key commands
- Examples
- Best practices
## Supplementary Resources
For detailed context: `read ${PAI_DIR}/skills/[skill-name]/CLAUDE.md`
Step 5: Write CLAUDE.md (If Complex)
Include:
- Comprehensive methodology
- Detailed workflows
- Component documentation
- Advanced usage patterns
- Integration instructions
- Troubleshooting guides
Step 6: Add to Global Context
Update ${PAI_DIR}/global/KAI.md available_skills section to include the new skill so it shows up in the system prompt.
Step 7: Test the Skill
- Trigger it with natural language
- Verify it loads correctly
- Check all references work
- Validate against examples
Skill Naming Conventions
- Lowercase with hyphens:
create-skill,web-scraping - Descriptive, not generic:
fabric-patternsnottext-processing - Action or domain focused:
ai-image-generation,chrome-devtools
Description Best Practices
Your description should:
- Clearly state what the skill does
- Include trigger phrases (e.g., "USE WHEN user says...")
- Mention key tools/methods used
- Be concise but complete (1-3 sentences)
Good examples:
- "Multi-source comprehensive research using perplexity-researcher, claude-researcher, and gemini-researcher agents. Launches up to 10 parallel research agents for fast results. USE WHEN user says 'do research', 'research X', 'find information about'..."
- "Chrome DevTools MCP for web application debugging, visual testing, and browser automation. The ONLY acceptable way to debug web apps - NEVER use curl, fetch, or wget."
Templates Available
simple-skill-template.md- For straightforward capabilitiescomplex-skill-template.md- For multi-component skillsskill-with-agents-template.md- For skills using sub-agents
Supplementary Resources
For complete guide with examples: read ${PAI_DIR}/skills/create-skill/CLAUDE.md
For templates: ls ${PAI_DIR}/skills/create-skill/templates/
Key Principles
- Progressive disclosure: SKILL.md = quick reference, CLAUDE.md = deep dive
- Clear activation triggers: User should know when skill applies
- Executable instructions: Imperative/infinitive form (verb-first)
- Context inheritance: Skills inherit global context automatically
- No duplication: Reference global context, don't duplicate it
- Self-contained: Skill should work independently
- Discoverable: Description enables Kai to match user intent
GitHub Repository
Related Skills
sglang
MetaSGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.
evaluating-llms-harness
TestingThis Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.
llamaguard
OtherLlamaGuard is Meta's 7-8B parameter model for moderating LLM inputs and outputs across six safety categories like violence and hate speech. It offers 94-95% accuracy and can be deployed using vLLM, Hugging Face, or Amazon SageMaker. Use this skill to easily integrate content filtering and safety guardrails into your AI applications.
langchain
MetaLangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.
