Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Grimoire — AI Codebase MapNew to Visual Studio Code? Get it now.
Grimoire — AI Codebase Map

Grimoire — AI Codebase Map

grimoire

| (0) | Free
AI-powered codebase map — understand any project in minutes. Visual explorer with plain-English descriptions, inline comments, and smart import tags. Built for vibe coders, onboarding, and code review.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Grimoire — AI Codebase Map

Your codebase, decoded — AI-powered visualization, inline annotation, and plain-English descriptions for any project.

Grimoire maps your entire codebase into an interactive, browsable map — like a field guide for your repo. Every file gets a description of what it does, color-coded tags based on its imports, and one-click navigation to the source. Folders and files are laid out in a clean, scrollable list so you can read descriptions without squinting.

Built for vibe coders, new developer onboarding, non-technical teammates, and anyone who inherits a codebase and thinks "...where do I even start?"


Who Is This For?

  • Vibe coders who build with AI and want to actually understand what they've built
  • New team members onboarding to an unfamiliar codebase
  • Solo devs returning to a project after months away
  • Tech leads who need to explain architecture to non-technical stakeholders
  • Students learning how real-world projects are structured
  • Anyone who's ever opened a repo and felt lost

Features

Interactive Codebase Map

See your entire project at a glance. Folders and files are organized in a clean, scrollable layout with full descriptions visible. Click folders to zoom in, breadcrumbs to zoom back out. Search with Cmd+K / Ctrl+K from anywhere.

AI-Powered Descriptions

Every file and folder gets a 10-25 word description of what it actually does. Powered by Claude. During your first scan, choose between Plain English (no jargon — perfect for vibe coders) or Technical mode.

Smart Scan Flow

One command does everything: scans your project structure, generates AI descriptions, and optionally adds inline comments — all in a single guided flow. No separate commands to remember.

4 Annotation Modes

Add AI-generated inline comments to any file — or your entire workspace at once:

Mode Best For Style
Tutor Learning a codebase Explains WHY, names patterns, teaches
Minimal Quick orientation 5-10 word signposts only
Technical Code review / senior devs Precise terminology, edge cases
Non-Technical PMs, designers, vibe coders Real-world analogies, zero jargon

You can pick your annotation style during scan, or add comments later via the Command Palette.

Smart Import Tags

Files are automatically tagged based on their imports — api, auth, database, ai, state, routing, and 80+ more patterns. Tags are color-coded in the map.

Sidebar Tree View

Collapsible tree in the VS Code sidebar with smart icons, descriptions, and rich tooltips showing code snippets.

Floating Toolbar

Adjust text size (S / M / L) and toggle Plain English mode without leaving the map.


Quick Start

  1. Install the extension
  2. Open a project in VS Code
  3. Cmd+Shift+P → "Grimoire: Scan Project"
  4. If you have an API key set, Grimoire will ask your preferred description style and whether to add inline comments — then scan everything automatically
  5. Cmd+Shift+P → "Grimoire: Open Interactive Map" to explore your project

To set up your API key:

  • Cmd+Shift+P → "Grimoire: Setup / API Key"
  • Or go to Settings → search grim.anthropicApiKey

No API key? The scan still works — you'll get structure, tags, and heuristic descriptions. AI just makes them way better.


Commands

Command Description
Grimoire: Scan Project Map your project — AI descriptions and optional inline comments in one flow
Grimoire: Open Interactive Map Open the visual codebase map
Grimoire: Annotate Current File Add AI comments to the open file (pick a mode)
Grimoire: Annotate Entire Workspace Add AI comments to all source files (with git safety checks)
Grimoire: Search by Tag Filter files by import-based tags
Grimoire: Setup / API Key Configure your API key or join the Pro waitlist

Settings

Setting Default Description
grim.anthropicApiKey "" Your Anthropic API key
grim.model claude-sonnet-4-20250514 Claude model to use
grim.batchSize 20 Files per AI batch request
grim.exclude [] Additional directories to exclude
grim.scanHeaders true Read file headers for better context
grim.plainEnglish true Use plain English descriptions (no jargon)
grim.defaultAnnotationMode tutor Default annotation mode

Privacy & Security

  • Your API key is stored locally in VS Code settings — never sent anywhere except api.anthropic.com
  • Grimoire does not collect telemetry, analytics, or usage data
  • Code is sent to the Anthropic API only when you scan or annotate, and only to api.anthropic.com
  • The .grimoire.json cache file stays in your project folder — add it to .gitignore if you like

Pricing

Free tier: All features work with your own Anthropic API key. You pay Anthropic directly for API usage (typically $0.50-2.00 per project scan).

Grimoire Pro ($5/month, coming soon): No API key needed. Everything just works. Priority support and early access to new features.


Requirements

  • VS Code 1.80.0 or later
  • For AI features: an Anthropic API key

Feedback & Issues

Found a bug? Have a feature request? Open an issue on the GitHub repository.


Built with Claude by Anthropic.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft