osgrep

Finds code by meaning. When you'd ask a colleague "where do we handle auth?", use osgrep.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "osgrep" with this command: npx skills add ryandonofrio3/osgrep/ryandonofrio3-osgrep-osgrep

What osgrep does

Finds code by meaning. When you'd ask a colleague "where do we handle auth?", use osgrep.

  • grep/ripgrep: exact string match, fast

  • osgrep: concept match, finds code you couldn't grep for

Primary command

osgrep "where do we validate user permissions"

Returns ~10 results with code snippets (15+ lines each). Usually enough to understand what's happening.

Output explained

ORCHESTRATION src/auth/handler.ts:45 Defines: handleAuth | Calls: validate, checkRole, respond | Score: .94

export async function handleAuth(req: Request) { const token = req.headers.get("Authorization"); const claims = await validateToken(token); if (!claims) return unauthorized(); const allowed = await checkRole(claims.role, req.path); ...

  • ORCHESTRATION = contains logic, coordinates other code

  • DEFINITION = types, interfaces, classes

  • Score = relevance (1 = best match)

  • Calls = what this code calls (helps you trace flow)

When to Read more

The snippet often has enough context. But if you need more:

osgrep found src/auth/handler.ts:45-90 as ORCH

Read src/auth/handler.ts:45-120

Read the specific line range, not the whole file.

Other commands

Trace call graph (who calls X, what X calls)

osgrep trace handleAuth

Skeleton of a huge file (to find which ranges to read)

osgrep skeleton src/giant-2000-line-file.ts

Just file paths when you only need locations

osgrep "authentication" --compact

Workflow: architecture questions

1. Find entry points

osgrep "where do requests enter the server"

Review the ORCH results - code is shown

2. If you need deeper context on a specific function

Read src/server/handler.ts:45-120

3. Trace to understand call flow

osgrep trace handleRequest

Tips

  • More words = better results. "auth" is vague. "where does the server validate JWT tokens" is specific.

  • ORCH results contain the logic - prioritize these

  • Don't read entire files. Use the line ranges osgrep gives you.

  • If results seem off, rephrase your query like you'd ask a teammate

If Index is Building

If you see "Indexing" or "Syncing": STOP. Tell the user the index is building. Ask if they want to wait or proceed with partial results.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

osgrep

No summary provided by upstream source.

Repository SourceNeeds Review
General

osgrep

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

openclaw-version-monitor

监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明

Archived SourceRecently Updated
Coding

ask-claude

Delegate a task to Claude Code CLI and immediately report the result back in chat. Supports persistent sessions with full context memory. Safe execution: no data exfiltration, no external calls, file operations confined to workspace. Use when the user asks to run Claude, delegate a coding task, continue a previous Claude session, or any task benefiting from Claude Code's tools (file editing, code analysis, bash, etc.).

Archived SourceRecently Updated