mcpField
S
session-state

session-state

github.com/chachamaru127Agent workflows3.2k39 installsUpdated 2w ago
Repository

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

  1. 01Validates state transitions
  2. 02Applies orchestration state changes
  3. 03Handles escalation, stopping, and reinitialization

Use cases

  1. 01Updating state at work phase boundaries
  2. 02Escalating after an error
  3. 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-state

After installing, type/session-statein Claude Code to confirm it loaded.

Bundled filesreferences/state-transition.md

Details

From the project README

Session State Skill

セッション状態の遷移を管理する内部スキル。 docs/SESSION_ORCHESTRATION.md に定義された状態機械に従って遷移を検証・実行する。

機能詳細

機能詳細
状態遷移See references/state-transition.md

使用タイミング

  • /work フェーズ境界での状態更新
  • エラー発生時の escalated 遷移
  • セッション終了時の stopped 遷移
  • セッション再開時の initialized 復帰

注意事項

  • このスキルは内部使用専用です
  • ユーザーが直接呼び出すことは想定していません
  • 状態遷移ルールは docs/SESSION_ORCHESTRATION.md で定義

Comments

Markdown supported