ai-agent-team: Skill for Claude Code

.claude/skills/tidymydesktop/SKILL.md

tidymydesktop is a skill for Claude Code from peterfei/ai-agent-team. It costs 46 tokens per session (2,439 once invoked), scanned A, original, MIT.

A desktop and folder organization tool. It classifies files and applications, creates category folders, finds older software versions, researches unknown applications, and produces a Markdown report.

In plain words
What is it for?
Use it to organize the desktop or a chosen directory, remove older software versions, search for information about unknown applications, and review the resulting cleanup report.
Why use it?
It reduces clutter and duplicate software versions by sorting items into groups such as documents, images, applications, and development tools. It can also explain what unfamiliar software is used for.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is peterfei/ai-agent-team's own configuration. It tells Claude Code how to work on ai-agent-team itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-agent-team configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/xxx/Desktop.

Reuse

Borrowing it

Nothing to install: this file belongs to peterfei/ai-agent-team. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/peterfei/ai-agent-team/main/.claude/skills/tidymydesktop/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/peterfei/ai-agent-team

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tidymydesktop

README.md
[![agentmods](https://agentmods.dev/badge/skills/peterfei/ai-agent-team/tidymydesktop/github.svg)](https://agentmods.dev/skills/peterfei/ai-agent-team/tidymydesktop)
Your own site
<a href="https://agentmods.dev/skills/peterfei/ai-agent-team/tidymydesktop"><img src="https://agentmods.dev/badge/skills/peterfei/ai-agent-team/tidymydesktop/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tidymydesktop

Your own site · 80×15
<a href="https://agentmods.dev/skills/peterfei/ai-agent-team/tidymydesktop"><img src="https://agentmods.dev/badge/skills/peterfei/ai-agent-team/tidymydesktop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,439 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.02439
Opus 5 $0.00023 $0.01220
Sonnet 5 $0.00009 $0.00488
Haiku 4.5 $0.00005 $0.00244

Measured 10d ago against content hash 5f721923eb05, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

tidymydesktop scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 11 executable files (scripts/classify.js, scripts/organize.js, scripts/run.bat, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/tidymydesktop/SKILL.md · 364 lines

How it starts

The opening of the file, as written. The whole thing — 364 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TidyMyDesktop - 智能桌面整理工具

概述

当用户请求整理桌面或目录时,此 skill 会自动:

  1. 分析目录中的文件和应用程序
  2. 智能分类并创建文件夹
  3. 识别和删除软件的旧版本
  4. 搜索未知软件的用途
  5. 生成详细的整理报告(Markdown格式)

支持的触发指令

用户可以通过以下方式触发此 skill:

  • "帮我整理桌面" - 整理 ~/Desktop
  • "帮我整理当前目录" - 整理当前工作目录(需要用户确认)
  • 任何关键词 - 首先搜索相关内容

工作流程

步骤 1: 理解用户意图

首先判断用户输入的类型:

// 检查是否是整理指令
if (用户输入包含 "整理桌面") {
  目标路径 = ~/Desktop
} else if (用户输入包含 "整理当前目录") {
  // 需要用户确认目录路径
  await askUserToConfirmPath()
} else {
  // 如果是关键词,先搜索相关内容
  await searchKeyword(用户输入)
  return
}

步骤 2: 扫描和分析目录

使用提供的 Node.js 工具脚本扫描目标目录:

# 扫描目录并生成文件清单
node ~/.claude/skills/tidymydesktop/scripts/scan.js <目标路径>

该脚本会:

  • 列出所有文件和应用程序
  • 识别文件类型和扩展名
  • 检测应用程序版本号
  • 生成初始清单

步骤 3: 智能分类和整理

执行整理操作时,遵循以下原则:

3.1 文件分类规则

根据文件类型创建分类文件夹:

  • 应用程序 (Applications/)

    • 开发工具 (Development/)
    • 办公软件 (Office/)
    • 设计工具 (Design/)
    • 通讯工具 (Communication/)
    • 娱乐软件 (Entertainment/)
    • 系统工具 (Utilities/)
  • 文档 (Documents/)

    • PDF文档 (PDFs/)
    • Word文档 (Word/)
    • Excel表格 (Excel/)
    • 文本文件 (TextFiles/)
  • 图片 (Images/)

    • 照片 (Photos/)
    • 截图 (Screenshots/)
    • 设计稿 (Designs/)
  • 视频 (Videos/)

  • 音频 (Audio/)

  • 压缩包 (Archives/)

  • 代码项目 (CodeProjects/)

  • 未分类 (Uncategorized/)

3.2 版本去重规则

对于同一软件的多个版本:

// 识别版本号模式
// 例如: "AppName v1.2.3.dmg" 和 "AppName v2.0.0.dmg"
// 保留: 最新版本
// 删除: 旧版本

function identifyVersions(files) {
  // 1. 提取版本号
  // 2. 比较版本
  // 3. 标记要删除的旧版本
}

CRITICAL: 在删除任何文件前,必须:

  1. 向用户展示将被删除的文件列表
  2. 等待用户确认
  3. 获得明确同意后才执行删除操作
3.3 未知软件处理

当遇到不确定用途的软件时:

# 使用 WebSearch 搜索软件信息
# 搜索查询格式: "<软件名称> 是什么软件 用途"

如果搜索后仍不确定:

  • 将其放入 未分类/ 文件夹
  • 在报告中标注为"需要人工审核"

步骤 4: 执行整理操作

使用提供的整理脚本:

# 执行整理操作
node ~/.claude/skills/tidymydesktop/scripts/organize.js \
  --source <目标路径> \
  --plan <整理计划JSON文件> \
  --dry-run  # 首次运行使用 dry-run 模式

重要安全措施

  1. 首次运行使用 --dry-run 模式(仅模拟,不实际移动文件)
  2. 向用户展示整理计划
  3. 获得用户确认后,再执行实际操作
  4. 所有删除操作都需要用户明确确认

步骤 5: 生成整理报告

Read the full file on GitHub · 364 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 364 lines · 46 tokens per session scan A 5f721923eb05

Subscribe to this mod's changes

tidymydesktop is a skill published in the GitHub repository peterfei/ai-agent-team (434 stars, last pushed 2mo ago), licensed MIT. It adds 46 tokens to every session and 2,439 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

jiaojie

A human-first method for handing ongoing work from one chat, AI model, device, or language to another. It creates or reads a small handoff document, or a package with files when the receiver needs them.

Jordanwei1/jiaojie-skill · 186 tokens

claude-code-bash-patterns

Claude Code Bash tool patterns with hooks, automation, git workflows. Use for PreToolUse hooks, command chaining, CLI orchestration, custom commands, or encountering bash permissions, command failures, security guards, hook configurations.

secondsky/claude-skills · 52 tokens

sitrep-panel

Keep a live local HTML report updated as you work on a task — a status board, a running "what's happening now" narrative, screenshots, and a newest-first log — served on localhost so the user can watch progress in a browser tab instead of reading the transcript. Use when the user invokes /sitrep-panel, asks for a…

dbl8005/sitrep-panel · 101 tokens

agentic-delegation

Delegate exploration sweeps to Haiku subagents and bulk writing to Sonnet subagents while the orchestrator keeps architecture, security-sensitive edits, and commits; use at the start of any multi-step task in this repo to minimize token spend by delegating to cheaper models.

VincentChuWaiChow/vanguard-frontier-agentic · 60 tokens

aws-non-destructive-task-automation-advisor

Design AWS non-destructive task automation using EventBridge, Step Functions, Lambda, Systems Manager Automation, SNS, SQS, approvals, notifications, reporting, and evidence gathering. Use only for read-only or coordination-safe automation; do not use for destructive remediation or mutation-heavy runbooks.

VincentChuWaiChow/vanguard-frontier-agentic · 68 tokens

agent-file-synchronization

Synchronizes project instruction files across AGENTS.md, CLAUDE.md, GEMINI.md, and .github/copilot-instructions.md while preserving platform-specific sections (GEMINI.md tool mapping, copilot authoritative header). Supports AGENTS.md or CLAUDE.md as primary source, and selective target syncing. Also reports drift…

richfrem/agent-plugins-skills · 129 tokens