### Self Checks / 自检 - [x] I have read the [FAQ](https://github.com/farion1231/cc-switch#faq) section in README. 我已阅读 README 中的[常见问题](https://github.com/farion1231/cc-switch#常见问题)。 - [x] I have searched for [existing issues](https://github.com/farion1231/cc-switch/issues), including closed ones. 我已搜索过[已有的 Issue](https://github.com/farion1231/cc-switch/issues),包括已关闭的。 ### CC Switch Version / 版本号 3.16.2 ### Operating System / 操作系统 Linux ### Related App / 涉及应用 Claude Code ### Steps to Reproduce / 重现步骤 在 **发现技能** --> **skill.sh** 中搜索 `ast-grep/agent-skill` 点击安装,会出现失败界面: <img width="1263" height="1367" alt="Image" src="https://github.com/user-attachments/assets/0de0b626-929e-4380-9b83-0456b1bf6892" /> 错误信息: ``` Skill 源目录缺少 SKILL.md,拒绝同步以避免覆盖目标目录: /home/fengyu/.cc-switch/skills/ast-grep ``` 但是按照官方文档的描述: https://github.com/ast-grep/agent-skill ```sh npx skills add ast-grep/agent-skill ``` 使用 `npx skills` 安装是没问题的,软链接也是 OK 的: ```sh $ ll ~/.agents/skills/ast-grep/ drwxr-xr-x - fengyu 13 6月 10:59 references .rw-r--r-- 9.4k fengyu 13 6月 10:59 SKILL.md ``` 希望可以修复 ### Expected Behavior / 期望行为 应该能正确安装 `ast-grep/agent-skill` ### Actual Behavior / 实际行为 安装失败 ### Additional Context / 补充信息 _No response_
Activity
makoMakoGo commentedon Jun 13, 2026
已复现,问题:
skill 的 install_name 是 ast-grep(报错路径 ~/.cc-switch/skills/ast-grep 反推)。而该仓库的实际结构(GitHub 仓库树实证):
fix(skills): resolve source dir by SKILL.md anchor instead of name
fix(skills): drop speculative manifest resolver path
fix(skills): resolve source dir by SKILL.md anchor instead of name (f…
chudongvip commentedon Sep 15, 2026
Version 3.20.3 (3.20.3)
skill 存放在
~/.cc-switch/skillsskill 同步方式为「软连接」
这个版本安装 nextlevelbuilder/ui-ux-pro-max-skill 这个 skill 还是报错,我安装 hallmark 就不会,同样报错的还有一种情况:先安装 pbakaus/impeccable 然后再安装 pbakaus/impeccable/teach-impeccable 也会报累死的错误
Novices666 commentedon Sep 30, 2026
+1,当前使用最新版本,安装skills.sh的ui-ux-pro-max,还是会报错
技能目录不存在:<目录名>请检查仓库地址和分支名称