x2724009

Agent Skills Cleaner — Security skill for Claude Code

Security community

Find, audit and clean up agent skills (SKILL.md) for Claude Code, Codex, Cursor, Gemini CLI, Copilot and more — scored by the models you actually run.

How to install Agent Skills Cleaner

This entry records only its repository, not the path inside it, so there is no exact command to give. Open x2724009/agent-skills-cleaner and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agent Skills Cleaner does

Find, audit and clean up agent skills (SKILL.md) for Claude Code, Codex, Cursor, Gemini CLI, Copilot and more — scored by the models you actually run. Local web UI, undo for everything, zero dependencies.

Alternatives in Security

  • Anthropic Cybersecurity Skills — 734+ structured cybersecurity skills for AI agents · MITRE ATT&CK mapped · agentskills.io open standard · Work 3.8k ★
  • Refresh Specs — Tier-2 spec refresh — dump models_explore (video/image/audio/3d), sync specs, cross-check vs the live CLI, aud 832 ★
  • Secfoo — AI security review CLI: SAST, secret scanning, SCA, threat modeling and architecture review with Claude Code 356 ★

README

Agent Skills Cleaner logo: a white crab under the outline of its old shell, on a blue tile

Agent Skills Cleaner

管理电脑上所有 AI 工具的 skills,找出模型已经用不上、反而拖累它的那些,一键清理,随时恢复。

English · 中文 · tests python 3.9+ no dependencies MIT

一个本地运行的 **Agent Skills 管理与清理工具**,支持 Claude Code、Codex、Cursor、Gemini CLI、GitHub Copilot、OpenCode、Windsurf、Kiro、Qwen Code、Trae、Qoder、CodeBuddy、WorkBuddy,以及共享的 `~/.agents/skills`。

螃蟹要长大,就得蜕掉旧壳。模型也一样:很多 skill 写于更早一代模型,教它"先想再做""写完要验证""不准偷懒截断"。当前一代的 Claude、GPT、DeepSeek 早就会了,这些 skill 却每次都被读进上下文,还把简单任务拖进固定流程。

Agent Skills Cleaner 会:

  1. 找全:扫描 Claude Code、Codex、Cursor、Gemini CLI、Copilot 等工具的 skills 目录,以及各种软件安装时顺带写进来的 skills,标出它们来自哪个安装器、插件或仓库。
  2. 判断:自动识别每个工具用的是什么模型,按模型档位给每个 skill 打一个拖累指数并写清理由。
  3. 清理:在本地网页里卸载或删除,删除只进废纸篓,每一步都能撤销。

**规划中**:从本地会话记录统计每个 skill 的实际使用频率。

功能

  • 一次看全:Claude Code、Codex、Cursor、Gemini CLI、GitHub Copilot、OpenCode、Windsurf、Kiro、Qwen Code、Trae,以及共享的 ~/.agents/skills。同一个 skill 被链接到多个工具时合并显示。
  • 按技能包分组:一起安装的一套技能(如飞书 lark-*、superpowers)会归成一个包,可以整包卸载或删除,整包算一次操作、一次撤销。识别依据依次是:安装器 lock 文件、插件清单、git 仓库、已知清单、同一文件夹、名称前缀(最后这条只是推测,界面上会标明)。
  • 拖累指数 + 理由:每个 skill 都列出加分、减分的具体原因,不是黑箱。
  • 两种清理:
    • 卸载:只移除某个工具里的链接,原文件和其他工具不受影响。
    • 删除:把 skill 文件夹移到废纸篓,并移除所有指向它的链接。
  • 全部可撤销,清空废纸篓也能找回:每次操作都记在 ~/.agent-skills-cleaner/history.json。撤销时依次尝试:
    1. 从废纸篓放回;
    2. 从删除前自动做的备份恢复(~/.agent-skills-cleaner/backups,保留 30 天,单个超过 200 MB 不备份);
    3. 从原来的安装地址重新下载:安装器 lo