Stacklit — AI skill for Claude Code
One command gives AI agents instant codebase context.
How to install Stacklit
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open glincker/stacklit and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Stacklit does
One command gives AI agents instant codebase context. ~250 tokens replaces 50,000+ tokens of exploration. Auto-configures Claude Code, Cursor, Aider.
Alternatives in AI
- Jcodemunch MCP — Cut AI token costs 95%+ on code exploration 2.6k ★
- Memmy Agent — 🍙 A personal AI agent & local memory hub for all AI agents, gives every AI one shared, fully controlled memor 1k ★
- Codesight — Universal AI context generator 979 ★
README
Stacklit
**108,000 lines of code. 4,000 tokens of index.**
One command makes any repo AI-agent-ready. No server, no setup.
[](https://github.com/glincker/stacklit/actions) [](https://github.com/glincker/stacklit/releases) [](https://www.npmjs.com/package/stacklit) [](https://opensource.org/licenses/MIT)
Install and run
npx stacklit init
That is it. Downloads the binary, scans your codebase, generates the index, opens the visual map. One command.
Other install options:
npm install -g stacklit # install globally, then run: stacklit init
go install github.com/glincker/stacklit/cmd/stacklit@latest
Or grab a binary from [GitHub Releases](https://github.com/glincker/stacklit/releases) (macOS, Linux, Windows).
CI / GitHub Action
Use [glincker/stacklit-action](https://github.com/glincker/stacklit-action) to keep the index fresh automatically. Auto-commit on push, or gate PRs with check mode:
- uses: actions/checkout@v4
- uses: glincker/stacklit-action@v1 # auto-commit (default)
# or: with: { mode: check } # fail PR if index is stale
Add `permissions: contents: write` to the job when using `auto-commit` mode.

What happens when you run it
$ stacklit init
[stacklit] found 342 files
[stacklit] parsed 342 files (0 errors)
[stacklit] done in 89ms -- wrote stacklit.json, DEPENDENCIES.md, stacklit.html
Opening visual map...
Three files appear in your project:
| File | What it is | Commit it? |
|---|---|---|
stacklit.json |
Codebase index for AI agents | Yes |
DEPENDENCIES.md |
Mermaid dependency diagram | Yes (renders on GitHub) |
stacklit.html |
Interactive visual |
Related Skills
PowerLockGuard
Smart auto-sleep & power management for developers, laptops & AI agents (Claude Code, Cursor, Aider, VS Code).
Agent Context Framework
Production-ready Markdown (.md) context templates for AI coding agents (Cursor, Claude Code, Aider, Windsurf).
Polyagent MCP
Let any AI agent (Claude Code, Codex, Gemini/Antigravity) delegate to the Cursor CLI agent via MCP: cheap/fast
Cursor MCP Bridge
Let any AI agent (Claude Code, Codex, Gemini/Antigravity) delegate to the Cursor CLI agent via MCP: cheap/fast
Context Engineering MCP
Context Engineering is a MCP server that gives AI agents perfect understanding of your codebase. Eliminates co
MCP Gtags Server
Indexed code navigation for AI coding agents (Claude Code, Cursor, any MCP client) — replaces grep scans with
Related Agents
Codealive Context Explorer
Iterative code exploration across indexed repositories using CodeAlive semantic search, grep, artifact fetch,
Exploration Agent
Deep codebase analysis for understanding task context. Use this agent after worktree setup to thoroughly explo
Jesse
Walter's lab partner. Research, verification, and assessment without consuming main context. Use when delegati