ogrep

Translate natural-language code questions into semantic search queries and retrieve relevant code snippets.

6|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/gplv2/ogrep-marketplace --skill ogrep
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ogrep
Source: https://github.com/gplv2/ogrep-marketplace/tree/main/plugins/ogrep/skills/ogrep
Command: npx skills add https://github.com/gplv2/ogrep-marketplace --skill ogrep

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables semantic code search by translating natural-language questions about a codebase into precise, meaning-based queries that return relevant code snippets, rather than simple keyword matches.

Core Features & Use Cases

  • Semantic code search: search by intent to locate where something is implemented, how it works, or why a behavior occurs across a repository.
  • Context-aware exploration: drill into code with chunked excerpts to see surrounding logic and call relationships.
  • Codebase understanding: quickly identify responsible files and lines for a given question, reducing manual browsing.

Quick Start

Use the ogrep skill to search for conceptual questions like "where is authentication handled?" and then expand results with ogrep chunk to see surrounding context.

Frequently Asked Questions about ogrep

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

FAQPage Schema
How do I search a codebase to find where a specific behavior is implemented?

Semantic code search translates natural-language questions about a behavior into meaning-based queries, retrieving relevant code snippets across a repository to pinpoint exactly where that behavior is implemented.

What is the best way to find code by meaning instead of exact keywords?

Semantic code search locates code by intent rather than exact keywords, enabling you to find where a function is implemented or why a behavior occurs using natural-language questions instead of exact string matches.

How do I explore surrounding context after finding a relevant code snippet?

You can expand initial semantic search results with chunked excerpts to see surrounding logic and call relationships, applying file-type filtering to drill into the specific context of the retrieved code snippet.

Can I filter semantic code search results by specific file types?

Yes, semantic code search supports file-type filtering to narrow down retrieved code snippets, allowing you to restrict repository exploration and context-aware chunking to specific file formats.

Does semantic code search require indexing the repository before querying?

Yes, semantic code search requires running index commands to process the repository before executing natural-language queries, ensuring the meaning-based search can accurately locate and retrieve relevant code snippets.

What are the limitations of using semantic search for codebase understanding?

Semantic search for codebase understanding requires running index and query commands beforehand and may necessitate optional reranking with embeddings to refine results, adding processing overhead compared to simple keyword lookups.