CtxCraft
One-click repo scanner → AGENTS.md + CLAUDE.md.
Zero config. Zero API keys. Runs entirely on your machine.
Built by SrcSage.
Why?
Every AI assistant (Claude, Cursor, Copilot, Cline) works better when it knows your project. Without context files, it guesses — wasting tokens and producing generic code. CtxCraft scans your workspace and generates accurate context files instantly.
Features
- One command —
Ctrl+Shift+P → CtxCraft: Generate AGENTS.md & CLAUDE.md
- Zero dependencies — no API keys, no cloud, no setup
- Deep scanning — detects 10+ languages, 30+ frameworks, project structure (4 levels), conventions, configs, and dependencies
- Multi-package — finds all
package.json files in your repo
- Git-aware — shows branch and recent commits
- Privacy-first — every scan runs locally, nothing leaves your machine
What It Detects
| Category |
What |
| Languages |
JavaScript, TypeScript, Python, .NET/C#, Rust, Go, Java, Kotlin, Ruby, Elixir, Swift |
| Frameworks |
React, Next.js, Vue, Angular, Express, Fastify, Django, FastAPI, Spring, Rails, Phoenix, and 20+ more |
| Structure |
Full directory tree, 4 levels deep |
| Conventions |
Components, routes, services, middleware, hooks, feature-based, MVC, CSS Modules, async/await, monorepo, and more |
| Configs |
TypeScript, ESLint, Prettier, Biome, EditorConfig, Docker, CI workflows |
| Dependencies |
Categorized by type (API, UI, Database, Testing, Build, etc.) with source package tracking |
| Git |
Current branch and last 8 commits |
Usage
Ctrl+Shift+P → CtxCraft: Generate AGENTS.md & CLAUDE.md
Or right-click in the Explorer panel → CtxCraft: Generate AGENTS.md & CLAUDE.md
Two files are created:
- AGENTS.md — comprehensive reference for AI assistants (tech stack, structure, conventions, dependencies, configs)
- CLAUDE.md — concise, action-oriented overview (build/test commands, conventions, quick start)
Requirements
- VS Code 1.85+
- A workspace folder open
Extension Settings
None. Zero configuration.
Known Issues
None.
Release Notes
1.0.0
Initial release:
- Deep workspace scanning (languages, frameworks, structure, conventions, configs, deps, git)
- Generates AGENTS.md and CLAUDE.md
- Privacy-first, runs entirely local
- Multi-package support (finds all package.json files)
- Universal structure detection (works with any folder layout)
| |