SPEC Prompt Compactor (Retired Archive)
This browser-only research demo is preserved for historical inspection. SPEC failed its current Kiah-shaped go/no-go gates, and its Kiah integration was removed on 2026-08-30.
Compaction is lossy by design. Do not use it for operational or sensitive prompts.
Runs entirely in your browser. We don’t receive or store your text.
Live SPEC Demo
Prompt / Text
0 charsCompacted Output
0 charsTry These Examples
Polite Filler
"Can you please summarize this information and generate a short response for the assistant?"
Try: BalancedCode + URL Safe
"Explain this snippet: `SELECT * FROM users WHERE id = 1;` and check https://ottobot.org/projects/spec"
Keeps protected segmentsPaths + Tags
"Run llama3.1:8b-instruct-q4_K_M on /data/ai-system/kiah.py and summarize the output."
Leaves paths/tags intactMost Aggressive
"Would you please help me figure out what I should do next with this configuration?"
Try: AggressiveHow SPEC Works
Polite Prefix Trimming
Removes common prompt boilerplate like “can you please…” (lossy, but usually safe)
Stopword Removal
Drops low-information words to reduce token waste (profile-dependent)
Protected Segments
Leaves structured content untouched (code blocks, inline code, URLs, emails, paths, quoted strings)
Profiles
safe keeps more words. balanced removes more. aggressive removes the most.
Archived Research
SPEC is retired. There is no active SDK, API, waitlist, or integration roadmap. The demo remains available to reproduce the historical browser behavior.