odoo-code-tracer

odoo-code-tracer is an agent for Claude Code from grojof/ai-workspace-generator. It costs 56 tokens per session (3,076 once invoked), scanned B, a copy of odoo-code-tracer, Apache-2.0.

An agent that follows Odoo program execution from an entry point through function calls, overrides, inheritance, and callbacks. Odoo is an open-source business application platform, and the guide covers versions 17, 18, and 19.

In plain words
What is it for?
Use it to trace Odoo features end to end while planning work, reviewing code, or investigating how a behavior is implemented.
Why use it?
It helps reveal the complete path a request takes through Odoo code, including behavior added by inherited modules. This makes planning and understanding changes less dependent on guesswork.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to trace Odoo features end to end while planning work, reviewing code, or investigating how a behavior is implemented.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/grojof/ai-workspace-generator/odoo-code-tracer
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.

Clone the repo
git clone --depth 1 https://github.com/grojof/ai-workspace-generator

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/grojof/ai-workspace-generator/odoo-code-tracer/github.svg)](https://agentmods.dev/agents/grojof/ai-workspace-generator/odoo-code-tracer)
Your own site
<a href="https://agentmods.dev/agents/grojof/ai-workspace-generator/odoo-code-tracer"><img src="https://agentmods.dev/badge/agents/grojof/ai-workspace-generator/odoo-code-tracer/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-code-tracer

Your own site · 80×15
<a href="https://agentmods.dev/agents/grojof/ai-workspace-generator/odoo-code-tracer"><img src="https://agentmods.dev/badge/agents/grojof/ai-workspace-generator/odoo-code-tracer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,076 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 94% 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.00056 $0.03076
Opus 5.5 $0.00022 $0.01230
Sonnet 5.5 $0.00011 $0.00615
Haiku 4.5 $0.00006 $0.00308

Measured 1mo ago against content hash f76ffa022063, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

odoo-code-tracer scanned grade B with 1 finding 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- **Security checks**: Access rights, record rules, sudo usage
Origin

This is a copy

94% identical to odoo-code-tracer — 108 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.

skill-packs/odoo-18.0/agents/odoo-code-tracer.md · 327 lines

How it starts

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

Odoo Code Tracer Agent

You are an expert Odoo code execution tracer (Odoo 17, 18, or 19). Your mission is to trace code flow from start to finish, identifying every function call, override, and execution path — using the reference pack that matches the target Odoo version.

Resolve the target Odoo version

Before tracing, resolve ODOO_VERSION (one of 17.0, 18.0, 19.0) in this order. Stop at the first one that succeeds:

  1. Explicit argument passed to the agent invocation (e.g. odoo_version: "19.0").
  2. Project config: .odoo-version file at the repo root, odoo_version in .claude/odoo.json, odoo.version in package.json, or tool.odoo.version in pyproject.toml.
  3. Manifest heuristic: scan workspace __manifest__.py files for the 'version' key — use the dominant major.
  4. Fallback: default to 19.0 and note the assumption in your trace output.

Derive ODOO_MAJOR from ODOO_VERSION (e.g. 18.0 → 18). Supported: 17.0, 18.0, 19.0 — anything else is out of scope.

Before tracing, read skills/odoo-${ODOO_VERSION}/references/api-highlights.md so you recognise version-distinguishing constructs (<tree> vs <list>, group_operator= vs aggregator=, optional _name in v19, etc.) as you follow the code.

Objective

When given a starting point (user action, API call, cron job, etc.), trace the complete execution flow through the Odoo codebase, identifying:

  • Entry points (controllers, cron, webhooks, etc.)
  • Method call chains
  • Inheritance and overrides
  • Callbacks and hooks
  • Database operations
  • Side effects (emails, notifications, external API calls)
  • Exit points and return values

Tracing Process

1. Identify Entry Point

Determine how the code execution starts:

  • HTTP Request: Which controller/route?
  • Cron Job: Which model method and interval?
  • Model Action: Which button/action triggers it?
  • API Call: Which external system calls which endpoint?
  • Manual: Which user interface action?
  • Event: Which event triggers the code (on_change, computed field, constraint)?

Read the full file on GitHub · 327 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 · 327 lines · 56 tokens per session scan B f76ffa022063

Subscribe to this mod's changes

odoo-code-tracer is an agent published in the GitHub repository grojof/ai-workspace-generator (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 56 tokens to every session and 3,076 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). It is 94% identical to odoo-code-tracer, differing in 108 lines, and is treated as a copy.

Related

Other agents, from other repositories

build-failure-analyst

Expert build-failure analyst for .NET / MSBuild repositories. Invoke when a build produced a binary log (.binlog) and you need to identify the root cause(s) of failure, group related errors, and propose concrete fixes. Queries the binlog live through the binlog-mcp MCP server (containerised — see the calling…

dotnet/skills · 108 tokens

swiftui-performance-analyzer

Use this agent when the user mentions SwiftUI performance, janky scrolling, slow animations, or view update issues — expensive bodies, formatters, whole-collection dependencies, and missing lazy containers.

CharlesWiltgen/Axiom · 45 tokens

review-obsidian-guidelines

Reviews a diff of obsidian-reminder against Obsidian's community plugin guidelines and directory review rules that ESLint does not already enforce — manifest metadata, command naming, settings UI, styling, mobile compatibility, vault access APIs. Used by the pr-review workflow; read-only.

uphy/obsidian-reminder · 63 tokens

predictive-analyst

Precognition agent. Analyzes code changes to predict impact, regressions, and conflicts BEFORE they happen. Uses dependency graphs and historical data.

softspark/ai-toolkit · 35 tokens

cognitive-judge

Code Review Court judge — debuggability at 3AM, naming, complexity, logs.

gonzalezpazmonica/savia · 23 tokens

silent-failure-hunter

Use this agent when reviewing code changes in a pull request to identify silent failures, inadequate error handling, and inappropriate fallback behavior. Invoke it after work involving error handling, catch blocks, fallback logic, or any code that could suppress errors. See "When to invoke" in the agent body for…

nota-america/forgecat-agent-profiles · 67 tokens