code-intelligence

code-intelligence is a skill for Claude Code from antonbabenko/agent-plugins. It costs 56 tokens per session (1,004 once invoked), scanned A, original, Apache-2.0.

Guidance for searching and refactoring code with a language server. A language server is a program that understands a programming language well enough to find definitions, references, and related symbols.

In plain words
What is it for?
It is for navigating code, finding symbol relationships, checking call sites, and assessing whether a rename or refactoring is safe.
Why use it?
It helps choose between exact text search, language-aware analysis, and fuzzy search based on the task, reducing incomplete or misleading results.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the code-intelligence plugin — 1 skill, 1 command shipped together

Good fit It is for navigating code, finding symbol relationships, checking call sites, and assessing whether a rename or refactoring is safe.

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

Made for: Claude Code.

Or install code-intelligence, the plugin that ships this one along with the rest of its 1 skill, 1 command.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/antonbabenko/agent-plugins/code-intelligence"><img src="https://agentmods.dev/badge/skills/antonbabenko/agent-plugins/code-intelligence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,004 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00056 $0.01004
Opus 5.5 $0.00022 $0.00402
Sonnet 5.5 $0.00011 $0.00201
Haiku 4.5 $0.00006 $0.00100

Measured 1mo ago against content hash 1f627d39cc08, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

plugins/code-intelligence/skills/code-intelligence/SKILL.md · 88 lines

How it starts

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

Code Intelligence

Pick the search tool by task, not by habit. Generic and language-agnostic; domain skills extend it with server capability matrices and ecosystem prerequisites - for example the terraform-skill plugin (same marketplace) owns the terraform-ls capability matrix and Terraform setup. It is model-triggered guidance, not enforcement.

Tool Precedence

Goal Use Tradeoff
Symbol relationships: definition, references, call sites, rename safety Language server (LSP) at a position Needs a running server + indexed workspace
Exact text, known name, exhaustive enumeration, config/value files rg then Read No semantic scope; matches strings in comments too
Conceptual / fuzzy / "where might this live" / cross-repo discovery A semantic/neural search tool, if the host provides one Not exact; never use for counts or completeness claims

Detail: Precedence Table, When LSP Is Wrong.

Calling the LSP

  • DO call at a position (file:line:character). Anchor the position with a text search for a known occurrence first.
  • DON'T pass a bare symbol name and expect resolution. A name-only call that returns empty is a usage defect, not server failure.
  • DO Read the returned locations for source text; LSP returns locations and symbols, not the lines.
  • DO retry once on a cold start: the first call after launch may return empty while the server indexes.
  • DO prefer the server's own operation when it advertises it: use rename / prepareRename for renames and call hierarchy for callers - they carry language-specific semantics a manual pass misses.
  • DON'T report an unsupported operation as a finding. When the server lacks one, redirect: findReferences (then filter to call sites) instead of call hierarchy; enumerate references then hand-edit instead of a rename provider.

Detail: Position Anchoring, Unsupported Operations.

Read the full file on GitHub · 88 lines

Files

What ships with it

3 files 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 First seen · 88 lines · 56 tokens per session scan A 1f627d39cc08

Subscribe to this mod's changes

code-intelligence is a skill published in the GitHub repository antonbabenko/agent-plugins (46 stars, last pushed 5d ago), licensed Apache-2.0. It adds 56 tokens to every session and 1,004 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

serena

Semantic code understanding with IDE-like symbol operations. Use when: (1) Large codebase analysis (>50 files), (2) Symbol-level operations (find, rename, refactor), (3) Cross-file reference tracking, (4) Project memory and session persistence, (5) Multi-language semantic navigation. Triggers: "find symbol", "rename…

Dianel555/DSkills · 105 tokens

ontoly

Deterministic Software Graph analysis via Ontoly CLI and MCP. Use when: (1) Codebase architecture, dependency, route, service, module, configuration, or impact questions need graph evidence, (2) A repository should be analyzed before source search, (3) You need a persistent SoftwareGraph.json for validation, MCP, or…

Dianel555/DSkills · 107 tokens

gke-workload-scaling-troubleshooting

Diagnoses GKE HorizontalPodAutoscaler (HPA) failures — metrics showing as , FailedGetResourceMetric / FailedGetScale / FailedComputeMetricsReplicas events, missing Pod resource requests, custom/external metrics-pipeline breakage (FailedGetExternalMetric / FailedGetCustomMetric, unavailable metrics adapter…

google/skills · 170 tokens

gke-ai-troubleshooting-jobset-interruption

Diagnoses GKE JobSet interruptions, restarts, and preemptions for AI/ML training workloads autonomously. Use when troubleshooting JobSet restart loops, spot VM preemptions, node readiness failures, host VM issues, or coordinator worker crashes. Don't use for general GKE cluster creation, basic workload deployment, or…

google/skills · 83 tokens

gke-node-notready

Diagnoses GKE nodes reporting NotReady or Unknown status by inspecting node conditions, events, kubelet/containerd logs, and node metrics, then proposing safe remediations. Use when nodes show NotReady, when the kubelet stops posting node status, or when workloads are evicted or stuck Pending due to node health. Don't…

google/skills · 112 tokens

bigquery-troubleshooting

Provides diagnostic workflows and step-by-step root-cause analysis procedures for actively broken, failing, or slow BigQuery jobs, execution graph and query plan stage bottlenecks, system performance issues, or unexpectedly expensive workloads. Use when interpreting symptoms, isolating bottlenecks, diagnosing cost…

google/skills · 140 tokens