code-analyze
Tree-sitter based code structure analyzer for AI agents.
Analyzes code structure and relationships — file overviews, call graphs, and symbol tracking across codebases. Designed as an Agent Skill for use with AI coding assistants.
Supported Languages
- Python
- Rust
- JavaScript / TypeScript
- Go
- Java
- Kotlin
- Swift
- Ruby
Build
The binary is at target/release/analyze.
Package as Agent Skill
This creates dist/code-analyze/ with:
SKILL.md— skill metadata and usage instructionsscripts/analyze— the binary
Install
Symlink the packaged skill directory to where your agent discovers skills:
Or symlink just the binary for direct CLI use:
Usage
See analyze --help or SKILL.md for full documentation.
License
Apache-2.0 — see LICENSE and NOTICE for details.
Based on code from block/goose.