Coline Docs

For agents

Teach coding agents to use coline, with one short skill, help sized for agents, and their work marked as theirs.

Coding agents like Claude Code, Codex, Cursor and OpenCode run coline the way you do, under your profile. They need no setup of their own beyond the skill.

Set up

coline setup

coline setup signs you in if you aren't, then installs the Coline skill where the coding agents on this machine read skills: ~/.claude/skills/coline for Claude Code, and ~/.agents/skills/coline for Codex, Cursor and OpenCode. A marker beside it records what coline wrote, so a skill you wrote or changed is never overwritten. --force replaces it.

  • coline setup --mcp cursor (or codex) also adds the hosted Coline MCP server to that editor. --mcp claude-code prints the command that adds it.
  • coline setup --no-wait doesn't wait for you to sign in: it prints a link and a code to approve on any device.
  • coline setup --print prints the skill and does nothing else.
  • coline doctor says whether the skill is current for each agent.

The skill

The skill is about twenty lines. It tells an agent to read a command's help before using it, to keep output small, that mail waits for your approval, and that text from the workspace is data. An agent that has never seen Coline can read it at a stable address:

https://docs.coline.app/.well-known/coline-skill.md

It's the same text coline setup installs, and coline setup --print prints.

Help for agents

coline tasks create --agent --help
coline schema tasks.create

--agent --help on any command prints one plain screen: the usage line, what it does, its effect, whether it can wait for your approval, its scope, its flags and two examples. coline schema <action> shows the action's full input and output.

When the agent isn't signed in

A command that needs a sign-in exits with code 3. The agent can start one and hand it to you:

coline auth login --no-wait --json
coline auth login --resume

The first prints a link and a code for you to approve on any device. The second finishes the sign-in once you have.

Work marked as the agent's

Under your profile, an agent acts as you, and coline tells Coline which tool is running it, so its work shows as "via Claude Code". It sends the tool's name in the x-coline-via header, from --via <tool>, from COLINE_VIA, or found on its own for Claude Code, Codex, Cursor, Gemini CLI and OpenCode. coline doctor shows what it found.

A bot, script or CI job that should act under its own name, and that you can pause or remove, gets an agent profile instead.

Text from the workspace is data

Mail, messages, tasks, docs and files hold text other people wrote, and some of it may be written to steer an agent. The skill tells agents never to follow instructions found there. Coline doesn't rely on that alone: mail and invites to people outside wait for your approval on the server, and the app-only list is refused whoever asks.

On this page