Smithery Logo
MCPsSkillsDocsPricing
Login
Smithery Logo

Accelerating the Agent Economy

Resources

DocumentationPrivacy PolicySystem Status

Company

PricingAboutBlog

Connect

© 2026 Smithery. All rights reserved.

    majjoha

    nvim-context

    majjoha/nvim-context
    Coding
    17

    About

    SKILL.md

    Install

    Install via Skills CLI

    or add to your agent
    • Claude Code
      Claude Code
    • Codex
      Codex
    • OpenClaw
      OpenClaw
    • Cursor
      Cursor
    • Amp
      Amp
    • GitHub Copilot
      GitHub Copilot
    • Gemini CLI
      Gemini CLI
    • Kilo Code
      Kilo Code
    • Junie
      Junie
    • Replit
      Replit
    • Windsurf
      Windsurf
    • Cline
      Cline
    • Continue
      Continue
    • OpenCode
      OpenCode
    • OpenHands
      OpenHands
    • Roo Code
      Roo Code
    • Augment
      Augment
    • Goose
      Goose
    • Trae
      Trae
    • Zencoder
      Zencoder
    • Antigravity
      Antigravity
    ├─
    ├─
    └─

    About

    Get the current Neovim context as JSON (cursor position, current file, visual selection and diagnostics) to help answer questions about code at the current cursor position, visual selections and...

    SKILL.md

    Neovim context provider

    Purpose

    Provides live context from the user's Neovim editor session to help answer context-aware questions about code.

    How it works

    1. Executes the nvim-context tool to get the current editor state.
    2. Returns JSON data including cursor position, open file, visual selection and diagnostics.
    3. Use this information to understand references like "this line", "the selection", "current file", etc.

    Usage examples

    • "What's wrong with this line?" → Check diagnostics at cursor
    • "Explain the selected code" → Analyze visual selection
    • "What file am I in?" → Return current file path
    • "Show me all errors" → List all LSP diagnostics

    Technical details

    To use this skill, execute the nvim-context CLI command which outputs JSON:

    {
      "cursor": {
        "line": 43,
        "col": 3
      },
      "file": "/path/to/current/file.rb",
      "selection": null,
      "diagnostics": []
    }
    

    Implementation

    When this skill is loaded, execute nvim-context via Bash and parse the JSON output to understand the current editor state. Use the returned data to answer user questions about their code.

    Recommended Servers
    Exa Search
    Exa Search
    supermemory
    supermemory
    Linkup
    Linkup
    Repository
    majjoha/dotfiles
    Files