code-intelligence

A code-navigation skill that uses a Language Server, a tool that understands programming-language structure. It can follow symbols such as functions, classes, and types across a project.

In plain words
What is it for?
Use it to jump to definitions or implementations, find references, inspect type information, list symbols, and trace which functions call or are called by another function.
Why use it?
Text searches can miss how code elements are connected or confuse similarly named items. This skill helps locate the actual definition, uses, types, and callers of a symbol.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/desirecore/market/code-intelligence
Any agent
npx skills add desirecore/market --skill code-intelligence
Clone the repo
git clone --depth 1 https://github.com/desirecore/market

Made for: Claude Code, Codex.

Per session 196 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,772 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00196 $0.01772
Opus 5 $0.00098 $0.00886
Sonnet 5 $0.00039 $0.00354
Haiku 4.5 $0.00020 $0.00177

Measured yesterday against content hash 5be9c681fb34, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-intelligence 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 yesterday.

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/code-intelligence/SKILL.md · 141 lines

How it starts

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

code-intelligence Skill

L0: One-line Summary

Use DesireCore's hidden Lsp tool for semantic code navigation through an already-installed Language Server.

L1: When to Use

Activate this skill when the task depends on symbol meaning rather than text matching:

  • Jump to a symbol's definition or implementation.
  • Find all semantic references to a symbol.
  • Inspect type information or documentation at a source position.
  • List the symbols in one file or search symbols across the workspace.
  • Find callers and callees through the LSP call hierarchy.

Hard rules

  • Semantic-navigation requests (definitions, references, implementations, call relations, symbols) MUST try Lsp first; never answer them from Grep/Glob text matching without trying Lsp.
  • Falling back to text search is allowed only when: the Lsp call errors, the target language is not in the supported mappings, or the Language Server is missing and the user has not asked to install it.
  • Every answer that falls back to text search MUST explicitly tell the user that the result comes from text matching, not semantic analysis, and why (for example "typescript-language-server is not installed"). In large repositories, or with same-named symbols, overloads, or inheritance, text matching can be wrong — never let the user mistake it for semantic navigation.
  • Purely textual searches (string literals, log copy) are out of scope for this skill; use Grep/Glob directly.

L2: Operating Procedure

1. Check the workspace boundary

Lsp starts an external indexing process that can read the authorized workspace. The target file therefore needs directory-level read access. If the tool reports that an exact-file grant is insufficient, ask the user to authorize the project directory through ManageWorkDirs; never widen the scope silently.

2. Choose one operation

Operation Purpose Required input
goToDefinition Find where a symbol is defined file, line, character
findReferences Find semantic references, including the declaration file, line, character
hover Read type information or documentation file, line, character
documentSymbol Outline symbols in one file file
workspaceSymbol Search named symbols in the current workspace file, non-empty query
goToImplementation Find concrete implementations file, line, character
prepareCallHierarchy Resolve a callable item at a position file, line, character
incomingCalls Find functions or methods that call the target file, line, character
outgoingCalls Find functions or methods called by the target file, line, character

Read the full file on GitHub · 141 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. yesterday First seen · 141 lines · 196 tokens per session scan A 5be9c681fb34

Subscribe to this mod's changes

code-intelligence is a skill published in the GitHub repository desirecore/market (2 stars, last pushed yesterday), licensed MIT. It adds 196 tokens to every session and 1,772 once invoked, about $0.0010 per session on Opus 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

Other skills, from other repositories

codebase-navigator

Rapidly understand any codebase: identify entry points, map architecture, find key patterns, summarize modules, trace data flow.

JansenAnalytics/claudex · 30 tokens

agent-harness-fault-injection

Use when an agent workflow needs deterministic recovery evidence for sandbox, MCP/tool, worker, checkpoint, memory, or orchestration failures.

sickn33/agentic-awesome-skills · 34 tokens

Developmental Gene Panel Design Workflow

Panel design for DEVELOPING / dynamic systems (embryonic organs, differentiation, regeneration). The target experiment is usually a LATE / terminal stage, but the biology is a trajectory: terminal cell types are end-products of earlier lineage programs. A panel built from the target stage alone resolves terminal…

aristoteleo/PantheonOS · 129 tokens

code-review-web

Review web application code for bugs, security issues, performance problems, and stack-specific anti-patterns. Use this skill whenever the user wants to review code, debug a production issue, investigate a build failure, audit security, or check a PR before merging. Triggers on code review, review my code, debug…

rampstackco/claude-skills · 121 tokens

cymbal

Tree-sitter indexed code navigator. Use the cymbal CLI — not Read, Grep, Glob, or Bash — for finding where symbols are defined, tracing callers and callees, locating interface implementations, understanding the impact of a change, and mapping imports across an existing codebase. Returns precise, token-efficient…

1broseidon/cymbal · 89 tokens

development-workflow

Detailed development workflow with modular patterns for git, review, testing, and deployment.

athola/claude-night-market · 20 tokens