sense

sense is a skill for Claude Code, Codex from luuuc/sense. It costs 54 tokens per session (1,060 once invoked), scanned C, original, MIT.

A local tool that maps how the parts of a codebase relate to one another and helps an AI coding agent search that structure. It also detects conventions used in the project.

In plain words
What is it for?
Use it to find callers, implementations, routes, handlers, models, controllers, and possibly unused code. It can also estimate the effects of changing a function or other code relationship.
Why use it?
It reduces the need to read many files or make repeated searches before changing code. It helps reveal which code may be affected by a change.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions Codex.

Good fit Use it to find callers, implementations, routes, handlers, models, controllers, and possibly unused code. It can also estimate the effects of changing a function or other code relationship.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/luuuc/sense/smithery
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 luuuc/sense --skill smithery
Clone the repo
git clone --depth 1 https://github.com/luuuc/sense

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 sense

README.md
[![agentmods](https://agentmods.dev/badge/skills/luuuc/sense/smithery/github.svg)](https://agentmods.dev/skills/luuuc/sense/smithery)
Your own site
<a href="https://agentmods.dev/skills/luuuc/sense/smithery"><img src="https://agentmods.dev/badge/skills/luuuc/sense/smithery/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 sense

Your own site · 80×15
<a href="https://agentmods.dev/skills/luuuc/sense/smithery"><img src="https://agentmods.dev/badge/skills/luuuc/sense/smithery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,060 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00054 $0.01060
Opus 5.5 $0.00022 $0.00424
Sonnet 5.5 $0.00011 $0.00212
Haiku 4.5 $0.00005 $0.00106

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

Security

Grade C, and why

sense scanned grade C with 2 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://luuuc.github.io/sense/install.sh | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://luuuc.github.io/sense/install.sh | sh
smithery/SKILL.md · 92 lines

How it starts

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

Sense: Codebase Understanding for AI Coding Agents

Sense is an MCP server that gives AI agents the structural understanding of a codebase that a senior engineer carries in their head. It runs as one Go binary with a local SQLite index — no API keys, no SaaS, no cloud calls.

When to Use This Skill

Use Sense whenever the task depends on understanding code relationships, not just reading text:

  • "Who calls this function?" / "What does this function call?"
  • "What breaks if I change this signature?" (blast radius)
  • "Find the implementation of the X pattern" (semantic search)
  • "What conventions does this project follow?" (e.g., naming, Rails idioms, Go interface patterns)
  • "Find dead code"
  • "Show me all routes / handlers / models / controllers"

Do NOT use Sense for:

  • Locating a string literal or log message — plain grep is faster.
  • Editing code — Sense is read-only by design.

Setup (one-time per project)

# Install the binary (macOS / Linux):
curl -fsSL https://luuuc.github.io/sense/install.sh | sh

# In the project root:
sense scan      # builds the .sense/ index (tree-sitter + embeddings)
sense setup     # writes .mcp.json + CLAUDE.md routing + hooks

After sense setup, your AI tool (Claude Code, Cursor, Codex CLI) has Sense's four tools available via MCP.

Tools

Tool Capability
sense_graph Symbol relationships — callers, callees, inheritance, tests, dead code
sense_search Hybrid semantic + keyword search with text fallback
sense_blast Blast radius, affected code, affected tests, risk score
sense_conventions Auto-detected project conventions (Rails, React, Django, Go, naming)

Plus a generated .sense/summary.md at session-start: top namespaces, hub symbols, entry points, conventions — so the AI is oriented before its first tool call.

How to Call (MCP)

After sense setup, the tools are exposed automatically. Prefer them over grep/glob for any structural question:

  • "Who calls X?" → sense_graph symbol="X" direction=callers
  • "What would break if I change Y?" → sense_blast symbol="Y"
  • "Find code that does Z" → sense_search query="natural language description"
  • "How does this project define services?" → sense_conventions

Read the full file on GitHub · 92 lines

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 First seen · 92 lines · 54 tokens per session scan C f358615a0a53

Subscribe to this mod's changes

sense is a skill published in the GitHub repository luuuc/sense (40 stars, last pushed yesterday), licensed MIT. It adds 54 tokens to every session and 1,060 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

nexus-query

Precise, instant code structure queries for active development — answer 'who depends on this interface before I refactor it', 'how many modules break if I change this', 'what is the real impact radius of this feature change', 'which module is the true high-coupling hotspot in this legacy codebase'. Essential before…

Haaaiawd/Nexus-skills · 119 tokens

omh-live-incident-response

This is an OMH live-incident-response workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

rlaope/oh-my-hermes · 87 tokens

ix

Answer structural questions about a codebase — what a symbol is, what calls it, what a change breaks, where the hotspots are — from a persistent code graph via the ix CLI, instead of grepping.

ix-infrastructure/Ix · 44 tokens

report-issue-local

File a bug or feature request against this MCP server's own repo. Use for server-specific issues — tool logic, service integrations, config problems, or domain bugs that aren't caused by the framework.

cyanheads/obsidian-mcp-server · 44 tokens

debugging

Use this skill when something is broken and the cause is unknown — a failing test, a crash, an error message, wrong output, a regression, a hang, or behaviour that differs between environments — and it has to be found and fixed at the root. Also use it to build the failing proof for a suspected defect before fixing…

WrongStack/WrongStack · 148 tokens

unicli-repair

Evidence-driven repair workflow for a broken Uni-CLI adapter. Trigger on a failed unicli envelope, a quarantined adapter, or an explicit adapter-repair request. Classifies non-source failures, edits only the reported adapter path, and uses the original command as a bounded oracle.

olo-dot-io/Uni-CLI · 68 tokens