Skip to content
Agentmart
Submit a tool

odoo-harden

Harden the whole Odoo project before go-live - full automated audit and remediation of all modules

Skill by opencode

IndexedMIT
Write a review

Chalk Labs

Need help deploying odoo-harden?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/sozialinfo-odoo-harden

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Harden the whole Odoo project before go-live - full automated audit and remediation of all modules

Use cases: security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/odoo-harden

What's inside

Skill name
odoo-harden
Description
Harden the whole Odoo project before go-live - full automated audit and remediation of all modules
License
MIT
Metadata
author: opencode · version: 1.0
Instructions
267 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network
  • Instructions read files in your home folder (~/.ssh, ~/.aws…)

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Odoo Harden

Run a zero-tolerance hardening pass on the **entire project** before go-live.

This skill:
1. Detects project context (version, edition, all modules in `addons/`)
2. Creates a `project-hardening` change using the `harden-driven` openspec schema
3. Generates `audit.md` — full automated scan of every file in `addons/`
4. Generates `harden-tasks.md` — remediation checklist for every finding
5. Executes all tasks autonomously via `openspec-apply-change`
6. Runs the mandatory infrastructure sequence (rebuild, tests, translations, user setup, smoke)
7. Reports completion to the user

**Scope:** The entire `addons/` directory — not any specific change.
**Zero tolerance:** Nothing is pre-existing. Every finding gets fixed.
**No pauses:** Run to completion, then list any unresolvable issues at the end.

---

## Before You Begin

Read the full hardening reference:

```
~/.config/opencode/odoo/reference-phase2.md
```

This contains all 10 audit categories, workflows, and the completion report template.

---

## Workflow

### Step 1: Detect Project Context

```bash
# Odoo version
grep "image: odoo" docker-compose.yml | grep -oE '[0-9]+\.[0-9]+'

# Edition (CE or EE)
grep -q "enterprise" docker-compose.yml && echo "EE" || echo "CE"

# Container name
grep "container_name:" docker-compose.override.yml 2>/dev/null | awk '{print $2}' || \
grep "container_name:" docker-compose.yml | awk '{print $2}'

# Database name (always read from odoo.conf)
grep "^db_name" odoo.conf | awk -F' = ' '{print $2}'

# All modules to harden
ls addons/

# Shared source path
ls ~/shared/odoo-src/<version>/
```

Announce detected context before proceeding.

### Step 2: Create the Hardening Change

```bash
openspec new change "project-hardening" --schema harden-driven
```

If a `project-hardening` change already exists (interrupted previous run), ask the
user whether to resume it or start fresh.

### Step 3: Generate Artifacts (Propose Phase)

Load and execute the propose skill:

```
skill({ name: "openspec-propose" })
```

This will:
- Generate `audit.md`: the agent reads every file in `addons/` and records
  all findings across the 10 categories from `reference-phase2.md`
- Generate `harden-tasks.md`: one task per finding plus the mandatory
  infrastructure section

**Audit stance:** Read EVERY file. No shortcuts. No assumptions.
The shared Odoo source at `~/shared/odoo-src/<version>/` must be consulted
for any Category 10 (Standard Pattern Compliance) findings before flagging them.

Reuse the house-rule and security skills instead of re-deriving rules per finding:

```
skill({ name: "odoo-review" })     # guidelines + security pass over the changed files
skill({ name: "odoo-security" })   # focused audit: access, sudo, SQL, RPC, XSS
skill({ name: "odoo-guidelines" }) # addon house rules behind the audit categories
```

### Step 4: Execute All Tasks (Apply Phase)

Load and execute the apply skill:

```
skill({ name: "openspec-apply-change" })
```

Work through every task in `harden-tasks.md`:

- Fix everything autonomously
- Do not pause to ask the user about any finding
- For `cr.commit()` findings: read context and comments carefully;
  never blindly remove; add a comment if justified but undocumented
- For standard pattern replacements: read the actual source in
  `~/shared/odoo-src/<version>/` before refactoring; only replace if the
  standard API genuinely covers the use case
- For OCA dep additions: verify the module exists in `~/shared/odoo-src/<version>/oca/`
  before adding it to `depends`
- For method length violations: extract to private methods, preserve all behavior

**After all non-infrastructure tasks are complete**, execute the mandatory
infrastructure sequence in this order:

#### 5a. Version Bump
Increment patch version in every modified `__manifest__.py`.

From sozialinfo/opencode, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Oct 8, 2026 (23 days ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from opencode

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get odoo-harden running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying odoo-harden?

CallGet help
Cite this page

odoo-harden skill. Agent Mart. https://agentmart.dev/skills/sozialinfo-odoo-harden (last updated 2026-10-24)