Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By NishantJoshi00v0.8.2MIT
Keeps Claude Code from overwriting files with unsaved Neovim changes, and reloads open buffers when the AI edits them. Hooks run on every prompt and edit, denying changes to unsaved buffers; needs Neovim with RPC and Lua on a Unix-like system.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
1 caution to review before installing
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
neovim, editor-integration, unsaved-changes, file-locking, buffer-reload, hooks, vim, editor ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
You still write code by hand. So does Claude Code.
Same files, same time, nobody typing over anybody. Sidekick keeps Neovim and your agents — Codex, opencode, pi, Crush, Amp, Antigravity, Grok — out of each other's way.
A conduit between Neovim and your AI agents — so they wait when you're typing.
Skip to 1:20 to see a block. The same recording is bundled in the binary — run sidekick demo after install to play it back offline.
I do less and less coding by hand. The part I still do, I do very deliberately — pop open a new pane, open Neovim, start editing. It's a flow state I have to push myself into. The catch: Neovim is the only thing in the system that knows I'm typing. When the agent in the next pane decides the file I'm in needs editing, the buffer reloads, my work gone. So I decided to do something about it.
Sidekick is the conduit between the editor and the agents. When you have unsaved changes in a buffer, the agents wait — the edit is denied, your buffer is untouched. Save the file and the next attempt proceeds. No flags, no confirmation prompts, no policy file. The 99% of edits that don't conflict with you go through untouched.
The other direction works too: when the AI modifies a file you have open, Sidekick refreshes the buffer in every Neovim instance, cursor position preserved.
Edit blocked — file has unsaved changes.:e! dance.Everything else stays the same. You keep using nvim like normal.
cargo install sidekick
sidekick init
sidekick init walks through every AI harness it finds on your machine, wires the hooks, sets up the nvim alias, and skips anything already done. Re-run any time — it's idempotent.
Verify with sidekick doctor. Want to wire things by hand? See docs/SETUP.md.
| Harness | Edit deny | Buffer refresh | Selection injection |
|---|---|---|---|
| Claude Code | ✓ | ✓ | ✓ |
| Codex | ✓ | ✓ | ✓ |
| opencode | ✓ | ✓ | ✓ |
| pi | ✓ | ✓ | ✓ |
| Crush | ✓ | — | — |
| Amp | ✓ | ✓ | — |
| Antigravity | ✓ | ✓ | — |
| Grok | ✓ | ✓ | — |
A — is an upstream gap: the harness doesn't expose the hook event sidekick would need.
Just use nvim. The shell alias routes through sidekick so the hook can find your editor.
nvim src/main.rs
If you do not want the alias, run sidekick neovim <args> directly. You won't notice anything different until an agent tries to overwrite unsaved work, at which point sidekick denies the edit and tells the agent why.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (nishantjoshi00/sidekick) — no native marketplace selected
npx claudepluginhub p/nishantjoshi00-sidekickPlugins from other owners that cover similar ground