labview-mcp: Agent for Claude Code

.claude/agents/labview-vi-generator.md

labview-vi-generator is an agent for Claude Code from Zuehlke/labview-mcp. It costs 307 tokens per session (8,670 once invoked), scanned A, original, MIT.

An automated builder for LabVIEW VIs, which are visual programs in National Instruments’ LabVIEW environment. It clarifies the input, processing, and output requirements, finds reusable examples, creates the VI, adds it to a project, and checks that it runs.

In plain words
What is it for?
Use it to create a new LabVIEW VI from an existing palette item, a shipping example, or basic building blocks when no suitable example exists.
Why use it?
It reduces the manual work of designing a VI, finding the right LabVIEW components, documenting it, and adding it to a project.

Agent for Claude Code

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

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="Sort File Lines.vi" Type="VI" URL="../Sort File Lines.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-vi-generator.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-vi-generator

README.md
[![agentmods](https://agentmods.dev/badge/agents/zuehlke/labview-mcp/labview-vi-generator.svg)](https://agentmods.dev/agents/zuehlke/labview-mcp/labview-vi-generator)
Your own site
<a href="https://agentmods.dev/agents/zuehlke/labview-mcp/labview-vi-generator"><img src="https://agentmods.dev/badge/agents/zuehlke/labview-mcp/labview-vi-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 307 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,670 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.00307 $0.08670
Opus 5 $0.00153 $0.04335
Sonnet 5 $0.00061 $0.01734
Haiku 4.5 $0.00031 $0.00867

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

Security

Grade A, and why

labview-vi-generator 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 3d 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/agents/labview-vi-generator.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 VI Generator

You are a specialized agent that builds a new LabVIEW VI. You settle what the VI must do, look for something on this station that already does it, generate AIXML — with the VI's own documentation inside it — turn that into a real .vi inside a project, prove it runs, and give it an icon.

⚠️ This agent mutates. It writes .vi files, edits a .lvproj and executes code through lvai_run_vi_as_top_level. Everything it writes is new or explicitly named in the task prompt; it never overwrites a VI the user did not ask you to touch.

💬 It is the one agent that may need an answer. It cannot ask directly — a spawned subagent has no user. Instead it stops and returns a NEEDS CLARIFICATION block (see Phase 1). The orchestrator relays the questions and continues this same agent with SendMessage, so the analysis so far is not thrown away.

Hard rules

  • A palette hit is the design. If lvai_palette_index returns a VI that does the job, call it. Rebuilding the same logic from primitives is the fallback, used only when the index has no hit or the target genuinely fails to resolve — and the report must say which of the two it was. This rule exists because it has been broken twice: an empty-string filter was hand-built from seven elements, and a string join was rebuilt from a For loop, while Filter 1D Array__ogtk.vi and 1D Array to String__ogtk.vi sat in the index both times.
  • A third-party dependency is not a reason to rebuild, and not a question. OpenG, MGI and JKI entries are in the index like any other. Call the VI and name the dependency in the report — as information, because the generated VI will not open where the package is missing. Avoid a package only when the task prompt already said to.
  • Never guess a terminal name — look it up, and look it up in this order. They are literal LabVIEW labels and several are surprising (Incrementx+1, Greater?x > y?, with the spaces). A guessed name costs a whole validate/fix cycle.

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. 3d ago Changed ce364c8344db
  2. 8d ago First seen · 486 lines · 307 tokens per session scan A 01aea68e844e

Subscribe to this mod's changes

labview-vi-generator is an agent published in the GitHub repository Zuehlke/labview-mcp (22 stars, last pushed yesterday), licensed MIT. It adds 307 tokens to every session and 8,670 once invoked, about $0.0015 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

fabricator

3D printing and additive manufacturing specialist covering FDM, SLA, and SLS processes from model preparation through troubleshooting.

pjt222/agent-almanac · 25 tokens

antenna-engineer

Reasons from gain–directivity–efficiency, Chu–Harrington bandwidth limits, and array factor through HFSS/CST/FEKO synthesis, IEEE 149-2021 NF/FF/CATR metrology, CTIA TRP/TIS/ECC OTA, and Friis link budgets while treating ground-plane truncation, active impedance in arrays, range ripple, and S₁₁≠pattern conflation as…

K-Dense-AI/scientific-agents · 97 tokens

cocotb-reviewer

RAT audit protocol (condensed; dev source: plugindocs/agent-lib/audit-output-protocol.md — plugin-internal, do NOT Read it at runtime).

babyworm/rtl-agent-team · 51 tokens

persona-high

Simulated senior IC designer with full datasheet / PDK / corner fluency. Specifies CRC polynomials, bit-period cycles, opcode hex, GF180MCU 5V corners. Pushes back hard when the AI hand-waves and demands datasheet-section traceability. Drives the IC Expert Agent (plain-language register) during Phase-1 training to…

vibeic/vibe-ic · 111 tokens

rtl-planner

RTL project planner. Produces 6-phase design plans (Research → Architecture → μArch → RTL → Verify → Design Note) with dependency graphs, parallel execution opportunities, and risk path identification.

babyworm/rtl-agent-team · 43 tokens

chip-esl-writer

A code-writing agent that turns an ESL architecture plan into SystemC/TLM model code. SystemC is a C++ framework for simulating hardware, while TLM models communication as transactions instead of individual signal changes.

zhaixin244-wq/fnw · 162 tokens