# Majjoha Dotfiles Nvim Context

> Neovim context provider

- Skill: `tomevault-io/majjoha-dotfiles-nvim-context` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/majjoha-dotfiles-nvim-context`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/majjoha-dotfiles-nvim-context/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/majjoha-dotfiles-nvim-context

---


# 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:
```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.

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/majjoha) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

