Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/folke/sidekick.nvim/agents-mdgit clone --depth 1 https://github.com/folke/sidekick.nvimWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00820 | $0.00820 |
| Opus 5 | $0.00410 | $0.00410 |
| Sonnet 5 | $0.00164 | $0.00164 |
| Haiku 4.5 | $0.00082 | $0.00082 |
Grade A, and why
sidekick.nvim AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Cheat Sheet
This repository contains sidekick.nvim, a Neovim plugin that integrates GitHub Copilot "Next Edit Suggestions" (NES) into Neovim. The plugin relies on Copilot's LSP and ships with an automated test + docs workflow.
Project Overview
- Core modules live under
lua/sidekick/(config.lua,nes/,status.lua, etc.). - Tests are written with
mini.testand live intests/. Specs are table-driven whenever possible. - Docs are generated automatically via
./scripts/docs, which extracts Lua annotations to updateREADME.mdsections. - Code style is Lua with
stylua/seleneconfigs already included.
Everyday Commands
-
./scripts/test– runs themini.testsuite using the Lazy.nvim harness; automatically installs test dependencies. SetLAZY_OFFLINE=1when you need to skip the bootstrap download (for fully offline CI). -
./scripts/docs– regenerates docs inREADME.mdusing the snippets intests/readme.lua. -
stylua lua tests– format Lua source and tests when needed. -
selene– lint Lua files (if selene is installed in the environment). -
Inspect Neovim help topics from the CLI:
# show all doc paths then grep for a topic nvim --headless '+lua print(table.concat(vim.api.nvim_get_runtime_file("doc/*.txt", true), " "))' +qall \ | xargs rg "vim.text.diff" -C4 # jump straight to a help entry and print the next 50 lines nvim --headless \ '+lua vim.cmd.help("nvim_buf_set_extmark"); print(table.concat(vim.api.nvim_buf_get_lines(0, vim.fn.line(".") - 1, vim.fn.line(".") + 50, false), "\n"))' +qaSwap in the topic/API you need to research.
Adding Features
- Respect the
Config.nes.enabledcallback so that users can disable NES globally (vim.g.sidekick_nes = false) or per-buffer (vim.b[buf].sidekick_nes = false). - Keep new configuration options documented in
lua/sidekick/config.lua; docs are generated from this file. - When touching the diffing logic (
lua/sidekick/nes/diff.lua), update or add table-driven tests intests/diff_spec.lua. - If a change affects status reporting, extend
tests/status_spec.luaso notifications stay covered.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 61 lines · 820 tokens per session scan A 9e36a88e4737
sidekick.nvim AGENTS.md is an instructions file published in the GitHub repository folke/sidekick.nvim (2,749 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 820 tokens to every session, about $0.0041 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
agentic.nvim AGENTS.md
Instructions for carlos-algms/agentic.nvim, covering agents guide, nested instructions, skill driven, domain glossary — lazy read and architectural decisions (adrs) — optional read.
agentic.nvim CLAUDE.md
Instructions for carlos-algms/agentic.nvim: CRITICAL See @AGENTS.md for Instructions, it's the source of truth for all my instructions, no exceptions, it should be read and be part of your context before any other action.
down.nvim copilot-instructions.md
Copilot instructions for clpi/down.nvim, a project described as: the (eventually) infinitely extensible markdown note-taking work environment that you can have in Neovim without having to ever leave the comfort of markdown.
fff AGENTS.md
AGENTS.md instructions for dmtrKovalenko/fff, covering to clankers, development commands, building, testing and development tools and code quality.
codecompanion.nvim AGENTS.md
AGENTS.md instructions for olimorris/codecompanion.nvim, covering codecompanion.nvim, commands, code conventions, architecture and general rules.
opencode.nvim AGENTS.md
Instructions for nickjvandyke/opencode.nvim, covering opencode.nvim — agent guide, what it is, entrypoints, config quirks and dependencies.