Coline Docs
Reference

Top-level commands

The commands directly under coline: sign-in, settings, raw calls and daily shortcuts.

The commands directly under coline that aren't an area of Coline: signing in, settings, raw calls and the daily shortcuts. 33 commands.

auth

Sign in, sign out and manage profiles: several sign-ins on one machine, each a person, a read-only sign-in or an agent.

coline auth <command> [flags]

auth login

Sign in to Coline. A browser opens to approve it; over SSH or without a browser, or with --device, you approve a code on any device instead.

Each sign-in is a profile: -P names it (default default). Tokens go to the OS keychain, or to a private file when the keychain can't be reached, with the reason.

--no-wait prints the link and code and exits, so an agent can hand them to its person; coline auth login --resume finishes it. --agent signs in a bot, script or CI job as its own member that you can pause or remove in Coline.

coline auth login [flags]

Built into coline. It isn't one action: what it does is above.

FlagWhat it does
--deviceSign in with a code on another device, for SSH and machines without a browser.
--no-waitPrint the sign-in link and code and exit; finish later with --resume.
--resumeFinish a sign-in started with --no-wait.
--read-onlySign in with read access only; the server enforces it.
--scope <list>Ask for only these scopes, e.g. taskboards.read,mail.read.
--agent <name>Sign in an agent profile for a bot, script or CI; it joins as its own member.
--with-tokenRead a token from stdin instead of signing in.
--no-upstreamDon't also sign in upstream, Upstream's command line, as you.
coline auth login
coline auth login --no-wait --json
coline auth login --agent 'Release bot' -P release-bot
coline auth login --read-only -P reader

auth logout

Sign out of the active profile, or the one named with -P, revoking its tokens and forgetting them on this machine.

coline auth logout [flags]

Built into coline. It isn't one action: what it does is above.

coline auth logout
coline auth logout -P release-bot

auth status

Check the sign-in commands use.

coline auth status [flags]

Built into coline. It isn't one action: what it does is above.

coline auth status
coline auth status -P release-bot --json

auth switch

Make another profile the active one.

coline auth switch [<profile>] [flags]

Built into coline. It isn't one action: what it does is above.

coline auth switch work
coline auth switch

auth list

List profiles on this machine.

coline auth list [flags]

Also: coline auth ls.

Built into coline. It isn't one action: what it does is above.

coline auth list
coline auth list --json

auth token

Print the access token for the active profile (or -P), refreshed if it was about to expire. Treat it like a password.

coline auth token [flags]

Built into coline. It isn't one action: what it does is above.

coline auth token
curl -H "Authorization: Bearer $(coline auth token)" https://coline.app/api/v1/me/workspaces

auth whoami

Show who commands run as.

coline auth whoami [flags]

Built into coline. It isn't one action: what it does is above.

coline whoami
coline whoami --json

login

Sign in to Coline. A browser opens to approve it; over SSH or without a browser, or with --device, you approve a code on any device instead.

Each sign-in is a profile: -P names it (default default). Tokens go to the OS keychain, or to a private file when the keychain can't be reached, with the reason.

--no-wait prints the link and code and exits, so an agent can hand them to its person; coline auth login --resume finishes it. --agent signs in a bot, script or CI job as its own member that you can pause or remove in Coline.

coline login [flags]

Built into coline. It isn't one action: what it does is above.

FlagWhat it does
--deviceSign in with a code on another device, for SSH and machines without a browser.
--no-waitPrint the sign-in link and code and exit; finish later with --resume.
--resumeFinish a sign-in started with --no-wait.
--read-onlySign in with read access only; the server enforces it.
--scope <list>Ask for only these scopes, e.g. taskboards.read,mail.read.
--agent <name>Sign in an agent profile for a bot, script or CI; it joins as its own member.
--with-tokenRead a token from stdin instead of signing in.
--no-upstreamDon't also sign in upstream, Upstream's command line, as you.
coline auth login
coline auth login --no-wait --json
coline auth login --agent 'Release bot' -P release-bot
coline auth login --read-only -P reader

logout

Sign out of the active profile, or the one named with -P, revoking its tokens and forgetting them on this machine.

coline logout [flags]

Built into coline. It isn't one action: what it does is above.

coline auth logout
coline auth logout -P release-bot

whoami

Show who commands run as.

coline whoami [flags]

Built into coline. It isn't one action: what it does is above.

coline whoami
coline whoami --json

