duskpoet

Harner.Nvim — Development skill for Claude Code

Development community

Use Claude within Neovim directly without a terminal emulator.

How to install Harner.Nvim

This entry records only its repository, not the path inside it, so there is no exact command to give. Open duskpoet/harner.nvim and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Harner.Nvim does

Use Claude within Neovim directly without a terminal emulator.

Alternatives in Development

README

harner.nvim

[![tests](https://github.com/duskpoet/harner.nvim/actions/workflows/test.yml/badge.svg)](https://github.com/duskpoet/harner.nvim/actions/workflows/test.yml)

Chat with [Claude Code](https://docs.claude.com/en/docs/claude-code) from a Neovim split, with Claude working *inside your editor* instead of next to it.

https://github.com/user-attachments/assets/127306c0-f5e7-402c-ac4b-859eef6e422b

harner runs the `claude` CLI headless (`claude -p`) and gives it an MCP server that talks to the Neovim you are sitting in. Claude can then:

  • see what you see: the current buffer, cursor, visual selection, open buffers and LSP diagnostics, so "explain this" or "fix the error here" needs no copy-pasting;
  • show you things: jump your window to a file and highlight the lines it is talking about, or open long output (diffs, tables, generated code) in a scratch window;
  • edit your buffers: changes land in the buffer unsaved, so you review them with your usual tools and undo with u;
  • ask you: questions with choices, and a confirm float before it runs an Ex command or a shell command.

There is no terminal emulator in between: the transcript is a markdown buffer (boxed tables, shaded code, `gf` on `file.lua:12` references and URLs), prompts are typed in a small popup, and every chat keeps its own Claude session with your `CLAUDE.md`, skills and MCP connectors.

If you want the interactive Claude Code TUI inside Neovim instead, use [coder/claudecode.nvim](https://github.com/coder/claudecode.nvim); the two work side by side.

Contents