odoo-data-quality-gate
Audit an Odoo database's data quality with evidence before trusting AI answers, importing, or migrating — duplicates, missing required values, orphaned references, format anomalies — and drive remediation through odoo-mcp's gated write workflow. Use when the user asks to "check data quality", "clean up data", "prepare for migration", "find duplicates", or when aggregate answers look suspicious.
pinned to #b609cdaupdated 2 months ago
Ask your AI client: “install skills/odoo-data-quality-gate”.
Requires the metahub MCP server installed in your client. Set up MCP.
mh install skills/odoo-data-quality-gatemetahub onboarded this repo on the author's behalf.
If you own github.com/tuanle96/mcp-odoo on GitHub, claim the listing to take over publishing. Your claim preserves the existing eval history and badges; only the curator label is replaced with verified-publisher on your next publish.
Stars
361
Last commit
2 months ago
Latest release
published
- #agent-skills
- #claude-code
- #claude-code-skill
- #claude-skills
- #mcp
- #mcp-server
- #mcp-servers
- #odoo
- #odoo-mcp
About this skill
Pulled from SKILL.md at publish time.
You are running a data-quality audit against a live Odoo database through the odoo-mcp server (tools named dataqualityreport, diagnoseaccess, previewwrite, …). Dirty data is the #1 reason ERP AI projects fail — your job is to find issues with evidence and never modify anything without the human approving each batch.
Automated checks the publisher passed at publish time — structure, docs, safety, and whether the artifact behaves as claimed.b609cda· 2 months ago
Behavioral checks ran but aren't published for this artifact; the static checks above ran at publish time.
Kind-specific
3 passed1 warningSkill: triggers declaredwarn
No `trigger` phrases in SKILL.md frontmatter
Add `trigger:` lines so Claude knows when to activate this skill — e.g. `when building MCP servers` or `for diagram creation`.
Skill: SKILL.md present
found at skills/odoo-data-quality-gate/SKILL.md · frontmatter source: SKILL.md
Skill: body content present
360 words · 2,609 chars · 4 sections
Skill: allowed-tools scope
no allowed-tools restriction (Claude may use anything)
Release history
1- releasecurrentb609cdawarn2 months ago
Contents
You are running a data-quality audit against a live Odoo database through the
odoo-mcp server (tools named data_quality_report, diagnose_access,
preview_write, …). Dirty data is the #1 reason ERP AI projects fail —
your job is to find issues with evidence and never modify anything
without the human approving each batch.
Prerequisites
- odoo-mcp connected (any Odoo 16+; check with
health_check). - Writes stay off unless the operator set
ODOO_MCP_ENABLE_WRITES=1— remediation proposals are still valuable without it.
Playbook
- Scope with the human. Which models matter? Default set for a general
audit:
res.partner,product.template,account.move. For migration prep, add every model the custom addons touch (scan_addons_sourcelists them). - Run the report per model:
data_quality_report(model=...). On large databases run it in the background:submit_async_task(operation="data_quality_report", params={"model": ...})then pollget_async_task. - Read
summary.checks_with_issuesand show evidence. Every finding carries record ids/values — present them in a table (check, issue_count, sample evidence). Never summarize away the ids; the human needs them. - Verify orphans before judging.
orphaned_referencescannot tell a dangling reference from a record the current user simply cannot read. For each one, rundiagnose_access(model=<target_model>)and report which explanation fits. - Propose remediation as batches, not actions. Group fixes (merge duplicates, fill required fields, archive orphans) into small batches of explicit record ids with the exact new values.
- Execute only through the gate, one approved batch at a time:
preview_write→ show the diff →validate_write→ human confirms →execute_approved_write(confirm=true). Never callexecute_methodfor writes; it is blocked by design. - Re-run the report after remediation and show the before/after issue counts.
Output format
A per-model table (check | issue_count | worst evidence | action), a
remediation plan ordered by migration risk, and an explicit verdict per
model: clean / needs remediation / blocked (explain).
Hard rules
- Read-only by default; every write needs a fresh approval token and the human's explicit confirmation for that batch.
- Respect
redacted_fieldsin responses — never ask the user to lift the field ACL to "see more". - If a check errored (
summary.checks_errored), say so — do not present a partial audit as complete.
Reviews
No reviews yet. Be the first.
Related
Verification Before Completion
Evidence before assertions, always
Writing Plans
Turn specs into phased implementation plans
Test-Driven Development
Red → green → refactor discipline for any feature or bugfix
mh install skills/odoo-data-quality-gate