agentleFS
hussainatyhussainaty/ai-agent-skills/skills/session-supervisor/SKILL.md

session-supervisor

Skill1 starsChanged 32 days agoMITView on GitHub

Manage related coding-agent sessions from one supervisor, delegate implementation and testing to suitable workers, and review their results.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If a nonblocking problem in this skill is discovered, record it, finish the user's main task, then fix and verify the skill within the …

    line 22
  2. Distinctive:

    Leave Claude Code's own rate-limit handling intact.

    line 27

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Session Supervisor

Coordinate the user's task from one higher-level session. Keep the user's normal workflow, project boundaries and permissions intact.

Choose and retain sessions

  1. Discover the actual Codex, Claude Code, OpenCode and Hermes tools and models available on this host. Verify authentication, current pricing, tool access and suitability for the particular job; a free or large model is not automatically a good worker. Prefer OpenCode for suitable normal implementation and use Hermes or another available model for assistance or review when it fits. Do not silently switch to a paid route.
  2. Find the relevant project and existing session using supported host tools and authorized metadata. Choose based on actual task context, not assumed access. Create a new user-visible Codex chat only when the user explicitly requests one; use available internal worker sessions for subtasks within host rules.
  3. Keep the same worker session open and reuse its ID for all related tasks, fixes and follow-up reviews so it retains useful context. Do not close it merely because a task iteration finished. Start a separate session for an unrelated project or substantially unrelated context. Preserve IDs, project scope and state across handoffs; if a session is unavailable, say so rather than inventing continuity.

Delegate the work, then review

  • The higher-level supervisor owns the task direction and prepares a complete, bounded plan: goal, relevant context, files or write scope, acceptance criteria, tests and exact commands where known, constraints, budget and stop conditions. Send only the context the worker needs.
  • Ask the worker to implement, run the specified tests, inspect failures, fix its work, and run the relevant tests again. Let it repeat that cycle while it is making meaningful progress. On a blocker, repeated failure, missing permission or uncertain result, keep the session and escalate the evidence rather than spinning or pretending it passed.
  • Request a compact result: changed files, commands and actual test results, remaining issues and questions. Do not repeatedly retrieve full transcripts. A timed-out wait does not mean the worker stopped; check its actual state before starting replacement work.
  • The higher-level model independently inspects the result and relevant diff/evidence, reviews architecture and edge cases, and runs or requests proportionate independent checks. If it finds a missed issue, refine the plan and send the correction back to the same related worker session. The supervisor, not the worker's self-report, decides acceptance.
  • If a nonblocking problem in this skill is discovered, record it, finish the user's main task, then fix and verify the skill within the user's authorization. If the problem blocks safe or correct work, report it and address it before continuing.

Rate limits and token use

  • For Codex, do not send a wake-up to a working session. Only a confirmed temporary rate-limit stop is eligible after reset; never override a pause, budget stop, pending approval or queued user input. The included queue is a component, not an active desktop wakeup: it needs a host that can atomically check eligibility and deduplicate delivery. Unknown acceptance is not replayed. Do not claim automatic wakeup when the host cannot provide it.
  • Leave Claude Code's own rate-limit handling intact. Do not add a duplicate retry loop. Waiting and status checks should avoid inference; resumed work consumes tokens.
  • Minimize the supervisor's and workers' total context, redundant polling, retries and duplicated work while maintaining quality. Record actual usage when exposed. Delegation can increase total tokens or cost, so do not promise savings without a comparable measurement.

The optional local MCP supplies supported Codex and Claude session operations. Other worker MCPs, clients, models and credentials require their own setup. A skill alone does not install a provider, grant access or keep a stopped process alive. Read Codex support, Claude support, or Codex wakeup only as needed.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.