Zum Inhalt springen
TakoAPI
Zurück zu den Skills

fd-find

von arnarsson

CLI Utilities
2.6kDownloadzahlen laut clawskills.sh
1Sterne
1Aufrufe
0 LikesMelde dich an, um diesen Skill zu liken
—Noch nicht bewertet
Deine Bewertung

Kurzbeschreibung

A fast and user-friendly alternative to 'find' - simple syntax, smart.

Beschreibung

Was dieser Skill macht

fd is a command-line file search tool that replaces `find` with simpler syntax and smarter defaults. It respects `.gitignore` by default, uses smart case matching, and traverses directories in parallel. Supports filtering by extension, type, size, modification time, and regex patterns.

Faster than `find`, requires no `-name`/`-type` boilerplate for common searches, and skips `node_modules` and build artifacts automatically via gitignore support.

Wann du ihn einsetzt

  • Find all TypeScript files across a monorepo
  • Delete log files older than 30 days
  • Locate files over 100MB consuming disk space
  • Batch convert all images in a directory using -x
  • Search for config files modified in the last hour

Beispiel-Workflow

EINGABE

User asks: count total lines across all Python files changed in the last 2 days

AGENT
  1. 1

    Run fd -e py --changed-within 2d to list recently modified Python files

  2. 2

    Append -x wc -l to count lines per file in parallel

  3. 3

    Pipe output to awk '{sum+=$1} END {print sum}' to total the counts

AUSGABE

Single integer representing total lines across matching files

Voraussetzungen

  • fd binary — install via `brew install fd` (macOS) or `apt install fd-find` (Linux)

Installation

clawhub install arnarsson/fd-find

Führe den CLI-Befehl aus oder füge den Prompt in Claude Code, Cursor, Codex oder deinen Coding-Agenten ein.

Links