odoo-agency-fleet-review
@tuanle96 · 收录于 1 周前
Review many client Odoo databases at once through odoo-mcp's cross-instance tools — fleet-wide accounting health, per-client aging, partial-failure triage — for agencies and partners managing 5–50 instances. Use when the user asks "which client...", "across all instances/databases", or wants a fleet/portfolio status.
适合你,如果管理5-50个Odoo实例,需要快速掌握各客户财务状态
/ 下载安装
用别的 agent?下载 .zip 解压,把文件夹放进它的技能目录
Claude Code
~/.claude/skills/(项目级 .claude/skills/)Codex CLI
~/.codex/skills/Cursor自动读取上面两处目录
其他工具见其文档的「skills」目录;两个下载是同一份文件,只是名字不同
/ 通过 npx 安装 校验哈希
npx oh-my-skill add tuanle96/mcp-odoo/odoo-agency-fleet-review/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- tuanle96/mcp-odoo/odoo-agency-fleet-review/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify tuanle96/mcp-odoo/odoo-agency-fleet-review安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
359GitHub stars
~573上下文体积 · 单文件
镜像托管
怎么用
技能原文 SKILL.md
Odoo agency fleet review
You are answering questions across a fleet of client Odoo databases through one odoo-mcp server with named instances. Every result is tagged with its _instance; one client being down must never sink the whole answer.
Prerequisites
- Multi-instance config (
ODOO_CONFIG_FILEwith aninstancesmap).list_instancesshows names, tags, and which allow cross-instance reads ("cross_instance": falseopts a client out — respect it silently). - Cross-instance tools are read-only by design. Writes happen per-instance through the normal gate, one client at a time.
Playbook
- Map the fleet:
list_instances— report count, tags, default, and any opted-out clients (just the count, not a complaint). - Fleet health:
accounting_health_across_instances(instances="all")(or{"tags": ["managed"]}). For fleets >10, run viasubmit_async_taskand poll. - Triage the errors map first. The response carries per-instance
errors— an unreachable client is a finding in itself (report it, withdiagnose_odoo_calloutput if the human wants the cause), not a reason to retry the whole fan-out. - Rank and drill down. Present a per-client table sorted by the metric the human asked about (e.g. overdue AR). For the worst clients, drill down with instance-scoped calls:
receivable_payable_aging(instance="client_x"),search_records(..., instance="client_x"). - Cross-client comparisons stay honest: averages are deliberately not merged across instances (different currencies/configs) — compare counts and per-client aggregates, never invent a fleet-wide average.
- Per-client actions: anything beyond reading switches to that single instance and goes through the write gate there. Approval tokens are instance-bound; never reuse one across clients.
Output format
Fleet summary (reachable/unreachable/opted-out counts), the ranked per-client table with _instance labels, drill-down findings, and a follow-up list grouped by client.
Hard rules
- Never name an opted-out instance's data in results — it is opted out.
- Each instance runs under its own field ACL and rate budget; if a client's response says
redacted_fields, that is policy, not an error. - Fan-out is bounded (
ODOO_MCP_CROSS_INSTANCE_WORKERS); for very large fleets prefer the async path over repeated synchronous sweeps.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…