Merge pull request #213 from Panniantong/fix/skill-install-error-message

Tests passed locally. Clean fix for skill install error messaging.
This commit is contained in:
Pnant
2026-03-31 11:14:14 +08:00
committed by GitHub
+3 -2
View File
@@ -327,8 +327,9 @@ def _install_skill():
with open(os.path.join(target, "SKILL.md"), "w") as f: with open(os.path.join(target, "SKILL.md"), "w") as f:
f.write(skill_md) f.write(skill_md)
print(f"Skill installed: {target}") print(f"Skill installed: {target}")
except Exception: except Exception as e:
print(" -- Could not install agent skill (optional)") print(f" -- Could not install agent skill (optional): {e}")
print(" -- Tip: install OpenClaw, Claude Code, or create ~/.agents/skills/ manually")
def _uninstall_skill(): def _uninstall_skill():