hvir: Skill for Claude Code

.claude/skills/write-hvir-tests/SKILL.md

write-hvir-tests is a skill for Claude Code, Codex from jarmak-personal/hvir. It costs 55 tokens per session (1,357 once invoked), scanned A, original, MIT.

A testing guide for hvir, focused on choosing tests at the lowest real part of the system that owns a behavior. It covers both small policy checks and tests involving Electron, Chromium, terminals, Git, packaging, capacity, and SSH.

In plain words
What is it for?
Use it to design, update, diagnose, or review hvir tests, including fixtures, cleanup, lifecycle behavior, flaky tests, and local-versus-SSH coverage.
Why use it?
It helps avoid tests that merely follow framework details or existing file locations instead of proving user-visible behavior.

Skill for Claude CodeCodex

Written for Claude Code and Codex: installed under .claude/, but also agents/openai.yaml present. Also seen: mentions AGENTS.md.

This is jarmak-personal/hvir's own configuration. It tells Claude Code and Codex how to work on hvir itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything hvir configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jarmak-personal/hvir. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jarmak-personal/hvir/main/.claude/skills/write-hvir-tests/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/jarmak-personal/hvir

Made for: Claude Code, Codex.

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 write-hvir-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/jarmak-personal/hvir/write-hvir-tests/github.svg)](https://agentmods.dev/skills/jarmak-personal/hvir/write-hvir-tests)
Your own site
<a href="https://agentmods.dev/skills/jarmak-personal/hvir/write-hvir-tests"><img src="https://agentmods.dev/badge/skills/jarmak-personal/hvir/write-hvir-tests/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 write-hvir-tests

Your own site · 80×15
<a href="https://agentmods.dev/skills/jarmak-personal/hvir/write-hvir-tests"><img src="https://agentmods.dev/badge/skills/jarmak-personal/hvir/write-hvir-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,357 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.
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.00055 $0.01357
Opus 5 $0.00028 $0.00678
Sonnet 5 $0.00011 $0.00271
Haiku 4.5 $0.00006 $0.00136

Measured 10d ago against content hash f4e3c54514e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

write-hvir-tests 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 10d 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/write-hvir-tests/SKILL.md · 110 lines

How it starts

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

Write hvir tests

Choose evidence from the behavior and its owner, not from the nearest framework or existing test file. Preserve hvir's real Electron, Chromium, node-pty, system Git, packaging, capacity, and SSH contracts while keeping pure policy cheap and direct.

This skill owns test-design procedure. It does not select Git branches, worktrees, issue scope, or pull-request lifecycle; use hvir-implement-issue for those implementation responsibilities.

Establish the behavior and owner

Before choosing a test file or framework:

  1. Read AGENTS.md, docs/design.md, the governing issue, and the ADRs that own the behavior.
  2. State the user or contributor-visible contract in one sentence. Separate it from the current implementation and from incidental DOM, log, class-name, timing, or call-order observations.
  3. Trace the production path through its actual owners. Inspect renderer models and effects, preload/IPC adapters, main coordinators, workers, ProjectHost, the PTY supervisor, harness providers, TerminalPane, and external boundaries only where they participate.
  4. Name the policy owner, effect/resource owner, public seam, and immediate external dependency.
  5. Search by behavior as well as symbol name for existing tests, domain fixtures, fake ports, production events, semantic snapshots, cleanup owners, clocks, deferred completions, and scenario groups.

When the task selects or reviews test altitude, read references/behavior-altitude-matrix.md completely before editing tests. Use it as a stable owner/evidence map, not as an inventory or migration ledger.

Stop for alignment when the requested test would change product behavior, create test-only authority, weaken an accepted security or lifecycle contract, or replace a required real environment with a fake. Otherwise record the selected behavior, owner, lowest real altitude, and any deliberately retained higher-altitude contract before editing.

Read the full file on GitHub · 110 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 110 lines · 55 tokens per session scan A f4e3c54514e2

Subscribe to this mod's changes

write-hvir-tests is a skill published in the GitHub repository jarmak-personal/hvir (2 stars, last pushed today), licensed MIT. It adds 55 tokens to every session and 1,357 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens

skill-benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

HoangNguyen0403/agent-skills-standard · 16 tokens