Agent SkillsNiall-Young/Canvasight › canvasight-update

canvasight-update

GitHub

用于检查或安装官方稳定的 Canvasight 插件版本。支持更新检查与升级操作,严格调用内置脚本并解析 JSON 结果报告状态,禁止执行其他命令或修改无关文件。

plugins/canvasight/skills/canvasight-update/SKILL.md Niall-Young/Canvasight

触发场景

用户要求更新、升级或检查 Canvasight 版本 询问 Canvasight 是否有可用更新

安装

npx skills add Niall-Young/Canvasight --skill canvasight-update -g -y
更多选项

非标准路径

npx skills add https://github.com/Niall-Young/Canvasight/tree/main/plugins/canvasight/skills/canvasight-update -g -y

不安装直接使用

npx skills use Niall-Young/Canvasight@canvasight-update

指定 Agent (Claude Code)

npx skills add Niall-Young/Canvasight --skill canvasight-update -a claude-code -g -y

安装 repo 全部 skill

npx skills add Niall-Young/Canvasight --all -g -y

预览 repo 内 skill

npx skills add Niall-Young/Canvasight --list

SKILL.md

Frontmatter
{
    "name": "canvasight-update",
    "description": "Check for or install official stable Canvasight plugin releases. Use when the user asks “更新 Canvasight”, “升级 Canvasight”, “把 Canvasight 更新到最新版”, “检查 Canvasight 更新”, “Canvasight 有更新吗”, “update\/upgrade Canvasight”, “check for Canvasight updates”, or whether the installed Canvasight version is current. Do not use for ordinary Canvasight troubleshooting, development-checkout Git pulls, canvas content edits, or updates to unrelated Codex plugins."
}

Canvasight Update

Use the bundled updater as the only update path. It compares the installed plugin with the latest official GitHub Release and, for an install request, upgrades the complete plugin snapshot through the canvasight-local marketplace. Do not copy individual Skills, MCP files, web assets, or cache entries.

Choose The Operation

  • Resolve the plugin root as two directories above this SKILL.md.
  • For a check-only request, run node <plugin-root>/scripts/update-canvasight.mjs --check. Never run --update, marketplace commands, or installation commands.
  • For an explicit install or upgrade request, run node <plugin-root>/scripts/update-canvasight.mjs --update.
  • Run exactly that one bundled-updater command and no other shell command. Do not run npm install, npm ci, another package manager, builds, tests, release preparation or verification, direct codex plugin or marketplace commands, Git commands, cleanup, or duplicate-file repair before or after it. The updater owns every permitted check, install, verification, and rollback step.
  • Parse the script's JSON result. Do not infer success from partial command output or run recovery commands outside the script.

Report The Result

  • update_available: report the installed and latest versions and say that no files were changed.
  • up_to_date: reply 你当前使用的 Canvasight vX.Y.Z 已经是最新版,无需更新。 Do not mention restart.
  • updated: reply Canvasight 已更新到 vX.Y.Z。请重新加载或重启 Codex Desktop,然后新建任务并重新 @Canvasight。重启由你自行完成。
  • ahead_of_release: report that the installed version is newer than the latest official Release and was not downgraded. Do not mention restart.
  • local_source: report that Canvasight is installed from a local development checkout, so automatic update stopped without changing it. Do not replace, pull, or edit the checkout.
  • unsupported_source: report that the installed source is not the official Niall-Young/Canvasight release source and was left unchanged.
  • version_unknown: report that the version could not be verified and the current installation was preserved.
  • release_mismatch, update_failed, rollback_failed, or error: state the script's concise error and whether rollback succeeded. Never claim the update succeeded.

Only updated means a new plugin version was installed and permits a restart notice. For every other status, do not ask the user to restart. Never delete or modify project .scatter data, attachments, ~/.canvasight, user source code, other plugins or Skills, unrelated Codex configuration, or a developer checkout.

版本历史

  • 065406a 当前 2026-07-19 09:56

同 Skill 集合

plugins/canvasight/skills/canvasight-open/SKILL.md
plugins/canvasight/skills/canvasight-run/SKILL.md
plugins/canvasight/skills/canvasight/SKILL.md
plugins/canvasight/skills/canvasight-agent-team/SKILL.md
plugins/canvasight/skills/canvasight-graph-writer/SKILL.md
plugins/canvasight/skills/canvasight-troubleshooting/SKILL.md

元信息

文件数
0
版本
065406a
Hash
7bce2cf9
收录时间
2026-07-19 09:56

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-23 16:24
浙ICP备14020137号-1 $访客地图$