Skip to content

Claude Code

Install the stax skill file so Claude Code can drive stax workflows correctly.

st setup --install-skills --skills claude   # recommended
mkdir -p ~/.claude/skills/stax
st --skill > ~/.claude/skills/stax/SKILL.md
# or fetch the markdown body only from GitHub:
curl -o ~/.claude/skills/stax.md https://raw.githubusercontent.com/cesarferreira/stax/main/skills.md

Enables workflow assistance for stacked branch creation, submit flows, and related operations.

Use Claude with AI create/PR generation

st create --ai -a --yes
st submit --ai
st generate --pr-body --agent claude
st generate --pr-body --agent claude --model claude-opus-5
st gen --pr-title --agent claude
st gen --commit-msg --agent claude

When claude is selected, stax tries Anthropic's live Models API first (using ANTHROPIC_API_KEY) before falling back to its local Claude defaults.