REMOTE OPENCLAW
← Back to marketplace

Session Supervisor — Durable Coding Sessions for OpenClaw

Coding sessions that survive disconnects, recover from failures, and leave clean handoffs.

Dev Ops Install in 5 min 1 sale

Security reviewed. Manually tested and reviewed by the Remote OpenClaw team before going live.

About

Session Supervisor is a skill that turns ordinary tmux sessions into managed workcells for your coding agents. Each session gets a stable socket, a run directory, an operator brief, a handoff file, and a status record you can inspect without attaching live.

Long-running coding work should not die when your laptop sleeps, your SSH drops, or a provider rate-limits you mid-task. Session Supervisor treats each agent run like infrastructure: it survives disconnects, recovers cleanly from failures, and leaves behind artifacts the next pass can pick up immediately.

What Session Supervisor handles

  • Durable workcells — each coding session runs inside tmux with a stable socket that survives machine quirks and disconnects.
  • Run directories with full artifact trail — every session produces a brief, agent log, status record, verification script, and human-readable handoff.
  • Watchdog checks — detect idle or stuck sessions by inspecting log freshness and pane output without attaching live.
  • Recovery playbook — structured responses for auth failures, rate limits, partial completions, vanished sessions, and dirty repos.
  • Resume protocol — restart from artifacts instead of memory. Read the handoff, inspect the diff, rewrite the brief, and relaunch.
  • Notifier adapters — get notified on completion via OpenClaw events, Telegram, Slack, or local desktop notifications.

What's included

  • SKILL.md runbook — the complete operating pattern for durable coding sessions
  • Launch recipes — copy-paste commands for single-repo and multi-repo session launches
  • Recovery playbook — five documented failure modes with exact diagnosis steps
  • Resume protocol — step-by-step process for restarting interrupted work
  • Handoff format template — standard format so every session leaves actionable context
  • Notifier adapter examples — ready-made snippets for Telegram, Slack, and macOS
session-supervisor/
├── SKILL.md        — orchestration runbook
├── recipes/        — launch templates
├── recovery/       — 5 failure mode playbooks
└── adapters/       — notifier configs (Telegram, Slack, Desktop)

How it works

  1. Create the control directories and pick a stable tmux socket path.
  2. Write a brief with the specific objective, constraints, and definition of done.
  3. Launch the agent inside tmux using the provided launch recipe.
  4. The session streams output to a log, writes a machine-readable status on exit, and leaves a human-readable handoff for the next pass.

Best for

  • Developers running long coding sessions that outlast a single terminal window
  • Multi-repo operators juggling parallel agent tasks across separate codebases
  • Anyone tired of losing terminal state to SSH drops, laptop sleep, or provider rate limits
  • Teams that need every agent run to leave an inspectable trail and a clean handoff

Under the hood

  • Artifact-first contract — brief.md defines the task, verify.sh defines the check, agent.log keeps raw output, status.json records the exit, handoff.md carries the next-step context.
  • Stable socket path — uses a persistent socket instead of the default temp location so sessions survive system quirks.
  • Repo-local add-ons — drop a SUPERVISOR.md into any repo for custom test commands, deployment rules, and forbidden directories.

Before vs After

Before

Losing coding sessions to SSH drops and rate limits

After

Durable tmux workcells that survive disconnects and auto-recover

FAQ

What do I need to run Session Supervisor?

A machine with tmux installed and a coding agent (Claude Code, Codex, or similar). Works on macOS and Linux. No additional dependencies.

Does this work with any coding agent?

Yes. The launch recipes show Claude Code and Codex examples, but the pattern works with any agent you can invoke from the command line.

What happens when a session fails mid-task?

The recovery playbook covers five failure modes: auth failures, rate limits, partial completions, vanished sessions, and dirty repos. Each has specific diagnosis steps and a response action.

Can I run multiple sessions at once?

Yes. The pattern is one repo, one objective, one session. You can run as many parallel sessions as your machine supports.

Can I customize the notification method?

Yes. Notifier adapter examples are included for OpenClaw events, Telegram, Slack, and macOS desktop notifications.