code-search

Search codebases by text, symbols, files, and natural language queries.

2|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/FatBy/DD-OS --skill code-search-fatby
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-search
Source: https://github.com/FatBy/DD-OS/tree/main/skills/code-search
Command: npx skills add https://github.com/FatBy/DD-OS --skill code-search-fatby

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers quickly locate specific code snippets, functions, classes, or files within a codebase, significantly speeding up debugging and feature development.

Core Features & Use Cases

  • Text Search: Uses ripgrep for fast, case-insensitive pattern matching across files.
  • Symbol Search: Leverages AST analysis (via Tree-sitter) to find definitions, references, and calls for functions, classes, and variables.
  • File Search: Quickly find files based on glob patterns.
  • Semantic Search: Enables natural language queries to find code based on meaning and context, powered by embeddings.
  • Use Case: You need to find all places where a specific function calculate_total is called within the src/utils directory.

Quick Start

Use the code-search skill to find all occurrences of the function named 'getUserData' within the project.

Frequently Asked Questions about code-search

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

FAQPage Schema
How do I find all calls of a specific function in my codebase?

Use AST-based symbol search to find function calls, definitions, and references across your codebase. By leveraging tree-sitter analysis, you can locate specific function calls and filter results by directory scope for precise navigation.

Can I search my code using natural language queries?

Yes, semantic code search enables natural language queries to find code based on meaning and context. Powered by embeddings, it returns relevant code snippets that match your intent rather than exact text patterns.

What is the best way to do a case-insensitive text search across files?

The best way to perform case-insensitive text search is using ripgrep for fast pattern matching across files. This approach quickly locates specific text snippets within your codebase while supporting glob pattern filtering.

Does semantic code search work with multiple programming languages?

Yes, code search supports filtering by language to ensure precise results across multiple programming languages. The AST analysis and text matching engines process various languages while allowing you to restrict search scope.

How do I find files based on glob patterns in my project?

File search allows you to quickly find files based on glob patterns within your project. This feature uses pattern matching to locate files by name or extension, independent of their internal code content.

When should I use semantic search instead of text matching?

Use semantic search when you need to find code by meaning and context rather than exact strings, such as locating a calculation block without knowing variable names. Use text matching when you know the precise pattern or string to find.