openclaw - 💡(How to fix) Fix [Bug]: cannot call a second skill in one session [7 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#48873Fetched 2026-04-08 00:51:38
View on GitHub
Comments
7
Participants
3
Timeline
9
Reactions
0
Author
Timeline (top)
commented ×7labeled ×2
  1. open a session, I sent a message.
  2. one skill was called.
  3. I sent another message in this session and expected another skill will be called, but a message "tool xxx was not found" showed in this session.
  4. I am pretty sure the skills are configured correctly.

Root Cause

  1. open a session, I sent a message.
  2. one skill was called.
  3. I sent another message in this session and expected another skill will be called, but a message "tool xxx was not found" showed in this session.
  4. I am pretty sure the skills are configured correctly.
RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Summary

  1. open a session, I sent a message.
  2. one skill was called.
  3. I sent another message in this session and expected another skill will be called, but a message "tool xxx was not found" showed in this session.
  4. I am pretty sure the skills are configured correctly.

Steps to reproduce

  1. open a session, user sent a message.
  2. one skill was called.
  3. I sent another message in this session and expected another skill will be called, but a message "tool xxx was not found" showed in this session.
  4. I am pretty sure the skills are configured correctly.

Expected behavior

two skilled are called based on messages sent to this session.

Actual behavior

  1. open a session, user sent a message.
  2. one skill was called.
  3. I sent another message in this session and expected another skill will be called, but a message "tool xxx was not found" showed in this session.
  4. I am pretty sure the skills are configured correctly.

OpenClaw version

2026.3.13

Operating system

windows 11

Install method

npm

Model

deepseek

Provider / routing chain

gateway

Config file / key location

No response

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

Fix Plan

The issue seems to be related to the skill configuration or the routing chain. To fix this, we need to ensure that the skills are properly configured and the routing chain is correctly set up.

Here are the steps to fix the issue:

  • Check the skill configuration to ensure that the skills are correctly defined and enabled.
  • Verify that the routing chain is correctly set up to call the expected skills based on the messages sent to the session.
  • Update the code to handle the case where a skill is not found, to provide a more informative error message.

Example code snippet to handle the case where a skill is not found:

try:
    # Call the skill
    skill = get_skill(skill_name)
    skill.execute()
except SkillNotFoundError:
    # Handle the case where the skill is not found
    error_message = f"Tool {skill_name} was not found. Please check the skill configuration."
    print(error_message)

In the above code, we are catching the SkillNotFoundError exception and providing a more informative error message.

Verification

To verify that the fix worked, follow these steps:

  • Open a new session and send a message to trigger the first skill.
  • Send another message to trigger the second skill.
  • Verify that both skills are called correctly and the expected output is displayed.

Extra Tips

  • Make sure to check the skill configuration and routing chain setup to ensure that they are correct.
  • Use logging to debug the issue and provide more informative error messages.
  • Consider adding a fallback mechanism to handle cases where a skill is not found, to provide a better user experience.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

two skilled are called based on messages sent to this session.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING