Semble Hooks — semantic code search injected into every Gemini CLI prompt #27435
benediktkraus
started this conversation in
Show and tell
Replies: 1 comment
-
|
Hey there. Thanks for sharing this. This is a really interesting idea and something we have been discussing internally. We love seeing how the community is pushing the boundaries of the CLI. We will definitely keep this in mind for future iterations. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Every prompt gets the 5 most relevant code chunks from your project — automatically.
How: Semble indexes your project (<1s, CPU-only). On every BeforeAgent hook, relevant functions and classes are injected as
<relevant-code>into the prompt.Result: 98% fewer tokens than grep+read.
Also works with Claude Code and Codex CLI.
git clone https://github.com/benediktkraus/semble-hooks.git cd semble-hooks ./install.sh geminiRepo: https://github.com/benediktkraus/semble-hooks
Beta Was this translation helpful? Give feedback.
All reactions