Architecture + directives + behavioral profile → one token-optimized payload → Claude Code, Cursor, Windsurf, Cline, Copilot, Continue. 12 languages built-in: TypeScript, Python, Go, Rust, Java, Kotlin, PHP, C#, Ruby, Swift, Elixir, Dart.
Every metric quantified. Before Sigil vs. after — across speed, coverage, context quality, and automation.
3x more context (activity, health, critical files). 10x more rules enforced (42 directives). 22x faster repeat sessions. 12 languages via MCP. Zero manual steps. Your AI goes from guessing to knowing — instantly, every session.
What coding with AI looks like — without Sigil, and with it.
Define directives, extract architecture, visualize it, query it, track drift, check health, optimize context, auto-watch — all from the terminal.
Define AI rules with priority, category, and conditions. Global directives cascade into every project. Project directives override globals.
Extracts architecture, loads directives, detects installed AI tools, and configures all of them in one command.
Launch an interactive dependency graph. Click nodes, search, filter by type. Handles 1000+ node codebases.
Detect architectural drift. See what changed structurally — added entities, modified props, removed routes.
Ask questions about your architecture. Dependency trees, reverse deps, import chains, dead function detection.
10 architectural checks. Circular deps, god components, auth gaps, dead functions, config drift. Score 0–100.
Token-optimized output for AI prompts. Critical directives always included, architecture pruned to fit your budget.
Auto re-extract on file changes. Context stays fresh without manual re-runs. 1.5s debounce, sub-100ms when cached.
Run sigil context --tokens 4000 — your AI receives a unified, token-optimized context with architecture and your directives baked in.
Add one line to your AI tool config. Sigil provides architecture + directives for all 12 languages on every session — no manual steps, always fresh, sub-100ms cached.
AI reads architecture + directives on session start in <100ms. Entities, routes, patterns, and your rules — everything, instantly.
File watcher auto-updates context when you save. Your AI never works with stale architecture.
AI can query dependency trees, import chains, dead functions, reverse deps — "what depends on User", "show import graph", "find dead code."
10 architectural checks: circular deps, god components, auth gaps, dead functions, config drift. Score 0–100 with actionable suggestions.
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
Real scenarios where structured context changes everything.
Define "never hardcode secrets" once. It applies everywhere — Claude Code, Cursor, Windsurf, Cline, Copilot, Continue. Global directives cascade into every project. Project directives override when needed.
Large codebase? Sigil prunes intelligently. Critical directives always included. Architecture fills the remaining budget. Your AI gets the maximum context that fits — not a raw dump that overflows.
Sigil detects unreferenced functions, imported-but-never-called symbols, and env vars that are defined but unused (or used but undefined). Deep static analysis, no runtime needed.
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.
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 |
| AI Directives | ✓ priority, conditional, inherited | ✗ | ✗ | ~ .cursorrules only |
| Token-optimized | ✓ budget-aware pruning | ✗ | ✗ | ✗ |
| Interactive graph | ✓ force-directed | ✗ | ✗ | ✗ |
| Drift detection | ✓ structural diff | ✗ | ✗ | ✗ |
| Auto-configures AI tools | ✓ 6 tools | ✗ | ✗ | ✓ self only |
| Behavioral profiles | ✓ global + local | ✗ | ✗ | ✗ |
| MCP server (auto-context) | ✓ resource + tools | ✗ | ✗ | ✗ |
| Global + project rules | ✓ directives with inheritance | ✗ | ✗ | ✗ |
| Plugin system | ✓ any language | ✗ | ✗ | ✗ |
| Free tier available | ✓ Free + Pro | ✓ | ✓ | ✗ |
Define rules globally, override per-project. Priority-based pruning under token pressure. Conditional by language/framework.
Architecture + directives in one budget-aware payload. Critical rules never pruned.
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.
One config line. AI gets full architecture on every session. Auto-updates on file changes.
Define your identity, style, and workflow rules globally. Every project, every AI tool.
TypeScript, Python, Go, Rust, Java, Kotlin, PHP, C#, Ruby, Swift, Elixir, Dart — all with lazy loading. Extend via plugins.
Get started free. Upgrade for health checks, auto-fix, watch mode, and unlimited directives.
Start free. Scale as you grow. Every plan makes your AI dramatically better.
Latest improvements to Sigil.