semble-hooks — automatic code context for every prompt via Semble semantic search #24455
benediktkraus
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What I built
semble-hooks — hooks that automatically inject the most relevant code chunks from your project into every prompt.
Powered by Semble semantic code search (98% token savings vs grep+read, CPU-only, 16MB static model, no API key).
How it works
Codex integration
code-bootstrap.mjs(warms up index)code-recall.mjs(injects code chunks)Install
pip install semble git clone https://github.com/benediktkraus/semble-hooks.git cd semble-hooks ./install.sh codexAlso supports Claude Code, Gemini CLI, and OpenClaw.
Why hooks instead of MCP?
Semble has an MCP mode, but with hooks every prompt gets code context automatically — no agent decision needed, no tool call overhead, no missed context.
Feedback welcome!
Beta Was this translation helpful? Give feedback.
All reactions