# Code Search Tool

> Search code files using grep or ripgrep for patterns, symbols, and functions

- Skill: `foxl-ai/code-search-tool` (Agent Skill)
- Install (CLI): `npx skillmds@latest add foxl-ai/code-search-tool`
- Raw SKILL.md: https://api.skillmd.com/api/skills/foxl-ai/code-search-tool/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: foxl-ai (https://skillmd.com/u/foxl-ai)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/foxl-ai/code-search-tool

---


# Code Search Tool Skill

Provides the `code_search` tool for searching code files.

## Requirements
- Either `rg` (ripgrep) or `grep` must be available on PATH

## Provided Tool
- `code_search` - Search code with grep/ripgrep for patterns, symbols, functions

## When to use
- User asks to find code patterns or symbols
- User needs to locate function definitions
- User wants to search across a codebase

