Agent skill
codanna-codebase-intelligence
Quellcode ansehen: nickcrew/claude-cortex
Installation
npx skills add nickcrew/claude-cortex --skill codanna-codebase-intelligence48
Installationen
EU-hosted inference API
Power your AI agent skills with open-source models.
Drop-in OpenAI-compatible API. No data leaves Europe.
MiniMax
MiniMax M3
$0.50 / $1.90
per M tokens
Z.ai
GLM 5.3 Flash
$0.20 / $0.60
per M tokens
MoonshotAI
Kimi K3
$4.00 / $18.00
per M tokens
DeepSeek
DeepSeek V4.1 Flash
$0.40 / $1.42
per M tokens
Codanna Codebase Intelligence
Codanna indexes your codebase and provides semantic search, call graphs, and dependency analysis via MCP tools. Use codanna before grep/find - it understands code structure, not just text patterns.
When to Use
- Finding code: "Where do we handle authentication?" →
semantic_search_docs - Understanding dependencies: "What calls this function?" →
find_callers - Impact analysis: "What breaks if I change this?" →
analyze_impact - Exploring symbols: "Show me the Parser struct" →
find_symbol
Core Tools
Discovery
# Natural language search - finds code by intent, not keywords
semantic_search_docs query:"error handling patterns" limit:5
# Search symbols by name/pattern
search_symbols query:"parse" kind:"function"
# Get full details on a specific symbol
find_symbol name:"process_file"Relationships
# Who calls this function? (upstream)
find_callers symbol:"validate_input"
# What does this function call? (downstream)
get_calls symbol:"process_request"
# Full dependency graph - what breaks if I change this?
analyze_impact symbol:"DatabaseConnection" depth:3Documentation (RAG)
# Search indexed markdown/docs
search_documents query:"API authentication" collection:"docs"Tool Selection Guide
| Task | Tool | Example |
|---|---|---|
| Find code by concept | semantic_search_docs |
"database migrations" |
| Find symbol by name | search_symbols |
Pattern: "auth*" |
| Get symbol details | find_symbol |
Exact: "UserService" |
| Trace callers | find_callers |
"Who uses this?" |
| Trace dependencies | get_calls |
"What does this call?" |
| Assess refactor risk | analyze_impact |
"What breaks?" |
Workflow Patterns
Before Refactoring
find_symbol- understand current implementationfind_callers- identify all usage sitesanalyze_impact- assess blast radius- Then proceed with changes
Understanding Unfamiliar Code
semantic_search_docs- "how does X work"find_symbol- get entry point detailsget_calls- trace execution flow
Finding Where to Add Code
semantic_search_docs- "similar patterns"find_callers- how existing code integrates- Follow established patterns
Why Codanna Over Grep
| Grep/Find | Codanna |
|---|---|
| Text matching | Semantic understanding |
| String "parse" matches comments | find_symbol finds the actual function |
| Manual call tracing | find_callers shows full graph |
| Guessing impact | analyze_impact shows dependencies |
Integration with Agent-Loops
Codanna complements the agent-loops review workflow by providing structural code
intelligence that diff-based review alone cannot offer.
Pre-review impact analysis
Before invoking specialist-review.sh, run codanna to understand the blast radius
of your changes. This feeds grounded structural data into the review, helping
reviewers focus on real downstream effects rather than guessing from the diff.
# Gather impact data for changed symbols
codanna mcp find_callers process_request --watch
codanna mcp analyze_impact DatabaseConnection --watch --jsonMulti-specialist review support
In the multi-specialist review architecture (see docs/development/plans/multi-specialist-review.md),
specialists can use codanna tools alongside Read/Grep/Glob for grounded analysis.
Impact data can also inform specialist triage — determining which review perspectives
to activate based on which parts of the codebase are structurally affected.
Automatic index freshness
The --watch flag on CLI commands checks for file changes and re-indexes before
running, so impact data stays current throughout a review session without manual
reindexing. The MCP server equivalent (codanna serve --watch) provides the same
freshness guarantee for interactive sessions.
Tips
- Start broad with
semantic_search_docs, then drill down withfind_symbol - Use
analyze_impactbefore any refactor touching shared code find_callerswith depth > 1 shows transitive callers- Results include file paths and line numbers - use for navigation
Verwandte Skills
Mehr aus dieser Quelle: nickcrew/claude-cortex
react-performance-optimization
nickcrew/claude-cortex
1.9K installs
owasp-top-10
nickcrew/claude-cortex
760 installs
ui-design-aesthetics
nickcrew/claude-cortex
362 installs
threat-modeling-techniques
nickcrew/claude-cortex
357 installs
token-efficiency
nickcrew/claude-cortex
245 installs
repo-cleanup
nickcrew/claude-cortex
183 installs
So verwenden Sie diesen Skill
- 1
Install codanna-codebase-intelligence by running
npx skills add nickcrew/claude-cortex --skill codanna-codebase-intelligencein your project directory. Führen Sie den obigen Installationsbefehl in Ihrem Projektverzeichnis aus. Die Skill-Datei wird von GitHub heruntergeladen und in Ihrem Projekt platziert. - 2
Keine Konfiguration erforderlich. Ihr KI-Agent (Claude Code, Cursor, Windsurf usw.) erkennt installierte Skills automatisch und nutzt sie als Kontext bei der Code-Generierung.
- 3
Der Skill verbessert das Verständnis Ihres Agenten für codanna-codebase-intelligence, und hilft ihm, etablierte Muster zu befolgen, häufige Fehler zu vermeiden und produktionsreifen Code zu erzeugen.
Was Sie erhalten
Skills sind Klartext-Anweisungsdateien — kein ausführbarer Code. Sie kodieren Expertenwissen über Frameworks, Sprachen oder Tools, das Ihr KI-Agent liest, um seine Ausgabe zu verbessern. Das bedeutet null Laufzeit-Overhead, keine Abhängigkeitskonflikte und volle Transparenz: Sie können jede Anweisung vor der Installation lesen und prüfen.
Kompatibilität
Dieser Skill funktioniert mit jedem KI-Coding-Agenten, der das skills.sh-Format unterstützt, einschließlich Claude Code (Anthropic), Cursor, Windsurf, Cline, Aider und anderen Tools, die projektbezogene Kontextdateien lesen. Skills sind auf Transportebene framework-agnostisch — der Inhalt bestimmt, für welche Sprache oder welches Framework er gilt.
Data sourced from the skills.sh registry and GitHub. Install counts and security audits are updated regularly.