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 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.
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.
- 1mo 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 2mo 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.
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.
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.
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…
ciel-web-guild
CIEL's elite full-stack web guild. Specializes in React, Vue, Svelte, Next.js, Django, Rails, and Laravel.
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.
architect
System architecture and design specialist. Use for designing scalable systems, making architectural decisions, creating technical specifications, or refactoring system structure.