SiftrCode discovers repository context, protects edit targets, and synthesizes interface skeletons — eliminating 90% of token bloat while boosting coding agent accuracy.
npx siftrcode context "task prompt"
Select a task to compare how an AI agent experiences a raw repository dump versus a SiftrCode outcome-aware bundle.
Agent is handed entire repositories or full uncompressed files. Critical edit target is buried inside 18 files of irrelevant boilerplate.
See how function bodies are excised across 4 languages while preserving type interfaces.
...
...
From full repository scan to compressed context plan in under 100 milliseconds.
Extracts AST symbols, traverses the repository call graph, and analyzes git co-change history to find candidate files related to the task prompt or stack trace.
Evaluates candidates against point-in-time features to distinguish exact edit targets from supporting dependencies. Verified against production TypeSafe SystemOne JEV signals.
Linear programming solver allocates each file into its optimal resolution (FULL, BODY, SKELETON, SIGNATURE, OMIT) under strict token caps with zero hallucination.
Works seamlessly with Claude Code CLI, Cursor, Windsurf, or as a standalone CLI tool.
Register SiftrCode as a native Model Context Protocol (MCP) server for Claude Code CLI:
claude mcp add siftrcode -- npx siftrcode mcp
Claude Code will automatically invoke siftr_context before executing edits.
Drop SiftrCode into your agent loop today. Compatible with Claude Code, Cursor, Windsurf, and custom autonomous agents.