{"id":51871370,"url":"https://github.com/wincent/shannon","last_synced_at":"2026-07-24T23:30:53.876Z","repository":{"id":353353340,"uuid":"1187357849","full_name":"wincent/shannon","owner":"wincent","description":"Claude integration for Neovim","archived":false,"fork":false,"pushed_at":"2026-05-01T11:52:18.000Z","size":76,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-01T13:27:27.511Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wincent.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-20T16:25:51.000Z","updated_at":"2026-05-01T11:52:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/wincent/shannon","commit_stats":null,"previous_names":["wincent/shannon"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wincent/shannon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wincent%2Fshannon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wincent%2Fshannon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wincent%2Fshannon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wincent%2Fshannon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wincent","download_url":"https://codeload.github.com/wincent/shannon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wincent%2Fshannon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35860101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-24T02:00:07.870Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-07-24T23:30:53.420Z","updated_at":"2026-07-24T23:30:53.868Z","avatar_url":"https://github.com/wincent.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shannon\n\nA bidirectional communication bridge between Neovim and a terminal coding agent (pi or Claude Code).\n\nShannon opens a floating window in Neovim where you type a prompt. When you save (`:w` or `:x`), it delivers the prompt to a running agent session in a sibling tmux pane, along with file and cursor context. Close without sending using `:fclo` or `:q!`.\n\nWith the companion Pi skill or Claude Code plugin installed, communication flows in both directions — the agent can annotate your code with virtual text, open files, and jump to lines.\n\n## Requirements\n\n- Neovim 0.9+\n- tmux\n- A supported agent (pi or Claude Code) running in a sibling tmux pane\n\n## Installation\n\nWith [lazy.nvim](https://github.com/folke/lazy.nvim):\n\n```lua\n{ 'wincent/shannon', config = true }\n```\n\nWith [packer.nvim](https://github.com/wbthomason/packer.nvim):\n\n```lua\nuse {\n  'wincent/shannon',\n  config = function()\n    require('wincent.shannon').setup()\n  end,\n}\n```\n\nWith [mini.deps](https://github.com/echasnovski/mini.deps):\n\n```lua\nadd('wincent/shannon')\nrequire('wincent.shannon').setup()\n```\n\nManual: clone into your `pack/` directory, run `:packadd shannon`, and call `require('wincent.shannon').setup()`.\n\n## Setup\n\n```lua\nrequire('wincent.shannon').setup()\n```\n\nThis creates the default keymaps with `\u003cLeader\u003es` as the prefix:\n\n| Mapping      | Mode           | Command                |\n| ------------ | -------------- | ---------------------- |\n| `\u003cLeader\u003ess` | normal, visual | `:Shannon`             |\n| `\u003cLeader\u003esn` | normal         | `:ShannonNextMark`     |\n| `\u003cLeader\u003esp` | normal         | `:ShannonPreviousMark` |\n| `\u003cLeader\u003esc` | normal         | `:ShannonClearMarks`   |\n\n### Options\n\n```lua\nrequire('wincent.shannon').setup({\n  keymaps = true,              -- set to false to suppress default keymaps\n  prefix = '\u003cLeader\u003es',        -- keymap prefix\n  agents = { 'pi', 'claude' }, -- process names to search for, in priority order\n})\n```\n\n#### `agents`\n\nShannon locates the target pane by running `pgrep -x \u003cname\u003e` for each entry in\n`agents` and walking up the process tree until it reaches a sibling tmux pane's\nshell. The first match wins, so order the list by preference.\n\nDefaults to `{ 'pi', 'claude' }`. Override to pin a single agent, reorder\npriority, or add others:\n\n```lua\n-- pi only\nrequire('wincent.shannon').setup({ agents = { 'pi' } })\n\n-- prefer claude over pi\nrequire('wincent.shannon').setup({ agents = { 'claude', 'pi' } })\n\n-- add a custom agent\nrequire('wincent.shannon').setup({ agents = { 'pi', 'claude', 'aider' } })\n```\n\n## Usage\n\n- `:Shannon` — open the floating prompt window. In visual mode, the selected range is included as context.\n- `:ShannonNextMark` / `:ShannonPreviousMark` — jump between Shannon annotations (extmarks).\n- `:ShannonClearMarks` — clear all Shannon annotations in the current buffer.\n\nWhile the floating window is open, `CTRL-Y` and `CTRL-E` scroll the parent window.\n\nIf the prompt starts with `/btw`, the prompt text is placed before the context line.\n\n## Companion Pi skill and Claude Code plugin\n\nFor bidirectional communication with the agent, install the `shannon` Claude Code plugin from the `wincent-claude-plugins` marketplace:\n\n```sh\nclaude plugin marketplace add wincent/wincent-claude-plugins\nclaude plugin install shannon\n```\n\nThis teaches Claude Code to annotate code, open files, and navigate your Neovim session via RPC.\n\nEquivalently, a \"neovim\" Pi skill exists in the marketplace repo under `pi/skills/`. If you want to share the marketplace repo with both Claude and Pi, you can configure Pi to read from the marketplace repo by add the following in `~/.pi/agent/settings.json`:\n\n```json\n{\n  \"skills\": [\n    \"~/.claude/plugins/marketplaces/wincent-claude-plugins/pi\"\n  ]\n}\n```\n\n## License\n\nSee [LICENSE.md](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwincent%2Fshannon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwincent%2Fshannon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwincent%2Fshannon/lists"}