Skip to main content

CLI Reference

The hooks repo provides CLI tooling for skill automation. Skills themselves are just markdown files that require no CLI.

Manual Skill Management

Skills are directories containing SKILL.md files. You manage them with standard file operations:

# List installed skills
ls .claude/skills/

# Add a skill (copy from skills repo)
cp -r /path/to/skills/tdd .claude/skills/

# Remove a skill
rm -rf .claude/skills/tdd

Directory Structure

your-project/
└── .claude/
    └── skills/
        ├── tdd/
        │   └── SKILL.md
        ├── dogfood/
        │   └── SKILL.md
        └── rick-rubin/
            └── SKILL.md

Hooks CLI

The hooks repo provides automation tooling:

# Clone the hooks repo
git clone https://github.com/4meta5/hooks.git
cd hooks

# Install dependencies
npm install

# See available commands
npm run cli -- --help

For full hooks CLI documentation, see the hooks repo README.