Stop paying for AI to read your entire codebase. Scope the folders before the session starts.
Project description
ScopeKit
๐ scopekit.dev โ john24alex.github.io/scopekit
Stop paying for AI to read your entire codebase. Show it exactly where the bug is.
Most token-saving tools (Graphify, etc.) build knowledge graphs with LLM API calls and vector databases. ScopeKit takes the opposite approach โ zero tokens, zero APIs, zero complexity. Just a folder tree built from the filesystem and a focused prompt.
The insight: you already know roughly where the bug is. ScopeKit makes that knowledge explicit so the AI doesn't waste credits exploring irrelevant parts of your project.
The problem
When debugging, AI assistants read the entire project to understand context โ even if the bug is in one small feature. On large projects (1000+ files) this burns through credits in under an hour.
The fix
scopekit
An interactive TUI shows your project tree. Select 2โ3 folders in under 10 seconds. A scoped prompt is copied to your clipboard โ paste it before describing the bug.
Only look at these folders:
โข lib/features/routines/player/
โข lib/core/services/
If you find references to code OUTSIDE this scope that are relevant
to the bug, let me know before expanding.
Do not read files outside the selected scope without asking me first.
Claude (or Cursor, or Copilot) reads only what matters. The bug gets fixed faster. Your credits last longer.
Install
pip install scopekit
# or
uv tool install scopekit
Usage
# Run in your project root
scopekit
# Specify a path
scopekit /path/to/project
# List saved presets
scopekit --list-presets
# Show version
scopekit --version
How it works
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ฏ ScopeKit my-app ยท Flutter/Dart โ
โ โ
โ Where is the bug? โ
โ > ๐ Select specific folders โ
โ โก Load a saved preset โ
โ ๐ Entire project โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
- Select specific folders โ checkbox tree, indent shows depth
- Load a saved preset โ named scopes your team committed to the repo
- Entire project โ top-level folders only, still reduces noise
After selection the prompt is generated and copied to clipboard. Paste it into Claude Code, Cursor, or any AI assistant before describing the bug.
Features
Auto-detects project type โ Flutter, Node.js, Python, Rust, Go
Presets โ save common debug scopes by name, stored as plain JSON in .scope/presets/. Commit them so the whole team benefits.
# First time: select folders โ "Save as preset?" โ name it "auth-flow"
# Next time:
scopekit # choose "Load a saved preset" โ "auth-flow"
.scopeignore โ list folders to always exclude (one per line):
tmp
fixtures
legacy
generated
No API keys. No LLM calls. No tokens consumed โ ever. Works with any AI assistant, any language.
Philosophy
ScopeKit is intentionally minimal. The only dependency is questionary for the TUI. The filesystem is the data source. The developer is the intelligence. The AI is the tool โ and tools work better when you give them clear constraints.
Roadmap
/scopeslash command for Claude Code- Auto-suggest scope from
git diff --name-only(scope to recently changed files) - VS Code extension
- Browser UI for teams
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scopekit-0.1.0.tar.gz.
File metadata
- Download URL: scopekit-0.1.0.tar.gz
- Upload date:
- Size: 32.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1075e4769fb7c1830cb2ac9f43ede71eafff4a2cfcd16e594420b62d72f5b334
|
|
| MD5 |
b3da759749a0dda318a019636cb61a15
|
|
| BLAKE2b-256 |
fc8343e035d1e6d9f812358c424eacd24fbfdd7647f203e48cb72c32a691e5f4
|
File details
Details for the file scopekit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: scopekit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 23.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afebe56bdeeb123811e582d8e852f310fb1faf3c09171ae0571c530b1d00c441
|
|
| MD5 |
ca5ebef18db8dd4881211511a957e0c7
|
|
| BLAKE2b-256 |
dd453cdcad4497c8a3b5bdfc707e7bebd1ba27a4a94551fe0ab8afd365c14e35
|