agentleFS
TransgeniaTransgenia/MCP-Odoo-Tools-CE-EE-and-online/skills/odoo-connect/SKILL.md

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).

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
  1. Distinctive:

    Run this first against a new instance so later operations account for its version and edition.

    line 8
  2. Very specific:

    Call odoo_version. It returns:

    line 13
  3. Distinctive:

    CLI fallback: when the MCP server can't run, or for shell/batch scripts.

    line 47

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 (json2 on Odoo saas~18.4 / 19.0+ with an API key; jsonrpc(auto), or jsonrpc / xmlrpc after a fallback, elsewhere)
  • transport_notice (null, or why the deprecated /xmlrpc//jsonrpc is 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.