stgoddv/session-pilot

6 stars · Last commit 2026-10-18

Claude Code plugin (mod + skill) for long-running orchestrator sessions: context and quota status, self-compaction with a handoff, subagent cap by quota tier, graceful pause and auto-resume.

README preview

# session-pilot

**session-pilot** is a Claude Code plugin that lets an orchestrator agent manage its own long-running sessions. It is
made of two parts: a **mod** that gives the agent the mechanics (context and quota readings, self-compaction with a
handoff, a subagent cap, pause and auto-resume), and a **skill** that gives it the policy for using them.

**Contents**: [Why](#why) · [What it does](#what-it-does) · [How you use it](#how-you-use-it) ·
[Quick start](#quick-start) · [Requirements](#requirements) · [How it works](#how-it-works) · [Tools](#tools) ·
[Rules](#rules) · [Configuration](#configuration) · [Limitations](#limitations) · [Development](#development) ·
[License](#license) · [Install and use in any repository](#install-and-use-in-any-repository)

## Why

Long autonomous coding runs, with one orchestrator agent driving many subagents, hit two walls:

- **Context fills up.** Auto-compaction kicks in at an arbitrary moment and summarizes away detail. The agent has no
  way to pick a clean cut point and hand its successor a precise handoff.
- **Subscription quota runs out.** The 5-hour and weekly limits block the run mid-work, often with files half-edited.
  Parallel subagents burn quota fast, and nothing slows them down as the limit approaches.

View full repository on GitHub →