--json or --jq, set KANEO_JSON=true, or pipe its output:
- A successful command prints exactly one JSON value on stdout.
- A failed command prints
{"error": "message"}on stdout and exits with code 1. - JSON mode never prints colors, spinners, progress lines or images.
--human to force styled output. Styled output respects NO_COLOR, FORCE_COLOR and TERM=dumb, and uses plain ASCII when the terminal cannot show Unicode. Ticket IDs and project names are clickable links in terminals that support them.
Filter with --jq
--jq filters the JSON output with a jq expression. The engine is built in, so you do not need jq installed. Each result goes on its own line, and strings print without quotes:
--json to see the data the expression receives.
Long text and stdin
Comments and descriptions can come from a file or from stdin. Pass-F <file> to read a file, or - to read stdin:
kaneo task create, task edit, comment add, comment edit, task attach, project create, project edit and workspace edit accept -F. kaneo comment add and kaneo task comment also read stdin when you leave out the text.
Confirmations
Commands that delete or remove data, such askaneo task delete or kaneo label delete, ask for confirmation in a terminal. Deleting a project asks you to type its key, and deleting a workspace asks for its slug. In scripts, these commands stop with an error until you pass --yes:
Call the API directly
kaneo api sends an authenticated request to any Kaneo API endpoint, like gh api does for GitHub. It uses the same server, credentials and output modes as the other commands. The path is under /api, and the /api prefix is optional:
-f key=value builds a JSON body. Values that parse as JSON keep their type, and dotted keys such as a.b=1 nest. --input reads the body from a file, or - for stdin. See the API reference for the available endpoints.
Agent skill
Coding agents such as Claude Code, Codex and Cursor can manage your Kaneo work through the CLI. Thekaneo-cli skill shows them how: check the login and workspace first, read the JSON output, address tasks by ticket ID, and confirm with you before deleting anything.
-g to install it for every project. The skill is a single file in skills/kaneo-cli, so you can also copy it into your agent’s skills folder by hand. Agents that should talk to Kaneo without a shell can use the MCP server instead.