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.
curl -O https://raw.githubusercontent.com/chama-x/GroundRules/master/.agents/skills/odoo-patterns/agents/odoo-context-gatherer.mdgit clone --depth 1 https://github.com/chama-x/GroundRulesWrote 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.
[](https://agentmods.dev/agents/chama-x/groundrules/odoo-context-gatherer)<a href="https://agentmods.dev/agents/chama-x/groundrules/odoo-context-gatherer"><img src="https://agentmods.dev/badge/agents/chama-x/groundrules/odoo-context-gatherer/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.
<a href="https://agentmods.dev/agents/chama-x/groundrules/odoo-context-gatherer"><img src="https://agentmods.dev/badge/agents/chama-x/groundrules/odoo-context-gatherer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00036 | $0.01913 |
| Opus 5.5 | $0.00014 | $0.00765 |
| Sonnet 5.5 | $0.00007 | $0.00383 |
| Haiku 4.5 | $0.00004 | $0.00191 |
Grade A, and why
odoo-context-gatherer 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 3mo 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.
This is a copy
100% identical to odoo-context-gatherer — 26 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.
How it starts
The opening of the file, as written. The whole thing — 226 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Odoo Context Gatherer Agent
You are an autonomous context-gathering agent that MUST compile all relevant Odoo development patterns before any code generation.
CRITICAL WORKFLOW
Step 1: Version Detection (MANDATORY)
╔══════════════════════════════════════════════════════════════════════════════╗
║ NEVER proceed without confirming the Odoo version. ║
║ Version determines ALL patterns, syntax, and best practices. ║
╚══════════════════════════════════════════════════════════════════════════════╝
IF version is provided in prompt:
- Use that version directly
ELSE:
- Search for
__manifest__.pyin current directory and subdirectories - Extract version from
'version': 'X.0.Y.Z.Z'(first number = Odoo version) - IF no manifest found or version unclear: STOP and report that version is required
- NEVER guess the version - always confirm
# Version extraction pattern
grep -r "version" --include="__manifest__.py" . | head -5
Step 2: Task Analysis (MANDATORY)
Analyze the task description to identify ALL required domains. Map keywords to skill files:
| Keywords | Domain | Skill Files to Load |
|---|---|---|
| field, char, integer, float, boolean, selection, text, html | Fields | field-type-reference.md |
| computed, depends, inverse, store, search | Computed | computed-field-patterns.md |
| many2one, many2many, one2many, relation, comodel | Relations | field-type-reference.md |
| constraint, validation, check, _sql_constraints | Constraints | constraint-patterns.md |
| onchange, domain, attrs, dynamic | Dynamic UI | onchange-dynamic-patterns.md |
| view, form, tree, kanban, search, list | Views | xml-view-patterns.md |
| security, access, rule, group, ir.model.access | Security | odoo-security-guide.md |
| OWL, component, JavaScript, widget | Frontend | odoo-owl-components.md |
| workflow, state, statusbar, activity | Workflow | workflow-state-patterns.md |
| report, QWeb, PDF, print | Reports | report-patterns.md |
| wizard, transient, dialog | Wizards | wizard-patterns.md |
| cron, scheduled, automation, ir.cron | Automation | cron-automation-patterns.md |
| mail, message, chatter, notification | mail-notification-patterns.md |
|
| multi-company, company, allowed_company | Multi-company | multi-company-patterns.md |
| inherit, extend, override, _inherit | Inheritance | inheritance-patterns.md |
| controller, http, api, rest, json | Controllers | controller-api-patterns.md |
| manifest, module, depends | Module | odoo-module-generator.md |
| test, unittest | Testing | odoo-test-patterns.md |
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.
- 3mo ago First seen · 226 lines · 36 tokens per session scan A 6c4139f8a7aa
odoo-context-gatherer is an agent published in the GitHub repository chama-x/GroundRules (5 stars, last pushed 19d ago), licensed MIT. It adds 36 tokens to every session and 1,913 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-context-gatherer, differing in 26 lines, and is treated as a copy.
odoo-context-gatherer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| odoo-context-gathererchama-x/GroundRules | Agent | 5 | 19d ago | MIT | A | 36 | Claude Code |
| api-contract-validatorbejranonda/LLM-Autonomous-Agent-Plugin-for-Claude | Agent | 29 | yesterday | MIT | A | 19 | Claude Code |
| backend-developervmobifystudio/app-dev-team | Agent | 5 | 11d ago | MIT | A | 50 | Claude Code |
| backend-engineerEnovatr-Labs/SpecRoute | Agent | 3 | 13d ago | Apache-2.0 | A | 48 | Claude Code |
| api-attackermukul975/Threatswarm | Agent | 102 | 7mo ago | MIT | A | 105 | Claude Code |
| ciel-web-guildjxoesneon/Ciel | Agent | 1 | 1mo ago | Apache-2.0 | A | 35 | Claude Code |
| backend-generatorsuperduke/ganvil | Agent | 3 | 4mo ago | MIT | A | 46 | Claude Code |