Anthropic (Claude)
Claude models run through the built-in anthropic provider.
- Create an API key in the Anthropic Console.
- Store it as a repo/org secret named
ANTHROPIC_API_KEYand pass it in the workflowenv:. - Select a Claude model and allowlist the provider in
.crabd.yml.
model: anthropic/claude-sonnet-4-6providers: allowlist: [anthropic]- uses: louisescher/crabd@v0 with: model: anthropic/claude-sonnet-4-6 env: ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}Model specifiers
Section titled “Model specifiers”Use anthropic/<model>, for example:
anthropic/claude-opus-4-8: most capable, for hard implementation work.anthropic/claude-sonnet-5: balanced default.anthropic/claude-haiku-4-5: fastest/cheapest, good for triage and light review.
-
Set a per-mode model to spend more only where it matters, e.g. Opus for
implement, Haiku forreview:.crabd.yml model: anthropic/claude-haiku-4-5modes:implement:model: anthropic/claude-opus-4-6 -
thinking_level(e.g.high) increases reasoning effort for Claude models that support it.
