ContextSect
Spend less. Ship more.
Agent-agnostic token optimization. One framework, every AI coding client. Evidence-based rules that save 45–60% tokens without reducing quality.
The Problem
AI coding agents waste 40–80% of tokenson context they don't need, output nobody reads, and implementations that go in the wrong direction.
Key insight: Output tokens cost 5× input tokens ($15/M vs $3/M). A single unnecessary full-file rewrite wastes more money than reading 4,000 tokens of input.
Two-Pillar Architecture
ContextSect attacks the problem from both sides — reducing what goes IN and compressing what comes OUT.
Input Optimization
Prevents unnecessary context expansion BEFORE work begins.
- →Alignment gate — catch vague prompts early
- →Search-first — targeted reads only
- →Progressive loading — tiers, not dumps
- →Loop detection — halt stuck patterns
Output Optimization
Minimizes generated tokens AFTER reasoning completes.
- →Zero filler — no pleasantries or narration
- →Diff-only — SEARCH/REPLACE, never full files
- →No restatement — start with the answer
- →Explain only when asked
10 Agents. One Framework.
Write rules once → auto-adapted to each agent's native format on install.
Auto-detection: The installer scans your system for installed agents and configures each one — no manual config file editing needed.
8 Modular Rules
Each rule works independently. Enable what you need, disable what you don't.
Configuration Profiles
Choose your intensity level. The installer configures everything automatically.
Install
One command. Auto-detects your agents. Installs the CLI globally.
$ curl -sL https://contextsect.vercel.app/install.sh | bash
╭──────────────────────────────────────────────╮
│ ContextSect — Token Optimization │
│ Agent-Agnostic • Evidence-Based • Modular │
╰──────────────────────────────────────────────╯
✓ git 2.53.0
↓ Cloning ContextSect...
✓ Source ready at ~/.contextsect
✓ CLI installed: /usr/local/bin/contextsect
Detecting installed AI coding agents...
✓ Kiro CLI
✓ Claude Code
✓ Cursor
Select optimization profile:
1) conservative — Zero risk. Full exploration.
2) balanced ⭐ — Recommended. Significant savings.
3) aggressive — Maximum savings. Tight budgets.
4) ultra-aggressive — Absolute minimum tokens.
Choose profile [1-4, default=2]: 2
✓ Profile: balanced
Installing for 3 agent(s) with profile 'balanced'...
✓ Kiro: steering + skills + hooks
✓ Claude Code: ~/.claude/CLAUDE.md
✓ Cursor: .cursor/rules/*.mdc
════════════════════════════════════════════════════════
✅ Installation complete!
════════════════════════════════════════════════════════contextsect updatecontextsect profile aggressivecontextsect statusResearch-Backed
Every decision backed by peer-reviewed papers, production measurements, or benchmarked community tools.