Introduces provider files (`data/claude-profile/providers/*.yaml`) that
bundle model ID, API base URL, API key source, and extra env vars. Phase 2.5
(provider selection) added between mode selection and launch, with a default
derived from the mode's driver field so existing Anthropic usage is unchanged.
Ships 5 providers: anthropic-haiku/sonnet/opus/opus-1m and minimax-sonnet.
MiniMax token decrypted from agent-runtimes SOPS env, stored at
~/.claude-secrets/minimax-auth-token. Adding new providers = one YAML file,
no script changes.
58 dryrun tests passing (up from 37).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- claude-profile: phase 1-3 picker (profile, mode, launch) with preset support,
dryrun, WezTerm theming, and --append-system-prompt mode body injection
- 5 mode files (chat/quick/deep/hybrid/orch) with YAML frontmatter + prose body;
new escalates_to field drives statusline →Opus arrow for deep and hybrid
- statusline.sh reads CLAUDE_CONFIG_DIR/active-mode.env to show
[Sonnet→Opus] deep · topic format when launched via claude-profile
- Root CLAUDE.md session-start: auto-selects project from cwd or CLAUDE_PROJECT
in active-mode.env, skipping the interactive picker when context is clear
- Spec, tests (37 assertions, 9 test files, all passing), context docs, and
preset example included
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
claude-profile now:
- Syncs all repos (git pull --ff-only) before starting a session
- Emits WezTerm user-var escape sequences to trigger profile themes
- Resets terminal theme on session exit via trap
New script sync-repos pulls latest for all git repos under ~/dev/claude
with --dryrun support and color status output.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Utility for switching between Claude Code skill profiles by
managing the ~/.claude/skills symlink target.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>