Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/ahmed-lakosha/odoo-plugins/create-themegit clone --depth 1 https://github.com/ahmed-lakosha/odoo-pluginsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/ahmed-lakosha/odoo-plugins/create-theme)<a href="https://agentmods.dev/commands/ahmed-lakosha/odoo-plugins/create-theme"><img src="https://agentmods.dev/badge/commands/ahmed-lakosha/odoo-plugins/create-theme.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00014 | $0.00575 |
| Opus 5 | $0.00007 | $0.00287 |
| Sonnet 5 | $0.00003 | $0.00115 |
| Haiku 4.5 | $0.00001 | $0.00057 |
Grade A, and why
create-theme scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
/create-theme
Generate a complete, installable Odoo theme module.
Parse Arguments
From $ARGUMENTS, extract:
theme_name— module name (auto-prefixed withtheme_if needed)project_path— target directory underprojects/--figma <url>— Figma design URL for extraction--version=N— Odoo version (14-19, default: auto-detect)--colors="..."— comma-separated hex colors (o-color-1 through o-color-5)--font="..."— Google Font name
If arguments are missing, prompt the user interactively.
Pipeline
Phase 1: Design Extraction
- Figma mode: Open Figma via MCP, navigate to PAGES (not components), extract colors + fonts + sizes
- Manual mode: Use provided
--colorsand--fontvalues - Auto-derive: If only 2 colors found, derive o-color-3/4/5 automatically
Phase 2: Color & Typography Mapping
- Map colors to o-color-1 through o-color-5 (semantic system)
- Calculate typography multipliers (base = 16px, H6 always 16px)
Phase 3: Theme Generation
- Scaffold complete module structure (see theme-create skill for full structure)
- Generate
primary_variables.scsswith$o-website-values-palettes - Generate
theme.utilsmodel with_theme_xxx_post_copy() - Generate page templates, menu, assets
Phase 4: Installation & Testing
- Update module list → Install theme → Auto-fix errors (up to 3 retries)
- Run testing checklist
Quick Examples
# Figma mode
/create-theme --figma https://www.figma.com/file/abc123/MyDesign
# Full arguments
/create-theme my_theme projects/client --figma <url> --version=17
# Manual mode
/create-theme modern_corp projects/client --colors="#207AB7,#FB9F54,#F6F4F0,#FFFFFF,#191A19" --font="Inter"
Deep Reference
For complete file templates, SCSS variable details, and page creation patterns, the theme-create and theme-scss skills are automatically loaded alongside this command.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 62 lines · 14 tokens per session scan A 11f727a6703d
create-theme is a command published in the GitHub repository ahmed-lakosha/odoo-plugins (74 stars, last pushed 5mo ago), licensed MIT. It adds 14 tokens to every session and 575 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
ui-flow-review
Review menus, HUD, navigation, and player flow from a UX perspective.
template-ui
Design a Sent template-builder interface.
responsive-design-specialist
Use when a layout breaks between sizes. Arbitrary breakpoints, type that does not scale, images that blow out the grid, or a desktop design retrofitted onto mobile.
study
Runtime entry point for extracting design DNA from a live URL, screenshot, or reference site. Part of the Discovery lifecycle phase.
4-generate
Run Stage 4 of the design system skill generation pipeline: parallel skill file generation.
review
執行 Figma vs 網頁的視覺比對審查,產出像素級 diff 報告和 AI 視覺判斷。.