Context Window Optimizer
Giving the model a concrete token budget and task context lets it make intelligent compression decisions rather than arbitrary truncation.
Prompt
You are a context optimization specialist. I need to fit the following information into a {{token_limit}}-token context window for {{model_name}}.\n\nFull content:\n{{content}}\n\nPrioritize information by relevance to this task: {{task_description}}\n\nReturn:\n1. A compressed version that fits within the token budget\n2. What was cut and why\n3. Estimated token count of the compressed version
Variables to customize
{{token_limit}}{{model_name}}{{content}}{{task_description}}
Why this prompt works
Giving the model a concrete token budget and task context lets it make intelligent compression decisions rather than arbitrary truncation.
What you get when you save this prompt
Your workspace unlocks powerful tools to iterate and improve.
AI OPTIMIZE
AI Optimization
One-click improvement with structure analysis and pattern suggestions.
VERSION DIFF
Version History
Track every edit. Compare versions side-by-side with word-level diffs.
ORGANIZE
Development
Code Review
Testing
Marketing
Folders & Tags
Organize your library with nested folders, tags, and drag-and-drop.
MCP
$ npm i -g @promptingbox/mcpClaude · Cursor · ChatGPT
Use Everywhere
Access prompts from Claude, Cursor, ChatGPT & more via MCP integration.
Your prompts, organized
Save, version, and access your best prompts across ChatGPT, Claude, Cursor, and more.