filesystem-management-zh

filesystem-management-zh is a skill for Claude Code, Codex from L-LesterYu/OpenClaw-hot-skills-zh. It costs 30 tokens per session (1,528 once invoked), scanned A, original, MIT.

A file-management tool for listing, searching, copying, and analyzing files and folders. It supports filters, recursive searches, content matching, directory trees, and JSON output.

In plain words
What is it for?
Use it to find files by name or content, list selected file types, copy matching files, view folder trees, and examine storage usage.
Why use it?
It helps an agent inspect large or unfamiliar directory structures without running many separate commands. Preview and progress options make batch copying easier to check.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is filesystem copy --pattern "*.log" --to ./backup/ --dry-run.

Good fit Use it to find files by name or content, list selected file types, copy matching files, view folder trees, and examine storage usage.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/L-LesterYu/OpenClaw-hot-skills-zh
agentmods
npx agentmods add skills/l-lesteryu/openclaw-hot-skills-zh/filesystem-management-zh

Made for: Claude Code, Codex.

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 filesystem-management-zh

README.md
[![agentmods](https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/filesystem-management-zh/github.svg)](https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/filesystem-management-zh)
Your own site
<a href="https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/filesystem-management-zh"><img src="https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/filesystem-management-zh/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 filesystem-management-zh

Your own site · 80×15
<a href="https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/filesystem-management-zh"><img src="https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/filesystem-management-zh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,528 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.00030 $0.01528
Opus 5 $0.00015 $0.00764
Sonnet 5 $0.00006 $0.00306
Haiku 4.5 $0.00003 $0.00153

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

Security

Grade A, and why

filesystem-management-zh 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 12d ago.

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.

skills/filesystem-management-zh/SKILL.md · 190 lines

How it starts

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

📁 文件系统管理

面向 AI 智能体的高级文件系统操作工具。提供全面的文件和目录操作能力,包括智能过滤、搜索和批量处理功能。

功能特性

📋 智能文件列表

  • 高级过滤 — 按文件类型、模式、大小和日期过滤
  • 递归遍历 — 深度目录扫描,支持深度控制
  • 丰富格式 — 表格、树形和 JSON 输出格式
  • 排序选项 — 按名称、大小、日期或类型排序

🔍 强大搜索

  • 模式匹配 — 支持 Glob 模式和正则表达式
  • 内容搜索 — 文件内全文搜索
  • 多条件组合 — 同时按文件名和内容搜索
  • 上下文显示 — 显示匹配行及其上下文

🔄 批量操作

  • 安全复制 — 基于模式的文件复制,带验证机制
  • 预览模式 — 执行前预览操作结果
  • 进度追踪 — 实时操作进度显示
  • 错误处理 — 优雅的故障恢复机制

🌳 目录分析

  • 树形可视化 — ASCII 树形结构展示
  • 统计信息 — 文件计数、大小分布、类型分析
  • 空间分析 — 识别大文件和大目录
  • 性能指标 — 操作计时和优化建议

快速开始

# 带过滤的文件列表
filesystem list --path ./src --recursive --filter "*.js"

# 搜索文件内容
filesystem search --pattern "TODO" --path ./src --content

# 安全批量复制
filesystem copy --pattern "*.log" --to ./backup/ --dry-run

# 显示目录树
filesystem tree --path ./ --depth 3

# 分析目录结构
filesystem analyze --path ./logs --stats

命令参考

filesystem list

带高级过滤选项的文件和目录列表。

参数说明:

  • --path, -p <目录> — 目标目录(默认:当前目录)
  • --recursive, -r — 包含子目录
  • --filter, -f <模式> — 按模式过滤文件
  • --details, -d — 显示详细信息
  • --sort, -s <字段> — 排序方式:name|size|date
  • --format <类型> — 输出格式:table|json|list

filesystem search

按文件名模式或内容搜索文件。

参数说明:

  • --pattern <模式> — 搜索模式(glob 或正则表达式)
  • --path, -p <目录> — 搜索目录
  • --content, -c — 搜索文件内容
  • --context <行数> — 显示上下文行数
  • --include <模式> — 包含的文件模式
  • --exclude <模式> — 排除的文件模式

filesystem copy

带模式匹配和安全检查的批量文件复制。

参数说明:

  • --pattern <glob> — 源文件模式
  • --to <目录> — 目标目录
  • --dry-run — 仅预览,不执行
  • --overwrite — 允许覆盖文件
  • --preserve — 保留时间戳和权限

filesystem tree

以树形结构显示目录。

参数说明:

  • --path, -p <目录> — 根目录
  • --depth, -d <数字> — 最大深度
  • --dirs-only — 仅显示目录
  • --size — 显示文件大小
  • --no-color — 禁用彩色输出

filesystem analyze

分析目录结构并生成统计信息。

参数说明:

  • --path, -p <目录> — 目标目录
  • --stats — 显示详细统计
  • --types — 分析文件类型
  • --sizes — 显示大小分布
  • --largest <数量> — 显示最大的 N 个文件

安装

# 通过 ClawdHub 安装
clawdhub install filesystem

# 或手动克隆
cd ~/.openclaw/skills
git clone <filesystem-skill-repo>

# 设置可执行权限
chmod +x filesystem/filesystem

Read the full file on GitHub · 190 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 190 lines · 30 tokens per session scan A c1fb8e11c77e

Subscribe to this mod's changes

filesystem-management-zh is a skill published in the GitHub repository L-LesterYu/OpenClaw-hot-skills-zh (54 stars, last pushed 5mo ago), licensed MIT. It adds 30 tokens to every session and 1,528 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