Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>BoxClaudeNew to Visual Studio Code? Get it now.
BoxClaude

BoxClaude

Rockie Yang

|
3 installs
| (0) | Free
Box your Claude Code, avoid it read and write in random place in your project. Just pick file and folder in your explorer tree, or in your dependency graph — Claude will then only sees what you allow.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

BoxClaude

Box your Claude Code. Pick exactly which files and folders Claude Code can see — nothing more. Scope is saved to CLAUDE.local.md and remembered between sessions.


The Problem

Claude Code roams your entire project by default. It touches files far outside your intent, introduces scope creep, silently alters unrelated code, and runs out of context mid-feature. BoxClaude puts you back in control.


Features

Box by folder or file — Set your scope at any granularity: an entire module, a handful of files, or one single source file.

Dependency graph — Visualize your codebase as an interactive graph. Pan, zoom, and explore before you decide what Claude sees.

Cyclic dependency detection — Cycles are highlighted in red using DFS coloring. Understand your architecture before Claude starts editing.

Private to your machine — Scope saves to CLAUDE.local.md which is gitignored. Your working context never leaks to teammates or CI.

Context menu integration — Right-click any file or folder in the VSCode Explorer. Add, remove, or reset your Box in one click.

Visual Box badges — Files in your Box are marked with a ◆ badge in the Explorer — always know what's in scope at a glance.


How It Works

1. Right-click in the Explorer

Select a file or folder → Set as Claude Box. Claude is now scoped to exactly there.

Set folder as Claude Box


2. Scope is saved to CLAUDE.local.md

BoxClaude writes your selection to CLAUDE.local.md — gitignored and private to your machine. Claude Code reads it on every startup.

Scope saved to CLAUDE.local.md


3. Add more folders as needed

One folder too narrow? Add more to your Box as the feature grows.

Add a folder to Box


4. Surgical precision — one file at a time

Add individual files to your Box. Claude sees only what you have explicitly allowed.

Add individual file to Box


5. Claude becomes oriented to your work

With your Box defined, Claude's context is sharp and focused. It knows exactly where it is and where it can work.

Claude becomes more oriented


6. Open the dependency graph

Visualize your codebase, then set your Box from there with full context.

Set Box in dependency graph


7. Click to scope from the graph

Click any node in the dependency graph to add it to your Box.

Add file from dependency graph


8. Catch cycles before Claude does

BoxClaude detects and highlights cyclic dependencies in red. Fix your architecture first — then let Claude in.

Detect cyclic dependencies


Supported Languages

C, C++, C#, CSS, Go, Java, JavaScript, Python, Rust, Swift


Commands

Command Description
Right-click → Set Claude Box to the Folder Set a folder as the exclusive Claude scope
Right-click → Set Claude Box to the File Set a single file as the exclusive scope
Right-click → Add to Claude Box Add a file or folder to the current scope
Right-click → Remove from Claude Box Remove a file or folder from scope
Right-click → Clear Claude Box Clear all scope restrictions
Right-click → Graph for Claude Box Open the interactive dependency graph
Command Palette → BoxClaude: Show Welcome Reopen the welcome page
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft