foxctl Search

Search repository code with regex patterns and configurable context.

3|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/joshka0/foxctl --skill foxctl-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: foxctl Search
Source: https://github.com/joshka0/foxctl/tree/main/configs/skills-condensed/foxctl-search
Command: npx skills add https://github.com/joshka0/foxctl --skill foxctl-search

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

You need to quickly locate relevant code, files, and symbols in a large repository without manually grepping or searching through irrelevant results.

Core Features & Use Cases

  • High-performance pattern search using ripgrep and grep-style skills to scan for regex matches across your workspace.
  • File discovery to find specific filenames or glob patterns (e.g., tests) without opening directories.
  • Context-aware searching to expand around matches (including function expansion) so you can understand intent, not just line hits.

Quick Start

Run a search for a regex across Go code and include a few surrounding lines of context: foxctl run text/ripgrep --input '{"pattern":"func.*Handler","path":".","file_type":"go","context_lines":3}'.

Frequently Asked Questions about foxctl Search

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

FAQPage Schema
How do I search for a regex pattern across my repository?

You can search for regex patterns across your repository using fast text search with ripgrep. This scans your workspace for matches and allows you to include configurable context lines around the results to understand the surrounding code intent.

What is the best way to find specific filenames or test files without opening directories?

File discovery with glob patterns is the best way to find specific filenames or test files. It scans the repository to locate matching file paths without requiring you to manually open or browse through directories.

Can I filter code search results by file type?

Yes, you can filter code search results by file type. When running a regex pattern search, you can specify a file type parameter to restrict the scan to specific files, such as Go code, ensuring only relevant files are searched.

How does context-aware searching help with debugging and refactoring?

Context-aware searching helps with debugging and refactoring by expanding around matches to show surrounding lines or full function definitions. This exposes the code's intent and structure, making it easier to identify call sites and implementations accurately.

Does ripgrep support path-scoped searching for specific directories?

Yes, ripgrep supports path-scoped searching for specific directories. You can define a path parameter in your search input to restrict the regex pattern matching to a particular scope within your repository, narrowing the results effectively.