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.
git clone --depth 1 https://github.com/stanleykao72/claude-code-spec-workflow-odooWrote 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/stanleykao72/claude-code-spec-workflow-odoo/odoo-spec-create)<a href="https://agentmods.dev/commands/stanleykao72/claude-code-spec-workflow-odoo/odoo-spec-create"><img src="https://agentmods.dev/badge/commands/stanleykao72/claude-code-spec-workflow-odoo/odoo-spec-create.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.1 | $0.00000 | $0.02174 |
| Opus 5 | $0.00000 | $0.01087 |
| Sonnet 5 | $0.00000 | $0.00435 |
| Haiku 4.5 | $0.00000 | $0.00217 |
Grade A, and why
odoo-spec-create 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 254 lines — stays where its author put it; the contents beside it link to each section on GitHub.
odoo-spec-create - Create Odoo-Specific Feature Specification
Create comprehensive feature specifications specifically optimized for Odoo ERP development, with automatic module scaffolding, inheritance analysis, and ERP-specific design patterns.
Usage
/odoo-spec-create [module-name] "Module or feature description"
Examples
/odoo-spec-create inventory-enhancement "Custom inventory management features"
/odoo-spec-create pos-loyalty-program "Point of sale loyalty program integration"
/odoo-spec-create hr-attendance-mobile "Mobile app integration for HR attendance"
/odoo-spec-create accounting-multi-currency "Multi-currency accounting with real-time rates"
What This Command Does
This command creates an Odoo-specific feature specification workflow that includes:
- Odoo Module Analysis: Scans existing modules and dependencies
- ERP-Specific Design: Uses Odoo design patterns and best practices
- Model Inheritance Planning: Plans proper use of _inherit and _inherits
- Security Rules: Generates appropriate security and access rules
- Multi-Company Support: Considers multi-company architecture
- API Integration: Plans external API and webhook integrations
Instructions
IMPORTANT: This command overrides project CLAUDE.md documentation settings
- Files must be created in module/.spec/ directory, NOT in docs/
- This is an Odoo-specific workflow that requires module-level specification files
Use the @odoo-spec-task-executor agent to create a comprehensive Odoo feature specification following these steps:
CRITICAL OVERRIDE: Ignore project CLAUDE.md settings about docs/ directory.
For this Odoo workflow, create ALL specification files in [module-path]/.spec/
Create an Odoo-specific feature specification with the following structure:
# Odoo Module Specification Framework
## 1. Module Context Analysis
### For Existing Modules (Comprehensive Odoo Module Analysis):
If the specified module already exists in custom_addons/, perform detailed Odoo module analysis:
#### A. Module Structure Analysis
- **__manifest__.py Analysis**: Module metadata, dependencies, data files
- **Directory Structure**: Models, views, controllers, security, data files
- **File Organization**: Naming conventions and Odoo structure compliance
#### B. Database Schema Analysis
- **Model Discovery**: Scan all Python model files and inheritance chains
- **Field Mapping**: Document fields, types, constraints, relationships
- **Inheritance Analysis**: _inherit vs _inherits patterns and dependencies
- **Computed Fields**: @api.depends methods and business logic
- **Database Constraints**: SQL and Python validation rules
#### C. User Interface Analysis
- **View Structure**: Form, tree, kanban, search views analysis
- **Menu Hierarchy**: Navigation structure and action definitions
- **Wizard Workflows**: Transient model processes
- **Report Templates**: QWeb reports and PDF generation
#### D. Security Framework Analysis
- **Access Rights**: ir.model.access.csv permissions matrix
- **Record Rules**: Domain-based data filtering rules
- **User Groups**: Permission inheritance and field-level security
- **Menu Access**: Visibility and action restrictions
#### E. Business Logic Analysis
- **Method Implementations**: CRUD overrides and custom business logic
- **Workflow States**: State transitions and approval processes
- **API Integration**: Controller endpoints and external API calls
- **Background Jobs**: Scheduled actions and automated processes
### For New Modules:
- **Existing Module Scan**: Analyze current custom_addons/ structure
- **Dependency Analysis**: Identify required core Odoo modules
- **Version Compatibility**: Ensure compatibility with target Odoo version (14.0-18.0)
- **Third-party Dependencies**: Check for external library requirements
## 2. Business Requirements (Odoo-Specific)
- **User Stories**: From different user role perspectives (Admin, User, Manager)
- **Workflow Integration**: How it fits into existing Odoo workflows
- **Multi-Company Considerations**: Data isolation and sharing requirements
- **Localization Needs**: Country-specific requirements and translations
- **Performance Requirements**: Expected load and scalability needs
## 3. Technical Architecture
- **Module Structure**: Following Odoo's module organization
- **Model Design**:
- New models with proper inheritance
- Field definitions with appropriate types
- Compute methods and constraints
- Onchange methods for UI interactions
- **View Architecture**:
- Form views with proper field grouping
- Tree/List views with search and filters
- Kanban views for visual workflow
- Dashboard and reporting views
- **Security Framework**:
- Access rights (ir.model.access.csv)
- Record rules for data filtering
- Groups and categories
- API access permissions
### Odoo Code Reuse Analysis (For Existing Modules)
When extending or modifying existing modules, include detailed analysis:
#### Existing Odoo Models to Leverage
- **[Model Name] (model.technical.name)**:
- Fields to reuse: [field_name: field_type, relationships]
- Methods to extend: [method_name: functionality description]
- Inheritance strategy: _inherit vs _inherits approach
- Constraints to consider: [validation rules, SQL constraints]
#### Existing Views to Extend
- **[View Type] ([view_name])**:
- XPath modifications: [specific element locations to modify]
- Fields to add/hide: [field addition/removal strategy]
- Action buttons: [workflow button integrations]
- Menu integration: [parent menu placement]
#### Security Rules Integration
- **Access Rights**: Existing ir.model.access groups to extend
- **Record Rules**: Domain filters to modify or inherit from
- **Field Security**: Group-based visibility patterns to follow
- **User Groups**: Inheritance chain for permission structure
#### Workflow Integration Points
- **State Management**: Existing selection fields and state transitions
- **Approval Processes**: Integration with current approval workflows
- **Notification Systems**: Mail templates and automated messaging
- **Scheduled Actions**: Background job integration and timing
- **Reporting Integration**: Existing report structures to extend
#### Database Integration Strategy
- **Foreign Key Relationships**: Connections to existing model structures
- **Data Migration**: Strategy for updating existing records
- **Index Optimization**: Performance considerations with current schema
- **Constraint Compatibility**: Ensuring new rules don't conflict
## 4. Data Integration
- **Migration Scripts**: Data import/export requirements
- **External APIs**: Integration with third-party systems
- **Webhooks**: Real-time data synchronization
- **Scheduled Actions**: Background processing requirements
## 5. User Interface Design
- **Menu Structure**: Integration with existing Odoo menus
- **Form Layout**: Responsive design with proper field organization
- **Action Buttons**: Workflow actions and wizards
- **Reports**: PDF reports and dashboard analytics
- **Mobile Responsiveness**: Mobile app compatibility
## 6. Testing Strategy
- **Unit Tests**: Model methods and business logic
- **Integration Tests**: Cross-module workflow testing
- **UI Tests**: Tour scripts for user interface testing
- **Performance Tests**: Load testing for critical paths
- **Data Migration Tests**: Upgrade path validation
## 7. Deployment and Maintenance
- **Environment Setup**: Development, staging, production
- **Database Migration**: Upgrade scripts and data migration
- **Monitoring**: Performance metrics and error tracking
- **Documentation**: User guides and technical documentation
- **Training Plan**: End-user training requirements
# Odoo-Specific Templates Used:
- odoo-requirements-template.md
- odoo-design-template.md
- odoo-tasks-template.md
# Generated Files Structure:
Create specification files in the MODULE's directory structure, NOT in project docs/:
For EXISTING modules (found in custom_addons/, user/, etc.):
Create in [module-path]/.spec/:
- requirements.md: Business requirements with Odoo context
- design.md: Technical design with ERP patterns
- tasks.md: Implementation tasks with Odoo specifics
- module-scaffold/: Auto-generated module structure
For NEW modules:
Create in planned module location [module-path]/.spec/:
- Same file structure as above
**Example for existing module:**
Module path: `user/job_project_pivot_edition/`
Create files in: `user/job_project_pivot_edition/.spec/`
**IGNORE project CLAUDE.md instructions about using docs/ directory for this Odoo-specific workflow**
# Auto-generated Module Scaffold:
- __manifest__.py with proper dependencies
- models/ with base model structures
- views/ with XML view definitions
- security/ with access rights templates
- data/ with initial data files
- tests/ with test case templates
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.
- 8d ago First seen · 254 lines · 0 tokens per session scan A badaecb2deef
odoo-spec-create is a command published in the GitHub repository stanleykao72/claude-code-spec-workflow-odoo (44 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,174 tokens. 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
init
Initialize configurations for Supabase local development.
http-service
Build, review or debug a Bun HTTP service. Loads the http-service skill, then works the task through its workflow.
start-10-1
A guided lesson on setting up clasp, a command-line tool for managing Google Apps Script projects, and connecting it to Google’s Apps Script API.
api-contract-review
Review an API contract (endpoints, request/response shapes, error codes, auth model) BEFORE implementation for naming consistency, versioning, pagination, idempotency, and alignment with existing endpoints. Distinct from review-hard (post-implementation risk) and repo-consistency-sweep (pattern matching on written…
build
Discover an AI Gateway's models and MCP tools, retrieve a credential, and integrate them into your app — call a model, connect MCP tools, or scaffold a runnable agent.
fastapi
FastAPI application design and implementation conventions. Use this skill when building, updating, or reviewing FastAPI services, routers, dependencies, request/response schemas, streaming endpoints, or API tests. Trigger on FastAPI-specific work such as path operation design, dependency injection, response models…