Skip to content

chore(claude): tier model pins across commands, agents, and templates - #31

Merged
mhenrixon merged 2 commits into
mainfrom
chore/tier-model-pins
Jul 2, 2026
Merged

chore(claude): tier model pins across commands, agents, and templates#31
mhenrixon merged 2 commits into
mainfrom
chore/tier-model-pins

Conversation

@mhenrixon

Copy link
Copy Markdown
Collaborator

Summary

Replaces the blanket model: claude-opus-4-6 pin on every Claude Code command with a tier-based convention, adds frontmatter to commands that were missing it, and introduces a new /plan command that puts the expensive model where it pays off.

Tier Commands Rationale
fable /plan (new) Read-only planning: investigates, designs, emits a self-contained GitHub issue or docs/plans/ markdown for cheaper models to execute
opus /lfg, /review-pr, /github-review-comments, /github-ci-failures Orchestration, PR review, CI debugging
sonnet /add-component, /audit-components, /check-component, /fix-docs-tests, /tdd, /test-all Pattern-following implementation with prescriptive prompts — near-Opus quality at lower cost

/plan (second commit)

Read-only planning command pinned to Fable: the capable model audits and writes the spec; cheaper models execute it. Each plan is self-contained — context block with file paths, ordered steps mapped to layer specialists, verification gates with exact commands and expected outputs, explicit out-of-scope boundaries — so /lfg <issue-number> can execute without any of the planning session's context.

Workflow: /plan add bulk CSV re-import (Fable) → /lfg 1234 (Opus) → specialists (Sonnet).

Test plan

  • grep -rn "claude-opus-4" .claude/ CLAUDE.md — no full model IDs remain
  • All 11 commands have a model: tier alias in frontmatter
  • /plan registers as an available skill
  • Run a specialist command (e.g. /tdd) and confirm the turn runs on Sonnet
  • Run /plan on a small feature and execute the resulting issue with /lfg

Docs/config only — no application code, no specs affected.

mhenrixon added 2 commits July 2, 2026 12:53
Every slash command was pinned to claude-opus-4-6 (or had no model pin
at all), so every turn ran at the highest price regardless of task
complexity. Pin by tier instead: sonnet for component specialists and
test runners, opus for orchestration/PR review/CI debugging. Aliases
instead of full model IDs so pins track the latest model per tier.

CLAUDE.md now documents the command table and tier convention so new
commands start on the right tier.
Read-only planning command pinned to fable: investigates via cheap
subagent fan-out, designs on the top model, and emits a self-contained
artifact — a GitHub issue (feeds /lfg <number>) or a docs/plans/
markdown. Plan contract: context block with file paths, verification
gates with expected outputs, explicit out-of-scope boundaries, so an
executor needs none of the planning session's context.

Carves the one fable-pin exception into the tier convention docs.
@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 47 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ddad945d-69c7-46cc-96cf-646d681dc4ee

📥 Commits

Reviewing files that changed from the base of the PR and between d070aa3 and 95cf1cf.

📒 Files selected for processing (12)
  • .claude/commands/add-component.md
  • .claude/commands/audit-components.md
  • .claude/commands/check-component.md
  • .claude/commands/fix-docs-tests.md
  • .claude/commands/github-ci-failures.md
  • .claude/commands/github-review-comments.md
  • .claude/commands/lfg.md
  • .claude/commands/plan.md
  • .claude/commands/review-pr.md
  • .claude/commands/tdd.md
  • .claude/commands/test-all.md
  • CLAUDE.md

Comment @coderabbitai help to get the list of available commands.

@mhenrixon mhenrixon self-assigned this Jul 2, 2026
@mhenrixon mhenrixon added the documentation Improvements or additions to documentation label Jul 2, 2026
@mhenrixon
mhenrixon merged commit 2d3921c into main Jul 2, 2026
8 checks passed
@mhenrixon
mhenrixon deleted the chore/tier-model-pins branch July 2, 2026 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant