odoo-code-review

odoo-code-review is a skill for Claude Code, Codex from chama-x/GroundRules. It costs 75 tokens per session (1,495 once invoked), scanned A, original, MIT.

A code-review guide for Odoo add-ons, which are modules that extend the Odoo business-management platform. It reviews implementation details such as models, permissions, XML views, controllers, reports, assets, and tests.

In plain words
What is it for?
Use it to review an Odoo module, changed files, commit range, pull request, or migration against Odoo behavior and coding guidelines.
Why use it?
It helps find bugs, security risks, slow behavior, migration problems, regressions, and missing tests that ordinary style review may miss. It also accounts for the target Odoo version and local framework code when available.

Skill for Claude CodeCodex

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 skills/chama-x/groundrules/odoo-code-review
Any agent
npx skills add chama-x/GroundRules --skill odoo-code-review
Clone the repo
git clone --depth 1 https://github.com/chama-x/GroundRules

Made for: Claude Code, 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-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/chama-x/groundrules/odoo-code-review.svg)](https://agentmods.dev/skills/chama-x/groundrules/odoo-code-review)
Your own site
<a href="https://agentmods.dev/skills/chama-x/groundrules/odoo-code-review"><img src="https://agentmods.dev/badge/skills/chama-x/groundrules/odoo-code-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,495 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00075 $0.01495
Opus 5 $0.00037 $0.00747
Sonnet 5 $0.00015 $0.00299
Haiku 4.5 $0.00007 $0.00150

Measured 3d ago against content hash 33a2a9dcf0aa, 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-review 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 3d 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/archive/v3/skill_odoo-discipline/skills/odoo-code-review/SKILL.md · 145 lines

How it starts

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

Odoo Code Review

Use this skill for Odoo-specific code review. Findings come first. Focus on bugs, security risks, behavioral regressions, performance problems, migration hazards, and missing tests before style cleanup.

Official Odoo coding guidelines are still covered by ODOO-CODING-GUIDELINES.md, but review scope is broader than style.

First Move

Identify:

  • target Odoo version
  • addon/module scope
  • changed files or diff range
  • stable branch vs development branch
  • repo-specific conventions and checks
  • available local framework/tooling context: $ODOO_SOURCE, $ODOO_TOOL_README, $ODOO_BASE_COMMAND

If a version-specific reference skill exists, consult it before reviewing version-sensitive behavior:

  • Odoo 17: odoo-17.0
  • Odoo 18: odoo-18.0
  • Odoo 19: odoo-19.0

If $ODOO_SOURCE is set, inspect local framework code for APIs, XML syntax, assets, test helpers, and version-specific behavior before relying on memory.

Review Workflow

  1. Determine the review target: whole addon, diff, PR, commit range, or specific files.
  2. Read the module manifest first, then relevant imports, models, views, security, data, controllers, tests, assets, reports, and docs.
  3. Check official style/guideline concerns with ODOO-CODING-GUIDELINES.md.
  4. Check Odoo behavior risks with the review checklist below.
  5. Return findings ordered by severity with file/line references.
  6. State checks run, checks not run, and residual review gaps.

Stable Branch Rule

When reviewing stable branches, do not ask for noisy restyling. Existing file style supersedes generic formatting preferences. Focus on changed code, correctness, security, maintainability, and obvious guideline violations.

In development branches, apply guidelines more broadly to modified code. Recommend restructuring only when it reduces real risk or the user asks for a wider cleanup.

Odoo Review Checklist

Models And ORM

  • Model names, _inherit, and _inherits match real domain boundaries.
  • Batch operations are used for multi-record flows.
  • No search(), browse(), create(), write(), or unlink() inside loops unless bounded and justified.
  • Domains are correct, indexed where relevant, and multi-company-safe.
  • sudo() is used only at explicit trust boundaries and does not leak records.
  • Direct SQL is parameterized and justified.

Read the full file on GitHub · 145 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 145 lines · 75 tokens per session scan A 33a2a9dcf0aa

Subscribe to this mod's changes

odoo-code-review is a skill published in the GitHub repository chama-x/GroundRules (5 stars, last pushed 20d ago), licensed MIT. It adds 75 tokens to every session and 1,495 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

electron-pro

Expert in building cross-platform desktop applications using web technologies (HTML/CSS/JS) with the Electron framework.

fathah/hermes-desktop · 25 tokens

hive.worker-delegation

Concrete patterns for breaking colony work into parallel worker jobs via runplaybook — when fan-out helps, how to model the goal as a tracker table, write the worker skill, author the playbook, pilot, and let convergence retry/resume the gap.

aden-hive/hive · 58 tokens

hive.chart-creation-foundations

Required reading whenever any chart tool is available. Teaches the one-tool embedding contract (call chartrender → live chart appears in chat AND a downloadable PNG lands in the queen session dir), the ECharts (data viz) vs Mermaid (structural diagrams) decision, the BI/financial-grade aesthetic baseline (no…

aden-hive/hive · 133 tokens

develop-web-game

Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with rendergametotext.

netease-youdao/LobsterAI · 64 tokens

pr-feedback

Fetches PR review feedback and inline comments, categorizes them, and presents options to the user. Use when the user asks to get, read, address, or fix review comments on a pull request.

strands-agents/harness-sdk · 44 tokens

stock-explorer

A Yahoo Finance (yfinance) powered financial analysis tool. Get real-time quotes, generate technical indicator reports (RSI/MACD/Bollinger/VWAP/ATR), summarize fundamentals, and run a one-shot report that outputs a text summary.

netease-youdao/LobsterAI · 55 tokens