搜索

PythonReactSEOPDF
GitHub Skill

update-skill

Procedure for modifying, updating, or fixing an existing Siclaw skill. Skills are on a read-only filesystem — use the update_skill tool, never edit files directly.

scitix☆ 50 仓库 Stars1 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Update Skill

When to Use

When the user's message contains [Editing Skill: <name> (id:<id>)] followed by the current skill content, or when the user asks to modify/update/fix an existing skill.

How to Update

Call the update_skill tool (NOT create_skill) with the skill ID and the complete updated definition.

Do NOT use read, edit, write, or bash on files under /mnt/skills/ — the filesystem is read-only.

Tool Call Format
update_skill({
  id: "<skill-id>",                // Required — from [Editing Skill: ... (id:<id>)]
  name: "skill-name",              // Keep original name unless user wants rename
  description: "What the skill does",
  type: "Monitoring",
  specs: "---\nname: skill-name\ndescription: >-\n  ...\n---\n\n# Skill Title\n\n## Procedure\n...",
  scripts: [                       // Optional
    { name: "run.sh", content: "#!/bin/bash\n..." },   // Changed: provide full content
    { name: "check.sh" }                                // Unchanged: name only
    // Omitted scripts are deleted
  ]
})
Scripts Rules
Scenario What to pass
Script content changed { name: "run.sh", content: "#!/bin/bash\n# new content..." }
Script unchanged { name: "run.sh" } (name only, no content)
Adding a new script { name: "new.sh", content: "#!/bin/bash\n..." }
Removing a script Omit it from the array
Key Rules
  1. Always provide full specs content (complete SKILL.md), not a diff
  2. Preserve the original skill name unless the user explicitly asks to rename
  3. Only change what the user asked for — don't add unnecessary modifications
  4. Briefly explain your changes before calling update_skill

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-03-11
索引更新时间
2026-03-11
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!