Skip to content

Agent Skill

Roost ships a skill — skills/roost/ in the repo — that teaches a coding agent to drive a running Roost through roostctl: open a project tab running a command, send it input, read its screen, wait on its state, watch events, and notify the user. A second file in it, references/orchestrating-agents.md, is the procedure for one agent running several others in tabs; Coordinating Agents describes that use. It's the outbound half of driving Roost from an agent; see Relation to agent integration below for the other half.

Scope

The skill's own description states its triggering rule plainly, and it's deliberately narrow: use it only when the user mentions Roost, or asks to open, inspect, drive, or wait on a Roost tab or project (which includes asking to start a worker session in a Roost tab, or to run tasks in parallel or orchestrate agents in Roost tabs) — never merely because a task could benefit from a background terminal, a second shell, or parallel work in general. It also requires a running Roost: the skill's first instruction is to check with roostctl identify, and to stop and report the error if that fails, rather than starting Roost or guessing a socket path.

Install

Inside a Roost tab, Claude Code already has it. Roost hands Claude Code its roost plugin through the tab environment (CLAUDE_CODE_PLUGIN_DIRS), and that plugin carries this skill beside Roost's hooks, as roost:roost. There is nothing to install and nothing is written to ~/.claude. The copy is the one built into this Roost, so it always matches the roostctl it drives. See Agent integration.

Outside Roost tabs, or for another agent, roostctl skill install installs the skill for every harness at once, from the copy built into your roostctl:

roostctl skill install

It writes ~/.agents/skills/roost/, where Codex, Cursor, Antigravity and craze look for skills, and links ~/.claude/skills/roost to it for Claude Code ($CLAUDE_CONFIG_DIR/skills/roost when you set that), so each agent finds one copy. The link is made only when Claude Code's directory already exists: on a machine without Claude Code the install creates nothing there and says so in a note. Run it again after installing Claude Code, or pass --claude to make the link anyway. It refuses to overwrite a directory or link it did not make unless you pass --force, and running it again is harmless: an unchanged copy is reported as unchanged. For one repository only, roostctl skill install --project writes ./.agents/skills/roost/ in the current directory instead (add --claude for a ./.claude/skills/roost link too). Every flag and the JSON it prints are in the CLI reference.

Pass --no-claude when Claude Code already has the skill from the Roost plugin: the marketplace plugin below, or the plugin Roost hands its own tabs. Claude Code would otherwise list it twice, as roost and roost:roost. skill install checks for both and says so in a note, but it still makes the link; the note gives the rm that removes it.

After upgrading Roost, run the same roostctl skill install again, with the flags you used the first time (and, for --project, from the same directory). The installed copy is a snapshot of the roostctl that wrote it and does not follow upgrades; the next run reports updated and replaces it.

Two other routes install the same skill from the repository's current copy, which can be newer than your roostctl; after upgrading Roost, update those too.

The general route (skills) installs into Claude Code, GitHub Copilot, OpenCode, and other agents:

npx skills add charliek/roost

For Claude Code, a native plugin is also available — it namespaces the skill as roost:roost:

/plugin marketplace add charliek/roost
/plugin install roost@roost

The marketplace plugin and the plugin Roost hands its tabs share the name roost, so inside a Roost tab Claude loads only one of them, and claude plugin list showing both roost@roost and roost@inline is normal. The two carry the same SKILL.md.

Either way, install Roost itself first (see the repo README) — the skill is inert without a Roost to drive.

roostctl skill show

Prints the SKILL.md built into your roostctl, byte for byte what roostctl skill install from the same binary writes (the routes that fetch the repository can carry a newer copy) — useful for reading it without installing anything, or for an agent that wants to fetch it directly rather than through a plugin system:

roostctl skill show              # the skill as markdown, on stdout
roostctl skill show --json       # {"topic": "roost", "format": "markdown", "content": "..."}

Give it a reference file's name to print references/<name>.md instead of SKILL.md: roostctl skill show orchestrating-agents is the one there is today.

It needs no running Roost — an agent has to be able to read the skill before it can check whether one is running. Bare roostctl skill prints help naming show and install; up to Roost 0.1.0 it printed the skill itself.

roostctl --help is the syntax authority

The skill deliberately does not bake roostctl's flags and subcommand shapes into its own text. It tells the agent to read roostctl --help (and the --help of whichever verb it's about to use) before that verb's first call, and never to probe a verb by guessing at required flags. That's what keeps the skill from drifting out of sync with the CLI it drives: the skill states the rules (which verb for which task, the target policy, the exit-code table, the recipes), and the installed roostctl states the syntax.

Relation to agent integration

The skill and agent integration are the two directions of the same relationship:

  • Agent integration is inbound. An agent running inside a Roost tab — Claude Code, Codex, and the others that guide covers — reports its own state to Roost, so the tab dot, the sidebar rollup, the Agents panel and desktop banners reflect what that agent is doing.
  • The skill is outbound. An agent — the same one, or a different one, running anywhere it can reach the socket — drives Roost: opens tabs, sends input, reads output, waits on state, gets notified.

A Claude Code instance running inside a Roost tab has both from the same plugin: its own turns show up on the tab dot, and the skill lets it open other tabs and orchestrate them. Switching Claude Code off under Agent Integration… removes both from new tabs. Anywhere else, the skill installs on its own and needs no hooks.