Agent skill
skill-creator
Create new Claude Code skills in this repository. Use when user wants to add a new skill, create a skill, implement a skill, or extend Claude's capabilities with a custom workflow.
Install this agent skill to your Project
npx add-skill https://github.com/alexjx/skills/tree/main/.claude/skills/skill-creator
SKILL.md
Skill Creator
Creates new skills in the project skills/ directory (not .claude/skills/).
Target directory: <project-root>/skills/
Skill Structure
Each skill lives in its own directory under the project skills/ folder:
<project-root>/skills/<skill-name>/
├── SKILL.md # Required: skill definition with YAML frontmatter
├── scripts/ # Optional: executable scripts
│ ├── setup.sh # Optional: one-time setup
│ └── main.py # Main script (or .sh, .js, etc.)
├── refs/ # Optional: reference documentation
├── pyproject.toml # Optional: Python dependencies (use uv)
└── package.json # Optional: Node.js dependencies
SKILL.md Format
---
name: skill-name
description: Brief description of what this skill does AND when to use it. Include trigger words like file types, actions, or use cases.
allowed-tools: Read, Grep, Glob # Optional: restrict available tools
---
# Skill Name
Brief overview of the skill.
## Requirements
List external dependencies (e.g., uv, node, specific tools).
## Setup
Instructions to run before first use.
## Usage
How to invoke the skill's functionality.
## Examples
Concrete usage examples.
Naming Rules
- Max 64 characters
- Lowercase letters, numbers, hyphens only
- Cannot contain "anthropic" or "claude"
Description Best Practices
The description determines when Claude triggers the skill. Include:
- What it does: "Converts web pages to markdown"
- When to use it: "Use when user wants to crawl a webpage, extract content..."
- Trigger words: File types (.pdf, .xlsx), actions (crawl, convert, analyze)
Bad: description: Helps with documents
Good: description: Extract text from PDF files, fill forms, merge documents. Use when working with PDFs or when user mentions forms, document extraction.
Script Patterns
Python with uv (recommended)
# pyproject.toml
[project]
name = "skill-name"
version = "0.1.0"
requires-python = ">=3.10"
dependencies = ["your-deps"]
# scripts/setup.sh
#!/bin/bash
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$(dirname "$SCRIPT_DIR")"
uv sync
# Additional setup...
# Run scripts with:
cd skills/<skill-name> && uv run python scripts/main.py
Shell scripts
# scripts/main.sh
#!/bin/bash
set -e
# Your logic here
Node.js
// package.json
{
"name": "skill-name",
"type": "module",
"dependencies": {}
}
Creating a New Skill
-
Ask user for:
- Skill name (lowercase, hyphens)
- Purpose and functionality
- Required dependencies
- Trigger scenarios
-
Create directory structure in the project skills folder:
bashmkdir -p <project-root>/skills/<name>/scriptsImportant: Always use the project's
skills/directory, NOT.claude/skills/. -
Write SKILL.md with proper frontmatter
-
Add scripts if needed
-
Add setup.sh if dependencies require installation
-
Test the skill works
Progressive Disclosure
Keep SKILL.md focused on quick-start workflow. Move detailed reference docs to separate files:
refs/
├── API.md
├── CONFIG.md
└── TROUBLESHOOTING.md
Reference them from SKILL.md: See [API reference](refs/API.md) for details.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-creator
Create Claude Code subagents. Use when user wants to create a subagent, specialized agent, or custom AI assistant for Claude Code.
commit
Guide for creating atomic commits with conventional commit format. Use when user wants to commit changes.
crawl4ai
Web crawler that converts URLs to clean markdown. Use when user wants to fetch a webpage, extract web content, convert URL to markdown, or scrape website content.
agent-harness
Framework for orchestrating multiple AI agent sessions to complete complex, long-running software projects. Use when the user wants to set up or use the long-running agent harness pattern for managing multi-session projects, breaking work into discrete sessions with persistent state tracking, or implementing incremental progress workflows across multiple Claude Code sessions.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
handoff
Compact the current conversation into a handoff document for another agent to pick up.
Didn't find tool you were looking for?