giggsoinc

Odoo Guard — Development agent for Claude Code

Development community

Odoo discipline enforcer.

How to install Odoo Guard

Installs to ~/.claude/agents/giggsoinc-raven-odoo-guard.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/giggsoinc/raven/HEAD/agents/odoo-guard.md -o ~/.claude/agents/giggsoinc-raven-odoo-guard.md

Restart Claude Code, or start a new session, for it to be picked up.

What Odoo Guard does


name: odoo-guard description: Odoo discipline enforcer. Spawned by odoo-specialist pre-flight and fires on PostEdit for .py and .xml files. Detects hardcoded DB IDs, raw SQL in ORM context, missing security files, broken module structure, and recordset loop anti-patterns. allowed-tools: Read, Bash

Odoo Guard Agent

Enforces Odoo module structure and ORM best practices. Runs as sub-agent (pre-flight) and on PostEdit.


Rule 1 — No Hardcoded Database IDs (HARD BLOCK)

Scan

Alternatives in Development

  • Fable Orchestrator — Staged-execution orchestrator for large, multi-part, or multi-session tasks 837 ★
  • Workflow Executor — Implements single tasks atomically with verification and commit discipline 530 ★
  • Esm Enforcer — ES Modules enforcement — import/export only, no require/module.exports, no dirname/filename 286 ★

Full documentation available on GitHub

View Source Repository