Token-efficient codebase indexer for AI coding tools. Stop wasting hundreds of tokens explaining your codebase to AI — CodePulse indexes your repo and delivers a smart, ranked context snapshot in one click.
Requirements
Install the CLI first:
npm install -g @aicodepulse/cli
Features
- Status bar — shows index freshness at a glance (
✓ CodePulse: 45 filesor⚠ CodePulse: 3 behind) - Copy Context to Clipboard — one command to generate and copy token-efficient context, ready to paste into any AI chat
- Blast Radius — see which files are affected when you change the current file
- Auto-update — optional: re-index on every save
Commands
Open the Command Palette (Cmd+Shift+P) and search for CodePulse:
| Command | Description |
|---|---|
CodePulse: Index Project |
Run a full index on the workspace |
CodePulse: Update Index |
Incremental update (fast) |
CodePulse: Copy Context to Clipboard |
Generate context and copy to clipboard |
CodePulse: Show Blast Radius |
Files affected if the current file changes |
CodePulse: Show Index Status |
Index health and staleness |
CodePulse: Install Git Hooks |
Auto-update index after every commit |
Settings
| Setting | Default | Description |
|---|---|---|
codepulse.cliPath |
codepulse |
Path to the CLI if not in PATH |
codepulse.autoUpdateOnSave |
false |
Re-index on file save |
codepulse.contextFormat |
xml |
Output format: xml or markdown |
How It Works
CodePulse uses Tree-Sitter to parse your source files, extracts symbols and imports into a local SQLite index, then scores files by relevance to your current task. The result is a compact context snapshot that fits within tight token budgets.
Learn more at github.com/aicodepulse/codepulse.