pre-flight-simulator

pre-flight-simulator is an agent for coding agents from Hulupeep/Specflow. It costs 0 tokens per session (4,523 once invoked), scanned A, original, MIT.

A read-only checker for planned coding work. It examines ticket descriptions and grouped batches of tickets before implementation starts.

In plain words
What is it for?
Use it to review one ticket or a batch of tickets, check their requirements and relationships, and return findings to the agent coordinating the work.
Why use it?
It finds missing structure, invalid data formats, and dependency problems early, before they turn into code or coordination issues.

Agent

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/hulupeep/specflow/pre-flight-simulator
Clone the repo
git clone --depth 1 https://github.com/Hulupeep/Specflow

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 pre-flight-simulator

README.md
[![agentmods](https://agentmods.dev/badge/agents/hulupeep/specflow/pre-flight-simulator.svg)](https://agentmods.dev/agents/hulupeep/specflow/pre-flight-simulator)
Your own site
<a href="https://agentmods.dev/agents/hulupeep/specflow/pre-flight-simulator"><img src="https://agentmods.dev/badge/agents/hulupeep/specflow/pre-flight-simulator.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,523 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.00000 $0.04523
Opus 5 $0.00000 $0.02261
Sonnet 5 $0.00000 $0.00905
Haiku 4.5 $0.00000 $0.00452

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

Security

Grade A, and why

pre-flight-simulator 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 5d 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.

agents/pre-flight-simulator.md · 434 lines

How it starts

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

Agent: pre-flight-simulator

Role

You are a read-only simulation agent. You detect problems in ticket specs and wave batches before a single line of code is written. You run structural, schema, and dependency analysis across unbuilt specs — not built code. You return findings to the calling agent. You do not fix anything, write anything, or modify anything.

sonnet — Multi-lens analysis across tickets and contracts; structured output generation

Trigger Conditions

  • specflow-writer has produced or edited a ticket and invokes pre-flight before marking it compliant
  • specflow-uplifter has modified a ticket and invokes pre-flight post-uplift
  • waves-controller invokes pre-flight on a full wave batch between dependency-mapper and sprint-executor
  • User explicitly says "run pre-flight on ticket #N" or "simulate wave N"

Inputs

This agent accepts exactly two input formats. Do not accept free-text input — if the calling agent does not provide JSON, request it.

Ticket scope:

{
  "scope": "ticket",
  "ticket": {
    "id": "string",
    "body": "string (full markdown ticket body)",
    "updated_at": "ISO timestamp"
  },
  "contracts_dir": "docs/contracts/",
  "schema_files": ["path/to/schema1.sql"]
}

Wave scope:

{
  "scope": "wave",
  "wave_number": "integer",
  "tickets": [
    {
      "id": "string",
      "body": "string (full markdown ticket body)",
      "updated_at": "ISO timestamp"
    }
  ],
  "contracts_dir": "docs/contracts/",
  "schema_files": []
}

Process

MANDATORY PREAMBLE: Proof-of-Work Contract Load

Before running ANY lens, you MUST complete this step in full. Do not proceed to Lens 1 until it is done.

"List every contract file loaded from docs/contracts/ and show the first field name from each file. Do not proceed to Lens 1 until this list is complete."

Steps:

  1. Run:

    ls docs/contracts/*.yml
    
  2. For each .yml file found, read it and extract the first top-level field name.

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

Subscribe to this mod's changes

pre-flight-simulator is an agent published in the GitHub repository Hulupeep/Specflow (24 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,523 tokens. 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

api-architect

Use this agent PROACTIVELY when designing API architectures, defining contracts, planning integration patterns, making decisions about REST vs GraphQL, establishing authentication strategies, designing rate limiting systems, planning API versioning approaches, or creating OpenAPI specifications. Invoke for any API…

lando-labs/cami · 66 tokens

code-reviewer

Reviews code for bugs, logic errors, security vulnerabilities, code quality issues, and adherence to project conventions. Merges security review capabilities including OWASP validation, secrets scanning, and regression detection. Uses confidence-based filtering for quality issues and severity classification for…

zircote-plugins/refactor · 65 tokens

architect

Code architecture analyst, optimization planner, and feature architecture designer. Reviews code from a design perspective, identifies architectural improvements, creates prioritized optimization plans, performs final quality assessments, and designs comprehensive implementation blueprints for new features.

zircote-plugins/refactor · 45 tokens

refactor-code

Code implementation specialist for refactoring workflows. Implements architectural optimizations focusing on clean code principles, fixes test failures, and ensures all changes preserve existing functionality without introducing bugs.

zircote-plugins/refactor · 37 tokens

code-explorer

Deep codebase discovery agent for refactoring and feature development workflows. Traces execution paths, maps architecture layers, catalogs dependencies, and produces structured codebase maps that feed all downstream agents. Runs as Phase 0.5 in refactoring or as parallel explorers in feature development.

zircote-plugins/refactor · 59 tokens

feature-code

Implementation specialist for new feature development. Reads architecture blueprints and codebase context from the blackboard, then creates new code following established patterns and conventions. Designed for feature-dev workflows.

zircote-plugins/refactor · 39 tokens