Sigil scans your codebase — Next.js, Express, Fastify, React, Drizzle, Prisma, and more — and generates a token-efficient context.yaml giving your AI the deep structural understanding it needs.
Run sigil show and see every entity, component, route, and pattern in your codebase.
Run sigil graph to launch an interactive force-directed graph of your entire codebase.
Open live demo → · Cal.com: 1,072 components · 67 routes · 1,676 exports · parsed in 5.8s
What refactoring with AI looks like — without Sigil, and with it.
sigil init — 3 seconds, one timecontext.yamlDefine rules, extract architecture, visualize it, track drift — all from the terminal.
Set up your global AI identity once — how the AI should behave, communicate, and handle your workflow. Applies to every project.
One command injects three layers into your AI tool. Run from anywhere — Sigil finds your projects and lets you pick.
Launch an interactive dependency graph. Click nodes, search, filter by type.
Detect architectural drift. See what changed structurally since the last extraction.
Real scenarios where structured context changes everything.
Set up your identity, communication style, workflow rules, and code standards once. Every AI tool — Claude, Cursor, Copilot — gets the same behavioral context. Stop repeating "be concise" and "run tests first" every session.
New to a project with hundreds of files? Launch the interactive graph. Click through components, trace dependencies, understand the architecture visually — without reading a single line of code.
Run sigil diff against main. It flags removed database relations, disabled auth on endpoints, and changed component contracts — architectural bugs you'd never catch in a file-by-file code review.
Existing tools solve pieces of the puzzle. Sigil is the complete picture.
| Feature | Sigil | repomix | aider repo-map | Cursor Indexing |
|---|---|---|---|---|
| Structured output | ✓ YAML/JSON | ✗ flat text | ~ tree-sitter map | ✗ proprietary |
| Architecture-aware | ✓ entities, routes, patterns, call graphs | ✗ file dump | ~ symbols only | ~ basic |
| Interactive graph | ✓ force-directed | ✗ | ✗ | ✗ |
| Drift detection | ✓ structural diff | ✗ | ✗ | ✗ |
| Auto-configures AI tools | ✓ 6 tools | ✗ | ✗ | ✓ self only |
| Behavioral profiles | ✓ global + local | ✗ | ✗ | ✗ |
| Custom project rules | ✓ sigil.config.yaml | ✗ | ✗ | ✗ |
| Plugin system | ✓ any language | ✗ | ✗ | ✗ |
| Open source | ✓ MIT | ✓ MIT | ✓ Apache 2.0 | ✗ proprietary |
Not a flat text dump — structured architecture with entities, components, routes, and relationships.
Force-directed visualization of your entire codebase. Click, search, filter by type.
Compare snapshots to see what changed structurally — added entities, modified props, removed routes.
Claude Code, Cursor, Windsurf, Cline, Copilot, Continue — one command configures all.
Define your identity, style, and workflow rules globally. Every project, every AI tool.
Supports Next.js, Express, Fastify, Hono, Drizzle, Prisma out of the box. Add any language via plugins.
Use it everywhere. Embed it in anything. No vendor lock-in.
Live from the GitHub repository.