testing

testing is an agent for Claude Code from Ramilito/kubectl.nvim. It costs 24 tokens per session (2,277 once invoked), scanned A, original, Apache-2.0.

A testing specialist for Neovim projects using mini.test, a Lua testing tool. It focuses on feature-level tests that check what users observe rather than private implementation details.

In plain words
What is it for?
Use it to write, change, configure, or debug tests and test infrastructure, including test runners and Makefile test targets.
Why use it?
It keeps tests focused on regressions users would notice and helps avoid brittle tests that fail during harmless internal refactoring.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions subagents.

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 agents/ramilito/kubectl.nvim/testing
Clone the repo
git clone --depth 1 https://github.com/Ramilito/kubectl.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 testing

README.md
[![agentmods](https://agentmods.dev/badge/agents/ramilito/kubectl.nvim/testing.svg)](https://agentmods.dev/agents/ramilito/kubectl.nvim/testing)
Your own site
<a href="https://agentmods.dev/agents/ramilito/kubectl.nvim/testing"><img src="https://agentmods.dev/badge/agents/ramilito/kubectl.nvim/testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,277 The whole file, excluding the scripts and references it only reads on demand.
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.1 $0.00024 $0.02277
Opus 5 $0.00012 $0.01138
Sonnet 5 $0.00005 $0.00455
Haiku 4.5 $0.00002 $0.00228

Measured yesterday against content hash c2b41fe8e218, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

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

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/agents/testing.md · 223 lines

How it starts

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

Testing Subagent

ALWAYS use this subagent for ANY task involving:

  • Writing, modifying, or debugging tests
  • Test infrastructure (tests/ directory, mini.test setup)
  • Test runner configuration or Makefile test targets
  • Diagnosing test failures

Testing Philosophy

Tests guard features, not functions. Every test answers: "Does this feature still work for the user?"

When a Test SHOULD Break

  • A feature's observable behavior changed
  • A regression was introduced

When a Test Should NOT Break

  • Internal refactoring (renamed locals, extracted helpers, changed loop style)
  • Moved code between files with same public API
  • Added a new unrelated feature

Test Scope

All tests are feature-level. A test exercises a user-facing feature end-to-end.

Some features are purely algorithmic (e.g., status coloring) and don't need a nvim child process. They're still feature tests — they verify "status text gets the right color", not "this function returns this value".

What NOT to Test

  • Thin wrappers around vim.api.*
  • Internal structure or definition shapes (if it works, it works)
  • Rust FFI internals (that's cargo test)
  • Things that only fail if Neovim itself is broken
  • Dead code — grep for usage before writing tests. If a function has 0 callers, don't test it
  • Functions in isolation — if time.diff_str only serves the heartbeat feature, test the heartbeat feature through generateHeader(), not diff_str directly
  • Internal plumbing — URL parsing, header building, pretty_print, data processing pipelines (processRow, collect_all_resources), etc. that users never interact with directly

Before Writing a Test

  1. Identify the feature: What user-facing behavior does this guard?
  2. Find the entry point: What public function do callers actually invoke?
  3. Verify the code is live: grep -r "function_name" lua/ — if 0 callers, don't test it
  4. Check existing coverage: Is this already tested through a higher-level feature test?

Read the full file on GitHub · 223 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. yesterday First seen · 223 lines · 24 tokens per session scan A c2b41fe8e218

Subscribe to this mod's changes

testing is an agent published in the GitHub repository Ramilito/kubectl.nvim (537 stars, last pushed 22d ago), licensed Apache-2.0. It adds 24 tokens to every session and 2,277 once invoked, about $0.0001 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-09-04.

Related

Other agents, from other repositories

agentic-workflows

GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing.

meshery/meshery · 24 tokens

proto-rpc-reviewer

Use when reviewing changes to any .proto file under rpc/ or to the Go bindings generated from them. Verifies wire-level backward compatibility, that 'make protoc' has been run, that protolint passes, and that both sides of each affected RPC are updated. Surfaces incompatibilities that would break older clients, older…

telepresenceio/telepresence · 86 tokens

ark-security-patcher

Fix security vulnerabilities in Ark by researching CVEs, analyzing impact, proposing mitigations, implementing patches, and creating PRs. Use when the user reports CVE numbers or security issues that need fixing in Ark. Examples:\n\n- User: "Fix CVE-2025-55183 in Ark"\n Assistant: "I'll use the ark-security-patcher…

mckinsey/agents-at-scale-ark · 0 tokens

issue-tracker

Issues and PRDs for this repo live as GitHub issues. Use the gh CLI for all operations.

xiaods/k8e · 0 tokens

security-reviewer

Review security aspects including network policies, RBAC, IAM, secrets management, Cilium policies, and pod security.

Smana/cloud-native-ref · 26 tokens

overview

NVIDIA Dynamo adds agent-aware serving features without taking ownership of the agent loop: your harness still manages prompts, tools, subagents, and reasoning state, while Dynamo uses metadata attached to each LLM request to correlate work, improve routing and scheduling, manage KV cache behavior, and produce traces…

ai-dynamo/dynamo · 0 tokens