Create skills using the agentskills.io framework with init, validate, and package scripts...
This skill provides the agentskills.io framework for creating distributable skill packages with initialization scripts, validation, and packaging tools.
Note: This is the agentskills.io framework, separate from the official Claude Code skills format. Use
skill-creatorfor official Claude Code skills.
| Use Case | Use This (skill-io-creator) | Use skill-creator |
|---|---|---|
| Distributable .skill packages | Yes | No |
| Script-based scaffolding | Yes | No |
| Official Claude Code format | No | Yes |
| Frontmatter with hooks/context | No | Yes |
The agentskills.io framework provides:
skill-name/
āāā SKILL.md # Required: frontmatter + instructions
āāā scripts/ # Executable code
ā āāā helper.py
āāā references/ # Documentation loaded into context
ā āāā api_reference.md
āāā assets/ # Files used in output (templates, images)
āāā template.pptx
python scripts/init_skill.py <skill-name> --path <output-directory>
Example:
python scripts/init_skill.py pdf-editor --path ~/.claude/skills
This creates:
SKILL.md with TODO placeholdersscripts/example.py - sample executablereferences/api_reference.md - sample documentationassets/example_asset.txt - sample asset placeholderComplete the frontmatter:
---
name: skill-name
description: What it does and WHEN to use it. Include trigger scenarios.
---
Choose a structure pattern:
| Pattern | Best For | Example |
|---|---|---|
| Workflow-Based | Sequential processes | PDF: Analyze -> Map -> Fill -> Verify |
| Task-Based | Tool collections | PDF: Merge, Split, Extract |
| Reference/Guidelines | Standards | Brand: Colors, Typography |
| Capabilities-Based | Integrated features | PM: numbered capabilities |
scripts/ - Executable code
references/ - Documentation
assets/ - Output files
python scripts/quick_validate.py <path/to/skill-folder>
Checks:
python scripts/package_skill.py <path/to/skill-folder> [output-dir]
Creates skill-name.skill file (zip with .skill extension).
Context window is shared. Only add what Claude doesn't already know.
Keep SKILL.md under 500 lines.
| Level | When | Example |
|---|---|---|
| High | Multiple valid approaches | Text guidelines |
| Medium | Preferred pattern | Pseudocode with params |
| Low | Fragile operations | Specific scripts |
For sequential processes, provide overview:
1. Analyze the form (run analyze_form.py)
2. Create field mapping (edit fields.json)
3. Validate mapping (run validate_fields.py)
4. Fill the form (run fill_form.py)
For conditional workflows:
1. Determine type:
**Creating?** ā Follow Creation workflow
**Editing?** ā Follow Editing workflow
See references/workflows.md for more patterns.
For strict output format:
ALWAYS use this exact template:
# [Title]
## Executive summary
## Key findings
## Recommendations
For flexible output:
Here is a sensible default, adapt as needed:
...
See references/output-patterns.md for more patterns.
# 1. Initialize
python scripts/init_skill.py pdf-editor --path ~/.claude/skills
# 2. Edit SKILL.md
# - Update description with trigger scenarios
# - Add workflow steps
# - Reference scripts
# 3. Add scripts
# - scripts/rotate_pdf.py
# - scripts/extract_text.py
# 4. Add references
# - references/pdf_api.md
# 5. Validate
python scripts/quick_validate.py ~/.claude/skills/pdf-editor
# 6. Package
python scripts/package_skill.py ~/.claude/skills/pdf-editor ./dist
Usage: init_skill.py <skill-name> --path <path>
Skill name requirements:
- Hyphen-case (e.g., 'data-analyzer')
- Lowercase letters, digits, hyphens only
- Max 40 characters
Usage: quick_validate.py <path/to/skill-folder>
Validates:
- Frontmatter syntax
- Required fields
- Directory structure
Usage: package_skill.py <path/to/skill-folder> [output-directory]
Creates .skill file (zip format) for distribution.