Token导航 LogoToken导航

Agent Skill · 开发

clear-skills(清晰的技能)

clear-skills 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

clear-skills 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为只读;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 6,645。

总安装 4,493周安装 193GitHub Stars 公开资料未说明下载 1,575核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:clear-skills(清晰的技能)
来源仓库:https://github.com/subingshe/clear-skills
安装命令:
openclaw skills install clear-skills
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install clear-skills

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

clear-skills 用于清除或清理编码环境中的 AI 代理规则、技能与指令文件。适合在 OpenClaw 中重置 Agent 行为或移除冗余配置时使用。通过 clawhub 安装,命令为 openclaw skills install clear-skills。

使用前需确认文件作用域与回滚能力,避免误删必要配置文件。建议结合来源仓库和 README 文档进一步核验具体功能和使用细节。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install clear-skills;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

clear-skills 怎么安装?

在终端执行 openclaw skills install clear-skills。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

clear-skills 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

clear-skills 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

clear-skills 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

clear-skills 用的人多吗?

公开数据是累计安装 4,493 次,近一周安装 193 次,下载 1,575 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

clear-skills 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
clear-skills

清晰的技能 · 本页

4,493—只读MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
clear-skills
description
>

Clear Skills Skill

Overview

Scans and removes AI agent rules/skills files from all major AI coding platforms on your machine. Supports 50+ platforms, covering both project-level and user-global scopes, running on Windows · macOS · Linux.

Core Features:

  • ✅ Smart Scanning: Only removes files/directories that actually exist. Platforms not installed or without rules won't be shown or removed
  • ✅ Self-Protection: By default, this skill (clear-skills) is protected and won't be cleared, allowing safe cleanup of other platforms
  • ✅ Auto Backup: Automatically backs up to desktop before deletion, allowing recovery anytime
  • ✅ Preview Mode: Use --dry-run to confirm which files will be deleted before actually removing them
  • ✅ Flexible Control: Supports filtering by platform, scope, project directory, and more
  • ✅ Pure Python: Uses only Python 3 standard library, no external dependencies required

All Supported Platforms:

Mainstream AI IDE

Cursor · Windsurf(Codeium) · Cline · Trae IDE · Amazon Q · Continue.dev

Agent Framework / CLI

Claude Code · Codex CLI · GitHub Copilot · Gemini CLI · Aider · OpenCode

Emerging AI Tools

Amp · Goose · Kilo Code · Kiro (AWS) · Neovate · OpenHands · PI · Qoder · Roo Code · Zencoder

OpenClaw Ecosystem

OpenClaw · QClaw · CoPaw · EasyClaw · ArkClaw · LobsterAI · HiClaw · AutoClaw · AntiClaw

Other AI Agents

Manus · HappyCapy · QoderWork · Droid (Factory)

WorkBuddy

WorkBuddy / CodeBuddy


Usage

Step 1: Confirm User Intent

After receiving a cleanup request, confirm the following with the user (skip if already specified):

  1. Cleanup Scope: Current project only (project), global only (global), or both (all, default)?
  2. Platform Scope: All platforms, or specific platforms only?
  3. Backup: Back up to desktop by default. Users can disable with --no-backup (not recommended).

Step 2: Execute Script

Call scripts/clear_agent_rules.py. This script uses pure Python 3 standard library only, no additional dependencies needed.

Quick Start Examples

# Preview mode (recommended to see what will be deleted first)
python scripts/clear_agent_rules.py --dry-run

# Clear current project + global, all platforms, auto backup (default behavior)
# Note: This skill is protected by default and won't be cleared
python scripts/clear_agent_rules.py

Clear only specified platforms

python scripts/clear_agent_rules.py --platforms cursor,claude,copilot

Clear only OpenClaw ecosystem (including QClaw, CoPaw, etc.)

python scripts/clear_agent_rules.py --platforms openclaw,qclaw,copaw

Clear only QoderWork skills

python scripts/clear_agent_rules.py --platforms qoderwork

Clear only current project rules

python scripts/clear_agent_rules.py --mode project

Clear only global rules

