Save usage
Run on gpt-5.1-codex-mini only for safe/negligible work. Use gpt-5.3-codex when the task actually needs it. Avoid external API keys unless absolutely necessary.
CRITICAL: Classify First, Then Act
Before generating ANY response, you MUST:
- Check: does this task match ANY escalation trigger below?
- If YES → call
sessions_spawn() IMMEDIATELY. Do NOT attempt to answer yourself.
- If NO → respond directly on the current model.
When in doubt, escalate. A wrong escalation costs little. A wrong “mini” answer can waste time or cause damage.
Rule of Thumb
If anything will be executed, or the outcome matters, escalate.
When to Escalate → MUST call sessions_spawn
If the task matches ANY of the following, do NOT answer yourself.
Instead, IMMEDIATELY call:
sessions_spawn(
message: "<the full task description>",
model: "gpt-5.3-codex",
label: "<short task label>"
)
Escalation triggers (always)
- Executed output — any tool runs, code changes, patches, shell commands, infra steps
- Security / auth / secrets — threat modeling, permissions, tokens, keys, access control
- Architecture & migrations — multi-epic plans, brownfield refactors, infra+product coupling
- Integration/contract work — schema mapping, ordering, idempotency, retries, consistency
- Uncertainty remains — ambiguity after 1 pass, contradictions, missing constraints
- High-impact decisions — hard to reverse, expensive/subtle failure modes, 2+ domains affected
- Complex reasoning — long dependency chains, multi-step analysis, nontrivial trade-offs
- Structured deliverables — tables, outlines, reports/proposals, long writing, specs
Reasoning escalation (within gpt-5.3-codex)
- Default: LOW/MEDIUM
- Escalate to HIGH/EXTRA HIGH if 2+ are true:
- decision is hard to reverse
- affects 2+ domains (infra/data/security/ops/cost)
- failure modes are subtle/expensive
- requires long dependency-chain reasoning
NEVER do this on gpt-5.1-codex-mini
- NEVER output steps that will be executed (tools, code, commands) — escalate
- NEVER do security/auth/secrets — escalate
- NEVER do architecture, migrations, brownfield refactors — escalate
- NEVER do integration contracts or schema choreography — escalate
- NEVER produce structured deliverables (tables/outlines/reports/specs) — escalate
- NEVER make high-impact decisions or complex reasoning chains — escalate
If you catch yourself taking responsibility for correctness or safety, STOP and call sessions_spawn instead.
When to Stay on gpt-5.1-codex-mini
Only if safe/negligible and non-executable:
- Intent routing / triage — classify, choose agent/model/reasoning
- Summaries & extraction — key points, action items, fields, dedupe
- Reformatting — convert to markdown/YAML/JSON templates (non-executable)
- Prompt drafts — write a prompt for a stronger agent/model to run
- Simple Q&A — definitions, short explanations, short translations, unit conversions
- Casual chat — greetings, short acknowledgments
Keep mini replies concise.
Save even more: de-escalate
If a conversation was escalated to gpt-5.3-codex but the follow-up is clearly safe/negligible and non-executable, switch back to gpt-5.1-codex-mini.
Return the result directly. Do NOT mention the model switch unless the user asks.
Why the description field is so long
The Clawdbot skill system only injects the frontmatter description field
into the system prompt — the body of SKILL.md is not automatically
included. The model may optionally read the full file, but it is not
guaranteed. Because this is a behavioral skill (changing how the model
routes every message) rather than a tool skill (teaching CLI commands), the
core routing logic must live in the description so the model always sees it.
The body above serves as extended documentation: detailed trigger lists,
reasoning levels, and usage tips that the model can reference if it
reads the file.
TL;DR: description = what the model always sees. body = reference docs.
1---
2name: save-usage
3description: >-
4 Auto-detect task complexity for OpenAI oAuth models (gpt-5.1-codex-mini + gpt-5.3-codex). Route only
5 safe/negligible tasks to gpt-5.1-codex-mini. Use gpt-5.3-codex for anything executed, uncertain, or
6 high-impact. RULES: Classify first. Default model: gpt-5.3-codex. Use gpt-5.1-codex-mini ONLY for safe
7 triage/summarize/extract/reformat/dedupe/prompt-drafts/non-executable Q&A. NEVER use mini for security,
8 auth, secrets, architecture, migrations, brownfield refactors, integration contracts, schema mapping,
9 ordering/idempotency/retries, code changes, tool runs, or decisions that are hard to reverse. Reasoning:
10 start LOW for mini. For 5.3-codex use LOW/MEDIUM by default; escalate to HIGH/EXTRA HIGH when 2+ are true:
11 hard to reverse, affects 2+ domains (infra/data/security/ops/cost), subtle/expensive failure modes, long
12 dependency-chain reasoning. ESCALATE immediately to gpt-5.3-codex if any: output will be executed (tools/code),
13 ambiguity remains after 1 pass, contradictions found, or requirements are multi-constraint/structured output.
14metadata:
15 source: https://skillmd.com/skills/modbender/save-usage
16---
17
18# Save usage
19
20Run on **gpt-5.1-codex-mini** only for safe/negligible work. Use **gpt-5.3-codex** when the task actually needs it. Avoid external API keys unless absolutely necessary.
21
22## CRITICAL: Classify First, Then Act
23
24Before generating ANY response, you MUST:
25
261. Check: does this task match ANY escalation trigger below?
272. If YES → call `sessions_spawn()` IMMEDIATELY. Do NOT attempt to answer yourself.
283. If NO → respond directly on the current model.
29
30When in doubt, escalate. A wrong escalation costs little. A wrong “mini” answer can waste time or cause damage.
31
32## Rule of Thumb
33
34> If anything will be executed, or the outcome matters, escalate.
35
36## When to Escalate → MUST call sessions_spawn
37
38If the task matches ANY of the following, do NOT answer yourself.
39Instead, IMMEDIATELY call:
40
41
42
43```
44sessions_spawn(
45 message: "<the full task description>",
46 model: "gpt-5.3-codex",
47 label: "<short task label>"
48)
49```
50
51
52### Escalation triggers (always)
53
54- **Executed output** — any tool runs, code changes, patches, shell commands, infra steps
55- **Security / auth / secrets** — threat modeling, permissions, tokens, keys, access control
56- **Architecture & migrations** — multi-epic plans, brownfield refactors, infra+product coupling
57- **Integration/contract work** — schema mapping, ordering, idempotency, retries, consistency
58- **Uncertainty remains** — ambiguity after 1 pass, contradictions, missing constraints
59- **High-impact decisions** — hard to reverse, expensive/subtle failure modes, 2+ domains affected
60- **Complex reasoning** — long dependency chains, multi-step analysis, nontrivial trade-offs
61- **Structured deliverables** — tables, outlines, reports/proposals, long writing, specs
62
63### Reasoning escalation (within gpt-5.3-codex)
64
65- Default: **LOW/MEDIUM**
66- Escalate to **HIGH/EXTRA HIGH** if 2+ are true:
67 - decision is hard to reverse
68 - affects 2+ domains (infra/data/security/ops/cost)
69 - failure modes are subtle/expensive
70 - requires long dependency-chain reasoning
71
72## NEVER do this on gpt-5.1-codex-mini
73
74- NEVER output steps that will be executed (tools, code, commands) — escalate
75- NEVER do security/auth/secrets — escalate
76- NEVER do architecture, migrations, brownfield refactors — escalate
77- NEVER do integration contracts or schema choreography — escalate
78- NEVER produce structured deliverables (tables/outlines/reports/specs) — escalate
79- NEVER make high-impact decisions or complex reasoning chains — escalate
80
81If you catch yourself taking responsibility for correctness or safety, STOP and call `sessions_spawn` instead.
82
83## When to Stay on gpt-5.1-codex-mini
84
85Only if safe/negligible and non-executable:
86
87- **Intent routing / triage** — classify, choose agent/model/reasoning
88- **Summaries & extraction** — key points, action items, fields, dedupe
89- **Reformatting** — convert to markdown/YAML/JSON templates (non-executable)
90- **Prompt drafts** — write a prompt for a stronger agent/model to run
91- **Simple Q&A** — definitions, short explanations, short translations, unit conversions
92- **Casual chat** — greetings, short acknowledgments
93
94Keep mini replies concise.
95
96## Save even more: de-escalate
97
98If a conversation was escalated to gpt-5.3-codex but the follow-up is clearly safe/negligible and non-executable, switch back to gpt-5.1-codex-mini.
99
100Return the result directly. Do NOT mention the model switch unless the user asks.
101
102## Why the description field is so long
103
104The Clawdbot skill system only injects the frontmatter `description` field
105into the system prompt — the body of SKILL.md is **not** automatically
106included. The model may optionally `read` the full file, but it is not
107guaranteed. Because this is a **behavioral skill** (changing how the model
108routes every message) rather than a tool skill (teaching CLI commands), the
109core routing logic must live in the description so the model always sees it.
110
111The body above serves as extended documentation: detailed trigger lists,
112reasoning levels, and usage tips that the model can reference if it
113reads the file.
114
115**TL;DR:** `description` = what the model always sees. `body` = reference docs.
116
117---