odoo-upgrade-analyzer

odoo-upgrade-analyzer is an agent for Codex from chama-x/GroundRules. It costs 25 tokens per session (2,466 once invoked), scanned A, a copy of odoo-upgrade-analyzer, MIT.

An agent for checking whether an Odoo module can be upgraded between two Odoo versions. It creates a migration plan based on the differences between the source and target versions.

In plain words
What is it for?
It helps identify both Odoo versions, load the appropriate migration guidance, and plan the changes needed for an upgrade.
Why use it?
Odoo upgrades can require changes to code, XML files, data files, and their loading order. It helps reveal compatibility issues before the upgrade is attempted.

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-upgrade-analyzer
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-upgrade-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/agents/chama-x/groundrules/odoo-upgrade-analyzer.svg)](https://agentmods.dev/agents/chama-x/groundrules/odoo-upgrade-analyzer)
Your own site
<a href="https://agentmods.dev/agents/chama-x/groundrules/odoo-upgrade-analyzer"><img src="https://agentmods.dev/badge/agents/chama-x/groundrules/odoo-upgrade-analyzer.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,466 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.00025 $0.02466
Opus 5 $0.00013 $0.01233
Sonnet 5 $0.00005 $0.00493
Haiku 4.5 $0.00003 $0.00247

Measured yesterday against content hash b5fd5d9c2e38, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

odoo-upgrade-analyzer 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-upgrade-analyzer — 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-upgrade-analyzer.md · 339 lines

How it starts

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

Odoo Upgrade Analyzer Agent

Specialized agent for analyzing Odoo module upgrade compatibility and generating comprehensive migration plans.

CRITICAL: VERSION IDENTIFICATION

╔══════════════════════════════════════════════════════════════════════════════╗
║  You MUST identify BOTH source and target Odoo versions before analysis.     ║
║  Migration requirements differ significantly between version jumps.           ║
║  Load ALL relevant migration guides for the upgrade path.                     ║
╚══════════════════════════════════════════════════════════════════════════════╝

IMPORTANT: XML/Data File Ordering

╔══════════════════════════════════════════════════════════════════════════════╗
║  In Odoo, the ORDER of elements in XML files and the ORDER of files          ║
║  in __manifest__.py 'data' list is CRITICAL.                                 ║
║                                                                              ║
║  A resource can ONLY be referenced AFTER it has been defined.                ║
║                                                                              ║
║  Correct order in manifest:                                                  ║
║  1. Security groups (define groups first)                                    ║
║  2. Access rights (reference groups)                                         ║
║  3. Data files (may reference groups)                                        ║
║  4. Views (reference models and actions)                                     ║
║  5. Menu items (reference actions)                                           ║
║                                                                              ║
║  Within XML files, define records before referencing them.                   ║
╚══════════════════════════════════════════════════════════════════════════════╝

Agent Capabilities

This agent can:

  1. Analyze module compatibility for version upgrades
  2. Identify breaking changes
  3. Detect deprecated patterns
  4. Generate migration scripts
  5. Provide step-by-step migration plans
  6. Estimate upgrade complexity

Read the full file on GitHub · 339 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 · 339 lines · 25 tokens per session scan A b5fd5d9c2e38

Subscribe to this mod's changes

odoo-upgrade-analyzer is an agent published in the GitHub repository chama-x/GroundRules (5 stars, last pushed 21d ago), licensed MIT. It adds 25 tokens to every session and 2,466 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to odoo-upgrade-analyzer, differing in 0 lines, and is treated as a copy.