cli-search-tools

Search code with ripgrep, discover files with fd, and query JSON/YAML with jq and yq.

1|Updated Mar 5, 2025
One-click install
npx skills add https://github.com/niksavis/burndown-chart --skill cli-search-tools
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli-search-tools
Source: https://github.com/niksavis/burndown-chart/tree/main/.github/skills/cli-search-tools
Command: npx skills add https://github.com/niksavis/burndown-chart --skill cli-search-tools

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill empowers you to efficiently search code, discover files, and query structured data within any project, significantly speeding up development and analysis tasks.

Core Features & Use Cases

  • Content Searching: Quickly find patterns, functions, or variables across your entire codebase using rg (ripgrep).
  • File Discovery: Rapidly locate files by name, extension, or location using fd.
  • Structured Data Querying: Parse and manipulate JSON and YAML configuration files with jq and yq.
  • Use Case: When exploring an unfamiliar project, use this Skill to find all occurrences of a specific function name, identify all configuration files, and then extract a particular setting from a YAML file.

Quick Start

Use the cli-search-tools skill to find all files ending in '.py' that contain the text 'TODO'.

Frequently Asked Questions about cli-search-tools

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

FAQPage Schema
How do I find all occurrences of a specific function name across my codebase?

To find all occurrences of a function name across your codebase, use ripgrep (`rg`) to recursively search file contents for specific patterns, variables, or text strings. It quickly locates matching lines across any project structure.

What is the best way to locate files by extension in an unfamiliar project?

The best way to locate files by extension or name in a project is using `fd` for rapid file discovery. It helps you quickly map out configuration files or specific code modules without manual directory browsing.

How do I extract a specific setting from a YAML configuration file?

To extract a specific setting from a YAML configuration file, use `yq` to parse and query structured data. This allows you to directly inspect and manipulate nested values within files like `pyproject.toml` or YAML configs.

Can I filter search results across specific file types when grepping for patterns?

Yes, you can filter search results across specific file types when grepping for patterns. By using ripgrep, you can target specific file extensions or exclude certain directories to refine your code exploration results.

Does this code exploration approach work with any programming language?

Yes, this code exploration approach works with any programming language, framework, or project structure. The underlying tools search file contents and names universally, independent of specific language syntax.