بنقرة واحدة
statusauto
Switch statusline to auto mode (shows rate bars, per-model bars, and warnings only when signals warrant it)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Switch statusline to auto mode (shows rate bars, per-model bars, and warnings only when signals warrant it)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Template and conventions for authoring cross-machine sync scenarios in internal/harness/scenarios_test.go. Load when a bug or feature involves two or more machines, pushes/pulls, merge behavior, or profile state. Paired with ccsync-repro-first.
Run ccsync against a sandboxed $HOME and a local bare git repo for manual TUI verification. Use when a change affects what the user sees on screen (new screen, reshuffled flow, messaging) and unit tests alone can't confirm "the feature works" matches "the tests pass". Paired with the /ccsync-isolated command.
Reference map of non-obvious internal APIs in ccsync. Covers sync.Run inputs/outputs, manifest.Action semantics, three-way merge, first-sync (baseCommit=="") policy, PreserveLocalExcludes, PromotePath, profile extends, gitx init-vs-clone, secrets keying, and state policies. Load when editing internal/sync, internal/manifest, internal/merge, internal/profile, or internal/state.
Release checklist for ccsync. Covers version bump, full verify pipeline, release notes, commit + tag, and user-machine recovery instructions. Load when cutting any new release (patch, minor, or major).
Repro-first bug workflow for ccsync. When the user reports a bug, use this before editing any code — it produces a failing test that pins the bug, then a fix, then a re-introduction to confirm the test is load-bearing. Invoke on every bug report.
Bubbletea unit-test playbook for internal/tui screens. Covers minimal AppContext scaffolding, driving tea.KeyMsg, extracting tea.Sequence sub-commands via reflection, asserting on switchScreenMsg, and the autoJoinMsg pattern for auto-advancing screens. Load when adding or fixing TUI behavior.
| name | statusauto |
| description | Switch statusline to auto mode (shows rate bars, per-model bars, and warnings only when signals warrant it) |
| user-invocable | true |
Switch the statusline to auto mode for this session. Run the following command and confirm to the user:
sid=$(cat ~/.claude/session-by-ccpid/$PPID 2>/dev/null)
[ -z "$sid" ] && sid=$(cat ~/.claude/.current-session-id 2>/dev/null)
if [ -n "$sid" ]; then
echo auto > ~/.claude/statusline-mode-${sid}
else
echo auto > ~/.claude/statusline-mode
fi
Re-invoking /statusauto preserves sticky state — once a trigger has fired in the session (5h, 7d, ctx pressure, per-model rate), it stays visible across mode switches and re-invocations. To manually clear sticky state, run sid=$(cat ~/.claude/session-by-ccpid/$PPID 2>/dev/null || cat ~/.claude/.current-session-id); rm -f ~/.claude/statusline-auto-sticky-${sid}.
Tell the user: "Statusline switched to auto mode (this session only)."