Documentation
Complete command reference for AI Skills Manager
Built on Best Practices
AI Skills Manager implements and enforces the Agent Skills specification from Anthropic. Every command follows Anthropic's documented structure and best practices, providing a solid foundation for your Claude Code skills.
asm scaffold
Create a new Claude Code skill with the required directory structure and SKILL.md template.
Syntax
asm scaffold <name> [options]
Options
Examples
Create a basic skill
asm scaffold code-reviewer
Create with description and custom tools
asm scaffold test-helper --description "Helps write unit tests" --allowed-tools "Read,Write,Bash"
Create a personal skill
asm scaffold my-workflow --scope personal
asm validate
Validate a skill against the official Claude Code specification, checking structure, frontmatter, and required fields.
Syntax
asm validate <path> [options]
Options
Validation Checks
- SKILL.md file exists
- Valid YAML frontmatter structure
- Required fields present (name, description)
- Only allowed properties in frontmatter
- Name format validation
- Description format validation
Examples
Validate a project skill
asm validate .claude/skills/my-skill
JSON output for CI/CD
asm validate .claude/skills/my-skill --output json
Exit Codes
asm package
Create a distributable .skill package file (ZIP archive) for sharing skills.
Syntax
asm package <path> [options]
Options
Examples
Package a skill
asm package .claude/skills/my-skill
Package to a specific directory
asm package .claude/skills/my-skill --output ./dist
Exit Codes
asm install
Install a skill from a .skill package file with automatic validation and rollback on failure.
Syntax
asm install <file> [options]
Options
Examples
Install to project scope
asm install my-skill.skill --scope project
Install to personal skills
asm install my-skill.skill --scope personal
Preview installation
asm install my-skill.skill --dry-run
Exit Codes
asm update
Update an existing skill to a newer version with automatic backups and atomic updates.
Syntax
asm update <name> <file> [options]
Options
Examples
Update a skill
asm update my-skill ./my-skill-v2.skill
Force update with backup preservation
asm update my-skill ./new-version.skill --force --keep-backup
Exit Codes
~/.asm/backups/ with timestamp naming. On update failure, automatic rollback restores the previous version.
asm uninstall
Remove installed skills with security checks and confirmation prompts.
Syntax
asm uninstall <name...> [options]
Options
Examples
Uninstall a skill
asm uninstall my-skill --scope project
Bulk uninstall multiple skills
asm uninstall skill-one skill-two skill-three --scope personal
Preview uninstall
asm uninstall my-skill --dry-run
Exit Codes
Debug Mode
Enable verbose logging for troubleshooting by setting the ASM_DEBUG environment variable.
Usage
ASM_DEBUG=1 asm <command>
Example
Debug an installation
ASM_DEBUG=1 asm install my-skill.skill --scope project