Spur orchestrates AI coding agents (claude/codex/cursor/opencode) via CLI, daemon, web UI, or Telegram. Use when spawning, messaging, automating, or configuring a session, tmux pane, or Spur config. Don't use for driving an agent's CLI, or plain git worktree work.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Spur?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ashugaev-spur)
---
name: spur
description: Spur orchestrates AI coding agents (claude/codex/cursor/opencode) via CLI, daemon, web UI, or Telegram. Use when spawning, messaging, automating, or configuring a session, tmux pane, or Spur config. Don't use for driving an agent's CLI, or plain git worktree work.
hostInstall: true
---
SPUR
WHAT SPUR IS
CLI plus a local HTTP daemon, default `127.0.0.1:4310`, plus a web UI.
"spawn an agent" means this, not the built-in Agent/Task tool.
Agents `claude`, `codex`, `cursor`, `opencode` launch full-access, each in a detached tmux pane inside a `git worktree`.
Global fields in a project `spur.yaml` are silently discarded; put them in `~/.spur/config.yaml`.
INTERFACES
CLI: `spur --help`, then `spur <command> --help`.
Default to plain `spur send`; use `--interrupt` only to correct course, start message with instruction to check working state before continuing; cost and guard: docs/commands.md#send-queue.
`$SPUR_SESSION_TOOL_DIR` holds the session-bound wrappers; `ls "$SPUR_SESSION_TOOL_DIR"` enumerates them. Call each as `"$SPUR_SESSION_TOOL_DIR/<tool>"`, never bare.
Session variables: `env | grep '^SPUR_'`.
Agent launch identity contract: `docs/commands.md#session-tools-and-environment`.
Manual-wake response fields: `docs/daemon-api.md`.
Task outcomes, input blocking, session-preserving completion: `docs/commands.md#todo-snapshot`.
Closeout archive (`complete` only, never `kill`; one version per complete), `spur closeout show|get|list --link`: `docs/commands.md#todo-snapshot`.
Automatic reminder limits: `docs/configuration.md#automatic-reminders`.
Trigger auto-close policy and deprecated config alias: `docs/configuration.md#field-reference`.
Edit scheduled jobs through footer Cron viewer or MCP; config behavior: docs/configuration.md; operations: docs/daemon-api.md.
Spur ToDo: ledger starts empty unless a handoff moved open/held items in; the agent adds one item per step, before the step, and resolves it after. Empty or open/held work refuses an agent's own completion and self-destruct, an empty ledger its own handoff — `todo_ledger_empty`/`todo_open_work` (409); open/held work never refuses handoff, it moves to the successor; agent handoff of another session requires a stalled target (`403 handoff_target_not_stalled`); a human `complete`/`handoff` from the CLI or UI is never blocked. Contract: `docs/commands.md#todo-snapshot`.
Work snapshots: `"$SPUR_SNAPSHOT_COMMAND" write --file <path|-> [--final]` stores full Markdown snapshot as next version; with `projects.<id>.snapshots.requireFinal`, agent complete/self-destruct need `--final` snapshot, self-handoff of a running source any snapshot, newer than last ToDo change — `work_snapshot_required` (409). Agent working over `projects.<id>.snapshots.freshnessMinutes` past latest snapshot gets snapshot request, ahead of ToDo reminders; `projects.<id>.snapshots.enabled: false` stops requests. Read any session's, archived too: `spur snapshot show|list|latest --link`; carries freshness, never wakes. Contract: `docs/commands.md#todo-snapshot`, `docs/snapshots.md`.
Telegram: bot DM for commands/spawn; agent communication in assigned forum topics; completion deletes owned topics. Source identity/redacted diagnostics: `docs/commands.md#source`; attachments/binding: `docs/configuration.md#telegram-binding`; sends: `docs/commands.md#source-reply`.
Native Telegram calls to sandbox Shepherd: docs/telegram-calls.md.
Provider quota windows and session token totals: `spur usage`; docs/commands.md#usage.
Manual rate-limit clear: docs/commands.md#usage; docs/daemon-api.md#session-routes.
Mute unwanted auto-pings with `spur auto-ping mute <handle>`, handle from the ping footer. `--for <dur>` and `--forever` need `--reason`. Modes and resume: `docs/commands.md#auto-ping`; API: `docs/daemon-api.md`.
SAFETY
A daemon on the default port is someone's production instance. Never `daemon start|stop`, kill, or direct-HTTP a daemon you did not start; never repoint `--config` at `~/.spur/config.yaml`.
Run non-default-instance CLI calls from a neutral cwd — `spawn`/`list` auto-connect the nearest `spur.yaml` upward from cwd and spawn real sessions.
Never run `gc --execute` against a data dir you do not own; a bare `gc` is the dry run.
Never run `cache --prune --yes` on a host running agents you do not own; a bare `cache` or `cache --prune` is a dry run.
Never run `disk-gc --execute` (or `--browser-revisions`) on a host running agents you do not own; a bare `disk-gc` is the dry run.
`--expose-web` binds `0.0.0.0`, public.
Agents run full-access — any untrusted prompt from Telegram, GitHub, Jira, or webhook runs arbitrary commands as the daemon user.
Token budgets, session overrides, and installed Cursor hook: docs/configuration.md. Unknown usage never blocks execution.
Treat project `spur.yaml` as code: `script` commands run as daemon user.
Start dev servers with `"$SPUR_SESSION_TOOL_DIR/spur-sidecar" --name <name>`, never a bare dev-server command.
Isolated source selection/TEST attachment: docs/configuration.md; retained owner control, managed project input and stand readiness: docs/commands.md Sidecars and Session tools.
Read ports with `"$SPUR_SESSION_TOOL_DIR/spur-sidecar" ports`; Open contract: docs/commands.md#sidecars. Never grep `/proc` or session state for ports.
Use per-port `listening` for a TCP listener; `alive` describes the pane. Contract: docs/commands.md#sidecars.
DOCS
Doc index: https://raw.githubusercontent.com/ashugaev/spur/main/README.md
Any path under `docs/` resolves as https://raw.githubusercontent.com/ashugaev/spur/main/<path>
Commands, session tools/variables, list/feed links: docs/commands.md
Cursor send correlation and retained acknowledgement baselines: docs/commands.md, docs/daemon-api.md.
Review feedback, recovery, package checks: docs/commands.md
Routes, session transitions/reset times, PR reviewer metadata, bounded conversation pages, pre-flight batches, lifecycle receipts, terminal restart, restore cancellation, idempotent spawn/handoff retries: docs/daemon-api.md
Config, admission, trigger-spawn retry, reviewer App/consent, pane-child fallback, OpenCode heartbeat: docs/configuration.md; events: docs/configuration.md#events
GitHub PR feedback attribution, ownership and custom markers: docs/configuration.md#field-reference
Native PR alert ownership: docs/configuration.md#pr-alert-ownership.
Closeout takeover and blocked-trigger notices: docs/commands.md, docs/configuration.md.
Select reasoning effort per agent or session: docs/commands.md, docs/configuration.md, docs/daemon-api.md.
Saved accounts, pools, rotation, switching and restore constraints: docs/claude-accounts.md; `spur auth`: docs/commands.md.
Automatic updates and retry policy: docs/configuration.md#auto-update
Full-access MCP: Pages source binding, backend controls/logs, cached attached PR status; setup: docs/mcp.md
Interactive session snippets: docs/snippets.md; SDK and components: docs/spur-sdk.md
Pages, source sync, agent chat, home-screen identity: docs/pages.md; stores: docs/stores.md
EDITING THIS FILE
Reader has no checkout; resolve each doc path through the rule above, never a relative link.
Context only, never mechanism, repo internals, or a command/config field/workflow another doc owns.