modelscope.cn

update-skill

修改现有的skill

Installation

$ npx skills add https://modelscope.cn

Also in this package

Other skills from modelscope.cn · top by installs.

npx skills add https://modelscope.cn

Browse all from modelscope.cn

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsRead, Edit, Glob
Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,243 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

更新Skill

目的

修改现有skill的内容。

执行逻辑

1. 列出所有skills

  1. 查找 .claude/skills/ 目录
  2. 列出所有skill(编号列表)
  3. 询问:"要更新哪个skill?"

2. 询问修改内容

询问:"你想修改什么?" 选项:

  • 描述
  • 说明/指令
  • 工具列表
  • 示例
  • 其他

3. 执行修改

根据用户选择,使用Edit工具进行精确修改:

  • 保持YAML frontmatter完整
  • 仅修改指定部分
  • 不改变其他内容

4. 基本验证

检查:

  • YAML frontmatter完整(--- 开始和结束)
  • 必需字段存在

成功输出

✅ Skill已更新: {skill-name}
📁 位置: ./.claude/skills/{skill-name}/SKILL.md

错误处理

  • 未找到 .claude/ → 提示先创建skill
  • YAML格式错误 → 报告具体问题
  • 无写入权限 → 报告错误

示例

用户: "更新reddit-upvote skill"

执行流程:

  1. 列出skills:

1. reddit-upvote 2. reddit-comment

  1. 用户选择: 1
  2. 询问修改内容 → "描述"
  3. 询问新描述 → "Upvote Reddit posts and comments"
  4. 使用Edit工具更新描述字段
  5. 输出成功消息