odoo-code-reviewer

odoo-code-reviewer is an agent for Codex from chama-x/GroundRules. It costs 35 tokens per session (1,952 once invoked), scanned A, a copy of odoo-code-reviewer, MIT.

An agent that reviews Odoo module code, which extends the Odoo business software platform. It checks the code for quality, security, performance, and compatibility with the intended Odoo version.

In plain words
What is it for?
It helps audit Odoo modules, identify vulnerabilities and performance issues, check version compatibility, and suggest improvements.
Why use it?
Odoo code can follow different patterns across versions and can contain security or performance problems. The reviewer helps find these issues before code is used or released.

Agent for Codex

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/chama-x/groundrules/odoo-code-reviewer
Clone the repo
git clone --depth 1 https://github.com/chama-x/GroundRules

Made for: Codex.

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/chama-x/groundrules/odoo-code-reviewer.svg)](https://agentmods.dev/agents/chama-x/groundrules/odoo-code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/chama-x/groundrules/odoo-code-reviewer"><img src="https://agentmods.dev/badge/agents/chama-x/groundrules/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 100% copy Near-identical to another mod 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.00035 $0.01952
Opus 5 $0.00017 $0.00976
Sonnet 5 $0.00007 $0.00390
Haiku 4.5 $0.00003 $0.00195

Measured yesterday 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 yesterday.

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.

Origin

This is a copy

100% identical to odoo-code-reviewer — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/odoo-patterns/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. yesterday 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 chama-x/GroundRules (5 stars, last pushed 21d 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 is 100% identical to odoo-code-reviewer, differing in 0 lines, and is treated as a copy.