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.
npx agentmods add agents/chama-x/groundrules/odoo-context-gatherergit 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.svg" alt="Measured on agentmods" 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 | $0.00036 | $0.01913 |
| Opus 5 | $0.00018 | $0.00957 |
| Sonnet 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 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.
This is a copy
100% identical to odoo-context-gatherer — 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.
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.
- yesterday 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 21d ago), licensed MIT. It adds 36 tokens to every session and 1,913 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to odoo-context-gatherer, differing in 0 lines, and is treated as a copy.
Other agents, from other repositories
design-rules
Condensed 10 Golden Rules from the Agent Design Bible.
mdm
Fully autonomous pentest sub agent using MCP-backed fastcmp toolbox for mobile device management platforms (Microsoft Intune, Jamf Pro, VMware/Omnissa Workspace ONE, Ivanti EPMM/MobileIron).
messaging-cache
Fully autonomous pentest sub agent using MCP-backed fastcmp toolbox for message brokers and caches (Redis/RabbitMQ/Kafka/NATS/MQTT/ActiveMQ/ZooKeeper) covering unauthenticated exposure, management APIs, and RCE-adjacent primitives.
nodejs
Autonomous pentest sub-agent using Darkmoon MCP for Node.js (Express / Angular / SPA) applications.
ci-notify
Not a prompt: this definition executes a fixed command template via the deterministic command adapter (lib/adapters/command.mjs). No model runs.
accipiter
Agent "accipiter" from markmhendrickson/ateles, covering accipiter, definition, prompt, accipiter — ux & product designer and identity.