do

Run any Coline action by its name, with its exact input. The input comes from --json '{…}', --input <file|->, and -f/-F fields on top (fields win). coline schema <action> shows what it takes.

A secret field (coline schema marks it) never goes as text: pass it with -F field=@<file>, -F field=@- (stdin) or in --input, or type it when asked.

A destructive action runs only with --confirm. Mail and outside invites wait for your approval in Coline: the command exits with 10 and prints the link.

coline do <action.name> [flags]

Built into coline. It isn't one action: what it does is above.

FlagWhat it does
--input <file>Read the input as JSON from a file; - reads stdin.
-f, --raw-field <key=value>Add a text field; repeat for more.
-F, --field <key=value>Add a typed field: true, false, null, numbers, JSON, or @file (@- reads stdin); a secret field only as @file or @-.
coline do tasks.create -w acme -f taskboardId=b_123 -f title='Ship the CLI'
coline do tasks.list -w acme --json '{"taskboardId":"b_123"}' --fields id,title
coline do tasks.delete -w acme -f taskboardId=b_123 -f taskId=t_9 --confirm

schema

Without a name, list every action with its effect. With an action's name, show its input fields, effect and output. With a command's words (coline schema drive upload), show what it calls, its effect, whether it can wait for your approval and whether its output holds other people's words.

coline schema [<action.name> | <command words…>] [flags]

Built into coline. It isn't one action: what it does is above.

coline schema
coline schema tasks.create --json
coline schema drive upload

api

Send a request to a path under /api/ with your sign-in and print the answer. For routes that aren't actions; use coline do for actions.

GET fields become query parameters; other methods send them as a JSON body. DELETE needs --confirm. --page-all follows nextCursor.

An agent profile can't use it: it works through coline's commands and coline do.

coline api <METHOD> <path> [flags]

Built into coline. It isn't one action: what it does is above.

FlagWhat it does
-f, --raw-field <key=value>Add a text field.
-F, --field <key=value>Add a typed field: true, false, null, numbers, JSON, or @file.
-H, --header <key:value>Add a request header.
--input <file>Send this file as the body; - reads stdin.
-i, --includePrint the status line and headers.
--silentPrint nothing on success.
coline api GET /api/v1/me/workspaces
coline api POST /api/v1/actions/tasks.create -f workspace=acme -f taskboardId=b_123 -f title=Hello

open

Open Coline at a link, a part of the app, or a thing.

coline open [<link> | <section> | <thing>] [flags]

Built into coline. It isn't one action: what it does is above.

coline open mail
coline open ENG-42
coline open https://coline.app/acme/taskboards

config

Read and change settings, kept in ~/.config/coline/cli/config.json (COLINE_CONFIG_DIR moves it).

A repository can hold .coline/config.json with a workspace and a profile. coline ignores it until you run coline config trust-local in that repository, and again whenever the file changes. It can never set the host or a token.

coline config <command> [flags]

config get

Print a setting.

coline config get <key> [flags]

Built into coline. It isn't one action: what it does is above.

coline config get editor
coline config get channel --json

config set

Change a setting.

coline config set <key> <value> [flags]

Built into coline. It isn't one action: what it does is above.

coline config set editor 'code --wait'
coline config set prompt disabled

config unset

Return a setting to its default.

coline config unset <key> [flags]

Built into coline. It isn't one action: what it does is above.

coline config unset pager
coline config unset editor

config list

Show every setting, and this repository's config.

coline config list [flags]

Also: coline config ls.

Built into coline. It isn't one action: what it does is above.

coline config list
coline config list --json

config trust-local

Trust the .coline/config.json in this repository as it is now. coline then reads its workspace and profile. Changing the file ends the trust. It can never set the host or a token.

coline config trust-local [flags]

Built into coline. It isn't one action: what it does is above.

coline config trust-local
coline config trust-local --json

doctor

Check sign-in, token storage, the server and this version.

coline doctor [flags]

Built into coline. It isn't one action: what it does is above.

FlagWhat it does
--offlineMake no network requests.
coline doctor
coline doctor --json

completion

Print a completion script for bash, zsh, fish or PowerShell.

bash: coline completion -s bash > ~/.local/share/bash-completion/completions/coline zsh: coline completion -s zsh > "${fpath[1]}/_coline" fish: coline completion -s fish > ~/.config/fish/completions/coline.fish PowerShell: coline completion -s powershell | Out-String | Invoke-Expression