python scripts/clear_agent_rules.py --mode global

Specify project directory

python scripts/clear_agent_rules.py --project /path/to/myproject

No backup (dangerous, use with caution)

python scripts/clear_agent_rules.py --no-backup

Non-interactive execution (skip YES confirmation, suitable for scripts/CI)

python scripts/clear_agent_rules.py --yes

Clear all WorkBuddy skills including this one (dangerous)

python scripts/clear_agent_rules.py --mode global --include-self


### Advanced Usage

Clear only AI IDE platforms (Cursor, Windsurf, Cline, etc.)

python scripts/clear_agent_rules.py --platforms cursor,windsurf,cline,trae,amazonq,continue

Clear only CLI tools (Claude Code, Copilot, Aider, etc.)

python scripts/clear_agent_rules.py --platforms claude,copilot,aider,gemini,codex

Clear only project-level rules for specific platforms

python scripts/clear_agent_rules.py --mode project --platforms cursor,copilot

Scan specific project directory

python scripts/clear_agent_rules.py --project /path/to/specific/project

Export scan results without deleting (for manual review)

python scripts/clear_agent_rules.py --dry-run > scan_results.txt


> **Note**: On Windows, `python` command might be `python3` or `py`, depending on your environment.

#### Parameter Reference

| Parameter | Description | Default |
|-----------|-------------|---------|
| `--mode` | `project` / `global` / `all` | `all` |
| `--project` | Project root directory path | Current working directory |
| `--platforms` | Specify platforms (comma-separated) | `all` |
| `--no-backup` | Disable backup | Disabled (backup by default) |
| `--dry-run` | Preview mode, don't actually delete | Disabled |
| `--yes` | Skip YES confirmation prompt | Disabled |
| `--include-self` | Don't protect this skill, will also clear clear-skills itself | Disabled (protected by default) |

**Available Platform Identifiers:**

cursor, windsurf, cline, trae, amazonq, continue, claude, codex, copilot, gemini, aider, opencode, amp, goose, kilocode, kiro, neovate, openhands, pi, qoder, roocode, zencoder, droid, openclaw, qclaw, copaw, easyclaw, arkclaw, lobsterai, hiclaw, autoclaw, anticlaw, manus, happycapy, qoderwork, workbuddy


---

## Platform Rule File Reference

For detailed paths, see `references/platforms.md`.

### Project-Level Rules (relative to project root)

| Category | Platform | Main Files/Directories |
|----------|----------|----------------------|
| **AI IDE** | Cursor | `.cursorrules`, `.cursor/rules/` |
| | Windsurf | `.windsurfrules`, `.windsurf/rules/` |
| | Cline | `.clinerules`, `.clinerules/` |
| | Trae IDE | `.trae/project_rules.md` |
| | Amazon Q | `.amazonq/rules/` |
| | Continue.dev | `.continuerc.json`, `.continue/rules/` |
| **CLI** | Claude Code | `CLAUDE.md` |
| | Codex CLI | `AGENTS.md` |
| | GitHub Copilot | `.github/copilot-instructions.md` |
| | Gemini CLI | `GEMINI.md` |
| | Aider | `.aider.conf.yml` |
| | OpenCode | `AGENTS.md`, `CLAUDE.md` |
| **Emerging Tools** | Amp | `AGENTS.md` |
| | Goose | `.goosehints`, `.goose/` |
| | Kilo Code | `.kilocode/rules/` |
| | Kiro (AWS) | `.kiro/steering/`, `.kiro/` |
| | Neovate | `AGENTS.md` |
| | OpenHands | `config.toml`, `.openhands/` |
| | PI | `.pi/settings.json`, `.pi/` |
| | Qoder | `.qoder/rules/` |
| | Roo Code | `.roo/rules/`, `.roorules` |
| | Zencoder | `.zencoder/rules/` |
| | Droid (Factory) | `.droid/`, `AGENTS.md` |
| **Others** | Antigravity | `.antigravity/rules.md` |
| | OpenClaw | `.openclaw/` |
| | QoderWork | `.qoderwork/skills/` |
| | WorkBuddy | `.workbuddy/skills/` |

