fs-find

Locate files in a filesystem path using glob patterns.

10|Updated Jul 22, 2025
One-click install
npx skills add https://github.com/bdambrosio/Cognitive_workbench --skill fs-find
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fs-find
Source: https://github.com/bdambrosio/Cognitive_workbench/tree/main/src/world-tools/fs/fs-find
Command: npx skills add https://github.com/bdambrosio/Cognitive_workbench --skill fs-find

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps you quickly locate files within your agent's filesystem sandbox based on flexible pattern matching, saving you time from manual searching.

Core Features & Use Cases

  • Glob Pattern Matching: Search for files using shell-style wildcards like *.txt or Nan_*.
  • Recursive Search: Option to search within subdirectories.
  • Path Specificity: Specify a starting directory for your search.
  • Use Case: You need to find all .log files created in the last week within the logs/archive directory.

Quick Start

Use the fs-find skill to find all text files in the current directory.

Frequently Asked Questions about fs-find

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find files by pattern matching in a filesystem?

Glob pattern matching locates files by matching filenames against shell-style wildcards like "*.txt" or "Nan_*" within a specified filesystem path. It supports recursive directory searching and maximum result limits to efficiently discover files in agent environments.

Can I search subdirectories recursively when looking for specific files?

Yes, recursive searching is supported to locate files within nested subdirectories. You specify a starting directory path and enable recursive traversal to match glob patterns like "*.log" against filenames across the entire directory structure, with optional maximum result limits for efficiency.

What is the best way to locate all log files in a specific directory?

The best way to locate all log files in a specific directory is to use glob pattern matching with a wildcard like "*.log" and specify the target directory as the starting path. This matches filenames directly without path separators, efficiently discovering targeted files in that location.

Does glob pattern matching work with partial filename wildcards?

Yes, glob pattern matching works with partial filename wildcards such as "Nan_*" or "*.txt". It evaluates the filename portion of filesystem entries against the specified pattern without requiring path separators, enabling flexible file discovery within agent sandbox environments.

What are the limitations of using glob patterns for file discovery?

A key limitation of using glob patterns for file discovery is that patterns match filenames without path separators, preventing full directory path matching in a single pattern. Additionally, maximum result limits may cap the number of discovered files returned during recursive filesystem searches.