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
- 01Resume or fork based on flags
- 02Read variables passed by a workflow
- 03Run the session control script
- 04Verify session file updates
Use cases
- 01Resume an existing /work session
- 02Fork a session to branch its state
- 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-controlAfter installing, type/session-controlin Claude Code to confirm it loaded.
Bundled filesreferences/session-control.md
Details
From the project READMESession Control Skill
/work の --resume / --fork フラグに応じてセッション状態を切り替える。
機能詳細
| 機能 | 詳細 |
|---|---|
| セッション再開/分岐 | See references/session-control.md |
実行手順
- workflow から渡された変数を確認
scripts/session-control.shを適切な引数で実行session.jsonとsession.events.jsonlの更新を確認
Comments
Markdown supported