Skip to main content
← All tools

fd

Find files and directories by name

DevelopmentSchema v1.0.0Maintained by mcclowes

Give your agents the context

Install fd first. This command installs its capability description and registers your local executable. It doesn't install or run the tool.

clip registry add fd --purpose "Find files and directories by name"
clip sync

Coverage: File and directory discovery; excludes command execution. This is a partial community description, not a claim of full CLI Spec conformance. Missing mutation markers mean unknown.

Agent validation

This schema hasn't been run against its tool by an agent yet.

How validation works ↗

what's described

Capabilities

Read operation

fd [pattern] [path...]

Find matching names beneath the supplied directories. Defaults to the current directory and skips hidden and ignored entries.

fd --type f --extension ts . packages
fd --glob '*.json' registry
fd --type d --max-depth 2 . src

Inspect the source

Review the schema's arguments and output fields before use. Community descriptions provide context, not authorization.

Full capability document
{
  "name": "fd",
  "description": "Find filesystem entries by name. Partial community schema covering discovery only; command execution options are excluded. Some distributions install the executable as fdfind rather than fd.",
  "documentation": "https://github.com/sharkdp/fd#how-to-use",
  "capabilities": [
    {
      "name": "[pattern] [path...]",
      "description": "Find matching names beneath the supplied directories. Defaults to the current directory and skips hidden and ignored entries.",
      "mutating": false,
      "args": [
        {
          "name": "pattern",
          "type": "string",
          "description": "Regular expression matched against entry names; omit to match all."
        },
        {
          "name": "path",
          "type": "string",
          "description": "One or more directories to search."
        },
        {
          "name": "--glob",
          "type": "boolean",
          "description": "Interpret the pattern as a glob."
        },
        {
          "name": "--type",
          "type": "string",
          "enum": [
            "f",
            "d",
            "l",
            "x",
            "e",
            "s",
            "p"
          ],
          "description": "Filter files, directories, symlinks, executables, empty entries, sockets, or pipes."
        },
        {
          "name": "--extension",
          "type": "string",
          "description": "Filter by extension without a leading dot. Repeatable."
        },
        {
          "name": "--hidden",
          "type": "boolean"
        },
        {
          "name": "--exclude",
          "type": "string",
          "description": "Exclude a glob. Repeatable."
        },
        {
          "name": "--max-depth",
          "type": "integer"
        },
        {
          "name": "--print0",
          "type": "boolean",
          "description": "Terminate results with NUL."
        }
      ],
      "examples": [
        "fd --type f --extension ts . packages",
        "fd --glob '*.json' registry",
        "fd --type d --max-depth 2 . src"
      ],
      "output_fields": [
        {
          "name": "stdout",
          "type": "string",
          "description": "Matching paths separated by newlines, or NUL with --print0. Terminal output may contain colors."
        }
      ]
    }
  ]
}

View source and propose an update ↗

SHA-256: d66024b47953a7dbc68ded8168dea24d405ca21056b5fe7588d5a55d0ebeb6fb