Adaptive Reasoning for Openclaw

Dynamically adjust AI reasoning depth based on task complexity to balance response speed and analytical depth.

enzoricciulli
v1.0.0
Feb 8, 2026
11
14.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install adaptive-reasoning

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install adaptive-reasoning using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Adaptive Reasoning?

Adaptive Reasoning is a sophisticated pre-processing skill designed to optimize how AI agents handle diverse requests within the Openclaw Skills ecosystem. By evaluating incoming messages against specific complexity dimensions—such as multi-step logic, ambiguity, and architectural requirements—the skill determines whether to engage standard response modes or extended thinking capabilities. This ensures that high-stakes problems get the cognitive depth they require while routine tasks remain fast and cost-effective.

By implementing this skill, developers can provide a more intelligent user experience. Instead of a one-size-fits-all approach, the agent adopts a 'think-before-acting' mentality, surfacing visual indicators to signal the level of cognitive effort applied to a specific solution. This makes it a core component for anyone building high-performance agents using Openclaw Skills.

Adaptive Reasoning Use Cases

  • Debugging complex distributed systems or identifying subtle race conditions.
  • Designing multi-layered system architectures with conflicting constraints.
  • Solving formal logic puzzles, mathematical proofs, or algorithmic challenges.
  • Performing comprehensive security reviews on sensitive codebases.
  • Reducing token consumption for routine lookups, greetings, and simple tasks.

How Adaptive Reasoning Works

  1. The skill intercepts every user message as a mental pre-processing step before generating a response.
  2. It calculates a complexity score from 0 to 10 based on weighted signals like multi-step logic, ambiguity, and novelty.
  3. Based on the calculated score, the skill selects a decision threshold: Fast, Standard, Reasoning, or Deep Thinking.
  4. If the threshold meets the criteria (score 6+), it activates extended reasoning using internal commands or status tools.
  5. The agent generates the response and appends a visual indicator (🧠 or 🧠🔥) if high-level reasoning was utilized.
  6. It automatically downgrades the reasoning level for subsequent simple messages to optimize performance and save tokens.

Adaptive Reasoning Setup

To integrate Adaptive Reasoning into your agent, add the logic to your skill configuration. Since this operates as a cognitive layer, it does not require external API keys. You can interact with it using these commands:

/reasoning on # Enable extended thinking for the current session
/reasoning off # Disable reasoning to prioritize speed and save tokens
/status # Check the current reasoning state of the agent

Adaptive Reasoning Data Schema & Taxonomy

The skill utilizes a weighted scoring matrix to evaluate every interaction. Data is organized based on the following taxonomy:

Signal Weight Description
Multi-step logic +3 Planning, proofs, and debugging chains
Ambiguity +2 Nuanced questions and trade-offs
Code Architecture +2 System design and security reviews
High Stakes +1 Production changes or irreversible actions

It manages internal state through a session_status object that tracks the reasoning boolean and the current complexity threshold (Fast <=2, Standard 3-5, Reasoning 6-7, Deep Thinking >=8).

Adaptive Reasoning Advanced Features

  • Automatic token optimization via silent auto-downgrading when complexity drops.
  • Visual feedback loops using emoji indicators to inform the user of processing depth.
  • Manual overrides for power users to force specific reasoning states via CLI commands.
  • Context-aware logic that respects explicit user requests for speed or brevity.
  • Seamless integration as a pre-processing middleware for any Openclaw Skills workflow.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*