self-testing

self-testing is a skill for Claude Code from shabaraba/vibing.nvim. It costs 105 tokens per session (4,060 once invoked), scanned A, original, MIT.

A self-testing workflow for vibing.nvim that controls a separate Neovim process over RPC, a way for one program to send commands to another.

In plain words
What is it for?
Use it to start and stop test Neovim instances, send key input, wait for buffer text or filenames, and run the plugin’s end-to-end tests.
Why use it?
It enables end-to-end tests—tests that check a feature through the whole application—to run automatically without manual editor interaction.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; positional $N argument; mentions Codex.

Good fit Use it to start and stop test Neovim instances, send key input, wait for buffer text or filenames, and run the plugin’s end-to-end tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shabaraba/vibing.nvim/self-testing
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.

Any agent
npx skills add shabaraba/vibing.nvim --skill self-testing
Clone the repo
git clone --depth 1 https://github.com/shabaraba/vibing.nvim

Made for: Claude Code.

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 self-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/shabaraba/vibing.nvim/self-testing/github.svg)](https://agentmods.dev/skills/shabaraba/vibing.nvim/self-testing)
Your own site
<a href="https://agentmods.dev/skills/shabaraba/vibing.nvim/self-testing"><img src="https://agentmods.dev/badge/skills/shabaraba/vibing.nvim/self-testing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for self-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/shabaraba/vibing.nvim/self-testing"><img src="https://agentmods.dev/badge/skills/shabaraba/vibing.nvim/self-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,060 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 209
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.1 $0.00105 $0.04060
Opus 5.5 $0.00042 $0.01624
Sonnet 5.5 $0.00021 $0.00812
Haiku 4.5 $0.00011 $0.00406

Measured 1mo ago against content hash 80a1a91d1c85, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

self-testing 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 1mo 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.

.claude/skills/self-testing/SKILL.md · 328 lines

How it starts

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

Self-Testing for vibing.nvim

vibing.nvim can test itself by driving a separate, child Neovim instance over RPC. This enables automatic QA and self-correction after implementing a feature, without manual testing.

Architecture

Test Runner (Current Nvim)
  ├─ lua/vibing/testing/e2e_helper.lua
  │   ├─ spawn_nvim_instance()  - Launch child Nvim via jobstart(rpc=true)
  │   ├─ send_keys()             - Send key input via rpcrequest
  │   ├─ wait_for_buffer_content() - Poll buffer TEXT until pattern matches
  │   ├─ wait_for_assistant_turns() - A turn ran and did not fail (start here)
  │   ├─ wait_for_assistant_text()  - Output only the model could produce
  │   ├─ wait_for_response()        - Whole buffer, but aborts when the turn errors
  │   ├─ wait_for_buffer_name()    - Poll buffer NAME (use this for a filename)
  │   └─ cleanup_instance()      - Stop job
  │
  └─ tests/e2e/*.spec.lua - plenary.nvim test specs
       └─ Test Neovim Instance (Child Process)
            └─ vibing.nvim running with test configuration

Communication: Parent Nvim ←RPC→ Child Nvim (jobstart with rpc=true). Child instances get a unique RPC port in the 9876-9925 range.

Running Tests

npm run test:e2e   # all E2E tests (sets VIBING_E2E=1; spends real tokens)
npm test           # unit only (test:lua + test:node) — E2E is deliberately not included

# Specific file. VIBING_E2E=1 is required: without it every spec self-skips, and the run reports
# "0 tests" as a pass rather than telling you nothing ran. Use PlenaryBustedDirectory with an
# explicit timeout even for one file — see "Running one spec by hand" for why not BustedFile.
VIBING_E2E=1 nvim --headless -u tests/minimal_init.lua \
  -c "PlenaryBustedDirectory tests/e2e/chat_jump_user_spec.lua { minimal_init = 'tests/minimal_init.lua', timeout = 240000 }"

Three Things the Child Neovim Needs

Each of these silently produced a dead spec before — a spec that ran, printed nothing useful and was never fixed because nothing said it had failed.

Read the full file on GitHub · 328 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. 1mo ago Changed 80a1a91d1c85
  2. 1mo ago Changed 35b837a33bb0
  3. 2mo ago Changed · +52 lines 53284fcb8a58
  4. 2mo ago Changed · +1 lines 93eac005f06b
  5. 3mo ago Changed · +27 lines f381722e80c7
  6. 3mo ago Changed · +52 lines · +7 tokens per session 6d8c87e8e877
  7. 3mo ago First seen · 196 lines · 98 tokens per session scan A f59e7af411de

Subscribe to this mod's changes

self-testing is a skill published in the GitHub repository shabaraba/vibing.nvim (13 stars, last pushed today), licensed MIT. It adds 105 tokens to every session and 4,060 once invoked, about $0.0004 per session on Opus 5.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.

Related

self-testing compared with skills from other repositories

self-testing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
self-testingshabaraba/vibing.nvimSkill13todayMITA105Claude Code
agent-e2e-test-specialisttravisjneuman/.claudeSkill116todayMITA75Claude Code
api-integration-testjohnqtcg/awesome-skillsSkill32todayMITA58Claude Code
e2e-testjohnqtcg/awesome-skillsSkill32todayMITA70Claude Code
browser-testingdork-labs/dorkosSkill11todayMITA55Claude Code
qa-e2echristopherlouet/claude-baseSkill64d agoMITA34Claude Code
qa-chromechristopherlouet/claude-baseSkill64d agoMITA61Claude Code