teststand-mcp: Agent for Claude Code

.claude/agents/teststand-doc-generator.md

teststand-doc-generator is an agent for Claude Code from Zuehlke/teststand-mcp. It costs 234 tokens per session (2,761 once invoked), scanned A, original, MIT.

An agent that turns a TestStand sequence file into a modern Word document. The document includes sequence details, parameters, step flow, contents, and dependencies.

In plain words
What is it for?
It is for generating read-only documentation with a table of contents, sequence sections, parameter tables, indented Setup/Main/Cleanup steps, and a dependency diagram.
Why use it?
It saves the effort of manually inspecting a test sequence and formatting its documentation.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents; names the AskUserQuestion tool.

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

Reuse

Borrowing it

Nothing to install: this file belongs to Zuehlke/teststand-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/teststand-mcp/main/.claude/agents/teststand-doc-generator.md
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-doc-generator

README.md
[![agentmods](https://agentmods.dev/badge/agents/zuehlke/teststand-mcp/teststand-doc-generator.svg)](https://agentmods.dev/agents/zuehlke/teststand-mcp/teststand-doc-generator)
Your own site
<a href="https://agentmods.dev/agents/zuehlke/teststand-mcp/teststand-doc-generator"><img src="https://agentmods.dev/badge/agents/zuehlke/teststand-mcp/teststand-doc-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 234 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,761 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.00234 $0.02761
Opus 5 $0.00117 $0.01380
Sonnet 5 $0.00047 $0.00552
Haiku 4.5 $0.00023 $0.00276

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

Security

Grade A, and why

teststand-doc-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 7d 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-doc-generator.md · 216 lines

How it starts

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

TestStand Documentation Generator

You are a specialized agent that documents a TestStand sequence file as a polished, modern Word document. You collect the data via the TestStand MCP tools, then hand it to a deterministic generator script that renders the dependency diagram and builds the .docx.

Safe to run as a spawned subagent. This workflow is non-interactive — it never uses AskUserQuestion. (Unlike the teststand-sequence-builder, which must run in the main thread.)

The one interactive moment — asking the user for the document language — belongs to the ORCHESTRATOR: it asks via AskUserQuestion in the main thread BEFORE spawning this agent and passes the answer in the task prompt.

Hard rules

  • Strictly read-only toward TestStand. Never call save_sequence_file, never insert/rename/delete anything, never change adapters, properties or variables. You only read. If a needed file is not loaded, open_sequence_file is allowed (it does not modify the file).
  • Never restyle the document. All layout, colors, fonts and the diagram style live in the generator script. Your job is correct DATA, not design. Do not add icons, emojis or decorations anywhere (the user explicitly wants a modern look without icons).
  • No questions. If something is ambiguous, pick the sensible default, proceed, and state the assumption in your final report. Only if the sequence file itself cannot be identified, stop and return the list of candidates.
  • Do not invent domain facts. Derived descriptions (see Phase 4) summarize only what the step names/types actually show.

Inputs (from the task prompt)

Input Default when missing
.seq file path (required) Try get_loaded_sequence_files; else Glob **/*.seq. Exactly one plausible match → use it. Several → stop and report the candidates.
Output .docx path Same folder as the .seq: <SeqName>_Dokumentation.docx (de) / <SeqName>_Documentation.docx (en)
Document language Normally passed by the orchestrator (it asked the user up front). If missing anyway: language of the task prompt, fallback de — state the assumption in the report.
Title .seq file name without extension

Read the full file on GitHub · 216 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. 7d ago First seen · 216 lines · 0 tokens per session scan A b2c7221eda35

Subscribe to this mod's changes

teststand-doc-generator is an agent published in the GitHub repository Zuehlke/teststand-mcp (23 stars, last pushed 22d ago), licensed MIT. It adds 234 tokens to every session and 2,761 once invoked, about $0.0012 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

quarto-critic

Adversarial QA agent that compares Quarto HTML against Beamer PDF benchmark. Produces harsh, actionable criticism. Does NOT edit files — read-only analysis only.

brycewang-stanford/Auto-Empirical-Research-Skills · 38 tokens

openwriter-enrichment-minion

Enriches openwriter documents flagged stale by openwriter's save-time drift/volume detector. Dispatch when ENRICHMENTSTATUS appears in MCP init instructions OR when a ⚠ N docs need enrichment footer fires on listdocuments / listworkspaces / getworkspacestructure. Reads each dirty doc and stamps it with a single field…

travsteward/openwriter · 94 tokens

literature-extractor

Extracts literature Statements from papers for a survey. Reads PDFs, creates Statements with source="literature" and verification="pending", returns a structured report. Never registers theme tags, never creates Warrants or Claims.

yqi96/warranted · 48 tokens

chronology-builder

Isolated worker that reads case documents iteratively and extracts sourced timeline events (date, neutral fact, mandatory document+locus provenance, undisputed/alleged/contested status, party attribution). Deduplicates and cross-references across documents and languages. Emits events.json for the legal-chronology…

fedec65/bettercallclaude · 103 tokens

notion

Handles documentation, knowledge bases, wikis, and structured information via Notion. Invoke for queries about creating docs, searching knowledge, managing pages, databases, templates, or organizing information.

tomcounsell/ai · 42 tokens

flow-documenter

Use this agent when you need to generate comprehensive, natural language documentation for a Power Automate flow from its JSON definition. This agent should be invoked when:\n\n- A user provides a flow.json file and requests documentation\n- A new flow has been created and needs to be documented\n- An existing flow…

MacroMan5/AutomationHelper_plugins · 368 tokens