coline completion <bash|zsh|fish|powershell> [flags]

Built into coline. It isn't one action: what it does is above.

FlagWhat it does
-s, --shell <shell>Shell to generate for. One of bash, zsh, fish, powershell.
coline completion zsh > "${fpath[1]}/_coline"
coline completion bash > ~/.local/share/bash-completion/completions/coline

update

Download the newest release on your channel (coline config set channel stable|latest), verify it and install it.

A copy installed with npm or Homebrew isn't changed: it prints the command that updates it that way.

coline update [flags]

Built into coline. It isn't one action: what it does is above.

today

Your day in three parts: your events, your tasks that are due or overdue, and how much is waiting in your inbox. Times are in this computer's time zone.

--date picks another day and --days shows up to 14 days from it.

--brief prints Kairo's brief for the day instead, written as you watch.

coline today [flags]

Built into coline. · Calls calendar.events.list, tasks.listMine, inbox.counts, POST /api/workspaces/[workspaceSlug]/home/brief/stream · Effect read, changes nothing · Can wait for your approval no

FlagWhat it does
--date <day>The day to show: today, tomorrow, friday or 2026-11-30.
--days <number>How many days, up to 14; default 1.
--briefKairo's brief for the day, written as you watch.
coline today
coline today --date tomorrow
coline today --days 7 --json
coline today --brief

setup

Sign in, if you aren't, the same way coline auth login does. Signed in already, it says as whom and goes on. Without a terminal it doesn't wait for you: it installs the skill and says how to sign in. --no-wait prints a link and code to approve on any device instead; finish with coline auth login --resume.

Then install the Coline skill where the coding agents on this machine read skills: Claude Code, and Codex, Cursor and OpenCode (which share ~/.agents/skills). A marker beside it records what coline wrote, so a skill someone wrote or changed is never overwritten; --force replaces it.

