Add claude-profile engagement mode picker with statusline and session-start integration
- 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>
This commit is contained in:
41
data/claude-profile/presets.yaml.example
Normal file
41
data/claude-profile/presets.yaml.example
Normal file
@@ -0,0 +1,41 @@
|
||||
# claude-profile presets — copy to $CLAUDE_CONFIG_DIR/presets.yaml and edit
|
||||
#
|
||||
# Each top-level key is a preset name. The `profile` field is required.
|
||||
# Other fields override the mode's defaults.
|
||||
#
|
||||
# Usage: claude-profile --preset <name>
|
||||
|
||||
# A "deep work" session on the homelab cluster
|
||||
deep-cluster:
|
||||
profile: oreillyit
|
||||
mode: deep
|
||||
project: cluster-bootstrap
|
||||
time_horizon: hours
|
||||
async: yes
|
||||
|
||||
# A quick edit on the small-scripts repo (no questions, just launch)
|
||||
quick-skills:
|
||||
profile: oreillyit
|
||||
mode: quick
|
||||
project: small-scripts
|
||||
|
||||
# Overnight orchestration of container agents on the image-gen project
|
||||
orch-overnight:
|
||||
profile: oreillyit
|
||||
mode: orch
|
||||
project: ai-image-gen
|
||||
time_horizon: overnight
|
||||
autoloop: yes
|
||||
|
||||
# Cheap conversational session, no project
|
||||
chat-only:
|
||||
profile: oreillyit
|
||||
mode: chat
|
||||
|
||||
# Hybrid session — Haiku driver with Opus subagents on call
|
||||
hybrid-day:
|
||||
profile: oreillyit
|
||||
mode: hybrid
|
||||
project: cluster-bootstrap
|
||||
time_horizon: hours
|
||||
async: yes
|
||||
Reference in New Issue
Block a user