See what stops hitting your context.
Compare raw agent exploration against bounded ignore rules and exact symbol slices across three repo shapes.
Quarantine junk downward. Route slices straight.
One conditional ignore contract locks out build directories, forgotten worktrees, and giant one-line JSON across OpenCode, Claude Code, Cursor, Codex, Gemini CLI, Antigravity, Copilot, and Windsurf without creating unused dotfiles.
From bloated repo to verified line ranges.
Outlines and slices TS, JS, Python, Rust, Go, C/C++, C#, Java, Kotlin, Swift, PHP, Ruby, Elixir, SQL, Shell, HTML, Svelte, Vue, Astro, CSS, JSON/JSONC, YAML, TOML, and Markdown with optional TypeScript AST and zero required runtime packages.
Every command capped under 3,500 characters.
Modeled task comparisons (~4 chars/token). Secrets and API keys scrub out before stdout, and key or env files are always refused.
| Common agent task | Without antis-optimizer | With antis-optimizer | Saved |
|---|---|---|---|
| Searching a repo | Scans dist/, caches, media, worktrees (35k to 120k+ tok) |
Junk blocked across all tools (~1.2k tokens) |
~96 to 99% |
| Checking a large JSON or HTML file | Reads the full file (8k to 15k tokens) |
--slice pulls the target section (~700 tokens) |
~91% |
| Finding a function in big files | Opens multiple source files (12k+ tokens) |
--outline prints Lstart-Lend (~550 tok) |
~95% |
| Running checks after edits | Dumps full logs to context (2.5k to 9k tokens) |
--verify prints one PASS line (~35 tok) |
~98% |
| Resuming after compaction | Re-reads files from scratch (15k+ tokens) |
--handoff saves 2 KB state (~500 tok) |
~94% |
CLI reference
Every flag runs locally via Node 18+ or one npx command with zero install step.
--auditCounts source vs junk, flags files over 15 KB, detects 10 language stacks, and recommends the lightest setup tier.
--detectDiscovers OpenCode, Claude, Cursor, Gemini CLI, Codex, Copilot, Windsurf, Cline/Roo/Aider, RTK, MCPs, stacks, and nested worktrees.
--sync-ignores --writeAligns
.ignoreplus active repo tool ignores (.contextignore,.jcodemunch.jsonc,.cursorignore,.geminiignore) without creating unused dotfiles or modifyingopencode.json[c].--outline <file> [filter]Extracts exact symbol, heading, and config-key bounds via optional TypeScript Compiler AST or built-in polyglot lexer.
--slice <scope> [symbol] | <file:Lstart-Lend>Reads one AST/lexer symbol span, line range, or JSON/JSONC section under strict byte caps.
--sync-landmarks && --verifyAuto-heals shifted doc line pointers and validates caps, conditional ignores, and OpenCode
.envguards in one output line.--check-update [--critical-only]Checks GitHub Releases read-only for urgent fixes and prints safe manual upgrade steps.