finding-files

finding-files is a skill for Claude Code, Codex from SebastienDegodez/copilot-instructions. It costs 28 tokens per session (739 once invoked), scanned A, original, Apache-2.0.

A file-searching guide based on fd, a command-line tool for finding files by name, type, pattern, or size. It describes options for hidden files, exclusions, depth limits, and passing results to other tools.

In plain words
What is it for?
Use it to find source files, filter files by extension or type, build file lists, search selected results, or pass matching files to batch commands.
Why use it?
It provides a consistent and faster way to locate files in large directories, reducing manual browsing and making file-based workflows easier to repeat.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to find source files, filter files by extension or type…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sebastiendegodez/copilot-instructions/finding-files
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add SebastienDegodez/copilot-instructions --skill finding-files
Clone the repo
git clone --depth 1 https://github.com/SebastienDegodez/copilot-instructions

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for finding-files

README.md
[![agentmods](https://agentmods.dev/badge/skills/sebastiendegodez/copilot-instructions/finding-files.svg)](https://agentmods.dev/skills/sebastiendegodez/copilot-instructions/finding-files)
Your own site
<a href="https://agentmods.dev/skills/sebastiendegodez/copilot-instructions/finding-files"><img src="https://agentmods.dev/badge/skills/sebastiendegodez/copilot-instructions/finding-files.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 739 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.00739
Opus 5 $0.00014 $0.00369
Sonnet 5 $0.00006 $0.00148
Haiku 4.5 $0.00003 $0.00074

Measured 7d ago against content hash c7b2d809a330, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

finding-files scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/minimal-context-tools/skills/finding-files/SKILL.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Always invoke finding-files skill for fast file discovery - do not execute bash commands directly.

Use fd for fast file discovery that's 13-23x faster than find.

Default Strategy

Invoke finding-files skill for fast file discovery with parallel search and smart defaults. Use when searching for files by name, pattern, or type, especially when performance matters or when working with large directories.

Common workflow: finding-files skill → other skills (fuzzy-selecting, viewing-files, searching-text, replacing-text) for further processing.

Key Options

  • -e ext for extension filtering
  • -t file|dir for type filtering
  • -H include hidden files
  • -I ignore .gitignore
  • --exclude pattern exclusions
  • -x exec per file, -X exec batch
  • {}, {.}, {/} placeholders

When to Use

  • Quick file searches by pattern
  • Filter by type, size, extension
  • Search with depth limits
  • Batch file operations
  • Integration with other tools

Common Workflows

  • finding-files → fuzzy-selecting → viewing-files: Search files, select interactively, view with syntax highlighting
  • finding-files → replacing-text: Find files and perform batch replacements
  • finding-files → xargs tool: Execute commands on found files
  • finding-files → searching-text: Search within specific file types

Core Principle

Smart defaults: ignores hidden/.gitignore files, case-insensitive, parallel search - much faster than find.

Detailed Reference

For comprehensive search patterns, filtering options, execution examples, and performance tips, load fd guide when needing:

  • Advanced filtering patterns (size, time, depth)
  • Batch execution with placeholders
  • Performance optimization techniques
  • Integration with shell scripts
  • Complex exclusion patterns

The guide includes:

  • Core search patterns and file discovery
  • Extension and type filtering techniques
  • Execution and batch operation examples
  • Performance optimization strategies
  • Integration with other tools (xargs, ripgrep)
  • Advanced filtering and exclusion patterns

Read the full file on GitHub · 88 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 88 lines · 28 tokens per session scan A c7b2d809a330

Subscribe to this mod's changes

finding-files is a skill published in the GitHub repository SebastienDegodez/copilot-instructions (192 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 28 tokens to every session and 739 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

rework-rate

Measure and interpret PR rework rate — the emerging 5th DORA metric.

bradygaster/squad · 20 tokens

mcp

Build or consume Model Context Protocol (MCP) servers and clients in .NET using the official MCP C# SDK, including stdio, Streamable HTTP, tools, prompts, resources, and capability negotiation. USE FOR: .NET MCP servers or clients; stdio versus HTTP transport choices; tools, resources, prompts, completions, and…

managedcode/dotnet-skills · 123 tokens

microsoft-extensions-ai

Build provider-agnostic .NET AI integrations with Microsoft.Extensions.AI, IChatClient, embeddings, middleware, structured output, vector search, and evaluation. USE FOR: building or reviewing .NET code that uses Microsoft.Extensions.AI, Microsoft.Extensions.AI.Abstractions, IChatClient, IEmbeddingGenerator…

managedcode/dotnet-skills · 128 tokens

migrate-xunit-to-xunit-v3

Migrate .NET test projects from xUnit.net v2 to xunit.v3 and fix v3 breaks. Use for package/CPM conversion, OutputType=Exe, preserving the VSTest or MTP runner (including projects currently using YTest.MTP.XUnit2), incompatible TFMs, async void tests, string-to-Type attributes, custom Fact/Theory/BeforeAfterTest…

managedcode/dotnet-skills · 149 tokens

semantic-kernel

Build AI-enabled .NET applications with Semantic Kernel using services, plugins, prompts, and function-calling patterns that remain testable and maintainable. USE FOR: adding AI-driven prompts, plugins, or orchestration to a .NET app; reviewing kernel construction, service registration, or plugin usage; building…

managedcode/dotnet-skills · 116 tokens

template-instantiation

Creates .NET projects from templates with validated parameters, smart defaults, Central Package Management adaptation, and latest NuGet version resolution. USE FOR: creating new dotnet projects, scaffolding solutions with multiple projects, installing or uninstalling template packages, creating projects that respect…

managedcode/dotnet-skills · 168 tokens