hermes - ✅(Solved) Fix [Bug]: hermes的skills仓库和openclaw的skills仓库貌似存在污染行为 [1 pull requests, 2 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
NousResearch/hermes-agent#17345Fetched 2026-04-30 06:48:15
View on GitHub
Comments
2
Participants
3
Timeline
7
Reactions
0
Timeline (top)
labeled ×4commented ×2cross-referenced ×1

Error Message

Additional Logs / Traceback (optional)

Root Cause

Root Cause Analysis (optional)

Fix Action

Fixed

PR fix notes

PR #17376: fix(skills): isolate OpenClaw skill directories

Description (problem / solution / changelog)

Summary

  • isolate Hermes skill discovery from OpenClaw-owned skill roots by default
  • skip .openclaw skills when building the system prompt, listing/viewing skills, registering skill slash commands, and mounting skills into remote/container environments
  • keep intentional sharing available via skills.allow_openclaw_external_dirs: true or HERMES_ALLOW_OPENCLAW_SKILLS=1
  • prevent skill_view() absolute paths from bypassing the allowed skills roots
  • add regression coverage for .openclaw external dirs and mispointed HERMES_HOME

Fixes #17345 Related #13389

Testing

  • venv\Scripts\python.exe -m pytest tests\agent\test_skills_home_isolation.py tests\agent\test_external_skills.py -q
  • venv\Scripts\python.exe -m py_compile agent\skill_utils.py agent\prompt_builder.py agent\skill_commands.py tools\skills_tool.py tools\credential_files.py hermes_cli\config.py
  • git diff --check

Changed files

  • agent/prompt_builder.py (modified, +49/-40)
  • agent/skill_commands.py (modified, +6/-2)
  • agent/skill_utils.py (modified, +103/-15)
  • hermes_cli/config.py (modified, +4/-0)
  • tests/agent/test_skills_home_isolation.py (added, +132/-0)
  • tools/credential_files.py (modified, +12/-2)
  • tools/skills_tool.py (modified, +26/-4)

Code Example

报告

---
RAW_BUFFERClick to expand / collapse

Bug Description

我的mac mini上同时装了openclaw和hermes,但是我在询问hermes他的可用skills的时候,他给我列举了我的openclaw中的skills,并且可以详细看到我在openclaw中skills的详细介绍内容,但是我在运行ls ~/.hermes/skills的时候并没有这些工具,所以我怀疑是不是openclaw和hermes的skills存在污染/混合莫?好心人请帮我分析解答一下,谢谢!

Steps to Reproduce

  1. 在对话交互中输入:请列出当前环境下你的可以使用的skills
  2. 模型返回的是我的openclaw里面的skills,而不是 ~/.hermes/skills路径下的skills

Expected Behavior

我的

<img width="644" height="190" alt="Image" src="https://github.com/user-attachments/assets/1054f5ed-4742-4fa5-ba3f-2fc866c3c9ed" />

Actual Behavior

<img width="736" height="311" alt="Image" src="https://github.com/user-attachments/assets/77a93e01-836e-4567-b8d5-796be1dcae98" />

Affected Component

CLI (interactive chat)

Messaging Platform (if gateway-related)

No response

Debug Report

报告

Operating System

macOS 15.2

Python Version

No response

Hermes Version

No response

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

extent analysis

TL;DR

The issue might be resolved by checking the configuration and skill registration of both OpenCLAW and Hermes to prevent skill contamination.

Guidance

  • Verify the skill registration process for both OpenCLAW and Hermes to ensure they are not sharing the same skill directory or configuration.
  • Check the ~/.hermes/skills directory to confirm that it only contains the expected skills for Hermes.
  • Investigate the possibility of a configuration file or environment variable that might be causing the skills to be shared between OpenCLAW and Hermes.
  • Review the documentation for both OpenCLAW and Hermes to ensure that they are properly configured for separate skill management.

Notes

The issue description suggests a potential conflict between OpenCLAW and Hermes, but without more information about their configuration and interaction, it's difficult to provide a more specific solution.

Recommendation

Apply workaround: Check and adjust the configuration of both OpenCLAW and Hermes to prevent skill contamination, as the exact cause of the issue is unclear.

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…

Still need to ship something?

×6

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

Back to top recommendations

TRENDING

hermes - ✅(Solved) Fix [Bug]: hermes的skills仓库和openclaw的skills仓库貌似存在污染行为 [1 pull requests, 2 comments, 3 participants]