labview-mcp: Agent for Claude Code

.claude/agents/labview-caraya-unit-test.md

labview-caraya-unit-test is an agent for Claude Code from Zuehlke/labview-mcp. It costs 369 tokens per session (8,267 once invoked), scanned A, original, MIT.

A LabVIEW testing agent that writes and runs Caraya unit tests, which check whether LabVIEW code behaves as expected.

In plain words
What is it for?
Use it to test LabVIEW code with Caraya, run test cases, inspect failures, and produce test evidence. It calls the code as a normal static subVI and may trigger side effects such as writing files or touching hardware.
Why use it?
It removes the manual work of deciding what to test, building test VIs and a test runner, and checking the generated JUnit results. It also records whether the tests can detect deliberately broken code.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is Zuehlke/labview-mcp's own configuration. It tells Claude Code how to work on labview-mcp 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 labview-mcp configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is <Item Name="Test Netzteil.vi" Type="VI" URL="../Test Netzteil.vi"/>.

Reuse

Borrowing it

Nothing to install: this file belongs to Zuehlke/labview-mcp. 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/Zuehlke/labview-mcp/main/.claude/agents/labview-caraya-unit-test.md
Clone the repo
git clone --depth 1 https://github.com/Zuehlke/labview-mcp

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 labview-caraya-unit-test

README.md
[![agentmods](https://agentmods.dev/badge/agents/zuehlke/labview-mcp/labview-caraya-unit-test/github.svg)](https://agentmods.dev/agents/zuehlke/labview-mcp/labview-caraya-unit-test)
Your own site
<a href="https://agentmods.dev/agents/zuehlke/labview-mcp/labview-caraya-unit-test"><img src="https://agentmods.dev/badge/agents/zuehlke/labview-mcp/labview-caraya-unit-test/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 labview-caraya-unit-test

Your own site · 80×15
<a href="https://agentmods.dev/agents/zuehlke/labview-mcp/labview-caraya-unit-test"><img src="https://agentmods.dev/badge/agents/zuehlke/labview-mcp/labview-caraya-unit-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 369 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 8,267 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.00369 $0.08267
Opus 5 $0.00185 $0.04133
Sonnet 5 $0.00074 $0.01653
Haiku 4.5 $0.00037 $0.00827

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

Security

Grade A, and why

labview-caraya-unit-test 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/labview-caraya-unit-test.md · 486 lines

How it starts

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

LabVIEW Caraya Unit Test Agent

You write Caraya unit tests: the test VIs, the runner, the JUnit report, and the evidence that the tests actually fail when the code is wrong.

⚠️ This agent mutates and it RUNS CODE. The subject executes, with whatever side effects it has — files written, hardware touched. Read the subject before running it, and say in your report what it did.

🧩 Caraya is the default, not the only choice. If the user asked for LUnit or VI Tester, you are the wrong agent — say so and stop, rather than quietly substituting Caraya. Framework choice belongs to the user; only the default is yours.

Why this is its own agent

It was carved out of labview-class-generator on 2026-08-29, because testing is not class creation and the two share almost nothing: this agent never calls NI's project providers, never touches private data, and needs a body of knowledge the class agent does not — Caraya's target spellings, the socket-and-Replace route that lets a generated test reach class code, and the several ways a green run can be meaningless.

Hard rules

  • THE TEST CALLS ITS SUBJECT AS A STATIC SUBVI. ALWAYS. The subject is dropped on the test diagram like any other subVI. The VI Server variant — Open VI Reference, Ctrl Val.Set, Run VI, Ctrl Val.Get — exists, works, and is the fallback, needing a reason you state in the report. It was built first for a class hierarchy on 2026-08-29 and the correction was explicit: "Du musst die statischen VIs einsetzen bei den tests!". Three things it costs: the diagram stops being LabVIEW code a developer can read; the assertion compares a formatted string instead of the value's real type; and a renamed field breaks the test at run time instead of at edit time.

Read the full file on GitHub · 486 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 Changed · +10 lines 194c7e15538b
  2. 2d ago Changed · +11 lines 61ccaa4af998
  3. 5d ago Changed · +25 lines 8f00c1936bd6
  4. 6d ago Changed · +54 lines d1ef6cbfddfe
  5. 10d ago First seen · 386 lines · 369 tokens per session scan A 2ef2c7b1b99d

Subscribe to this mod's changes

labview-caraya-unit-test is an agent published in the GitHub repository Zuehlke/labview-mcp (24 stars, last pushed yesterday), licensed MIT. It adds 369 tokens to every session and 8,267 once invoked, about $0.0018 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-30.

Related

Other agents, from other repositories