### Global-Level Rules (user home directory)

| Category | Platform | Path |
|----------|----------|------|
| **AI IDE** | Cursor | `~/.cursor/rules/` |
| | Cline | `~/Documents/Cline/Rules/` |
| | Trae IDE | `~/.trae/user_rules.md` |
| | Continue.dev | `~/.continue/` |
| **CLI** | Claude Code | `~/.claude/` |
| | Gemini CLI | `~/.gemini/GEMINI.md` |
| | Aider | `~/.aider.conf.yml` |
| | OpenCode | `~/.config/opencode/` |
| **Emerging Tools** | Amp | `~/.factory/AGENTS.md` |
| | Goose | `~/.config/goose/` |
| | Kilo Code | `~/.kilocode/rules/` |
| | Kiro (AWS) | `~/.kiro/` |
| | Neovate | `~/.neovate/AGENTS.md` |
| | OpenHands | `~/.openhands/` |
| | PI | `~/.pi/agent/settings.json` |
| | Roo Code | `~/.roo/rules/` |
| | Droid (Factory) | `~/.factory/` |
| **OpenClaw Ecosystem** | OpenClaw/QClaw etc. | `~/.openclaw/` |
| | CoPaw | `~/.copaw/` |
| **Others** | Manus | `~/.manus/` |
| | HappyCapy | `~/.happycapy/` |
| | QoderWork | `~/.qoderwork/skills/` |
| | WorkBuddy | `~/.workbuddy/skills/` |
| **Note** | Qoder/Zencoder | Project-level only, no global config |

---

## Safety Mechanisms

- **Default Backup**: Backs up all files to desktop before deletion (`~/Desktop/agent-rules-backup-timestamp/`), allowing recovery anytime.
- **Preview Mode**: Use `--dry-run` to confirm which files will be deleted before actually executing.
- **Confirmation Prompt**: Requires manual `YES` confirmation by default to prevent accidental operations.
- **Self-Protection (Enabled by Default)**:
  - When running `--mode global` or `--mode all`, this skill (clear-skills) is **protected by default** and won't be cleared.
  - This allows safe cleanup of other platforms' rules without worrying about deleting the tool itself.
  - If you truly need to delete this skill, use `--include-self` to disable self-protection.
- **Smart Scanning**: The script only scans and deletes files/directories that **actually exist**. If certain platforms are not installed on your system or their rule files don't exist, those empty targets won't be shown or deleted.

---

## FAQ

**Q: Will this delete my project code?**
A: No. This tool only removes AI agent rule/skill files (e.g., `.cursorrules`, `CLAUDE.md`, `.workbuddy/skills/`). Your source code and other files are completely safe.

**Q: Can I recover deleted files?**
A: Yes. All files are automatically backed up to your desktop before deletion. You can manually copy them back if needed.

**Q: What if I only want to clear one platform?**
A: Use the `--platforms` parameter to specify which platforms to clean. Example: `python scripts/clear_agent_rules.py --platforms cursor,copilot`

**Q: Why doesn't this skill get deleted when I clear global rules?**
A: This is an intentional self-protection feature. The skill needs to exist to be able to clear itself. Use `--include-self` if you really want to delete it too.

**Q: Does this work on Windows/macOS/Linux?**
A: Yes. The script uses pure Python and handles all three operating systems automatically.

**Q: Can I run this in a CI/CD pipeline?**
A: Yes. Use `--yes --no-backup` flags for non-interactive execution. Use with caution in automated environments.

---

## Troubleshooting

**Permission Denied Errors**
- If you encounter permission errors, try running the script with appropriate permissions (e.g., administrator/root)
- On Windows, some directories may require elevated privileges

**Large Backup Size**
- If the backup is too large, use `--no-backup` (not recommended) or manually manage backup location
- Consider cleaning up old backup folders from your desktop

**Platform Not Found**
- If a platform isn't detected, it means the platform isn't installed or has no rule files
- This is normal behavior—the script only targets existing files

平台分布

OpenClaw

95.29%
按下载量换算1,501

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills