tldr-code

Analyze code structure using AST, call graphs, CFG, DFG, and PDG.

3.9k|296|Updated Dec 23, 2025
One-click install
npx skills add https://github.com/parcadei/Continuous-Claude-v3 --skill tldr-code
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tldr-code
Source: https://github.com/parcadei/Continuous-Claude-v3/tree/main/.claude/skills/tldr-code
Command: npx skills add https://github.com/parcadei/Continuous-Claude-v3 --skill tldr-code

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill drastically reduces the number of tokens required to analyze codebases, enabling more efficient and cost-effective code understanding and manipulation by AI models.

Core Features & Use Cases

  • 5-Layer Code Analysis: Utilizes Abstract Syntax Trees (AST), Call Graphs, Control Flow Graphs (CFG), Data Flow Graphs (DFG), and Program Dependence Graphs (PDG) for comprehensive analysis.
  • Token Savings: Achieves up to 95% token savings compared to raw file reads.
  • Use Case: Quickly understand the impact of a code change by analyzing call graphs and dependencies, or debug complex functions by examining data flow and control flow.

Quick Start

Use the tldr-code skill to get a file tree of the src/ directory.

Frequently Asked Questions about tldr-code

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce token usage when analyzing large codebases with AI?

Code analysis reduces token consumption by up to 95% compared to raw file reads by utilizing a 5-layer stack including AST, Call Graph, CFG, DFG, and PDG representations instead of full source text.

How do I trace data flow and dependencies to debug complex functions?

Data flow and dependency tracking debug complex functions by leveraging Control Flow Graphs and Program Dependence Graphs to map execution paths and variable dependencies across the codebase.

Can I use code structure analysis to detect dead code in my project?

Dead code detection uses call graph and dependency tracking to identify unreachable functions and unused variables across multiple programming languages, ensuring comprehensive structural analysis.

Does this code analysis approach support multiple programming languages?

Code structure analysis supports multiple programming languages for structure analysis, search, and dependency tracking by generating language-agnostic AST and PDG representations.

What's the best way to speed up repeated code search queries?

Repeated code search queries are accelerated by integrating with a daemon for faster responses, while semantic search capabilities using embeddings provide deeper contextual results across the codebase.

How do I understand the impact of a code change across the codebase?

Impact analysis for code changes uses call graphs and data flow graphs to track dependencies and identify affected functions, enabling efficient refactoring and safe modifications across the project.