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 Clisbot?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/longbkit-clisbot)
---
name: clisbot
description: Clisbot reference for managing hosts, projects, workspaces, workspace scripts, agents, schedules, and heartbeats.
---
Clisbot is a remote daemon that manages coding agents, terminals. Control it through MCP tools or the CLI.
## Connected hosts
Call `list_hosts` to discover the calling daemon (`self`) and its registered destinations (`hosts`). Use a destination's `serverId` for tool calls; labels are display names.
`create_workspace`, `list_workspaces`, `create_agent`, `send_agent_prompt`, `get_agent_status`, `get_agent_activity`, and `list_agents` accept `serverId`. Omit it for the calling daemon. Other MCP tools operate on the calling daemon.
Keep an agent's `{ serverId, agentId }` together. For example, call `send_agent_prompt` with:
```json
{ "serverId": "srv_build", "agentId": "agent_123", "prompt": "Continue", "notifyOnFinish": true }
```
Remote paths and workspace IDs belong to the destination. Remote `list_agents` has no caller-directory default; pass `cwd` to filter it.
Manage registrations through the CLI; use the returned `registrationId` for updates and removal:
```bash
clisbot --host localhost:6768 host add localhost:6779 --label build
clisbot --host localhost:6768 host ls --json
```
## Projects
Manage the daemon's project registry through the CLI:
```bash
clisbot project create [path]
clisbot project ls
clisbot project rename <project-id> <name>
clisbot project rename <project-id> --reset
clisbot project delete <project-id>
```
For a local daemon, `project create` defaults to the current directory and resolves relative paths on the CLI machine. With `--host` or `CLISBOT_HOST`, always provide a path; the target daemon interprets it on its own machine. Deleting a project archives its active workspaces and removes the project from Clisbot without deleting the project directory.
## Workspaces
**`create_workspace`** — create a workspace independently of any agent. Required: `isolation` (`local` or `worktree`). Worktree isolation supports `mode: "branch-off" | "checkout-branch" | "checkout-pr"`: use `branchName`/`baseBranch` for a new branch, `branch` for an existing branch, or `prNumber` plus optional `forge` for a change request. Use `path` for a local directory or source checkout and `projectId` for the owning project; when no path is supplied, a worktree may resolve its source from `projectId`. `worktreeSlug` controls the managed path. Returns the workspace descriptor centered on `workspaceId`.
`background: true` hides a workspace from default lists and the sidebar while its contents remain durable and accessible; omit `background` to inherit your current workspace’s value (false without a caller), and override it only when the user explicitly asks.
Choose `baseBranch` explicitly: `origin/main` selects the remote-tracking branch; `refs/heads/main` selects local main. Bare `main` prefers local main when it exists, otherwise origin/main. Clisbot retains the resolved ref for workspace comparisons, even after rebasing the branch or changing its PR target.
**`list_workspaces`** — list active workspaces, excluding background workspaces unless `includeBackground: true`.
**`archive_workspace`** — `{ workspaceId }`. Archives the workspace, its agents, and its terminals. Local directories remain; Clisbot removes an owned worktree only after its final active workspace reference is archived.
**`rename_workspace`** — `{ workspaceId, name }`. Rename workspace.
## Workspace scripts
Configured `clisbot.json` scripts use the same supervised lifecycle from tools and the CLI.
**`list_workspace_scripts`** — `{ workspaceId }`. Lists configured scripts with lifecycle, service port, proxy URLs, health, exit code, and terminal ID.
**`start_workspace_script`** — `{ workspaceId, scriptName }`. Starts one configured script through Clisbot's managed workspace-script launcher and returns its status metadata.
**`stop_workspace_script`** — `{ workspaceId, scriptName }`. Stops a running script through its supervised terminal and returns the stopped status metadata.
The matching CLI surface accepts either an explicit workspace ID or resolves the current directory:
```bash
clisbot script ls [--cwd <path> | --workspace <workspace-id>]
clisbot script start <name> [--cwd <path> | --workspace <workspace-id>]
clisbot script stop <name> [--cwd <path> | --workspace <workspace-id>]
```
## Agents
**`create_agent`** — required: `title`, `provider` (`claude/opus`, `codex/gpt-5.4`, …), `initialPrompt`. Optional: `workspaceId`, `notifyOnFinish`, `settings`, `labels`. Returns `{ agentId, workspaceId, … }`.
Initial runtime settings live under `settings`: `modeId`, `thinkingOptionId`, and provider-specific `features`. Agent profiles are the preferred source for these values. For Codex fast mode, pass `settings: { features: { "fast_mode": true } }` when creating the agent.
Agent-scoped creation always creates your subagent. On your own host, omit `workspaceId` to use your current workspace. On another host, first list or create a workspace with that `serverId`, then pass its `workspaceId` and the same `serverId` to `create_agent`. Placement never changes parentage.
Detach is an explicit user action in the subagents track, not an agent tool. A cross-workspace child remains your subagent even though it also appears as a normal tab in its workspace.
Agent-scoped `create_agent` defaults `notifyOnFinish` to true. Set it to `false` when you want explicit reporting or no completion callback.
**`update_agent`** — `{ agentId, name?, labels?, settings? }`. Use `settings` for runtime changes on an existing agent: `modeId`, `model`, `thinkingOptionId`, and provider-specific `features`. For Codex fast mode, pass `settings: { features: { "fast_mode": true } }`.
**`list_agents`** — filter by `cwd`, `statuses`, `sinceHours`, `includeArchived`; set `includeBackground: true` to include agents in background workspaces.
**`archive_agent`** — `{ agentId }`. Interrupts if running, removes from active list.
## Sending prompts to agents
**`send_agent_prompt`** — `{ agentId, prompt, activeTurnBehavior? }`. Sends a follow-up to an existing agent and returns at once.
Leave `activeTurnBehavior` out unless the message cannot wait. It decides what happens when the agent is mid-turn:
- `queue` (default): the message waits for the turn to end.
- `steer`: the agent reads the message at its next step and keeps working. If its provider cannot steer, the turn is interrupted instead.
- `interrupt`: the turn stops, and a new turn starts with the message.
Read `guidance` in the response. If it says your message is waiting and the message cannot wait, such as a course correction, send a short follow-up with `steer` or `interrupt`. Do not resend the message: the follow-up carries it, and a resent message is read twice.
A steer the agent has not read is lost if its turn stops or is interrupted, along with the messages it carried. For a message that must arrive, use `queue` or `interrupt`.
## Agent profiles and provider discovery
**`list_profiles`** — named launch bundles configured by the human. Before choosing how to launch a delegated agent, call this tool and read every profile's `notes`. Pick a named profile the user requested, or the profile whose notes best match the work.
There is no `profile` parameter on `create_agent`. Materialize the selected profile into the call:
- combine `provider` and `model` as the `provider/model` value for `create_agent.provider`
- copy `modeId` to `settings.modeId`
- copy `thinkingOptionId` to `settings.thinkingOptionId`
- copy `featureValues` to `settings.features`
Omit absent values. Do not remember a selected profile or infer drift later; a profile is only launch configuration.
If no profile fits, or no profiles are configured, use the provider discovery tools below rather than guessing. Tell the user when you fall back because no configured profile fits.
**`list_providers`** — compact provider availability and modes.
**`list_models`** — full model list for one provider. Use only when you need model IDs or thinking options; the list can be large.
**`inspect_provider`** — compact provider capability and feature inspection. Required: `provider`; pass `cwd` when you are not in an agent-scoped session. Optional: `settings` with draft `model`, `modeId`, `thinkingOptionId`, and `features`.
Only set feature IDs returned by `inspect_provider`. For Codex fast mode, look for `fast_mode` and pass `settings: { features: { "fast_mode": true } }` to `create_agent` or `update_agent`.
## Schedules and heartbeats
**`create_schedule`** — starts a new agent on a cron cadence. Required: `prompt`, `cron`, `provider`. Optional: `timezone`, `name`, `cwd`, `maxRuns`, `expiresIn`. Use when the recurring work should live in fresh agents.
**`create_heartbeat`** — sends you a prompt on a cron cadence. Required: `prompt`, `cron`. Optional: `timezone`, `name`, `maxRuns`, `expiresIn`. Use for reminders, PR/build babysitting, and status checks that should return to this conversation.
Both refuse a cron that repeats more than once a day without `maxRuns`: every N minutes, hourly, or several times a day all need it. Once a day or less needs none.
**`delete_heartbeat`** stops it. MCP intentionally exposes no heartbeat update tool; delete and recreate when its task or cadence changes.
Schedules have the full list/inspect/update/pause/resume/run-once/log/delete surface. Heartbeats deliberately do not.
## Waiting
When you create or prompt a subagent, `notifyOnFinish` defaults to `true` and reports completion, errors, or permission requests, including across hosts.
Finish your turn and wait for that notification instead of polling.
If you want an explicit reply with `send_agent_prompt`, have the sender check `list_hosts` for the recipient’s server before setting `notifyOnFinish: false`.
## CLI semantics
The CLI and tools use the same ownership semantics even where their syntax differs:
```bash
clisbot workspace create --isolation worktree --mode branch-off --new-branch fix-x --base origin/main
clisbot workspace create --isolation worktree --mode checkout-branch --branch existing-work
clisbot workspace create --isolation worktree --mode checkout-pr --pr-number 42
clisbot run --provider codex/gpt-5.4 --mode full-access --workspace <workspace-id> "<prompt>"
clisbot run --provider codex/gpt-5.4 --mode full-access --new-workspace worktree --worktree-mode branch-off --new-branch fix-x --base origin/main "<prompt>"
clisbot send <agent-id> "<follow-up>"
clisbot send <agent-id> --behavior steer "<follow-up that cannot wait>"
clisbot ls
clisbot schedule create --cron "*/15 * * * *" --max-runs 8 "ping main build"
clisbot heartbeat create --cron "*/15 * * * *" --max-runs 8 "check the build"
```
Discover with `clisbot --help` and `clisbot <cmd> --help`.
For product questions, setup, logs, version problems, or troubleshooting, use the **clisbot-help** skill.