Five new primitives sourced from last week of r/openclaw + r/ClaudeAI + Twitter bookmark signals: - configs/glm-5.1, configs/minimax-m2.7, configs/gpt-5.4: drop-in migration bundles for the post-Claude-ban exodus. Each has README + working SOUL.md + .env.example. - configs/advisor-hybrid: Opus-advises / cheap-executor reference implementation of Anthropic's advisor pattern adapted for OpenClaw. - memory-wiki/: Karpathy-style pre-compiled agent memory starter with two role templates (solo-founder, engineer) and an interactive bootstrap.sh. - TROUBLESHOOTING.md: consolidated runbook covering 2026.4.7 Telegram break, 2026.4.8 daily-reset regression, Claude cache TTL bug, heartbeat failure modes, and a bot-dead diagnosis tree. Every entry cites a source. - skills/claude/: five real Claude Code skills (git-commit-writer, openclaw-debugger, model-cost-compare, excalidraw-architecture, cost-optimizer) replacing the placeholder section. - README.md: wired new sections (Model Configs, Memory Wiki, Troubleshooting) into the TOC.
GPT-5.4 Agent Configs
Drop-in OpenClaw configs for OpenAI GPT-5.4 (Codex lineage). If you are migrating from Claude Sonnet 4.6, this is the bundle that needs the most prompt surgery — but once it's dialed in, it's a strong daily driver.
"GPT-5.4 sucks in OpenClaw" — mostly a config problem
If you've been reading r/openclaw this week, you've seen the "GPT-5.4 is unusable" posts. Almost all of them turn out to be config issues, not model issues. Two settings in particular:
thinking=high+fastmode=trueis the sweet spot. — @Saboo_Shubham_ on Twitter
That's the combo most of the "actually it's fine now" follow-up posts converge on. This bundle ships those defaults.
Quick Start
-
Make sure you have an OpenAI API key with GPT-5.4 access (it's gated on usage tier as of April 2026).
-
Register the provider:
openclaw provider add gpt \
--api-key $OPENAI_API_KEY \
--base-url https://api.openai.com/v1
- Copy the agent bundle:
cp configs/gpt-5.4/SOUL.md ~/.openclaw/agents/coding-assistant/SOUL.md
- Run with the recommended flags:
openclaw agent \
--agent coding-assistant \
--thinking high \
--fastmode true \
--message "Add error handling to this fetch call"
You can also set these permanently in ~/.openclaw/config.yaml:
providers:
gpt:
defaults:
thinking: high
fastmode: true
Model IDs
| Model ID | Notes |
|---|---|
gpt-5.4 |
Default. Use with thinking=high. |
gpt-5.4-mini |
Cheaper, faster. thinking=medium is usually enough. |
gpt-5.4-codex |
Codex-tuned variant. Better on raw code, worse on reasoning chains. |
Cost Comparison (April 2026)
| Model | Input | Output |
|---|---|---|
| Claude Sonnet 4.6 | $3 | $15 |
| GPT-5.4 | $2.50 | $12 |
| GPT-5.4-mini | $0.50 | $2 |
| GPT-5.4-codex | $2 | $10 |
With thinking=high, expect output-token usage to be ~1.5-2x higher than a Sonnet session on the same task (the reasoning tokens are billed). Even so, it tends to come out cheaper than Sonnet overall.
Transition Lessons From Claude Sonnet
This is the section the "Transition from Claude Sonnet to Codex-GPT5.4" Reddit thread actually needed. Concrete changes:
-
Your role prompt is too long. Sonnet loves a rich
Identity+Personalitysection. GPT-5.4 withthinking=hightreats a long preamble as constraints to reason about and burns reasoning tokens on it. Cut the SOUL.md preamble in half. The file in this bundle is ~20 lines on purpose. -
Drop explicit chain-of-thought requests. If your Sonnet prompt says "think step by step" or "explain your reasoning before answering," remove it. GPT-5.4's
thinking=highmode already does this internally; asking for it again produces a weird double-think where the visible answer is worse. -
Tool descriptions need to be tighter. Sonnet infers tool intent from loose descriptions; GPT-5.4 will misuse a tool whose description is vague. Give every tool a one-sentence "use this when X" line.
-
Turn OFF
fastmodefor hard reasoning tasks. The Twitter sweet-spot quote is for coding. If you are doing architecture design, long analysis, or writing,fastmode=false + thinking=highis better. Coding:fastmode=true. -
Stop telling it to "be concise." Sonnet takes this as a style hint. GPT-5.4 takes it as a hard limit and will truncate mid-function. Say "return complete code" instead.
Gotchas
- Reasoning tokens are invisible but billed. Your output line count will look small while your bill looks big. That's expected.
- Context poisoning is worse. If GPT-5.4 makes a wrong assumption early in a long session, it will hold onto it harder than Claude does. Start a fresh conversation more often.
- Tool-call streaming is flaky. Some OpenClaw TUI versions render GPT-5.4 tool calls with visible latency spikes. Update to 2026.4.11+.
Related Threads
- r/openclaw "Lessons learned: Transition from Claude Sonnet to Codex-GPT5.4"
- Twitter @Saboo_Shubham_ on the
thinking=high + fastmode=truecombo
Files in This Bundle
SOUL.md— lean coding-assistant tuned for GPT-5.4's reasoning budget.env.example— OpenAI API key