Skip to content
Agent Orchestration
Skill

/cate-cli

Read this skill before the first `cate` command, the CLI on PATH in every Cate terminal (CATE_SOCKET and CATE_TOKEN are set) that drives the workspace the terminal belongs to. Use it whenever a task in a Cate terminal needs Cate itself, even if the person never mentions the CLI,

From plugin
cate
2.2k2 skills

Claude Code

$ npx -y skills add 0-AI-UG/cate --skill cate-cli --agent claude-code

SKILL.md

cate-cli.SKILL.md
name: cate-cli
description: Read this skill before the first `cate` command, the CLI on PATH in every Cate terminal (CATE_SOCKET and CATE_TOKEN are set) that drives the workspace the terminal belongs to. Use it whenever a task in a Cate terminal needs Cate itself, even if the person never mentions the CLI, such as looking at, testing or signing in to a web page in Cate's browser panel, taking a screenshot, reading or typing into another terminal, opening a file or panel for the person, starting other coding agents in their own panels or worktrees and waiting for their answers, or recording findings in a Review panel. It covers targeting panels, CLI permissions, and the browser and agent workflows. It is not for working on Cate's own source code, and not for theming Cate, which has the cate-theme skill.

Cate CLI

`cate` talks to the workspace's runtime over the local socket named by `CATE_SOCKET`, authenticated by `CATE_TOKEN`, a per-terminal token that also names the calling panel. It works the same when the workspace lives on another machine. If either variable is missing, `cate` exits 3 and says so: you are not in a Cate terminal, so this skill does not apply.

Reference files

Read the one for your task before its first command:

  • `references/browser.md`: the browser panel. Snapshots and element ids,

clicking and typing, tabs, uploads, dialogs, saved logins and sign-ups, console and network logs, screenshots.

  • `references/agents.md`: starting other coding agents, sending them

prompts, waiting for and reading their answers, and typing into terminals that have no agent.

Panels, terminals, editors and Review panels are covered below.

Permissions

Each area needs its permission in the workspace's Settings → CLI: the master switch "Command-line control (cate CLI)" plus a Read and a Control cell per area (Browser, Browser passwords, Terminal, Panels, Files, Agents & reviews). Sending keystrokes to terminals (Terminal, Control) and using saved browser passwords are off by default. A denied call fails with an error naming the setting: tell the person which one to turn on instead of working around it.

Help, output and exit codes

The CLI's own help is the reference for exact syntax. Check it before guessing a flag:

cate --help                  # command groups and global flags
cate panel --help            # the commands of one group (or just: cate panel)
cate browser click --help    # one command: arguments, flags and defaults

A mistyped command suggests the closest one. Lists print as aligned tables, other results as `key value` lines, structured reports as indented JSON. Add `--json` to any command when you parse the result or need full ids. Every error says what to do next.

Exit codes: 0 ok, 1 the call failed, 2 usage error (Cate was not contacted), 3 not connected to Cate.

Panels and targets

cate panel list
   ID        TYPE      TITLE
*  1a2b3c4d  terminal  zsh
   5e6f7a8b  browser   https://example.com

`*` marks the focused panel. Ids are short; any unique prefix works, and `--json` gives full ids and each panel's `worktreeId`.

Session commands (`browser`, `terminal`, and `editor active`) act on, in order: `--panel <id>` (one command only), the panel you selected for this terminal with `cate panel set <id>`, or Cate's automatic choice (the calling panel's group, then the panel active in the most recently used window, then the only panel of that type). The selection belongs to your terminal, so other agents keep their own:

cate panel set 5e6f7a8b
cate panel current
cate panel clear             # back to the automatic choice

A command refuses a selected panel of the wrong type instead of acting on another one. If the selected panel was closed, select another. `terminal type` and `terminal press` never guess: they need `--panel` or a selection. An empty `--panel` value is a usage error.

`panel close`, `panel set` and the single-agent commands (`agent read`, `send`, `withdraw`, `interrupt`) require an explicit panel id, as a positional argument or `--panel <id>`; they do not use the selected panel. `agent wait` accepts several positional ids and defaults to all live agents. `panel list` and `agent list` list the workspace's panels and agents.

`panel title` renames the calling panel unless you pass `--panel <id>`; `panel set` does not change that default. `panel create`, `editor open` and `agent start` create or reuse panels rather than targeting a selected panel.

There is no `panel focus`: focus belongs to each person's window, not to the workspace.

Panels and editors

cate panel create browser https://example.com   # the URL is optional
cate panel create editor --file app.tsx
cate panel create terminal
cate panel create canvas
cate panel title "API tests"             # rename the calling panel (or --panel <id>)
cate panel close <id>                    # fails with dirty on unsaved work or a running program
cate panel close <id> --discard          # drops unsaved work, stops the program
cate editor open src/app.tsx:42          # reuses an editor that already shows the file
cate editor active                       # which file the target editor shows

`panel create` and `editor open` print the new panel's short id. New panels open next to the calling terminal. Only pass `--discard` when the person agreed to lose that work.

Reading terminals

cate terminal read --lines 40            # another terminal's screen

Typing into a terminal is in `references/agents.md`.

Review panels

Review panels show recorded agent edits grouped by commit, plus uncommitted edits. They capture what agents reported, not today's Git diff. Use the Review UI to select sources and start a reviewer in a terminal; findings stay in that agent's conversation. There are no dedicated Review CLI commands.

Use `cate agent read / send / wait` to collaborate with reviewers. For repository diffs, stagi

Read more
Stats
2,248
Stars
Active
Maintenance
TypeScript
Language
MIT
License
Last commit
Created
Added

Repo: 0-AI-UG/cate

@0-ai-ug
Ships withcate

An infinite zoomable canvas for coding. Editor, terminal, and browser panels in a spatial workspace.

Stars on GitHub

Momentum

stars in total
2.2k
Star history of 0-AI-UG/cate on GitHub, a chart by star-history.com

Other skills on cate.

cate-theme

cate-theme

Author or edit a Cate IDE theme — one data-driven theme covering app chrome colors, the terminal ANSI palette, and Monaco editor…

@0-ai-ug@0-ai-ugInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw5d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca3d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip4d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about cate-cli.

Which coding agents can use cate-cli?
cate-cli installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.