sgrep SKILL.md skillA

This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.

sgrep from xiaoconstantine/sgrep is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add xiaoconstantine/sgrep/sgrep@git:20260821.03b1355

Pins git:20260821.03b1355 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
xiaoconstantine/sgrep
Path
SKILL.md
Versions recorded
2
Latest version
git:20260821.03b1355, committed Aug 21, 2026
First version recorded
Jul 21, 2026
Size
5,055 bytes
Repository stars
21
License
Apache-2.0

Semantic and hybrid code and conversation search for intent-based queries. Use when exploring unfamiliar codebases, finding code by concept instead of exact text, or recalling past agent conversations about similar problems.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# sgrep - Smart Code & Conversation Search

Use `sgrep` for semantic and hybrid search across **code** and **agent conversations**. It understands intent, not just exact strings.

## When to Use

### Code Search
- Finding code by **concept**: "error handling", "authentication logic", "rate limiting"
- Searching for **specific terms** with semantic context: use `--hybrid`
- Best code-search accuracy after indexing: use `--hybrid --colbert`
- Exploring unfamiliar codebases
- When ripgrep patterns keep missing relevant code

### Conversation Search
- Finding past discussions with **Claude Code**, **Codex CLI**, **Cursor**, **OpenCode**, or **Pi**
- Recalling how you solved a similar problem before
- Building context from previous sessions for new tasks
- Searching across all your coding agent interactions

## Commands

```bash
# First time only
sgrep setup
sgrep setup --with-rerank  # optional, only for --rerank

# Index current directory; builds compact TQ-MSE chunk/file vectors by default
sgrep index .

# Optional ColBERT segment codec override
sgrep index . --colbert-codec tqmse
sgrep index . --colbert-codec int8
sgrep index . --colbert-codec pq6
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add xiaoconstantine/sgrep/sgrep@sha256:255ff82aaec08a5f

The line at the top of this page pins the label git:20260821.03b1355, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_t2z2cufbqwd7qg24.svg)](https://markdownregistry.com/a/art_t2z2cufbqwd7qg24)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Jul 21, 2026 and Aug 21, 2026, about one every 30 days.

versioncommittedcommitsizeaudit
git:20260821.03b1355 latest2026-08-21 03b1355 5,055 BA view · diff
git:20260721.19ebec12026-07-21 19ebec1 4,053 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5055 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

xiaoconstantine/sgrep · 21 stars · license Apache-2.0 · pushed 2026-09-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_t2z2cufbqwd7qg24
GET https://markdownregistry.com/api/v1/resolve?ref=xiaoconstantine/sgrep/sgrep
GET https://markdownregistry.com/api/v1/blob/255ff82aaec08a5f47d1087e24b369026c1ba7e2c67ce02a8186e301ee8b71d8

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from xiaoconstantine/sgrep

AGENTS.md AGENTS.md file
xiaoconstantine/sgrep · AGENTS.md
git:20260821.8fc348a · audit A · 21 stars
sgrep SKILL.md skill
xiaoconstantine/sgrep · plugins/sgrep/skills/sgrep/SKILL.md · Semantic and hybrid code and conversation search for intent-based queries. Use when exploring unfamiliar codebases…
git:20260821.03b1355 · audit A · 21 stars

Every file in xiaoconstantine/sgrep

Other files named sgrep

sgrep SKILL.md skill
xiaoconstantine/sgrep · plugins/sgrep/skills/sgrep/SKILL.md · Semantic and hybrid code and conversation search for intent-based queries. Use when exploring unfamiliar codebases…
git:20260821.03b1355 · audit A · 21 stars

Browse by kind, by grade A, or by owner.