scaffold-behavior

A procedure for creating a new Odoo module or a major new area inside an existing add-on, including its code, screens, permissions, data, and tests.

In plain words
What is it for?
Use it to scaffold Odoo modules or substantial features when implementation must begin from a functional specification.
Why use it?
It ensures the new module starts with the correct Odoo version, complete structure, security setup, and project conventions.

Agent

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 agents/codeforusers/odoo-dev-superskill/scaffold-behavior
Clone the repo
git clone --depth 1 https://github.com/CodeForUsers/odoo-dev-superskill
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 442 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.00000 $0.00442
Opus 5 $0.00000 $0.00221
Sonnet 5 $0.00000 $0.00088
Haiku 4.5 $0.00000 $0.00044

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

Security

Grade A, and why

scaffold-behavior 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 2d 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.

references/agents/scaffold-behavior.md · 49 lines

How it starts

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

Scaffold Behavior

Purpose

Define how the agent should behave when creating a new Odoo module or scaffolding a significant new functional area inside an existing addon.

When to activate

  • The user asks to create a new addon from scratch.
  • The user asks for module scaffolding.
  • The task starts from a functional specification and there is no existing implementation.
  • A feature requires creating new models, views, security files, menus, and tests from zero.

Pre-checks

  • Detect the target Odoo version before generating anything.
  • Identify whether the module is Community or Enterprise-specific.
  • Check whether the module should follow OCA conventions.
  • Check whether the module belongs to an existing repository naming scheme.
  • Identify whether the feature is standalone or should extend an existing addon.

Workflow

  1. Detect Odoo version and adapt syntax accordingly.
  2. Define module scope: models, views, security, data, demo, tests.
  3. Generate minimal but complete structure.
  4. Create a valid __manifest__.py aligned with the target version.
  5. Add security files early: ir.model.access.csv, optional record rules if needed.
  6. Create models before views.
  7. Create base menu/actions only if the feature needs UI exposure.
  8. Add tests from the beginning, not as an afterthought.
  9. Ensure naming consistency across Python classes, XML ids, model names, menu ids and access records.

Rules

  • Never scaffold without detecting the Odoo version first.
  • Prefer minimal complete scaffolding over bloated boilerplate.
  • Respect OCA-style directory layout when relevant.
  • Keep dependencies minimal and explicit.
  • Generate code that is production-oriented, not just illustrative.

Avoid

  • Creating placeholder files with no real value.
  • Adding unnecessary menus, demo data, or sample records by default.
  • Mixing version syntax across Odoo releases.
  • Skipping security and tests during initial scaffolding.
  • Creating oversized modules when the feature should be an extension of an existing addon.

Read the full file on GitHub · 49 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. 2d ago First seen · 49 lines · 0 tokens per session scan A cce44825a244

Subscribe to this mod's changes

scaffold-behavior is an agent published in the GitHub repository CodeForUsers/odoo-dev-superskill (12 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 442 tokens. 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-30.