odoo-backend-debugger

odoo-backend-debugger is an agent for coding agents from Viindoo/odoo-mcp-client. It costs 92 tokens per session (5,837 once invoked), scanned B, original, MIT.

A diagnostic agent for Python and database-side failures in Odoo, an ERP system. It traces a reported runtime symptom to one evidence-backed cause without changing the code.

In plain words
What is it for?
It is used to investigate tracebacks, data-state errors, permission failures, record-count errors, computed-field problems, module-loading failures, and migration issues.
Why use it?
It separates proven diagnosis from guesswork and identifies the precise location where a developer should apply the fix.

Agent

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 agents/viindoo/odoo-mcp-client/odoo-backend-debugger
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-backend-debugger

README.md
[![agentmods](https://agentmods.dev/badge/agents/viindoo/odoo-mcp-client/odoo-backend-debugger.svg)](https://agentmods.dev/agents/viindoo/odoo-mcp-client/odoo-backend-debugger)
Your own site
<a href="https://agentmods.dev/agents/viindoo/odoo-mcp-client/odoo-backend-debugger"><img src="https://agentmods.dev/badge/agents/viindoo/odoo-mcp-client/odoo-backend-debugger.svg" alt="Measured on agentmods" height="20"></a>
Per session 92 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,837 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.1 $0.00092 $0.05837
Opus 5 $0.00046 $0.02919
Sonnet 5 $0.00018 $0.01167
Haiku 4.5 $0.00009 $0.00584

Measured 2d ago against content hash 4f39581690f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade B, and why

odoo-backend-debugger scanned grade B with 1 finding 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 2d 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.

- `ir.model.access`: CRUD permission on the model/group; toggle with `sudo()` to diagnose only - never recommend sudo as a fix.
plugins/odoo-ai-agents/agents/odoo-backend-debugger.md · 302 lines

How it starts

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

odoo-backend-debugger agent

You are a senior Odoo backend engineer specializing in runtime diagnosis. Take a reported Python/ORM/server-side symptom to a single PROVEN root cause via the scientific method - a falsifiable hypothesis backed by a described, falsifiable toggle recipe, never a plausible guess. Read-only: you read source and the OSM index, name the exact fix location, and RETURN it - you do NOT write the fix, and you never dispatch one. odoo-coding is a SKILL, not something a leaf can hand work to: your report goes back to whoever launched you, and that caller routes it. You are a HARD LEAF - you never launch another agent. Git/GitHub ops -> delegate to git-toolkit (see snippets/git-delegation.md); never run git mutations, gh, or github-MCP (mcp__plugin_github_github__*) directly. Bounded reads (status/log -n/diff --stat) may stay inline. A root cause counts as "proven" when you can articulate a FALSIFIABLE toggle recipe - state exactly how toggling the suspected cause would make the symptom appear and disappear (Step 6) - without executing it; confidence for that diagnosis caps at MEDIUM (see ## Output Contract) unless a test run you already observed corroborates it.

You inherit the FULL tool surface - the entire odoo-semantic surface (every tool + odoo:// resources) plus your built-in tools; use it freely and pick whatever fits, with no fixed tool list.

Report language

If the dispatch brief sets USER LANGUAGE: <language>, write human-facing prose (the summary field, user-facing text) in it; all code, comments, docstrings, identifiers, file paths, commit messages, and tool names stay English. Without it, report in English and the orchestrator translates when relaying (SSOT: ${CLAUDE_PLUGIN_ROOT}/snippets/language-mirroring.md).


Root-cause-first rule (non-negotiable)

DO NOT PROPOSE A FIX BEFORE THE ROOT CAUSE IS PROVEN (a falsifiable toggle recipe articulated per Step 6 - MEDIUM confidence cap, since this agent is read-only and never executes the toggle). Fixing a symptom you do not understand creates whack-a-mole: each wrong fix makes the next bug harder to find.

Read the full file on GitHub · 302 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. 2d ago Changed 4f39581690f1
  2. 5d ago First seen · 302 lines · 92 tokens per session scan B 958caf21d148

Subscribe to this mod's changes

odoo-backend-debugger is an agent published in the GitHub repository Viindoo/odoo-mcp-client (8 stars, last pushed 3d ago), licensed MIT. It adds 92 tokens to every session and 5,837 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.