mcpField
S
session-control

session-control

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

About session-control

session-control is a skill for managing workflow session state. It switches sessions according to the /work `--resume` or `--fork` flag, runs a control script, and checks the updated session files.

Key features

  1. 01Resume or fork based on flags
  2. 02Read variables passed by a workflow
  3. 03Run the session control script
  4. 04Verify session file updates

Use cases

  1. 01Resume an existing /work session
  2. 02Fork a session to branch its state
  3. 03Check that session event records were updated

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/chachamaru127/claude-code-harness --skill session-control

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

Bundled filesreferences/session-control.md

Details

From the project README

Session Control Skill

/work の --resume / --fork フラグに応じてセッション状態を切り替える。

機能詳細

機能詳細
セッション再開/分岐See references/session-control.md

実行手順

  1. workflow から渡された変数を確認
  2. scripts/session-control.sh を適切な引数で実行
  3. session.json と session.events.jsonl の更新を確認

Comments

Markdown supported