odoo-setup

odoo-setup is a command for coding agents from Viindoo/odoo-mcp-client. It costs 63 tokens per session (9,645 once invoked), scanned C, original, MIT.

A setup command for Odoo's browser-based development and testing workflow. It installs browser dependencies, configures browser connections for several coding assistants, and can declare and start local Odoo instances.

In plain words
What is it for?
Use it when preparing browser automation, installing Chromium and related packages, configuring browser tools, or setting up local Odoo instances.
Why use it?
It gathers the setup work needed for visual testing in one repeatable operation. It is designed to be safe to run again without repeating completed setup unnecessarily.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the odoo-ai-agents plugin — 51 skills, 8 commands, 26 agents, 8 hooks, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/viindoo/odoo-mcp-client/odoo-setup
Clone the repo
git clone --depth 1 https://github.com/Viindoo/odoo-mcp-client

Or install odoo-ai-agents, the plugin that ships this one along with the rest of its 51 skills, 8 commands, 26 agents, 8 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for odoo-setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/viindoo/odoo-mcp-client/odoo-setup.svg)](https://agentmods.dev/commands/viindoo/odoo-mcp-client/odoo-setup)
Your own site
<a href="https://agentmods.dev/commands/viindoo/odoo-mcp-client/odoo-setup"><img src="https://agentmods.dev/badge/commands/viindoo/odoo-mcp-client/odoo-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 9,645 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00063 $0.09645
Opus 5 $0.00032 $0.04823
Sonnet 5 $0.00013 $0.01929
Haiku 4.5 $0.00006 $0.00965

Measured 5d ago against content hash 8ebd58d5400b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

odoo-setup scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- **Never sudo silently.** ffmpeg, system packages and a native SERVER's

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

| **Gemini CLI** | Bundled `gemini-extension.json` (installed via `gemini extensions install <your-clone>/plugins/odoo-ai-agents` or `gemini extensions link ...` for live dev). **Note:** Gemini cannot install an extensio
plugins/odoo-ai-agents/commands/odoo-setup.md · 573 lines

How it starts

The opening of the file, as written. The whole thing — 573 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/odoo-ai-agents:odoo-setup

Unified, idempotent, extensible setup command for the Odoo visual / browser workflow. It drives a registry of numbered step scripts under scripts/setup-steps/, each exposing a describe | check | apply contract. Adding a new capability later is a drop-in: add one more numbered script - you do NOT edit this command.

What it sets up:

  1. Browser MCP - only ONE family is EAGER: the plugin's bundled .mcp.json ships the headless chrome-devtools (Claude auto-loads it; the Codex/Gemini bundle manifests mirror it). The other five families (chrome-devtools-headed, playwright[-headed], pagecast[-headed]) are OPT-IN so a plain session does not launch browser processes it does not need. This command wires them on demand: 10-browser-mcp (Codex/Gemini config) and 12-browser-mcp-optin (Claude, user scope) register the opt-in families from the pinned SSOT.
  2. Browser deps - Node >= 20 check; pre-installs the 3 pinned browser MCP packages ON DISK (npm cache warm, never launched - disk cost, zero RAM cost); Playwright Chromium install; ffmpeg check. This is INSTALL-only and strictly separate from step 12's REGISTER: pre-installing here means a later real spawn (once step 12 wires it) has no download latency, without ever starting a process or paying idle RAM for it.
  3. Permissions - auto-allows the browser MCP tools in Claude permissions, plus the narrow set of state-root Bash/Read/Edit rules the planning pipeline needs.
  4. Instance profile - discovers local Odoo repos via OSM-grounded propose-then-confirm, writes the machine-global $ODOO_AI_HOME/instances.toml (resolvable from any cwd by any agent on this host; see ${CLAUDE_PLUGIN_ROOT}/snippets/state-root-resolution.md for the full Tier-1/SHARE/ISOLATE convention).
  5. DB local auth - makes a LOCAL cluster accept the declared PostgreSQL role without a stored password, so every build can open Odoo's own connection; reverted with 48-db-local-auth.sh revert.
  6. Instance spin-up - launches a declared Odoo instance and waits for HTTP 200.

Read the full file on GitHub · 573 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 573 lines · 63 tokens per session scan C 8ebd58d5400b

Subscribe to this mod's changes

odoo-setup is a command published in the GitHub repository Viindoo/odoo-mcp-client (8 stars, last pushed 2d ago), licensed MIT. It adds 63 tokens to every session and 9,645 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 2 findings (asks for root, reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.