Agent skill
file-search
Fast file and text search across the codebase. Use when you need to find files by name, search code by content, locate definitions, find usages/imports, or explore project structure. Triggers on "find file", "search for", "where is", "grep for", "locate", "find definition", "find usage", "search codebase", "find all references".
Install this agent skill to your Project
npx add-skill https://github.com/cfircoo/claude-code-toolkit/tree/main/skills/file-search
SKILL.md
<search_modes> This skill handles all search types automatically based on input:
| Input Pattern | Search Mode | What Happens |
|---|---|---|
| File name or glob pattern | File search | Finds files by name/pattern across the project |
| Text string or regex | Content search | Greps file contents for matches |
| Function/class/type name | Definition search | Finds where something is defined + its signature |
| "usages of X" / "who calls X" | Usage search | Finds all imports and call sites |
| "imports of X" | Import search | Finds all files that import a module |
| Directory path or "structure" | Structure exploration | Maps directory layout and key files |
| "related to X" | Related files | Finds dependencies and dependents of a file |
The agent runs multiple search strategies in parallel and cross-references results for completeness. </search_modes>
<success_criteria>
- Returns file paths with line numbers for all matches
- Exhausts multiple search strategies before reporting "not found"
- Results are ordered by relevance
- No false positives — every result was verified by a tool call </success_criteria>
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
sqlalchemy-postgres
Expert guidance for SQLAlchemy 2.0 + Pydantic + PostgreSQL. Use when setting up database layers, defining models, creating migrations, or any database-related work. Automatically activated for DB tasks.
ralph-convert-prd
Converts Product Requirements Documents into prd.json format for the Ralph autonomous agent system. Use when preparing PRDs for Ralph execution, breaking down features into atomic user stories, or when the user mentions Ralph, prd.json, or autonomous agent workflows.
ralph-orchestrator
Orchestrates the full Ralph autonomous agent pipeline from requirements gathering to execution. Use when building new features, platforms, or complex tasks that need structured development through spec-interview, PRD generation, and autonomous implementation.
generate-images
Generate and edit images using Nano Banana (Google Gemini image generation). Use whenever Claude Code needs to create new images, edit existing images, generate icons, diagrams, mockups, or any visual content.
create-subagents
Expert guidance for creating, building, and using Claude Code subagents and the Task tool. Use when working with subagents, setting up agent configurations, understanding how agents work, or using the Task tool to launch specialized agents.
manage-slash-commands
Expert guidance for creating and managing Claude Code slash commands. Use when working with slash commands, creating custom commands, understanding command structure, or learning YAML configuration. This skill should be used when the user asks to "create a slash command", "add a command", "manage commands", "build a command", or mentions slash commands, custom commands, or command configuration.
Didn't find tool you were looking for?