From 34698faa6519ad82b607b4b758b832638a78697f Mon Sep 17 00:00:00 2001 From: leeguooooo Date: Fri, 17 Apr 2026 13:27:07 +0900 Subject: [PATCH] fix(skill): add YAML frontmatter to SKILL.md so `skills` CLI can detect it The `skills` CLI (https://github.com/openclaw/skills) requires a YAML frontmatter block with `name` and `description` to recognize a SKILL.md as a valid skill. The current file declares description as a Markdown blockquote, which causes: $ npx skills add jackwener/wx-cli -g No valid skills found. Skills require a SKILL.md with name and description. Switching to standard frontmatter makes installation work end-to-end. Verified with `npx skills add . -l`: Found 1 skill wx-cli --- SKILL.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/SKILL.md b/SKILL.md index 184647f..487fc24 100644 --- a/SKILL.md +++ b/SKILL.md @@ -1,6 +1,9 @@ -# wx-cli +--- +name: wx-cli +description: "wx-cli — 从本地微信数据库查询聊天记录、联系人、会话、收藏等。用户提到微信聊天记录、联系人、消息历史、群成员、收藏内容时,使用此 skill 安装并调用 wx-cli。" +--- -> description: "wx-cli — 从本地微信数据库查询聊天记录、联系人、会话、收藏等。用户提到微信聊天记录、联系人、消息历史、群成员、收藏内容时,使用此 skill 安装并调用 wx-cli。" +# wx-cli ## Triggers