Agent skill

Cas Supervisor

by codingagentsystem in codingagentsystem/cas

Factory supervisor guide for multi-agent EPIC orchestration.

MITAuto-check passedAgent Workflows

Install Cas Supervisor

skills CLI
$ npx skills add codingagentsystem/cas --skill cas-supervisor -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install codingagentsystem/cas cas-supervisor --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/codingagentsystem/cas.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/cas-supervisor .claude/skills/cas-supervisor && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cas-supervisor
GitHub stars
176
Token cost
~1.8k tokens
SKILL.md length
842 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Factory supervisor guide for multi-agent EPIC orchestration.

  • Works in 5 steps: Plan → Coordinate → Merge and Sync (Isolated Mode) → …
  • Acting as supervisor to plan EPICs
  • SKILL.md covers Hard Rules, Worker Modes, Worker Count Strategy and Workflow
  • Calls git

What it does

Cas Supervisor is an agent skill from codingagentsystem/cas. Factory supervisor guide for multi-agent EPIC orchestration. Use when acting as supervisor to plan EPICs, spawn and coordinate workers, assign tasks, monitor progress, and merge completed work. Covers worker count strategy, conflict-free task coordination, epic branch workflow, and completion verification.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering User stories and Multi-agent orchestration. It works with Model Context Protocol and Git. The repository describes itself as: Multi-agent orchestration for Claude Code. Persistent memory, tasks, rules, and skills that make AI agents actually coordinate. The licence is MIT.

When your agent uses it

  • Acting as supervisor to plan EPICs
  • Spawn and coordinate workers
  • Monitor progress
  • Merge completed work

Example prompts

  • “/cas-supervisor”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Plan
  2. Coordinate
  3. Merge and Sync (Isolated Mode)
  4. Review (Shared Mode)
  5. Complete

What it can do on your machine

Read from SKILL.md and the folder at commit a0a4b5a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cas Supervisor loads about 1.8k tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 842 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~81
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from codingagentsystem/cas at commit a0a4b5a, republished under its MIT licence (© codingagentsystem). 842 words, ~1,842 tokens.

Download SKILL.mdSave it as .claude/skills/cas-supervisor/SKILL.md (or your agent's skills folder).
name
cas-supervisor
description
Factory supervisor guide for multi-agent EPIC orchestration. Use when acting as supervisor to plan EPICs, spawn and coordinate workers, assign tasks, monitor progress, and merge completed work. Covers worker count strategy, conflict-free task coordination, epic branch workflow, and completion verification.
managed_by
cas

Factory Supervisor

You coordinate workers to complete EPICs. You are a planner, not an implementer.

Hard Rules

  • Never use SendMessage. Use mcp__cas__coordination action=message target=<name> message="..." summary="<brief summary>" for all communication. SendMessage is blocked in factory mode.
  • Never implement tasks yourself. Delegate ALL coding to workers.
  • Never close tasks for workers. Workers own their closes via mcp__cas__task action=close. When a worker reports completion, tell them to close it themselves. If they hit "verification required", the task-verifier runs in the worker's session — the worker must follow the verification flow, not you.
  • Never monitor, poll, or sleep. The system is push-based. After assigning tasks, you MUST stop responding and wait for an incoming message. Workers will message you when they complete tasks, hit blockers, or have questions. You do NOT need to check on them.
  • Epics are yours to verify and close. Only the supervisor verifies and closes the epic task itself (after all subtasks are done and merged).
What "end your turn" means

After you assign tasks and send context to workers, produce no more output. Do not:

  • Run git log, git diff, or any git command to check for worker commits
  • Run mcp__cas__task action=list to see if task statuses changed
  • Run mcp__cas__coordination action=worker_status to check worker activity
  • Use any tool "just to see" what's happening

Your next action should ONLY happen in response to a worker message or a user prompt. Between those events, you are idle. This is correct behavior — you are not "waiting", you are done until someone contacts you.

Worker Modes

Workers can run in two modes:

  • Isolated (isolate=true): Each worker gets its own git worktree and branch. Use when workers will modify overlapping files or when you need clean branch-based merging.
  • Shared (isolate=false or omitted): Workers share the main working directory. Simpler setup, but workers must coordinate to avoid editing the same files simultaneously.

Worker Count Strategy

Spawn workers based on independent file groups, not task count.

  1. Map which files each task will modify
  2. Group tasks touching the same files into one lane (prevents conflicts)
  3. Workers needed = number of parallel lanes
# 8 tasks, but only 2 independent file groups → 2 workers, not 8
workers = min(tasks_without_file_overlap, tasks_at_same_dependency_level)

In shared mode, file-overlap analysis is even more critical — two workers editing the same file simultaneously will cause problems.

Workflow

Phase 1: Plan
  1. Search prior learnings before creating the epic:
    mcp__cas__task action=list task_type=epic status=closed
    mcp__cas__search action=search query="<keywords>" doc_type=entry limit=10
  2. Create EPIC: mcp__cas__task action=create task_type=epic title="..." description="..."
  3. Gather spec with /epic-spec, break down with /epic-breakdown
  4. Review task scope and dependencies
Task Breakdown Guidelines

When breaking an epic into subtasks, apply these patterns:

Demo statements — Every subtask must have a demo_statement describing what can be demonstrated when complete. Example: demo_statement="User types a query and results filter live". If a task has no demo-able output, it may be a horizontal slice — restructure it into a vertical slice that delivers observable value.

Spikes — If a task's primary output is understanding (not code), create it as a spike: task_type=spike. Spikes have question-based acceptance criteria (e.g., "Which auth library fits our constraints?") and produce a decision or recommendation, not implementation.

Fit checks — When multiple approaches exist, create a spike first to compare options. Document the comparison in the spec's design_notes before committing to an approach. This prevents wasted implementation effort on the wrong path.

Show full SKILL.md (369 more words)Show less
Phase 2: Coordinate
  1. Spawn workers:
    mcp__cas__coordination action=spawn_workers count=N isolate=true
    Omit isolate for shared mode.
  2. Verify workers appear in TUI before assigning (stale DB records are not real workers)
  3. Assign tasks: mcp__cas__task action=update id=<id> assignee=<worker>
  4. Search for relevant context and send assignment message:
    mcp__cas__coordination action=message target=<worker> message="Task <id>: <description>. Context: <findings>. Run mcp__cas__task action=mine to see your tasks."
  5. End your turn immediately. Stop here. Do not monitor, poll, or run any commands. Workers will push a message to you when done or blocked. Your next action is triggered by their message, not by checking.
Resuming an Existing EPIC

Workers from previous sessions are gone. Stale DB records are not live processes.

  1. Spawn fresh workers
  2. Verify they appear in TUI
  3. Assign open tasks to the new workers
Phase 3: Merge and Sync (Isolated Mode)

When workers have isolated worktrees, merge their work into the epic branch after each completion, then tell other workers to sync.

base branch ────────────────────► (stays clean)
          \                    /
           └─ epic/feature ───►
              \          \     /
               ├─ factory/fox ┤
               └─ factory/owl ┘

Worker completes a task:

  1. Worker closes their own task
  2. Review changes in the worker worktree
  3. Merge to epic/main: git checkout <base-branch> && git merge <worker-branch>
  4. Message other active workers to sync onto the local branch (not origin/):
    mcp__cas__coordination action=message target=<other-worker> message="Branch updated after merge. Sync: git stash && git rebase <base-branch> && git stash pop"
  5. Clear completed worker's context: mcp__cas__coordination action=clear_context target=<worker>
  6. Assign next task
Phase 3: Review (Shared Mode)

When workers share the main directory, there's no branch merging — workers commit directly.

Worker completes a task:

  1. Worker closes their own task
  2. Review their commits
  3. Clear worker context and assign next task
Handling Blockers
  • Workers set status to blocked and add a blocker note
  • Help resolve or reassign the task

Multiple workers complete simultaneously:

  • Run verification calls in parallel (single response turn)
  • Close approved tasks in a second parallel pass
  • Reassign workers immediately
Phase 4: Complete
  1. Verify all tasks closed: mcp__cas__task action=list status=open epic=<epic-id>
  2. Run tests
  3. Isolated mode only: Merge epic to base branch and cleanup worktrees (can be 10GB+ each):
    bash
    git checkout <base-branch> && git merge epic/<slug>
    mcp__cas__coordination action=shutdown_workers count=0
    git worktree remove <path>  # for each worker worktree
    git branch -d epic/<slug>
  4. Shutdown workers: mcp__cas__coordination action=shutdown_workers count=0

© codingagentsystem, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/cas-supervisor of codingagentsystem/cas.

Open the folder on GitHubat commit a0a4b5a

Compare with similar skills

Cas Supervisor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cas Supervisor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cas Supervisor this skillcodingagentsystem/cas176—~1.8kAutomated safety check: PassMIT
Puppetmaster Agent Orchestrationprofessorpalmer/Puppetmaster467—~3.2kAutomated safety check: PassMIT
Agtx Task Sweepfynnfluegge/agtx1.7k—~1.7kAutomated safety check: PassApache-2.0
Run Wavejpicklyk/task-orchestrator207—~4.7kAutomated safety check: PassMIT
Agent Repo Initstudy8677/repobrain1.3k—~288Automated safety check: NotesMIT
Tick CoordLeoYeAI/openclaw-master-skills2.2k—~4.9kAutomated safety check: PassMIT

Similar skills

  • Puppetmaster Agent Orchestration

    professorpalmer/Puppetmaster

    Operates and supervises Puppetmaster, a multi-agent orchestrator, through its MCP tools or CLI, picking the right verb for edits, reviews, audits and long-running jobs.

    467 GitHub stars~3.2k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Agtx Task Sweep

    fynnfluegge/agtx

    Breaks a conversation's results into feature-level tasks and pushes them to the agtx kanban board, where each task gets its own worktree and agent session.

    1.7k GitHub stars~1.7k tokensUpdated 5 days ago
    Agent WorkflowsAuto-check passed
  • Run Wave

    jpicklyk/task-orchestrator

    Resolves ready MCP work items into a run plan, shows it to you, then executes it through the Workflow tool or direct subagent dispatch, with post-run verification.

    207 GitHub stars~4.7k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Agent Repo Init

    study8677/repobrain

    Bootstraps a new multi-agent repository from the RepoBrain template via initagentrepo.

    1.3k GitHub stars~288 tokensUpdated 28 days ago
    Agent WorkflowsAuto-check: notes
  • Tick Coord

    LeoYeAI/openclaw-master-skills

    Multi-agent task coordination via Git-backed Markdown (tick-md).

    2.2k GitHub stars~4.9k tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check passed
  • Tbd

    jlevy/strif

    Git-native issue tracking (beads), coding guidelines, knowledge injection, and spec-driven planning for AI agents.

    131 GitHub stars~3.5k tokensUpdated 4 mo ago
    DevelopmentAuto-check passed

More from codingagentsystem/cas

  • Cas Search

    codingagentsystem/cas

    Search across CAS content (memories, tasks, rules, skills, code).

    176 GitHub stars~516 tokensUpdated 6 mo ago
    Auto-check passed
  • Cas Worker

    codingagentsystem/cas

    Factory worker guide for task execution in CAS multi-agent sessions.

    176 GitHub stars~1.2k tokensUpdated 6 mo ago
    Auto-check passed
  • Cas

    codingagentsystem/cas

    Coding Agent System - unified memory, tasks, rules, and skills.

    176 GitHub stars~723 tokensUpdated 6 mo ago
    Auto-check passed
  • Cas Memory Management

    codingagentsystem/cas

    How to store and retrieve persistent memories using CAS. An agent skill from codingagentsystem/cas.

    176 GitHub stars~255 tokensUpdated 6 mo ago
    Auto-check passed
  • Cas Supervisor Checklist

    codingagentsystem/cas

    Quick startup checklist for factory supervisors. An agent skill from codingagentsystem/cas.

    176 GitHub stars~349 tokensUpdated 6 mo ago
    Auto-check passed
  • Cas Task Tracking

    codingagentsystem/cas

    How to track work using CAS tasks instead of built-in TodoWrite.

    176 GitHub stars~279 tokensUpdated 6 mo ago
    Auto-check passed

Categories

Questions about Cas Supervisor

What does Cas Supervisor do?

Factory supervisor guide for multi-agent EPIC orchestration. Cas Supervisor is an agent skill from codingagentsystem/cas. Factory supervisor guide for multi-agent EPIC orchestration.

When should I use Cas Supervisor?

Cas Supervisor fits situations like: acting as supervisor to plan EPICs; spawn and coordinate workers; monitor progress; merge completed work.

How do I install Cas Supervisor in Claude Code?

Run `npx skills add codingagentsystem/cas --skill cas-supervisor -a claude-code`. Or copy the skill folder (.claude/skills/cas-supervisor in codingagentsystem/cas) into .claude/skills/cas-supervisor in your project. Claude Code loads it when a task matches its description.

How do I install Cas Supervisor in Codex?

Run `npx skills add codingagentsystem/cas --skill cas-supervisor -a codex`. Or copy the skill folder (.claude/skills/cas-supervisor in codingagentsystem/cas) into .agents/skills/cas-supervisor in your project. Codex loads it when a task matches its description.

Can I use Cas Supervisor in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add codingagentsystem/cas --skill cas-supervisor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cas-supervisor, .gemini/skills/cas-supervisor, .github/skills/cas-supervisor and .opencode/skills/cas-supervisor in your project.

What does Cas Supervisor need to run?

Going by SKILL.md and its folder, Cas Supervisor needs the command-line tools its instructions call (git).

Does Cas Supervisor access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Cas Supervisor safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cas Supervisor use?

Cas Supervisor is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cas Supervisor use?

About 1.8k tokens (SKILL.md is roughly 7.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cas Supervisor?

Skills that share tags, products or a category with Cas Supervisor: Puppetmaster Agent Orchestration (professorpalmer/Puppetmaster, 467 stars), Agtx Task Sweep (fynnfluegge/agtx, 1.7k stars), Run Wave (jpicklyk/task-orchestrator, 207 stars) and Agent Repo Init (study8677/repobrain, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cas Supervisor?

codingagentsystem (a GitHub organization) maintains it in codingagentsystem/cas, which has 176 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on March 12, 2026.

Source: codingagentsystem/cas on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.