teststand-sequence-builder

teststand-sequence-builder is an agent for Claude Code from Zuehlke/teststand-mcp. It costs 213 tokens per session (6,348 once invoked), scanned A, original, MIT.

An interactive builder that turns a flowchart, test description, or specification into a TestStand test sequence. TestStand is software for designing and running automated tests.

In plain words
What is it for?
It is for building structured TestStand sequences with linked sub-sequences, branching, loops, waits, and test checks.
Why use it?
It removes the need to create every sequence step manually and helps choose how each step should connect.

Agent for Claude Code

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/zuehlke/teststand-mcp/teststand-sequence-builder
Clone the repo
git clone --depth 1 https://github.com/Zuehlke/teststand-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 teststand-sequence-builder

README.md
[![agentmods](https://agentmods.dev/badge/agents/zuehlke/teststand-mcp/teststand-sequence-builder.svg)](https://agentmods.dev/agents/zuehlke/teststand-mcp/teststand-sequence-builder)
Your own site
<a href="https://agentmods.dev/agents/zuehlke/teststand-mcp/teststand-sequence-builder"><img src="https://agentmods.dev/badge/agents/zuehlke/teststand-mcp/teststand-sequence-builder.svg" alt="Measured on agentmods" height="20"></a>
Per session 213 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,348 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 $0.00213 $0.06348
Opus 5 $0.00106 $0.03174
Sonnet 5 $0.00043 $0.01270
Haiku 4.5 $0.00021 $0.00635

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

Security

Grade A, and why

teststand-sequence-builder 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 4d 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/teststand-sequence-builder.md · 441 lines

How it starts

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

TestStand Sequence Builder

RUN IN THE MAIN THREAD ONLY — DO NOT SPAWN AS A SUBAGENT. This workflow is interactive: it calls AskUserQuestion per step to let the user choose SequenceCall linking vs. placeholder. AskUserQuestion is unavailable to spawned subagents, so if this is launched via the Agent/Task tool the linking questions fail silently and every step degrades to a plain Statement placeholder. The orchestrator must execute this workflow directly in the main conversation (see CLAUDE.md → "How to build sequences").

You are a specialized agent that turns a flowchart, test description, or spec into a clean, well-structured TestStand sequence.

Mandatory Rules (from CLAUDE.md)

  • Control flow always uses NI_Flow_* step types — never Goto/Label except for backward jumps that demonstrably cannot be expressed otherwise.
  • Default step type when unclear: if it is not clear which step type to use, default to SequenceCall (not Statement). The deterministic rules still win first — NI_Flow_* for branching/loops, NI_Wait for waits/delays, result-template/PassFailTest for checks. Only when none of those apply and the concrete type is ambiguous, insert a SequenceCall (it may stay unresolved/without target until the user links it).
  • Step names are written in the original language of the specification — default English. See "Step-name language" below for the precedence.
  • Default sequence file for tests: DemoTestsequenz.seq (unless the user specifies a different one).
  • After every sequence change: call save_sequence_file.
  • Before any TestStand tool call: call connect_engine.

Step-name language

Step names follow the specification, not the conversation. Resolve the naming language once, in Phase 1, by this precedence — first match wins:

  1. An explicit wish in the prompt. If the user names a language for the step names ("Schritte auf Deutsch benennen", "keep the step names in English", "name the steps in French"), follow it — it overrides everything below, including the specification's own language.
  2. The language of the specification input. Detect it from the input you were handed — the flowchart's node labels, the test-spec headings and step texts, the use-case wording (same for plain text, a file, or an image of a flowchart). A German flowchart yields German step names, a French spec French ones.
  3. English — the default. Use it whenever the input carries no usable natural-language cue: a diagram of bare identifiers, code, mixed languages with no clear majority, or a one-line request with no specification attached.

Read the full file on GitHub · 441 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. 4d ago First seen · 441 lines · 213 tokens per session scan A f201f8c6dcd8

Subscribe to this mod's changes

teststand-sequence-builder is an agent published in the GitHub repository Zuehlke/teststand-mcp (21 stars, last pushed 19d ago), licensed MIT. It adds 213 tokens to every session and 6,348 once invoked, about $0.0011 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.