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

Install

$ openclaw skills install @enzoricciulli/adaptive-reasoning

Adaptive 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:

SignalWeightExamples
Multi-step logic+3Planning, proofs, debugging chains
Ambiguity+2Nuanced questions, trade-offs, "it depends"
Code architecture+2System design, refactoring, security review
Math/formal reasoning+2Calculations, algorithms, logic puzzles
Novel problem+1No clear pattern, requires creativity
High stakes+1Production changes, irreversible actions

Subtract:

  • Routine/repetitive task: -2
  • Clear single answer: -2
  • Simple lookup/fetch: -3

Decision Thresholds

ScoreAction
≤2Stay fast. No reasoning needed.
3-5Standard response. Light internal deliberation.
6-7Consider /reasoning on or pause to think explicitly.
≥8Activate extended thinking. Complex problem warrants it.

Activation (Automatic)

Do not ask. Just activate.

ScoreAction
≤5Respond normally. No change.
6-7Enable reasoning silently. Add 🧠 at end of response.
≥8Enable 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

Related skills

Task Status

@mightyprime1

Send short status descriptions in chat for long-running tasks. Use when you need to provide periodic updates during multi-step operations, confirm task completion, or notify of failures. Includes automated periodic monitoring that sends updates every 5 seconds, status message templates, and a helper function for consistent status reporting.

1212k

Decision Trees

@evgyur

Decision tree analysis for complex decision-making across all domains. Use when user needs to evaluate multiple options with uncertain outcomes, assess risk/reward scenarios, or structure choices systematically. Applicable to business, investment, personal decisions, operations, career choices, product strategy, and any situation requiring structured evaluation. Triggers include decision tree, should I, what if, evaluate options, compare alternatives, risk analysis.

134.9k

Proactive Tasks

@imrkhn03

Proactive goal and task management system. Use when managing goals, breaking down projects into tasks, tracking progress, or working autonomously on objectives. Enables agents to work proactively during heartbeats, message humans with updates, and make progress without waiting for prompts.

105.0k

API Gateway

@byungkyu

Connect to external services through Maton-managed API routes. Use this skill only after the user names the target app, account, and task. Start with read/list calls when possible and follow the app-specific reference before any change.

39384k

SkillScan

@tokauthai

Security gate for skills. Every new skill MUST pass SkillScan before use. Activate on any install, load, add, evaluate, or safety question about a skill. On...

40180k

Model Router

@digitaladaption

A comprehensive AI model routing system that automatically selects the optimal model for any task. Set up multiple AI providers (Anthropic, OpenAI, Gemini, Moonshot, Z.ai, GLM) with secure API key storage, then route tasks to the best model based on task type, complexity, and cost optimization. Includes interactive setup wizard, task classification, and cost-effective delegation patterns. Use when you need "use X model for this", "switch model", "optimal model", "which model should I use", or to balance quality vs cost across multiple AI providers.

55.2k