sensegrep-cli

sensegrep-cli is a skill for Claude Code, Codex from Stahldavid/sensegrep. It costs 35 tokens per session (593 once invoked), scanned A, original, Apache-2.0.

A command-line skill for finding code by meaning, structure, or exact text using the sensegrep tool. It uses AI-based similarity search and syntax-tree analysis to explore a codebase.

In plain words
What is it for?
Use it to discover related functions or classes, explore project structure, search for exact text or patterns, inspect code relationships, and check for duplicates.
Why use it?
It helps locate code when you know what behavior you need but not the function or file name. Exact searches remain available for checking known strings or verifying every occurrence.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to discover related functions or classes, explore project structure, search for exact text or patterns, inspect code relationships, and check for duplicates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stahldavid/sensegrep/sensegrep-cli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Stahldavid/sensegrep --skill sensegrep-cli
Clone the repo
git clone --depth 1 https://github.com/Stahldavid/sensegrep

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sensegrep-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/stahldavid/sensegrep/sensegrep-cli/github.svg)](https://agentmods.dev/skills/stahldavid/sensegrep/sensegrep-cli)
Your own site
<a href="https://agentmods.dev/skills/stahldavid/sensegrep/sensegrep-cli"><img src="https://agentmods.dev/badge/skills/stahldavid/sensegrep/sensegrep-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sensegrep-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/stahldavid/sensegrep/sensegrep-cli"><img src="https://agentmods.dev/badge/skills/stahldavid/sensegrep/sensegrep-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 593 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.00593
Opus 5.5 $0.00014 $0.00237
Sonnet 5.5 $0.00007 $0.00119
Haiku 4.5 $0.00003 $0.00059

Measured 1mo ago against content hash 446ed85c5e36, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sensegrep-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/sensegrep-cli/SKILL.md · 33 lines

How it starts

The opening of the file, as written. The whole thing — 33 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sensegrep CLI

Choose the operation

  • Known path, identifier, string or complete occurrence audit: use rg/rg --files, or sensegrep literal --filesystem --json when its structured evidence is useful. No semantic index is needed.
  • Uncertain implementation location or conceptual behavior: use sensegrep search with a focused query; inspect selected results in source.
  • A bounded context pack or broad reading map: use context, survey or cluster. Load only the relevant section of the command guide.
  • Reference/rename completeness: use compiler-aware references or AST/LSP evidence. Semantic retrieval is discovery, not an exhaustive dependency graph.

Execution and privacy

Use an existing CLI or the MCP tools actually exposed in this consumer; a skill alone does not install or start either. Check the executable version/help when syntax or capabilities matter. Resolve the actual project root and preserve its current configuration.

Reading the skill does not require installation, indexing, model downloads, a daemon or a watcher. If a semantic index is missing, use available source/text evidence; build an index only when that work is in scope. Indexing writes local data and may call an embedding provider. Do not clear or rebuild indexes as automatic recovery.

For local-only retrieval, verify the resolved provider/model/endpoint. In runtimes that support it, SENSEGREP_NETWORK_POLICY=local-only disables Jev and remote embedding/capability endpoints and automatic ripgrep downloads. This is application policy, not an OS sandbox. --jev off disables remote evaluation for the command. Do not enable source transmission or paid provider calls without task consent. MCP may start watching files; do not start it just to inspect source.

Evidence and continuation

Prefer compact JSON cards, then show for selected IDs. Retain retrieval mode/universe, index identity, budgets, freshness and warnings. Truncation and incomplete coverage limit claims of absence; expand only missing evidence. Ranking/confidence and answer-sufficiency heuristics are not calibrated probabilities or proof of completeness.

Read the full file on GitHub · 33 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -444 lines · -15 tokens per session 446ed85c5e36
  2. 2mo ago Changed · +26 lines 1a140c6d7aa0
  3. 3mo ago First seen · 451 lines · 50 tokens per session scan A 02779e82f302

Subscribe to this mod's changes

sensegrep-cli is a skill published in the GitHub repository Stahldavid/sensegrep (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 35 tokens to every session and 593 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

sensegrep-cli compared with skills from other repositories

sensegrep-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sensegrep-cliStahldavid/sensegrepSkill21mo agoApache-2.0A35Claude Code, Codex
semhoodAhmeedGamil/semhoodSkill26mo agoMITA40Claude Code, Codex
ccccocoindex-io/cocoindex-codeSkill3.0k9d agoApache-2.0A80Claude Code
x-raybartolli/codannaSkill76512d agoApache-2.0A25Claude Code
tree-sitter-language-pack-extracting-code-structurexberg-io/tree-sitter-language-packSkill490todayMITA52Claude Code
tree-sitter-language-pack-parsing-sourcexberg-io/tree-sitter-language-packSkill490todayMITA48Claude Code
rag-index-decisionslyonzin/knowledge-ragSkill314todayMITA72Claude Code, Codex