trio-productionize

trio-productionize is a command for Claude Code from albiol2004/trio-agent-loop. It costs 14 tokens per session (252 once invoked), scanned A, original, MIT.

A production-readiness audit that checks a project against a graph of operational requirements, sends groups of checks to agents, and records the results. Failed items can be discussed with the user and turned into work for a Trio loop.

In plain words
What is it for?
Use it to inspect a repository before production, review failed checks, decide how to handle them, and create follow-up work for the Trio loop.
Why use it?
It organizes a broad readiness review into recorded checks and decisions, making it easier to separate automated findings from issues that need human judgment.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to inspect a repository before production, review failed checks, decide how to handle them, and create follow-up work for the Trio loop.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/albiol2004/trio-agent-loop/trio-productionize
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.

Clone the repo
git clone --depth 1 https://github.com/albiol2004/trio-agent-loop

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 trio-productionize

README.md
[![agentmods](https://agentmods.dev/badge/commands/albiol2004/trio-agent-loop/trio-productionize.svg)](https://agentmods.dev/commands/albiol2004/trio-agent-loop/trio-productionize)
Your own site
<a href="https://agentmods.dev/commands/albiol2004/trio-agent-loop/trio-productionize"><img src="https://agentmods.dev/badge/commands/albiol2004/trio-agent-loop/trio-productionize.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 252 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.00014 $0.00252
Opus 5 $0.00007 $0.00126
Sonnet 5 $0.00003 $0.00050
Haiku 4.5 $0.00001 $0.00025

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

Security

Grade A, and why

trio-productionize 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 2d 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.

omp/commands/trio-productionize.md · 20 lines

What it actually says

Omp Trio productionize

Read and follow $PZ_HOME/command.md; it is the canonical productionize procedure and owns the graph, driver, batching, recording, and close-out rules.

Dispatch table

  • executor: scout probe nodes: use task(agent:"scout") with the batch briefing and known context.
  • executor: assessor:standard and executor: assessor:high judgment nodes: use the default task agent with the batch briefing and recorded probe evidence.
  • executor: user nodes: ask through the ask tool, then record the user's decision verbatim as evidence.

Do not dispatch from raw plan.json; give agents their batch briefing and enforce the command's context caps. The orchestrator records each result with the driver's record-batch.

Delivery

Every agent MUST write its verdict array to pz-run/results/<batch-stem>.json before composing its final reply. Before its formal yield, it MUST also hub-DM the raw verdict JSON array to Main; record from the file or DM, accepting partial arrays and re-dispatching only gaps.

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. 2d ago Changed · -20 lines · -34 tokens per session c36702a70fdc
  2. 7d ago First seen · 40 lines · 48 tokens per session scan A fea21dcac77b

Subscribe to this mod's changes

trio-productionize is a command published in the GitHub repository albiol2004/trio-agent-loop (2 stars, last pushed 7d ago), licensed MIT. It adds 14 tokens to every session and 252 once invoked, about $0.0001 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-31.