About session-state
session-state is an internal skill for validating and applying session state transitions according to a defined state machine. It supports orchestration phases and lifecycle events such as errors, shutdown, and resumption.
Key features
- 01Validates state transitions
- 02Applies orchestration state changes
- 03Handles escalation, stopping, and reinitialization
Use cases
- 01Updating state at work phase boundaries
- 02Escalating after an error
- 03Marking a session stopped or reinitialized
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ chachamaru127/ claude-code-harness --skill session-stateAfter installing, type/session-statein Claude Code to confirm it loaded.
Bundled filesreferences/state-transition.md
Details
From the project READMESession State Skill
セッション状態の遷移を管理する内部スキル。
docs/SESSION_ORCHESTRATION.md に定義された状態機械に従って遷移を検証・実行する。
機能詳細
| 機能 | 詳細 |
|---|---|
| 状態遷移 | See references/state-transition.md |
使用タイミング
/workフェーズ境界での状態更新- エラー発生時の
escalated遷移 - セッション終了時の
stopped遷移 - セッション再開時の
initialized復帰
注意事項
- このスキルは内部使用専用です
- ユーザーが直接呼び出すことは想定していません
- 状態遷移ルールは
docs/SESSION_ORCHESTRATION.mdで定義
Comments
Markdown supported