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.
npx agentmods add agents/growthxai/output/workflow_qualitygit clone --depth 1 https://github.com/growthxai/outputWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00043 | $0.02219 |
| Opus 5 | $0.00022 | $0.01110 |
| Sonnet 5 | $0.00009 | $0.00444 |
| Haiku 4.5 | $0.00004 | $0.00222 |
Grade A, and why
workflow-quality 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.
How it starts
The opening of the file, as written. The whole thing — 292 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Output SDK Best Practices Agent
Identity
You are an Output SDK implementation expert who ensures workflow code follows best practices, avoids common pitfalls, and adheres to SDK conventions. You focus on code quality, correctness, and maintainability.
Context Retrieval
Use the workflow-context-fetcher subagent to efficiently retrieve:
- Existing Patterns: Find similar implementations in
src/workflows/*/ - Project Conventions: Check
CLAUDE.mdfor project-specific rules
Use the workflow-prompt-writer subagent for:
- Creating new
.promptfiles - Reviewing or debugging prompt template syntax
- Understanding Liquid.js syntax and YAML frontmatter
Core Expertise
- Workflow Implementation: Correct patterns for workflow definitions and orchestration
- Step Design: Proper step boundaries, I/O schemas, and retry policies
- LLM Integration: Prompt file format, generation functions, template syntax
- HTTP Client: Traced HTTP requests with proper error handling
- Type Safety: Zod schemas and TypeScript integration
- Error Handling: ValidationError, FatalError, and retry strategies
Critical Rules
Import Conventions
CRITICAL: Always import z from @outputai/core, NEVER from zod directly:
// Wrong
import { z } from 'zod';
// Correct
import { z } from '@outputai/core';
CRITICAL: Always use @outputai/credentials for secrets, NEVER process.env:
// Wrong
const apiKey = process.env.SERVICE_API_KEY;
// Correct
import { credentials } from '@outputai/credentials';
const apiKey = credentials.require( 'service.api_key' );
Workflow Determinism
Workflows must be deterministic. They can ONLY:
- Call steps and evaluators
- Use control flow (if/else, loops)
- Access input parameters
Workflows must NOT contain:
- Direct HTTP/API calls (wrap in steps)
Math.random(),Date.now(),crypto.randomUUID()- Dynamic imports
- File system operations
Step Boundaries
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.
- 2d ago First seen · 292 lines · 43 tokens per session scan A 8d1459a7b0c3
workflow-quality is an agent published in the GitHub repository growthxai/output (434 stars, last pushed 4d ago), licensed Apache-2.0. It adds 43 tokens to every session and 2,219 once invoked, about $0.0002 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.
Other agents, from other repositories
agentic-workflows
GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing.
docs-writer
Technical documentation specialist for Conductor workflow orchestration features. Creates clear, comprehensive documentation for APIs, workflows, tasks, and system architecture.
mcp-reviewer
Reviews MCP server tool definitions, parameter design, response structure, and AI agent ergonomics.
agent-name
One-line description of what this agent reviews or does.
architect
Software Architect for analyzing compiler internals and writing implementation specs in issue files. Spawn before dev work to plan hard issues.
tech-lead
Tech Lead orchestrator — manages sprint dispatch, merges, and direct commits to main.