search-files

search-files is a skill for Claude Code from Abilityai/abilities. It costs 14 tokens per session (264 once invoked), scanned A, original, MIT.

A workspace file-search skill that looks through a prepared index for matching filenames, extensions, keywords, or directories.

In plain words
What is it for?
Use it to find files such as Python scripts, configuration files, documentation, or everything inside a selected directory.
Why use it?
It lets an agent quickly locate relevant files without manually checking the whole workspace, while also noting when the index may need updating.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the agent-dev plugin — 48 skills shipped together

Good fit Use it to find files such as Python scripts, configuration files, documentation, or everything inside a selected directory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abilityai/abilities/search-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 Abilityai/abilities --skill search-files
Clone the repo
git clone --depth 1 https://github.com/Abilityai/abilities

Made for: Claude Code.

Or install agent-dev, the plugin that ships this one along with the rest of its 48 skills.

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 search-files

README.md
[![agentmods](https://agentmods.dev/badge/skills/abilityai/abilities/search-files/github.svg)](https://agentmods.dev/skills/abilityai/abilities/search-files)
Your own site
<a href="https://agentmods.dev/skills/abilityai/abilities/search-files"><img src="https://agentmods.dev/badge/skills/abilityai/abilities/search-files/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for search-files

Your own site · 80×15
<a href="https://agentmods.dev/skills/abilityai/abilities/search-files"><img src="https://agentmods.dev/badge/skills/abilityai/abilities/search-files.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 264 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.00014 $0.00264
Opus 5.5 $0.00006 $0.00106
Sonnet 5.5 $0.00003 $0.00053
Haiku 4.5 $0.00001 $0.00026

Measured 3mo ago against content hash c47bb10cd3c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

search-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 3mo 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/agent-dev/memory-templates/file-index/search-files/SKILL.md · 46 lines

What it actually says

Search Files

Search the file index for files matching the given pattern.

Arguments

$ARGUMENTS - The search term (filename pattern, extension, or keyword)

Step 1: Load Index

Read memory/file_index.md to search within indexed files.

Step 2: Search Strategy

Based on the search term:

If extension search (e.g., ".py", ".md"):

  • Filter index for files with that extension
  • Report count and list

If filename pattern (e.g., "config", "test"):

  • Search index for matching filenames
  • Use Glob for verification if needed

If directory search (e.g., "src/", "tests/"):

  • Filter index to show that directory's contents

Step 3: Report Results

Output:

  • Number of matches found
  • List of matching files with paths
  • Sizes if available from index

If no matches in index, suggest:

  • Running /refresh-index if index might be stale
  • Using Glob directly for real-time search
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. 3mo ago First seen · 46 lines · 14 tokens per session scan A c47bb10cd3c8

Subscribe to this mod's changes

search-files is a skill published in the GitHub repository Abilityai/abilities (13 stars, last pushed yesterday), licensed MIT. It adds 14 tokens to every session and 264 once invoked, about $0.0001 per session on Opus 5.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

search-files compared with skills from other repositories

search-files next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
search-filesAbilityai/abilitiesSkill13yesterdayMITA14Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code