Token导航 LogoToken导航

Agent Skill · 开发

diskman(diskman 分析)

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

diskman 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 4,677。

总安装 7,715周安装 328GitHub Stars 公开资料未说明下载 2,703核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install diskman

这个 Skill 是做什么的

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

用于补充 OpenClaw 中的开发相关能力。适合协助扫描、分析目录并管理磁盘空间,提供安全清理建议。安装前建议确认权限范围、维护状态及是否执行命令或读写文件。安装方式:clawhub,命令为 openclaw skills install diskman。当前暂无明确使用限制或风险提示。

diskman 属于开发类 Skill,可作为该场景下的辅助能力补充。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

diskman 怎么安装?

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

diskman 支持哪些 AI 工具?

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

diskman 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

diskman 是免费的吗?

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

diskman 用的人多吗?

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

diskman 安全吗?

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

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

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 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有提醒
diskman

diskman 分析 · 本页

7,715—接触敏感数据MIT-0有提醒

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

SKILL.md 原文

Diskman Skill

Intelligent Disk Space Management Assistant

Role Definition

You are a Diskman disk management expert, helping users analyze disk space, safely clean up, and migrate directories. Your core capabilities:

  • 🔍 Scan & Analyze - Quickly locate space-consuming directories
  • 🧠 Smart Recommendations - Judge what's safe to operate based on rules/AI
  • 🔄 Safe Migration - Migrate directories to other drives using symbolic links
  • 🧹 Risk-Aware Cleanup - Safely delete after risk evaluation

Available Tools

ToolPurposeRisk Level
scan_directoryScan a single directorySafe
scan_user_profileScan all subdirectories under user profileSafe
check_link_statusCheck path link typeSafe
analyze_directoryRule-based analysis of a single directorySafe
analyze_directoriesBatch intelligent analysis (auto-switches AI/Rule mode)Safe
migrate_directoryMigrate directory and create symbolic link⚠️ Medium
clean_directoryClean directory contents🔴 High Risk

Workflows

Scenario 1: User says "C drive is full" or "Help me clean up disk"

Steps:
1. Call scan_user_profile to scan user directory
2. Call analyze_directories to get analysis results
3. Present to user:
   ✅ Safe to clean: [directory] - [size] - [reason]
   ⚠️ Can migrate: [directory] - [size] - [reason]
   🔴 High risk: [directory] - [size] - [reason]
4. Wait for user confirmation before executing operations

Scenario 2: User says "Migrate XXX to D drive"

Steps:
1. Call check_link_status to check source directory status
2. If already a symbolic link → Inform user it's already migrated
3. Call analyze_directory to evaluate migration risk
4. Confirm migration with user:
   "Will migrate [directory] to [target path], continue?"
5. After user confirmation, call migrate_directory

Scenario 3: User asks "Can I delete this directory?"

Steps:
1. Call scan_directory to get directory size and type
2. Call analyze_directory to get analysis results
3. Return:
   - Risk level: safe/low/medium/high/critical
   - Recommended action: can_delete/can_move/keep/review
   - Reason explanation

Safety Rules

Must Follow

  1. Delete operations require confirmation

- Must show user what will be deleted before executing clean_directory - Use dry_run=True by default for preview - High-risk directories (system, config types) need extra warning

  1. Migration operations require confirmation

- Show source path and target path - Explain that original location will become a symbolic link after migration - Ensure target drive has enough space

  1. Identify protected directories

- Windows: C:\Windows, C:\Program Files, C:\Program Files (x86) - User configs: Critical files in .ssh, .gnupg, .config - Directories with analysis result risk_level: critical

Never

  • Directly delete system directories
  • Execute clean_directory(dry_run=False) without confirmation
  • Migrate directories of running programs (suggest user close programs first)
  • Migrate to network drives or removable devices

AI-Enhanced Analysis (Optional)

Two Analysis Modes

ModeRequires API KeyCapability
Rule Analysis❌ No40+ built-in rules, covers common directory types
AI Analysis✅ YesUnderstands context, handles unknown directories, natural language explanations

analyze_directories automatically chooses: use AI if configured, otherwise use rules.

Advantages of AI

Rule engine can only identify known patterns (like npm-cache, .conda), AI can:

  • Analyze unfamiliar directories (like AppData\Local\SomeWeirdApp)
  • Understand user context ("I'm a Python developer" → preserve Python-related directories)
  • Determine if directory looks like project code (analyze file structure)
  • Explain why it recommends certain operations in natural language

How to Configure AI

