Skip to content

rai skill

Manage RaiSE skills. Skills are structured workflows (SKILL.md files) that guide AI agents through development lifecycle phases.

List all skills in the skill directory. Shows skills grouped by lifecycle with version and description.

FlagShortDescription
--format-fOutput format: human, json. Default: human
Terminal window
rai skill list
rai skill list --format json

Validate skill structure against the RaiSE schema. Checks frontmatter, required fields, sections, and naming conventions.

ArgumentDescription
PATHPath to skill file or directory (optional — validates all if omitted)
FlagShortDescription
--format-fOutput format: human, json. Default: human
Terminal window
# Validate all skills
rai skill validate
# Validate specific skill
rai skill validate .claude/skills/rai-story-start/SKILL.md

Exit codes: 0 all valid, 1 validation errors found.


Check a proposed skill name against naming conventions. Validates {domain}-{action} pattern, checks for conflicts with existing skills or CLI commands, and verifies the lifecycle domain.

ArgumentDescription
NAMEProposed skill name (required)
FlagShortDescription
--format-fOutput format: human, json. Default: human
Terminal window
rai skill check-name story-validate

Create a new skill from template. Generates a SKILL.md file with proper structure.

ArgumentDescription
NAMESkill name to create (required)
FlagShortDescription
--lifecycle-lLifecycle: session, epic, story, discovery, utility, meta. Inferred from name if not set
--afterSkill that should come before this one
--beforeSkill that should come after this one
--setSkill set to create in (creates in .raise/skills/{set}/)
--from-builtinCopy from deployed builtin skill as starting point (requires --set)
--format-fOutput format: human, json. Default: human
Terminal window
# Create a new story skill
rai skill scaffold story-validate
# With lifecycle and ordering
rai skill scaffold story-validate --lifecycle story --after story-implement --before story-close
# Create in a skill set from a builtin
rai skill scaffold story-validate --set my-team --from-builtin

Check skill freshness against installed package version. Reports which skills are current, outdated, or have conflicts.

FlagShortDescription
--path-pProject path
Terminal window
rai skill sync
rai skill sync --path /path/to/project

Exit codes: 0 all current, 1 updates available.


Create a new skill set from builtins. Copies all builtin skills to .raise/skills/<name>/ as a starting base for customization.

ArgumentDescription
NAMESkill set name (required)
FlagShortDescription
--emptyCreate empty set (no builtins copied)
--format-fOutput format: human, json. Default: human
Terminal window
# Create from builtins
rai skill set create my-team
# Create empty set
rai skill set create my-team --empty

List all skill sets in .raise/skills/.

FlagShortDescription
--format-fOutput format: human, json. Default: human
Terminal window
rai skill set list

Compare a skill set against builtins. Shows which skills are added, modified, or unchanged.

ArgumentDescription
NAMESkill set name to compare (required)
FlagShortDescription
--format-fOutput format: human, json. Default: human
Terminal window
rai skill set diff my-team

See also: rai init --skill-set