askill
codanna-codebase-intelligence

codanna-codebase-intelligenceSafety 95Repository

Use codanna MCP tools for semantic code search, call graphs, and impact analysis before grep/find.

9 stars
1.2k downloads
Updated 2/22/2026

Package Files

Loading files...
SKILL.md

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:3

Documentation (RAG)

# Search indexed markdown/docs
search_documents query:"API authentication" collection:"docs"

Tool Selection Guide

TaskToolExample
Find code by conceptsemantic_search_docs"database migrations"
Find symbol by namesearch_symbolsPattern: "auth*"
Get symbol detailsfind_symbolExact: "UserService"
Trace callersfind_callers"Who uses this?"
Trace dependenciesget_calls"What does this call?"
Assess refactor riskanalyze_impact"What breaks?"

Workflow Patterns

Before Refactoring

  1. find_symbol - understand current implementation
  2. find_callers - identify all usage sites
  3. analyze_impact - assess blast radius
  4. Then proceed with changes

Understanding Unfamiliar Code

  1. semantic_search_docs - "how does X work"
  2. find_symbol - get entry point details
  3. get_calls - trace execution flow

Finding Where to Add Code

  1. semantic_search_docs - "similar patterns"
  2. find_callers - how existing code integrates
  3. Follow established patterns

Why Codanna Over Grep

Grep/FindCodanna
Text matchingSemantic understanding
String "parse" matches commentsfind_symbol finds the actual function
Manual call tracingfind_callers shows full graph
Guessing impactanalyze_impact shows dependencies

Tips

  • Start broad with semantic_search_docs, then drill down with find_symbol
  • Use analyze_impact before any refactor touching shared code
  • find_callers with depth > 1 shows transitive callers
  • Results include file paths and line numbers - use for navigation

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

88/100Analyzed 2/24/2026

High-quality reference skill about codanna MCP tools for semantic code search and analysis. Well-structured with clear 'When to Apply' section, tool selection guide, workflow patterns for common tasks, and comparison with grep. Located in dedicated skills folder with good metadata (tags). Provides actionable commands and examples. Slightly reduces score due to being reference-style without step-by-step tutorials, but content is accurate and well-organized.

95
90
85
85
80

Metadata

Licenseunknown
Version-
Updated2/22/2026
PublisherNickCrew

Tags

apidatabasegithub-actionsobservabilitysecurity