content-search

Search file contents with regular expressions using ripgrep or grep.

1|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/winsorllc/upgraded-carnival --skill content-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: content-search
Source: https://github.com/winsorllc/upgraded-carnival/tree/main/.pi/skills/content-search
Command: npx skills add https://github.com/winsorllc/upgraded-carnival --skill content-search

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps you quickly find specific text patterns, code snippets, or content across multiple files in your project using powerful regular expressions.

Core Features & Use Cases

  • Efficient Searching: Leverages ripgrep (or grep as a fallback) for fast and accurate text searching.
  • Flexible Filtering: Supports including and excluding files based on glob patterns.
  • Multiple Output Modes: Get full content matches, just filenames, or counts of matches.
  • Use Case: Quickly locate all instances of a specific function definition or a TODO comment across your entire codebase.

Quick Start

Use the content-search skill to find all occurrences of the text "api_key" within JavaScript files.

Frequently Asked Questions about content-search

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

FAQPage Schema
How do I search for specific text patterns across multiple project files?

You can search for specific text patterns across multiple project files using regular expressions. This skill leverages ripgrep or grep to quickly locate code snippets, function definitions, or content matches within your codebase.

Can I filter which files are included or excluded when searching file contents?

Yes, you can filter files when searching file contents by applying glob patterns. This allows you to specifically include or exclude certain files from the regex search to narrow down your results effectively.

What output modes are available when finding text matches in my codebase?

Available output modes for finding text matches include retrieving full content matches, listing only the filenames containing the pattern, or displaying a total count of matches found across the searched files.

Do I need ripgrep installed to search file contents with regex?

You need either the ripgrep or grep binary installed on your system to search file contents with regex. The skill primarily uses ripgrep for fast and accurate text searching but will automatically fall back to grep if ripgrep is unavailable.

What is the best way to locate all TODO comments or function definitions in my code?

The best way to locate all TODO comments or function definitions is by running a regex search across your codebase. This process quickly scans multiple files to pinpoint exact text patterns and outputs the matching content or filenames.