MCPCodeIntelligence: Skill for Cursor

.cursor/skills/MCP Code Intelligence/SKILL.md

mcp-code-intel is a skill for Cursor from StarsMilky/MCPCodeIntelligence. It costs 124 tokens per session (3,332 once invoked), scanned A, original, Apache-2.0.

A set of code-analysis tools for Android projects written in Kotlin or Java. It helps an agent inspect symbols, references, project structure, dependencies, and common Android frameworks.

In plain words
What is it for?
Use it to find classes and methods, see who uses or calls them, inspect dependency impact, query project details, and analyze Android code.
Why use it?
It gives the agent information about how code is connected, making analysis and refactoring work more grounded in the project structure.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is StarsMilky/MCPCodeIntelligence's own configuration. It tells Cursor how to work on MCPCodeIntelligence itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything MCPCodeIntelligence configures →

Reuse

Borrowing it

Nothing to install: this file belongs to StarsMilky/MCPCodeIntelligence. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/StarsMilky/MCPCodeIntelligence/001-ide-sdk-mcp-tools/.cursor/skills/MCP Code Intelligence/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/StarsMilky/MCPCodeIntelligence

Made for: Cursor.

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 mcp-code-intel

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/starsmilky/mcpcodeintelligence/mcp-code-intelligence"><img src="https://agentmods.dev/badge/skills/starsmilky/mcpcodeintelligence/mcp-code-intelligence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,332 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.00124 $0.03332
Opus 5.5 $0.00050 $0.01333
Sonnet 5.5 $0.00025 $0.00666
Haiku 4.5 $0.00012 $0.00333

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

Security

Grade A, and why

mcp-code-intel 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.

.cursor/skills/MCP Code Intelligence/SKILL.md · 285 lines

How it starts

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

MCP Code Intelligence

13 IDE-level tools for AI agents. Always prefer these over CLI equivalents.

Every tool response includes a nextAction hint suggesting the best follow-up call — use it to chain tools.

Quick Reference

Task Tool Call
Find a symbol by name find_symbol(name="UserRepository", kind="CLASS")
Find a symbol by FQN find_symbol(name="com.example.UserRepository")
What type is this? resolve_symbol(file, line, column)
Who uses this symbol? (by name) find_references(qualified_name="com.example.Foo", mode="USAGES")
Who uses this symbol? (by pos) find_references(file, line, col, mode="USAGES")
Who calls this method? find_references(qualified_name="com.Foo.bar", mode="CALLERS", depth=3)
What does this method call? find_references(file, line, col, mode="CALLEES")
Class hierarchy find_references(qualified_name="com.Foo", mode="TYPE_HIERARCHY")
Symbols at cursor get_scope(file, line, col, filter="ALL")
Project overview query_project(mode="OVERVIEW")
Dependency impact query_project(mode="DEPENDENCY", target_class="com.Foo")
Framework details query_framework(framework="ROOM", detail_target="UserEntity")
Null safety check analyze_data_flow(file, line, col, mode="NULLABILITY")
Value tracing analyze_data_flow(file, line, col, mode="BACKWARD")
Quality hotspots analyze_quality(mode="COMPLEXITY", top_n=10)
Architecture rules check_rules(rules=[...])
Pattern search structural_search(pattern="@Composable fun $X$")
Rename safely refactor(operation="RENAME", file, line, col, new_name="New")
Create checkpoint checkpoint(operation="CREATE", label="before-fix")
Decompile class sandbox(operation="DECOMPILE", qualified_class_name="...")

Critical Rules

  1. NEVER use grep/rg for code references → find_references(mode="USAGES")
  2. NEVER use grep/rg to locate a symbol → find_symbol(name="SymbolName")
  3. NEVER guess types → resolve_symbol(file, line, column)
  4. NEVER use sed/text-replace for renaming → refactor(operation="RENAME")
  5. NEVER start multi-file changes without → checkpoint(operation="CREATE")
  6. ALWAYS start with query_project(mode="OVERVIEW") on a new project
  7. ALWAYS use find_symbol(name=...) to locate symbols instead of grep
  8. All enum values are UPPERCASE: "USAGES", "RENAME", "OVERVIEW", not "usages"
  9. find_references accepts two entry modes: file+line+column (position) OR qualified_name (name-based). resolve_symbol is position-only — use find_symbol for name-based lookup.

Read the full file on GitHub · 285 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 · 285 lines · 124 tokens per session scan A 67caa1b31696

Subscribe to this mod's changes

mcp-code-intel is a skill published in the GitHub repository StarsMilky/MCPCodeIntelligence (2 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 124 tokens to every session and 3,332 once invoked, about $0.0005 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

Other skills, from other repositories

axiom-audit-codable

Use when the user mentions Codable review, JSON encoding/decoding issues, data serialization audit, or modernizing legacy code.

CharlesWiltgen/Axiom · 32 tokens

axiom-swift-simplifier

Use when the user wants to simplify Swift code, reduce boilerplate, or make Swift more readable and idiomatic without changing behavior.

CharlesWiltgen/Axiom · 34 tokens

kotlin-concurrency-and-flow

Use when writing or reviewing Kotlin coroutine scope ownership, raw Thread or Executor work, init launches, non-suspending launch APIs, runBlocking, cancellation, StateFlow, SharedFlow, Channel, stateIn, SharingStarted, state updates, or one-shot events.

chrisbanes/skills · 60 tokens

kotlin-api-design

Use when designing or reviewing Kotlin function ownership, member or extension functions, factories, single-field domain types, value classes, data classes, Kotlin Multiplatform expect/actual declarations, or platform service boundaries.

chrisbanes/skills · 46 tokens

coding-best-practices

Reviews Swift/iOS code for adherence to modern Swift idioms, Apple platform best practices, architecture patterns, and code quality standards. Use when user mentions best practices, code review, clean code, refactoring, or wants to improve code quality.

rshankras/claude-code-apple-skills · 55 tokens

swift-concurrency-review

Review Swift 6 strict-concurrency and SwiftUI code for idiom and build-breaking issues - non-Sendable across actor boundaries, @MainActor witness vs nonisolated protocol requirements, Combine/ObservableObject usage, force-unwraps, #Predicate macro limits, the 6.3.x Binding IRGen crash, missing #if os() guards, and…

charlesjones-dev/claude-code-plugins-dev · 94 tokens