Adaptive Reasoning
Automatically assess task complexity and adjust reasoning level. Triggers on every user message to evaluate whether extended thinking (reasoning mode) would improve response qualitβ¦
enzoricciulli
@enzoricciulli
What This Skill Does
Pre-processes every user message to score its complexity on a 0-10 scale using weighted signals like multi-step logic, ambiguity, and code architecture. Based on the score, it automatically activates or suppresses extended reasoning mode before responding, appending visual indicators (π§ or π§ π₯) when deep thinking is used.
Replaces manually toggling reasoning modes or relying on a single default response depth by dynamically adjusting cognitive effort to match each query's true complexity.
When to Use It
- Answer a multi-step planning or debugging question that requires chained logic
- Respond to a nuanced, ambiguous query where trade-offs or 'it depends' reasoning is needed
- Analyze a code architecture or system design problem with multiple constraints
- Solve a math, algorithm, or formal reasoning problem that benefits from step-by-step thinking
- Handle a high-stakes production change or irreversible action where thoroughness is critical
- Quickly answer a simple lookup or routine task without wasting tokens on deep reasoning
Install
$ openclaw skills install @enzoricciulli/adaptive-reasoningAdaptive Reasoning
Self-assess complexity before responding. Adjust reasoning level dynamically.
Quick Assessment (run mentally on every request)
Score the request 0-10 on these dimensions:
| Signal | Weight | Examples |
|---|---|---|
| Multi-step logic | +3 | Planning, proofs, debugging chains |
| Ambiguity | +2 | Nuanced questions, trade-offs, "it depends" |
| Code architecture | +2 | System design, refactoring, security review |
| Math/formal reasoning | +2 | Calculations, algorithms, logic puzzles |
| Novel problem | +1 | No clear pattern, requires creativity |
| High stakes | +1 | Production changes, irreversible actions |
Subtract:
- Routine/repetitive task: -2
- Clear single answer: -2
- Simple lookup/fetch: -3
Decision Thresholds
| Score | Action |
|---|---|
| β€2 | Stay fast. No reasoning needed. |
| 3-5 | Standard response. Light internal deliberation. |
| 6-7 | Consider /reasoning on or pause to think explicitly. |
| β₯8 | Activate extended thinking. Complex problem warrants it. |
Activation (Automatic)
Do not ask. Just activate.
| Score | Action |
|---|---|
| β€5 | Respond normally. No change. |
| 6-7 | Enable reasoning silently. Add π§ at end of response. |
| β₯8 | Enable reasoning. Add π§ π₯ at end of response. |
Visual Indicator
Always append the reasoning icon at the very end of your response:
- Score 6-7:
π§(thinking mode active) - Score β₯8:
π§ π₯(deep thinking mode) - Score β€5: No icon (fast mode)
How to Activate
Use session_status tool or /reasoning on command internally before responding:
/reasoning on
Or via tool:
{"action": "session_status", "reasoning": "on"}
After completing a complex task, optionally disable to save tokens on follow-ups:
/reasoning off
Examples
Low complexity (score: 1)
"What time is it in Tokyo?" β Simple lookup. Answer immediately. No icon.
Medium complexity (score: 4)
"Refactor this function to be more readable" β Standard response with brief explanation. No icon.
High complexity (score: 7)
"Design a caching strategy for this API with these constraints..." β Enable reasoning. Thoughtful response ends with: π§
Very high complexity (score: 9)
"Debug why this distributed system has race conditions under load" β Enable extended thinking. Deep analysis ends with: π§ π₯
Integration
This skill runs as mental preprocessing. No external tools needed.
For explicit control:
/reasoning onβ Enable extended thinking/reasoning offβ Disable (faster responses)/statusβ Check current reasoning state
When NOT to Escalate
- User explicitly wants quick answer ("just tell me", "quick", "tldr")
- Time-sensitive requests where speed matters more than depth
- Conversational/social messages (banter, greetings)
- Already in reasoning mode for this session
- User previously disabled reasoning in this conversation
Auto-Downgrade
After completing a complex task (score β₯6), if the next message is simple (score β€3):
- Silently disable reasoning to save tokens
- Resume normal fast responses
Top skills in this category
37Soul
@xnjiangOperate your 37Soul account programmatically β chat with the AI characters (hosts) you created and direct them to post, all through your agent. Use when the...
Agent Browser
@matrixyHeadless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection
PollyReach
@pollyreachPollyReach gives every AI agent a phone number and the ability to get things done over the phone β finding contacts, making calls, and completing tasks. Just...
AI Persona OS
@jeffjhunterThe complete operating system for OpenClaw 5.x agents. Built-in memory tool integration (memory_search, memory_get, DREAMS.md), Discord channel-routing fixes...
Openclaw Agent Optimize
@phenomenonerUse when: you want a structured audit -> options -> recommended plan to improve an OpenClaw workspace (cost, model routing, context discipline, delegation, r...