smgrep
CommunitySearch code by concept, not text.
Authorcan1357
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enables semantic code search across a codebase by asking questions like "where is X implemented" or "how does Y work". It returns file paths with line numbers and code snippets to quickly locate relevant logic. Snippets are previews (first 16 lines) to help you decide which file to read in full.
Core Features & Use Cases
- Semantic search: Find concepts and patterns, not just exact strings.
- Code discovery: Locate implementation across repositories with path constraints and contextual understanding.
- Output semantics: Get results as a path:line with an inlined code snippet for quick context.
- Use Case: Example: ask where authentication is handled or how a plugin is loaded, and get a concise list of files with context to inspect.
Quick Start
Install smgrep and run a sample query like: smgrep "how are plugins loaded" to discover relevant code paths. The first search will index the repository and return results with file paths and line numbers.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: smgrep Download link: https://github.com/can1357/smgrep/archive/main.zip#smgrep Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.