← 返回 Skills 市场
cxz9909

Cxz9909 Adaptive Reasoning

作者 cxz9909 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
55
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install cxz9909-adaptive-reasoning
功能描述
Automatically assess task complexity and adjust reasoning level. Triggers on every user message to evaluate whether extended thinking (reasoning mode) would...
使用说明 (SKILL.md)

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:

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
安全使用建议
This skill is coherent and doesn't ask for secrets or install anything. Before enabling it, decide whether you want the agent to silently toggle extended reasoning (it may increase token usage and change answer style) and confirm your platform supports the referenced commands (/reasoning or session_status). If you prefer explicit control or to avoid extra token costs, don't enable silent activation or disable the skill. If the platform lacks the session_status tool, the activation steps may be nonfunctional—test behavior in a safe session first.
功能分析
Type: OpenClaw Skill Name: cxz9909-adaptive-reasoning Version: 1.0.0 The skill bundle 'adaptive-reasoning' (SKILL.md) provides a framework for an AI agent to self-assess task complexity and toggle extended thinking modes. It uses a scoring rubric and internal commands like '/reasoning on' or the 'session_status' tool to manage performance. There is no evidence of data exfiltration, malicious execution, or harmful prompt injection; the instructions are entirely focused on optimizing the agent's internal reasoning process.
能力评估
Purpose & Capability
Name and description match the actual instructions: the SKILL.md only describes heuristics for assessing complexity and when to enable reasoning. It does not request unrelated resources, credentials, or system access.
Instruction Scope
Instructions direct the agent to evaluate every user message, toggle reasoning mode, and append icons to responses. This is within the skill's stated purpose, but the SKILL.md references internal controls (session_status tool and /reasoning commands) that are not declared in the skill metadata—if those platform controls don't exist, the activation steps may silently fail or be undefined. The skill also instructs silent activation ('Do not ask. Just activate.'), which changes agent behavior without user prompts (expected for this skill, but worth being aware of).
Install Mechanism
No install spec and no code files are provided; instruction-only skills carry minimal install risk because nothing is written to disk or downloaded.
Credentials
The skill requires no environment variables, credentials, or config paths. There are no disproportionate or unexplained secret requests.
Persistence & Privilege
always is false and the skill does not request persistent system presence or modify other skills. It does, however, instruct the agent to autonomously enable reasoning mode without asking users; autonomous invocation is normal for skills but this silent activation can increase token usage and change response behavior without explicit user consent.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cxz9909-adaptive-reasoning
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cxz9909-adaptive-reasoning 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of adaptive-reasoning skill. - Automatically evaluates each user message for complexity and adjusts reasoning depth before responding. - Assigns a complexity score based on factors like multi-step logic, ambiguity, code architecture, and more. - Activates advanced reasoning modes for complex problems and indicates activation with 🧠 (thinking) or 🧠🔥 (deep thinking) icons. - Includes clear guidelines for auto-activation, visual indicators, and when not to escalate reasoning. - Supports explicit control via commands to enable or disable extended reasoning.
元数据
Slug cxz9909-adaptive-reasoning
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Cxz9909 Adaptive Reasoning 是什么?

Automatically assess task complexity and adjust reasoning level. Triggers on every user message to evaluate whether extended thinking (reasoning mode) would... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 55 次。

如何安装 Cxz9909 Adaptive Reasoning?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install cxz9909-adaptive-reasoning」即可一键安装,无需额外配置。

Cxz9909 Adaptive Reasoning 是免费的吗?

是的,Cxz9909 Adaptive Reasoning 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Cxz9909 Adaptive Reasoning 支持哪些平台?

Cxz9909 Adaptive Reasoning 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Cxz9909 Adaptive Reasoning?

由 cxz9909(@cxz9909)开发并维护,当前版本 v1.0.0。

💬 留言讨论