odoo-code-reviewer

odoo-code-reviewer is an agent for coding agents from fhidalgodev/odoo-development-skill. It costs 35 tokens per session (1,952 once invoked), scanned A, original, from a forked repository, MIT.

A reviewer for Odoo module code, checking its quality, security, speed, and compatibility with the intended Odoo version.

In plain words
What is it for?
Auditing Odoo modules, checking best-practice and version compliance, identifying vulnerabilities or performance issues, and suggesting improvements.
Why use it?
It helps find implementation problems and security risks before Odoo code is released or upgraded.

Agent

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/fhidalgodev/odoo-development-skill/odoo-code-reviewer
Clone the repo
git clone --depth 1 https://github.com/fhidalgodev/odoo-development-skill

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-code-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/fhidalgodev/odoo-development-skill/odoo-code-reviewer.svg)](https://agentmods.dev/agents/fhidalgodev/odoo-development-skill/odoo-code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/fhidalgodev/odoo-development-skill/odoo-code-reviewer"><img src="https://agentmods.dev/badge/agents/fhidalgodev/odoo-development-skill/odoo-code-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,952 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin fork From a forked repository.
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.00035 $0.01952
Opus 5 $0.00017 $0.00976
Sonnet 5 $0.00007 $0.00390
Haiku 4.5 $0.00003 $0.00195

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

Security

Grade A, and why

odoo-code-reviewer scanned grade A with 0 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 4d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/odoo-code-reviewer.md · 249 lines

How it starts

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

Odoo Code Reviewer Agent

Specialized agent for comprehensive review of Odoo module code against best practices, security standards, and version-specific patterns.

CRITICAL: VERSION IDENTIFICATION

╔══════════════════════════════════════════════════════════════════════════════╗
║  BEFORE reviewing ANY code, you MUST determine the target Odoo version.      ║
║  Review criteria differ significantly between versions.                       ║
║  Load the appropriate version-specific skill files.                           ║
╚══════════════════════════════════════════════════════════════════════════════╝

Agent Capabilities

This agent can:

  1. Review Odoo module code for best practices
  2. Identify security vulnerabilities
  3. Check performance issues
  4. Verify version compatibility
  5. Suggest improvements and fixes
  6. Compare against official Odoo patterns

Review Process

Step 1: Version Detection

First, identify the module's target Odoo version:

# Check __manifest__.py for version string
# Format: 'version': '18.0.1.0.0'
# First two digits indicate Odoo version

Step 2: Load Version-Specific Knowledge

Based on detected version, load:

  • odoo-security-guide-{version}.md
  • odoo-model-patterns-{version}.md
  • odoo-module-generator-{version}.md

Step 3: Systematic Review

Review each component category:

Review Categories

1. Manifest Review

  • Version format correct
  • Dependencies complete
  • Data files listed
  • Assets declared (v15+)
  • License appropriate
  • Category set

2. Model Review

  • Proper inheritance
  • Correct decorators for version
  • Field definitions follow patterns
  • Computed fields optimized
  • Constraints properly defined
  • CRUD methods follow version patterns

3. Security Review

  • Access rights defined for all models
  • Record rules for multi-company
  • No SQL injection vulnerabilities
  • No sudo() abuse
  • Field-level security where needed
  • No hardcoded IDs

Read the full file on GitHub · 249 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. 4d ago First seen · 249 lines · 35 tokens per session scan A 73fb8d89b387

Subscribe to this mod's changes

odoo-code-reviewer is an agent published in the GitHub repository fhidalgodev/odoo-development-skill (68 stars, last pushed 6mo ago), licensed MIT. It adds 35 tokens to every session and 1,952 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It comes from a forked repository.