AGENT SKILL

Filesystem operations

暂无简介

License 许可
MIT
所属仓库
rhCat/skillChip
最近更新
2026-07-31
Stars
★ 0
Forks
0

01 前言 Front Matter

name
Filesystem operations
perks
[ "archive", "find_large" ]
skill
fs

02 资源文件 18

03 SKILL.md 正文

fs — Filesystem operations

Filesystem pathways that stay on the safe side: pack a directory into a tarball, find what's eating the disk. Nothing here deletes — find_large lists; acting on the list is a separate, human-decided step.

What to look out for

Each tool emits one line of structured JSON (the audit + debug log) and writes its artifacts under record_store. LOGS TO CHECK: that line + archive.tar.gz / large_files.txt + the executor run-ledger.

Perks

perk tool nature
archive fs_archive writes one tar.gz to record_store — source untouched
find_large fs_find_large read-only listing (MIN_SIZE threshold, default 100M)
  • archive — set SOURCE_DIR; output archive.tar.gz. Single dir, no incremental.
  • find_large — set SEARCH_DIR (+ optional MIN_SIZE); output large_files.txt. No deletion — the oversight rules (rm_rf, find_delete) gate destructive follow-ups by design.

How to use it

Pick a perk, copy ledger.json → task-ledger.json, fill its vars + record_store, then validate → compose → compile → oversight → executor.

04 同仓库更多 Skills