codecompanion-spinners.nvim GEMINI.md

codecompanion-spinners.nvim GEMINI.md is an instructions file for Gemini CLI from lalitmee/codecompanion-spinners.nvim. It costs 6,414 tokens per session, scanned A, original, MIT.

Repository instructions for a Neovim extension that displays configurable spinning status indicators and notifications while CodeCompanion, an AI coding plugin, is working. They describe its components, configuration, and event handling.

In plain words
What is it for?
Adding or changing spinner styles, configuring notifications, handling CodeCompanion events, and maintaining the extension's Lua modules.
Why use it?
They help developers understand how activity state, spinner styles, settings, and notifications fit together when changing the extension.

Instructions file for Gemini CLI

Install

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.

agentmods
npx agentmods add instructions/lalitmee/codecompanion-spinners.nvim/gemini-md
Clone the repo
git clone --depth 1 https://github.com/lalitmee/codecompanion-spinners.nvim

Made for: Gemini CLI.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for codecompanion-spinners.nvim GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/lalitmee/codecompanion-spinners.nvim/gemini-md.svg)](https://agentmods.dev/instructions/lalitmee/codecompanion-spinners.nvim/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/lalitmee/codecompanion-spinners.nvim/gemini-md"><img src="https://agentmods.dev/badge/instructions/lalitmee/codecompanion-spinners.nvim/gemini-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 6,414 This file is loaded in full into every session.
When invoked 6,414 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce invoked
Fable 5 $0.06414 $0.06414
Opus 5 $0.03207 $0.03207
Sonnet 5 $0.01283 $0.01283
Haiku 4.5 $0.00641 $0.00641

Measured 5d ago against content hash 4a5a408b5018, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

codecompanion-spinners.nvim GEMINI.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 5d 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.

GEMINI.md · 719 lines

How it starts

The opening of the file, as written. The whole thing — 719 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CodeCompanion Spinner - Comprehensive Context

Project Overview

This is a Neovim plugin extension for codecompanion.nvim that provides beautiful, configurable status spinners and notifications to give you real-time feedback on AI activity.

Repository: https://github.com/lalitmee/codecompanion-spinners.nvim Maintained by: Lalit Kumar Mehta License: MIT (inferred from typical Neovim plugin practices)

Architecture

Core Components

  1. Extension Entry Point (lua/codecompanion/_extensions/spinner/init.lua)

    • Main setup function that loads configuration and initializes the selected spinner
    • Handles dynamic loading of spinner implementations
    • Provides error handling for missing spinner styles
  2. Configuration Management (lua/codecompanion/_extensions/spinner/config.lua)

    • Manages user configuration with sensible defaults
    • Provides deep merging of user options
    • Exposes helper functions for accessing configuration
  3. State Tracker (lua/codecompanion/_extensions/spinner/tracker.lua)

    • Central event handler for all CodeCompanion events
    • Maintains internal state counters for requests, tools, diffs
    • Provides state machine logic with defined states:
      • IDLE: No active operations
      • THINKING: AI is processing a request
      • RECEIVING: AI is streaming response
      • TOOLS_RUNNING: Tools are being executed
      • TOOLS_PROCESSING: Tool output is being processed
      • DIFF_AWAITING: Diff is attached and awaiting review
    • Includes state_map table for converting numeric states to string names used by spinners
    • Includes one_off_events table for mapping CodeCompanion events to content keys for notifications
  4. Spinner Implementations (lua/codecompanion/_extensions/spinner/styles/)

    • cursor-relative.lua: Floating window spinner near cursor
    • fidget.lua: Integration with fidget.nvim
    • snacks.lua: Rich notifications via snacks.nvim or vim.notify
    • lualine.lua: Statusline component for lualine.nvim
    • heirline.lua: Statusline component for heirline.nvim
    • noice.lua: Rich notifications via noice.nvim

Read the full file on GitHub · 719 lines

Changes

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.

  1. 5d ago First seen · 719 lines · 6,414 tokens per session scan A 4a5a408b5018

Subscribe to this mod's changes

codecompanion-spinners.nvim GEMINI.md is an instructions file published in the GitHub repository lalitmee/codecompanion-spinners.nvim (24 stars, last pushed 2mo ago), licensed MIT. It adds 6,414 tokens to every session, about $0.0321 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.