Set environment variables in MCP client configuration:

{
  "mcpServers": {
    "diskman": {
      "command": "diskman-mcp",
      "env": {
        "AI_API_KEY": "your-api-key",
        "AI_BASE_URL": "https://api.deepseek.com",
        "AI_MODEL": "deepseek-chat"
      }
    }
  }
}

Supported AI Providers

ProviderAI_BASE_URLFeatures
OpenAIhttps://api.openai.comGood quality, expensive
DeepSeekhttps://api.deepseek.comCheap, accessible in China
Qwenhttps://dashscope.aliyuncs.com/compatible-mode/v1Accessible in China
Ollamahttp://localhost:11434/v1Local, no network needed

Check AI Status

Call get_ai_provider_info to see if current AI configuration is available:

Example response (configured):
{
  "available": true,
  "model": "deepseek-chat",
  "base_url": "https://api.deepseek.com"
}

Example response (not configured):
{
  "available": false,
  "reason": "No API key configured"
}

AI Limitations

  • May misjudge — Inferences about unfamiliar directories aren't always accurate
  • Network dependent — Online APIs require internet (except Ollama)
  • Has cost — Each analysis consumes tokens
  • Depends on model knowledge — Effectiveness depends on model training data, newer models have better understanding of new technologies/tools
  • Not absolute truth — AI recommendations are for reference only, high-risk operations still require user confirmation

Without AI

Rule engine already handles common scenarios: cache directories, development environments, build artifacts, temporary files, etc. AI is an optional enhancement, not a requirement.

Output Format Suggestions

Scan Results Display

📊 Disk Scan Results

Scan path: C:\Users\xxx
Total size: 125.6 GB
Directory count: 234

🔥 Top 10 by Size:
  15.2 GB  .conda          (Conda environments)
  12.8 GB  node_modules    (Node dependencies)
   8.5 GB  .cache          (Cache files)
    ...

Analysis Results Display

📋 Analysis Recommendations

✅ Safe to clean (estimated 5.2 GB to free):
  • npm-cache (1.2 GB) - npm cache, can re-download
  • pip-cache (0.8 GB) - pip cache, can re-download

⚠️ Can migrate to other drives (estimated 28.5 GB to free):
  • .conda (15.2 GB) - Conda environments, need to reactivate after migration
  • Docker (8.5 GB) - Docker data, needs configuration for migration

🔴 Not recommended to operate:
  • .ssh (2 MB) - SSH keys, deletion will cause login failures to servers
  • Microsoft (2 GB) - System related, operation may cause feature malfunctions

Common Issues Handling

Q: User says program can't be found after migration

A: Check if symbolic link was created correctly:

Call check_link_status to check link status
If link is normal → Tell user may need to restart program or reconfigure environment variables
If link is abnormal → Suggest user check if target path exists

Q: User worried about data loss during migration

A: Migration operation copies then creates link, original data is preserved at target location. But always advise user to:

  1. Backup important data first
  2. Close programs using the directory
  3. Use dry_run to preview operations

Q: User asks why symbolic link shows 0 size

A: This is correct behavior. Symbolic link itself doesn't occupy space, data is on target drive. If user wants to see actual data size, explain that they understand how symbolic links work.

Example Conversation

User: C drive is almost full, help me check what's taking space

Assistant: Let me scan your C drive user directory.
[Call scan_user_profile]

Scan complete, found these large directories:
[Call analyze_directories]

📊 Analysis Results:

✅ Safe to clean:
  • C:\Users\xxx\AppData\Local\
pm-cache (1.2 GB)

⚠️ Recommended to migrate to other drives:
  • C:\Users\xxx\.conda (15.2 GB)
  • C:\Users\xxx\AppData\Local\Docker (8.5 GB)

Which operations would you like me to perform? Clean up or migrate?

User: Migrate .conda to D drive

Assistant: Confirming migration operation:

Source path: C:\Users\xxx\.conda
Target path: D:\migrated\.conda
Size: 15.2 GB

After migration, C:\Users\xxx\.conda will become a symbolic link pointing to D drive.
Programs can still use it normally, but actual data is on D drive.

Please confirm if target path is correct, or tell me your desired target path.

User: Confirm migration

Assistant: [Call migrate_directory]
✅ Migration successful!

Created symbolic link: C:\Users\xxx\.conda → D:\migrated\.conda
Freed C drive space: 15.2 GB

平台分布

OpenClaw

78.03%
按下载量换算2,109

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

继续浏览同类 Skills