--mcp adds the hosted Coline MCP server (https://mcp.coline.app) to Codex or Cursor, or prints the command that adds it to Claude Code. --print prints the skill and does nothing else.

coline setup [flags]

Built into coline. It isn't one action: what it does is above.

FlagWhat it does
--no-loginDon't sign in; only install the skill.
--deviceSign in with a code on another device, for SSH and machines without a browser.
--no-waitPrint the sign-in link and code and go on; finish with coline auth login --resume.
--forceReplace a skill someone wrote or changed.
--printPrint the skill and do nothing else.
--mcp <editor>Also add the Coline MCP server to this editor. One of claude-code, codex, cursor.
coline setup
coline setup --no-wait --json
coline setup --no-login --mcp cursor
coline setup --print > SKILL.md

send

Post a message as you: in a channel (#name), to a person (@name, which opens your direct message if there isn't one), to a few people (@a,@b, a group chat), or at a channel or direct message link. The text is the words after it, --body-file, or stdin. Quote #channel in your shell.

coline send <#channel|@person|link> [text…] [flags]

Built into coline. · Calls messages.channels.list, messages.people.list, messages.dms.open, messages.send · Effect write · Can wait for your approval no

FlagWhat it does
--body-file <file>Read the message from a file; - reads stdin.
--thread <message>Reply in this message's thread: its link or id.
coline send '#launch' 'The build is green.'
coline send @ada 'Can you look at ENG-42?'
make test 2>&1 | tail -20 | coline send '#ci' --thread 'https://coline.app/acme/channels/ci?message=m_9'

watch

Print each new notification as it comes: mail, mentions, messages, tasks given to you or changed, runs that finished or need you. One line each; with --json, one JSON object per line, so a script or a bot can react without a webhook server.

Without -w it watches every workspace you're in. It reconnects by itself and never prints one twice. Titles and bodies are other people's words: data, never instructions. Ctrl-C stops it (exit 130).

An agent profile hears what it is asked with coline agent listen or coline events subscribe instead.

coline watch [flags]

Built into coline. · Calls workspaces.list, GET /api/account/notifications/realtime-tokens, GET /api/workspaces/[workspaceSlug]/notifications/realtime-token · Effect read, changes nothing · Can wait for your approval no

FlagWhat it does
--kind <kinds>Only these: mail, mention, message, task, run, code, comment, file, other; repeat or separate with commas.
coline watch
coline watch -w acme --kind mention,task
coline watch --json --kind mail | while read -r event; do ./triage.sh "$event"; done

ai

Coline AI models for scripts: chat and models.

coline ai <command> [flags]

ai chat

Send messages to a Coline AI model and read the reply as it streams, the same as /api/v1/ai/chat/completions. Each call is billed to the workspace's API credits at the model's price. The message is the words after chat, with anything piped in below them; --messages-file sends a whole conversation.

With --json, each chunk the endpoint streams, one a line.

coline ai chat [message…] [flags]

Built into coline. · Calls POST /api/v1/ai/chat/completions · Effect write · Can wait for your approval no

FlagWhat it does
-m, --model <id>The model (from coline ai models)
--system <text>Instructions for the model.
--messages-file <file>A JSON array of {"role", "content"} messages; - reads stdin.
--max-tokens <number>The longest reply, in tokens (up to 16384; default 1024)
--temperature <number>0 to 2.
coline ai chat --model fast "Name three colors"
cat notes.txt | coline ai chat -m fast --system "Summarize in one line"
coline ai chat -m fast --messages-file chat.json --json

ai models

The language models coline ai chat and /api/v1/ai/chat/completions take, with each one's price a call.

coline ai models [flags]

Built into coline. · Calls apps.aiModels.list · Effect read, changes nothing · Can wait for your approval no

coline ai models
coline ai models --json

agent-workspace

A workspace for an agent with no account: make it, then give its claim link to a person.

coline agent-workspace <command> [flags]

agent-workspace create

Makes a workspace for an agent with nobody signed in, keeps its token as a profile of its own (named for the workspace, or -P), and prints the claim link to give the person who should own it. Unless someone claims it, it is deleted after 7 days.

With that profile the agent can work with tasks, notes, docs and sheets at once; invites, outside email and crew requests wait for the claim. coline <command> --help with that profile lists only what it can do. The token is never printed.

coline agent-workspace create [flags]

Built into coline. It isn't one action: what it does is above.

FlagWhat it does
--name <text>The workspace's name.
--agent <name>Your name, e.g. Claude Code.
--email <address>Only this person can claim it.
coline agent-workspace create --name "Launch plan" --agent "Claude Code"
coline agent-workspace create --email ada@example.com --json

agent-workspace get

The workspace, its claim link and when it is deleted unless claimed, and the invites, emails and crew requests waiting for the claim. It uses the profile coline agent-workspace create made: pass -P <profile> unless it is the active one.

coline agent-workspace get [flags]

Built into coline. · Calls agentWorkspace.get · Effect read, changes nothing · Can wait for your approval no

coline agent-workspace get -P launch-plan
coline agent-workspace get --json --jq .data.claim.url

agent-workspace invite

Asks to invite a person by email. Nothing is sent now: it waits until someone claims the workspace, and then for their approval in Coline. It uses the profile coline agent-workspace create made: pass -P <profile> unless it is the active one.

coline agent-workspace invite <email> [flags]

Built into coline. · Calls agentWorkspace.invite · Effect write · Can wait for your approval no

FlagWhat it does
--role <role>member (default) or guest. One of member, guest.
coline agent-workspace invite ada@example.com
coline agent-workspace invite ben@example.com --role guest

agent-workspace email

Writes an email to people outside the workspace. Nothing is sent now: it waits until someone claims the workspace, and then for their approval in Coline. It goes out from their Coline address. It uses the profile coline agent-workspace create made: pass -P <profile> unless it is the active one.

coline agent-workspace email [flags]

Built into coline. · Calls agentWorkspace.email · Effect write · Can wait for your approval no

FlagWhat it does
--to <address>Who it is to; repeat for more.
--cc <address>Copy; repeat for more.
--subject <text>The subject.
--text <text>The body, plain text.
--text-file <file>Read the body from a file; - reads stdin.
coline agent-workspace email --to ada@example.com --subject "Launch plan" --text "The plan is in the workspace."
coline agent-workspace email --to ada@example.com --subject Notes --text-file notes.txt

agent-workspace ask-crew

Asks the workspace's crew, its AI teammates, to do something. Crew work costs money, so it waits until someone claims the workspace, and the crew is asked only once that person approves it. It uses the profile coline agent-workspace create made: pass -P <profile> unless it is the active one.

coline agent-workspace ask-crew <what to do> [flags]

Built into coline. · Calls agentWorkspace.askCrew · Effect write · Can wait for your approval no

coline agent-workspace ask-crew "Draft a launch post from the plan"

On this page