Skip to content

odoo-work-cli llm

NAME

odoo-work-cli-llm - Print a usage guide for LLM agents (--skill)

SYNOPSIS

odoo-work-cli llm [--skill]

DESCRIPTION

With --skill, print a Markdown guide for coding agents on standard output: how to call the CLI, the JSON contract, every error kind with what to do about it, and the usual pitfalls. It starts with skill front matter (name, description), so it can be saved as a Claude Code skill as is.

The error kinds and the JSON fields in the guide are generated from the same sources as the CLI, so the guide always matches the installed version. Without --skill the command fails with a validation error.

OPTIONS

--skill

Print the agent guide (Markdown) on stdout.

flag; optional

GLOBAL OPTIONS

--backend BACKEND

BACKEND: odoo or fake (offline, made-up data; env ODOO_WORK_CLI_BACKEND).

string; optional; default: odoo; env: ODOO_WORK_CLI_BACKEND

--config FILE

Read only the config FILE (skip discovery).

string; optional

-h, --help
Print the help of the command and exit.

OUTPUT

The guide, as Markdown.

EXIT STATUS

0 on success, 1 on any error, including usage errors. The error is printed as "Error: TEXT" on standard error.

Error kinds this command can fail with:

validation
Invalid input: unknown flag, bad argument, malformed date, time or hours, a time in the future, an unknown project.
internal
Anything else: an unexpected Odoo response or a bug.

EXAMPLES

Install the guide as a Claude Code skill:

$ mkdir -p ~/.claude/skills/odoo-work-cli
$ odoo-work-cli llm --skill > ~/.claude/skills/odoo-work-cli/SKILL.md

SEE ALSO