superintendent
Use when you need to spawn an autonomous Claude agent on a specific task — fire-and-forget work, parallel subtasks, or work that needs isolation (Docker sandbox, container, or clean worktree) from your current session. Not for interactive collaboration in your current session.
What this skill does
# Superintendent
Spawns Claude agents in isolated workspaces. One sandbox per repo (auth persists). State lives in `.superintendent/`.
## When to use — and when NOT to
**Use when:**
- Task can run to completion without your ongoing direction
- N independent subtasks can run in parallel
- Work needs isolation (risky operations, dependency experiments)
- You need a clean worktree separate from current branch
**Don't use when:**
- You want to iterate conversationally (just keep working in this session)
- Task is small enough to finish here
- You need to watch and redirect mid-run (interactive mode exists, but a normal session is usually simpler)
## Mode × target: picking the right combo
| Mode | Target | Use when | Notes |
|------|--------|----------|-------|
| `autonomous` | `sandbox` | **Default choice.** Fire-and-forget work on a repo you have tokens for. | Full Docker isolation, persistent auth, agent creates branch + PR. |
| `autonomous` | `container` | One-off disposable task, no state to preserve. | Ephemeral — container is removed after exit. |
| `autonomous` | `local` | You trust the task and don't need Docker. | Requires `--dangerously-skip-isolation` because there's no sandbox boundary. |
| `interactive` | `sandbox` | You want to watch or debug agent behavior in an isolated environment. | Opens a terminal session inside the sandbox. |
| `interactive` | `container` | Quick interactive experiment in a throwaway container. | Same as sandbox but ephemeral. |
| `interactive` | `local` | Fast local debugging, no Docker overhead. | Runs in a git worktree on your machine. |
When in doubt, start with `autonomous sandbox`.
## Worked example
Spawn an autonomous agent to add tests in an isolated sandbox:
```bash
# 1. See what the orchestrator would decide
superintendent run autonomous sandbox \
--repo /Users/you/projects/myapp \
--task "Add unit tests for the auth module" \
--explain
# 2. Preview the exact plan
superintendent run autonomous sandbox \
--repo /Users/you/projects/myapp \
--task "Add unit tests for the auth module" \
--dry-run
# 3. Launch it
superintendent run autonomous sandbox \
--repo /Users/you/projects/myapp \
--task "Add unit tests for the auth module"
# 4. Check on it later
superintendent status
```
**What happens when it finishes:** The agent works in a git worktree, commits to a branch, pushes, and opens a PR via `gh pr create`. Use `superintendent status` to see whether it completed or failed, then review the PR.
## Token setup
Tokens are only needed for **private repos** or repos requiring authenticated git operations.
- **Most users:** Run `superintendent token set-default` once with a GitHub PAT. This covers any repo you own.
- **Per-repo tokens:** Use `superintendent token add owner/repo` for fine-grained access to specific repositories.
- **Public repos:** No token setup needed.
If you skip token setup and the agent needs auth, it will fail at the `authenticate` step — run `superintendent status` to see this and then configure tokens.
## Before spawning anything
Run `--explain` to see the mode × target decision for your task:
superintendent run <mode> <target> --explain --repo <repo> --task <task>
Then dry-run to preview the exact plan:
superintendent run <mode> <target> ... --dry-run
**Never skip both.** Guessing at mode/target wastes a sandbox spin-up.
## Recovering from failures
Agent failed mid-run? Don't re-spawn blindly.
1. `superintendent list` — find the entry
2. `superintendent status <name>` — check exit state and what step failed
3. Fix the underlying issue
4. `superintendent run ... --force` — reuses the worktree, rebuilds state
## Critical rules
- **Never** pass `--dangerously-skip-isolation` without understanding what you're skipping. It's required for `autonomous + local` only because that combo has no sandbox.
- **Before `cleanup --all --smart`**, always dry-run first — it will remove merged/stale branches.
- **After spawning autonomous**, check back with `status` — the parent session doesn't know when the child finishes.
## Full command and flag reference
See [CLI_REFERENCE.md](./CLI_REFERENCE.md) — auto-generated from the CLI, always current.
Related in Cloud & DevOps
appbuilder-action-scaffolder
IncludedCreate, implement, deploy, and debug Adobe Runtime actions with consistent layout, validation, and error handling. Use this skill whenever the user needs to add actions to an App Builder project, understand action structure (params, response format, web/raw actions), configure actions in the manifest, use App Builder SDKs (State, Files, Events, database), deploy and invoke actions via CLI, debug action issues, or implement patterns such as webhook receivers, custom event providers, journaling consumers, large payload redirects, action sequence pipelines, and Asset Compute workers. Also trigger when users mention serverless functions in Adobe context, action logging, IMS authentication for actions, or cron-style scheduled actions.
orchestrating-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. Use this skill when the user needs a multi-step Data Cloud pipeline, cross-phase troubleshooting, or data space and data kit management. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase sf data360 workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching phase-specific skill), the task is STDM/session tracing/parquet telemetry (use observing-agentforce), standard CRM SOQL (use querying-soql), or Apex implementation (use generating-apex).
github-project-automation
IncludedAutomate GitHub repository setup with CI/CD workflows, issue templates, Dependabot, and CodeQL security scanning. Includes 12 production-tested workflows and prevents 18 errors: YAML syntax, action pinning, and configuration. Use when: setting up GitHub Actions CI/CD, creating issue/PR templates, enabling Dependabot or CodeQL scanning, deploying to Cloudflare Workers, implementing matrix testing, or troubleshooting YAML indentation, action version pinning, secrets syntax, runner versions, or CodeQL configuration. Keywords: github actions, github workflow, ci/cd, issue templates, pull request templates, dependabot, codeql, security scanning, yaml syntax, github automation, repository setup, workflow templates, github actions matrix, secrets management, branch protection, codeowners, github projects, continuous integration, continuous deployment, workflow syntax error, action version pinning, runner version, github context, yaml indentation error
sf-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase `sf data360` workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching sf-datacloud-* skill), the task is STDM/session tracing/parquet telemetry (use sf-ai-agentforce-observability), standard CRM SOQL (use sf-soql), or Apex implementation (use sf-apex).
fabric-cli
IncludedUse this skill for Fabric.so CLI workflows with the `fabric` terminal command: diagnose/install/login, search or browse a Fabric library, save notes/links/files, create folders, ask the Fabric AI assistant, manage tasks/workspaces, generate shell completion, check subscription usage, produce JSON output, and use Fabric as persistent agent memory. Do not use for Microsoft Fabric/Azure/Power BI `fab`, Daniel Miessler's Fabric framework, Python Fabric SSH, Fabric.js, or textile/fashion fabric.
lark
IncludedLark/Feishu CLI skills: lark-cli operations for docs, markdown, sheets, base, calendar, im, mail, task, okr, drive, wiki, slides, whiteboard, apps, approval, attendance, contact, vc, minutes, event. Use when the user needs to operate Lark/Feishu resources via lark-cli, send messages, manage documents, spreadsheets, calendars, tasks, OKRs, deploy web pages, or any Feishu/Lark workspace operations.