warden add
Add AI analysis skills to your Warden configuration. Skills can be local (from.agents/skills/) or remote (from GitHub repositories).
Usage
Options
Skill Selection
Name of the skill to add (positional argument or
--skill flag)Skill name (alternative to positional argument)
Remote Skills
Remote repository reference for skillsFormats:
owner/repo- Latest version from default branchowner/repo@sha- Pinned to specific commithttps://github.com/owner/repo- Full GitHub URL
Display
List all available skills and exit
Bypass skill cache and fetch latest from remote (for remote skills)
Suppress non-error output
Force color output on or off
Local Skills
Local skills are discovered from:.agents/skills/.claude/skills/
Interactive Selection
When run without arguments in an interactive terminal,add displays a menu:
List Available Skills
Add Specific Skill
Remote Skills
Remote skills are fetched from GitHub repositories and cached locally in.warden/skills/.
Add from Remote Repository
List Remote Skills
Force Refresh Remote Cache
Bypass the cache to fetch the latest version:Configuration Format
Skills are appended towarden.toml with default triggers:
Local Skill
Remote Skill
Pinned Remote Skill
Customization
After adding a skill, editwarden.toml to customize:
Path Filters
Severity Thresholds
Multiple Triggers
Exit Codes
- Skill added successfully
- Skill already configured (no changes)
- List displayed successfully
- Not in a git repository
warden.tomlnot found (runwarden initfirst)- Skill not found
- Invalid remote reference
- Network error fetching remote
Examples
Interactive Workflow
Non-Interactive
Remote Skills
Automation
Requirements
- Must run from a git repository
warden.tomlmust exist (runwarden initfirst) - except when using--listwithout--remote- For local skills: Skills must exist in
.agents/skills/or.claude/skills/ - For remote skills: Network access (unless using
--offlinewith cached skills)
Skill Discovery
Warden discovers skills by readingSKILL.md files:
SKILL.md must include:
Remote Caching
Remote skills are cached in.warden/skills/ after first fetch:
- Offline usage with
--offlineflag - Faster repeated operations
- Consistent versions across team
Related Commands
- warden init - Initialize warden.toml
- warden sync - Update cached remote skills
- warden - Run analysis with configured skills