odoo-connect
Skill2 starsChanged 2 months agoMITView on GitHub
Discover a target Odoo instance — version, edition (CE/EE) and deployment (onprem/SaaS) — before running operations, and choose the right surface (MCP vs CLI).
In this repository5 other files it gives its agents.
- odoo-crossversionSkill
- odoo-mcp-toolsSkill
- odoo-setup-cliSkill
- odoo-setup-mcpSkill
- odoo-studio-styleSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Run this first against a new instance so later operations account for its version and edition.
- Very specific: line 13
Call odoo_version. It returns:
- Distinctive: line 47
CLI fallback: when the MCP server can't run, or for shell/batch scripts.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Odoo — connection & environment discovery
Run this first against a new instance so later operations account for its version and edition.
1. Identify the environment (MCP)
Call odoo_version. It returns:
version(major int, 10-19)edition(community|enterprise|unknown)deployment(onprem|saas)transport(json2on Odoo saas~18.4 / 19.0+ with an API key;jsonrpc(auto), orjsonrpc/xmlrpcafter a fallback, elsewhere)transport_notice(null, or why the deprecated/xmlrpc//jsonrpcis in use on Odoo 19+ and how to switch to JSON-2; pass it on to the user)
Record these. The compat layer uses them to resolve model/field names, so you almost never need version-specific branching in your queries.
2. Sanity read
Confirm data access with a bounded read:
odoo_search_read { "model": "res.partner", "fields": ["name"], "limit": 1 }3. Explore before assuming
Each instance differs (custom x_studio_* fields, installed modules). Use
odoo_fields_get { "model": "<model>" } to discover the real schema before
building filters. odoo_list_models { "like": "<fragment>" } finds models.
4. Edition-gated models
Enterprise-only models (e.g. documents.document, sign.request,
helpdesk.ticket) raise a clear CompatError on Community instances. If you
hit one, the instance is CE — pick a Community-available alternative.
Surface choice
- MCP server (primary): full tool set + compat layer + export. Default.
- CLI fallback: when the MCP server can't run, or for shell/batch scripts.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

