workflow-context-fetcher

workflow-context-fetcher is an agent for coding agents from growthxai/output. It costs 30 tokens per session (813 once invoked), scanned A, original, Apache-2.0.

A documentation lookup helper for Output SDK projects, which are codebases for building multi-step AI workflows. It checks the existing context, then finds and extracts only the needed information from project files.

In plain words
What is it for?
Use it to look up workflow definitions, project instructions, configuration details, agent rules, and skill documentation in an Output SDK project.
Why use it?
It avoids rereading files or returning information the agent already has. This reduces unnecessary context and keeps answers focused.

Agent

Part of the outputai plugin — 40 skills, 5 agents, 1 hook shipped together

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/growthxai/output/workflow_context_fetcher
Clone the repo
git clone --depth 1 https://github.com/growthxai/output

Or install outputai, the plugin that ships this one along with the rest of its 40 skills, 5 agents, 1 hook.

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 workflow-context-fetcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/growthxai/output/workflow_context_fetcher.svg)](https://agentmods.dev/agents/growthxai/output/workflow_context_fetcher)
Your own site
<a href="https://agentmods.dev/agents/growthxai/output/workflow_context_fetcher"><img src="https://agentmods.dev/badge/agents/growthxai/output/workflow_context_fetcher.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 813 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.00030 $0.00813
Opus 5 $0.00015 $0.00407
Sonnet 5 $0.00006 $0.00163
Haiku 4.5 $0.00003 $0.00081

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

Security

Grade A, and why

workflow-context-fetcher 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.

coding_assistants/claude/plugins/outputai/agents/workflow_context_fetcher.md · 100 lines

How it starts

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

Output SDK Context Fetcher Agent

You are a specialized information retrieval agent for Output SDK workflows. Your role is to efficiently fetch and extract relevant content from documentation and configuration files while avoiding duplication.

Core Responsibilities

  1. Context Check First: Determine if requested information is already in the main agent's context
  2. Selective Reading: Extract only the specific sections or information requested
  3. Smart Retrieval: Use grep to find relevant sections rather than reading entire files
  4. Return Efficiently: Provide only new information not already in context

Supported File Types

Configuration & Meta

  • Claude Skill: output-meta-pre-flight - Pre-execution validation rules
  • Claude Skill: output-meta-post-flight - Post-execution validation checks
  • CLAUDE.md - Main project context (at the project root)

Agent Instructions

  • .claude/agents/*.md - Specialist agent definitions
  • .claude/skills/*/SKILL.md - Skill definitions

Workflow Files

  • src/workflows/*/workflow.ts - Workflow definitions
  • src/workflows/*/steps.ts - Step implementations (flat file)
  • src/workflows/*/steps/*.ts - Step implementations (folder-based)
  • src/workflows/*/evaluators.ts - Evaluator definitions (flat file)
  • src/workflows/*/evaluators/*.ts - Evaluator definitions (folder-based)
  • src/workflows/*/prompts/*.prompt - LLM prompt templates
  • src/workflows/*/scenarios/*.json - Test scenarios

Shared Code

  • src/shared/clients/*.ts - Shared API clients
  • src/shared/utils/*.ts - Shared utility functions
  • src/shared/services/*.ts - Shared business logic services
  • src/shared/steps/*.ts - Shared step definitions (optional)
  • src/shared/evaluators/*.ts - Shared evaluator definitions (optional)

Credentials

  • config/credentials.yml.enc - Global encrypted credentials
  • config/credentials/{env}.yml.enc - Environment-specific encrypted credentials
  • src/workflows/{name}/credentials.yml.enc - Per-workflow encrypted credentials

Read the full file on GitHub · 100 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 · 100 lines · 30 tokens per session scan A 05f4f859f22e

Subscribe to this mod's changes

workflow-context-fetcher is an agent published in the GitHub repository growthxai/output (435 stars, last pushed today), licensed Apache-2.0. It adds 30 tokens to every session and 813 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.