GroundRules: Agent for Claude Code

.agents/skills/odoo-patterns/agents/odoo-upgrade-analyzer.md

odoo-upgrade-analyzer is an agent for Claude Code 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 Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: installed under .agents/ (shared by several agents).

This is chama-x/GroundRules's own configuration. It tells Claude Code how to work on GroundRules itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything GroundRules configures →

Reuse

Borrowing it

Nothing to install: this file belongs to chama-x/GroundRules. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/chama-x/GroundRules/master/.agents/skills/odoo-patterns/agents/odoo-upgrade-analyzer.md
Clone the repo
git clone --depth 1 https://github.com/chama-x/GroundRules

Made for: Claude Code.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for odoo-upgrade-analyzer

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00025 $0.02466
Opus 5.5 $0.00010 $0.00986
Sonnet 5.5 $0.00005 $0.00493
Haiku 4.5 $0.00003 $0.00247

Measured 1mo ago against content hash b5fd5d9c2e38, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

Origin

This is a copy

100% identical to odoo-upgrade-analyzer — 58 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. 1mo ago 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 2mo ago), licensed MIT. It adds 25 tokens to every session and 2,466 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to odoo-upgrade-analyzer, differing in 58 lines, and is treated as a copy.

Related

Other agents, from other repositories

backend-developer

Use when a ticket needs API or backend work — endpoints, data models, auth, integrations, infra-as-code. Only spawned when backend is in scope per the architecture doc. Runs in parallel with mobile devs on independent tickets.

vmobifystudio/app-dev-team · 50 tokens

backend-engineer

General-purpose backend implementer for the user-search feature. Owns API handlers, request validation, RBAC scoping, query builders, cache logic, observability instrumentation, and rate limiting. Triggers - "implement task.

Enovatr-Labs/SpecRoute · 48 tokens

api-attacker

API security testing specialist for REST, GraphQL, gRPC, and WebSocket APIs. Handles BOLA/IDOR, mass assignment, authentication bypass, rate limit evasion, JWT attacks, GraphQL introspection abuse, API enumeration, and OWASP API Top 10. Triggers on: API, REST, GraphQL, gRPC, WebSocket, BOLA, IDOR, mass assignment, API…

mukul975/Threatswarm · 105 tokens

ciel-web-guild

CIEL's elite full-stack web guild. Specializes in React, Vue, Svelte, Next.js, Django, Rails, and Laravel.

jxoesneon/Ciel · 35 tokens

backend-generator

Backend coding agent. Implements backend sprints from the product spec, one feature at a time. Focuses on API correctness, data integrity, test coverage, and robust error handling. Use for backend implementation sprints.

superduke/ganvil · 46 tokens

architect

System architecture and design specialist. Use for designing scalable systems, making architectural decisions, creating technical specifications, or refactoring system structure.

a-ariff/ariff-claude-plugins · 28 tokens