Xml Prompt Template
# XML Prompt Template — llm-language v4.0 (Opus 4.7 native)
This is the canonical XML structure the Producer agent must generate. Every field is documented with its purpose and expected content.
**v4.0 breaking changes vs v3.x:**
- `model="opus-4-6"` → `model="claude-opus-4-7"`
- `thinking="ultrathink"` → `effort="xhigh"` + `thinking="adaptive"` (manual `budget_tokens` rejected on 4.7)
- NEW `task-budget` attribute for agentic tasks
- NEW `<guardrails>` section (OpenAI SDK pattern)
- NEW `<memory-context>` section (auto-memory integration)
- Prompt rewriter enforces: no `temperature/top_p/top_k`, literal instructions, positive framing, explicit subagent directives
## Templatewhen to use it
Community prompt sourced from the open-source GitHub repo Silence-view/llm-language (MIT). A "Xml Prompt Template" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
Silence-view/llm-language · MIT
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar