ContextSniper
Smart task-driven LLM context optimizer
ContextSniper launched on May 30, 2026 with 2 votes, #6,288 of 20,538 launches that month.
What it does
Contribute to egn-labs-dev/ContextSniper development by creating an account on GitStop dumping your entire codebase into Claude or ChatGPT. ContextSniper is a 100% local CLI tool that uses the BM25 algorithm and dependency graphs to extract ONLY the relevant files for your prompt. If the code exceeds your token budget, it automatically strips files down to class and method signatures. Save money, reduce API bills, and fix the "Lost in the Middle" effect in under 250ms.Hub.
🎯 A 100% local CLI tool to extract ONLY relevant code for your LLM prompts using BM25 ranking and AST dependency graphs. - egn-labs-dev/ContextSniper
Stop wasting money and token limits by dumping your entire codebase into Claude or ChatGPT. ContextSniper uses a BM25-inspired Ranking Algorithm and Dependency Graph Traversal to extract only the highly relevant files and signatures needed for your specific task. Standard context tools act like dump trucks: they take your entire src/ folder and throw 200,000 tokens into your LLM. The result? LLMs hallucinate, lose focus on instructions hidden in the middle of long contexts, and cost you $2 per prompt. ContextSniper acts like a sniper rifle. You give it a target task ( "fix auth middleware" ), and it selectively extracts only the 5-10 files that matter, keeping your context under a strict…from github.com
Does a similar job
all alternatives →
Context GatewayMar 2026 · github.com · ▲220We built an open-source proxy that sits between coding agents (Claude Code, OpenClaw, etc.) and the LLM, compressing tool outputs before they enter the context window. Demo: https://www.youtube.com/watch?v=-vFZ6MPrwjw#t=9s. Motivation: Agents are terrible at managing context. A single file read or grep can dump thousands of tokens into the window, most of it noise. This isn't just expensive — it actively degrades quality. Long-context benchmarks consistently show steep accuracy drops as context grows (OpenAI's GPT-5.4 eval goes from 97.2% at 32k to 36.6% at 1M…


- IBI built a more productive way to manage AI chats2025 · contextch.at · ▲162
I released ContextChat, an AI chat designed to be context-centric, helping you stay focused and productive by giving you control over the information your AI sees. You can import websites, files, and public/private GitHub repos to give the AI full knowledge of your projects. Unlike other chatbots, ContextChat lets you easily switch between project contexts, so you get relevant answers and avoid the noise. It's pay-per-use, giving you flexibility and control over costs and free models are available so you can try it for free with no monthly subscriptions. Let me know your feedback!
Understand and reduce token usage with ContextSpy context profilerJun 2026 · github.com · ▲6Most devs using AI coding tools don't even imagine how much information they put in the context window - tools, MCPs, tool responses, active skills - all of which take up some real estate. Sometimes updating a tool description or trimming api response can give significant savings - and profiler helps to measure that

More ai this month
the category →



Paintings by AI models: programs run through a simulation of oil paint.
AI · 20d ago · stillwet.art

PixVerse R2▲381A real-time world model you can explore and change
AI · 29d ago · world.pixverse.video
Source: Product Hunt launch ↗
Launched alongside, May 2026
the whole month →

Parallel agents, diff reviewer, and multi-model comparisons
Dev tools · May 2026 · kilo.ai



Hey HN, Henry here from Cactus. We open-sourced Needle, a 26M parameter function-calling (tool use) model. It runs at 6000 tok/s prefill and 1200 tok/s decode on consumer devices. We were always frustrated by the little effort made towards building agentic models that run on budget phones, so we conducted investigations that led to an observation: agentic experiences are built upon tool calling, and massive models are overkill for it. Tool calling is fundamentally retrieval-and-assembly (match query to tool name, extract argument values, emit JSON), not reasoning. Cross-attention…
Life & fun · May 2026 · github.com

🌱 Private, quiet space for thinking. Simple app for .md files. - zakirullin/files.md
Dev tools · May 2026 · github.com