Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

filesystem

bởi amaofx

Search & Research
6.6kLượt tải do clawskills.sh công bố
4Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Advanced filesystem operations for listing files, searching content, batch processing, and directory analysis.

Mô tả

Kỹ năng này làm gì

Provides directory listing, file search, batch operations, and disk usage analysis using Unix shell commands. Covers standard tools (find, grep) and faster alternatives (fd, ripgrep). Includes patterns for recursive search, file type filtering, and safe batch delete workflows.

Consolidates common filesystem tasks into ready-to-run command patterns, including fd and ripgrep alternatives that outperform find and grep on large directories.

Khi nào nên dùng

  • Finding all files of a specific type across a large project
  • Searching source code for a keyword or regex pattern
  • Cleaning up old log or temp files by age or size
  • Analyzing which directories or file types consume the most disk space
  • Batch renaming or moving files that match a naming pattern

Quy trình ví dụ

ĐẦU VÀO

User asks: Find all .log files older than 30 days and delete them

AGENT
  1. 1

    List matching files: find . -name '*.log' -mtime +30

  2. 2

    Review the list to confirm targets

  3. 3

    Run deletion: find . -name '*.log' -mtime +30 -delete

  4. 4

    Verify no matching files remain

ĐẦU RA

All .log files older than 30 days removed, with a pre-delete review step to avoid accidental data loss

Cài đặt

clawhub install amaofx/filesystem

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết