delegate_code
Reduce token usage by offloading mechanical codegen tasks—boilerplate, scaffolding, test stubs—to a local LLM. Give a precise spec, then verify and integrate the output.
Instructions
Delegate a self-contained, mechanical code-generation subtask to a local LLM to save frontier-model tokens. GOOD for: boilerplate, scaffolding, repetitive CRUD, test stubs, format/data transformations, bulk edits with a clear rule, Odoo models/views/manifests. NOT for: subtle logic, debugging, cross-file reasoning, or security-sensitive code (do those yourself). Provide a precise spec plus any context the worker needs; it returns ONLY the generated artifact. You, the planner, verify and integrate it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Precise specification of what to generate. Be explicit — the worker will not infer your intent. | |
| tier | No | 'quality' (default) uses the larger model; 'fast' uses a small model for trivial / high-volume tasks. | |
| context | No | Relevant existing code, conventions, type/interface definitions, or specs the worker must follow. | |
| language | No | Target language or format, e.g. 'typescript', 'python', 'odoo-xml-view'. |