OpenParable
Skip to content
← Back to skills

Uninstall Skill

Agent Building
uninstall-skill

Uninstall Skill is an Agent Skill for agent building published in the ryfineZ/my-ai-skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Use when removing installed skills from the central repository, especially when cleaning unused community skills, deleting a whole bundle group, or ensuring platform links and installed-skills indexes are cleaned up consistently.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/ryfineZ/my-ai-skills/blob/HEAD/packages/core/uninstall-skill/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/uninstall-skill, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Uninstall Skill

Overview

删除源码层中的已安装 skill,并同步清理运行时发布结果、已安装列表和 Claude 插件建议文档。

适用场景

  • 用户说“删掉这个 skill”
  • 用户说“卸载某个 community skill”
  • 需要整组删除一个 bundle,例如 obra/superpowers
  • 清理无用 skill 后,希望多平台链接和 INSTALLED_SKILLS.md 一起保持一致

工作方式

单 skill

按 skill 名删除源码层中的真实目录:

bash ~/Workspace/skills-central/packages/core/uninstall-skill/uninstall-skill.sh --skill <skill-name>

按来源组

按 .skill-source.json.update_group 删除整组:

bash ~/Workspace/skills-central/packages/core/uninstall-skill/uninstall-skill.sh --group obra/superpowers

列出可卸载对象

bash ~/Workspace/skills-central/packages/core/uninstall-skill/uninstall-skill.sh --list

行为约束

  • 只处理源码层中的真实 skill 目录
  • 删除后必须重跑平台发布刷新
  • 删除后必须重建 INSTALLED_SKILLS.md
  • 不猜测来源;缺少元数据的 skill 也允许按名字删除,但会在输出中标记

bundle 注意事项

如果只删除 bundle 中的单个 skill,而不是整组删除:

  • 当前是允许的
  • 但后续执行 update-skill --group <update_group> 时,该 skill 可能被重新装回

因此,对 bundle 更推荐按 --group 删除。

脚本