odoo-security

odoo-security is a skill for Claude Code, Codex from actinon-com/brass-monkey. It costs 27 tokens per session (517 once invoked), scanned A, original, MIT.

Guidance for controlling who can access data in Odoo, a business management system. It covers users, groups, model permissions, and rules that limit access to specific records.

In plain words
What is it for?
Use it to configure Odoo access rights, user groups, record rules, and multi-company data isolation.
Why use it?
It helps prevent users from seeing or changing records they should not access, including records belonging to other companies.

Skill for Claude CodeCodex

Part of the brass-monkey plugin — 30 skills shipped together

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.

agentmods
npx agentmods add skills/actinon-com/brass-monkey/odoo-security
Any agent
npx skills add actinon-com/brass-monkey --skill odoo-security
Clone the repo
git clone --depth 1 https://github.com/actinon-com/brass-monkey

Made for: Claude Code, Codex.

Or install brass-monkey, the plugin that ships this one along with the rest of its 30 skills.

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-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/actinon-com/brass-monkey/odoo-security.svg)](https://agentmods.dev/skills/actinon-com/brass-monkey/odoo-security)
Your own site
<a href="https://agentmods.dev/skills/actinon-com/brass-monkey/odoo-security"><img src="https://agentmods.dev/badge/skills/actinon-com/brass-monkey/odoo-security.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 517 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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 $0.00027 $0.00517
Opus 5 $0.00014 $0.00259
Sonnet 5 $0.00005 $0.00103
Haiku 4.5 $0.00003 $0.00052

Measured 4d ago against content hash 365076efc45d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

odoo-security 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 4d 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.

skills/odoo-security/SKILL.md · 37 lines

How it starts

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

Skill: Odoo Security & Access Control

This skill provides the agent with high-level functional expertise in Odoo's security and permission architecture, covering Users, Groups, Access Rights, and Record Rules.

Core Mandates

1. The Security Hierarchy

Understand how Odoo grants permissions:

  • Users (res.users): Individual accounts.
  • Groups (res.groups): Logical roles (e.g., "Sales / User", "Accounting / Manager").
  • Access Rights (ir.model.access): Model-level permissions (Can I Read/Write/Create/Delete ANY record in this model?).
  • Record Rules (ir.rule): Row-level permissions (Can I see THIS specific record?). Enforced via domain_force filters.

2. Record Rule Enforcement

  • Mandate: Record rules strictly filter data at the database level. Even if a user has "Read" access on a model via Access Rights, a Record Rule can hide specific records.
  • Evaluation: Odoo applies Record Rules using specific logic:
    • Global Rules: (no group assigned) are applied using AND (all must pass).
    • Group Rules: (assigned to a group) are applied using OR among rules of the same group.

3. Multi-Company Security

  • Strict Isolation: Odoo uses Record Rules to enforce multi-company isolation.
  • Mandate: When creating or updating records, ensure the company_id is set correctly. Attempting to link records from different companies (e.g., a Sales Order in Company A pointing to a Warehouse in Company B) will trigger a "Multi-company Access Error".

4. Troubleshooting Workflow

When a user encounters an "Access Error":

  1. Groups: Verify the user's assigned groups in res.users.
  2. Access Rights: Check ir.model.access for the target model and the user's groups.
  3. Record Rules: Check ir.rule for active domains on the target model. Analyze the domain_force to see if it's filtering out the specific record ID.

Available Resources

  • security-logic.md: Deep-dive into Access Rights vs. Record Rules, Evaluation Logic, and Multi-company rules.
  • security-fields.json: Technical map for Users, Groups, Access, and Rule models.

Read the full file on GitHub · 37 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 37 lines · 27 tokens per session scan A 365076efc45d

Subscribe to this mod's changes

odoo-security is a skill published in the GitHub repository actinon-com/brass-monkey (2 stars, last pushed 11d ago), licensed MIT. It adds 27 tokens to every session and 517 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

deploy-able

Drive an Able Desk deployment onto the user's own Cloudflare account, in order, stopping at every step only a human can complete. Use when the user wants to deploy Able, set it up for their business, stand up a support desk, resume a half-finished deployment, or check what is left before real customers can be served.

codeyogi911/able · 70 tokens

spec-kitty-charter-doctrine

Run charter interview, generation, context, and sync workflows for project governance in Spec Kitty 3.x. Access doctrine artifacts programmatically via DoctrineService. Resolve agent profiles. Load action-scoped governance context iteratively, not all at once. Triggers: "interview for charter", "generate charter"…

Priivacy-ai/spec-kitty · 135 tokens

mcp-scripting

Write mcpScript JavaScript for discovering, inspecting, and calling MCP tools.

nicobailon/pi-mcp-adapter · 21 tokens

neo4j-modeling-skill

Design, review, and refactor Neo4j graph data models. Use when choosing node labels vs relationship types vs properties, migrating relational/document schemas to graph, detecting anti-patterns (generic labels, supernodes, missing constraints), designing intermediate nodes for n-ary relationships, enforcing schema with…

neo4j-contrib/neo4j-skills · 152 tokens

WRITE_ATTACHMENT_SERVICE

You are adding an inbound/attachment module to a domain crate. This module implements the attachment::AttachmentService trait so the crate can resolve its entity IDs into AI-consumable attachment content.

macro-inc/macro · 0 tokens

lov-article-creator

统一创建、改写、品牌化或忠实转载微信公众号文章包:正文写作调用唯一文风与作者性能力,离线完成结构、品牌、封面、4:3 首图、来源与质量验收。Use when asked to write, brand, audit, or faithfully repost a WeChat article package.

lovstudio/skills · 75 tokens