AI Blocks › Think it through and decide
Context shrinker
Give it long material and a size limit. Get a shorter version that keeps decisions, facts and open questions.
Context shrinker is a free AI skill for the job "Think it through and decide". Give the instructions to an AI assistant that supports the required files and tools, then review its output.
Free · No account · MIT licence · Made by Burhan Sebin
Made by Burhan Sebin. See the original on GitHub; we copied it as it is, with its licence.
What it does
A shorter version of long material that still holds the decisions, facts, limits and open questions you need. You set the size, and it fits the text into it without dropping what matters. It starts by working out how many tokens are free after your instructions and the reply. It scores each passage for useful facts per word, then picks a method: keep the best sentences word for word, rewrite shorter, pull out key points, or cut filler. Heavy cuts combine methods. It checks the result against the original for lost names, numbers and conclusions, and adds a note that the text is summarised so the AI treats it with the right confidence.
You give it
- The long text or conversation
- Your target size in tokens
- The task it will be used for
- Preferred method (optional)
You get
- Compressed text within your limit
- Kept decisions, facts and open questions
- List of what was cut
- Retention check against the original
Use it when
- A long chat history no longer fits in your next prompt.
- You need a 50 page report squeezed into a question and answer setup.
- You must keep exact wording for legal or code text but shorten the rest.
- Your prompt cost is too high because of pasted background.
How to use it
- Add it to your AI once: download it and add the folder to Claude, ChatGPT or Codex as a skill.
- Ask for the job in your own words. Your AI opens the skill when it fits.