reader

A pipeline step that reads a YAML file and extracts each top-level key with its value rendered as text. YAML is a human-readable configuration and data-file format.

In plain words
What is it for?
Use it as the first step of parity-test-a to inspect a YAML mapping and write the extracted entries to JSON.
Why use it?
It provides structured key-and-value data for the next step and stops with a clear status when the file is missing, invalid, or not a mapping.

Agent

Part of the superpipelines plugin — 24 skills, 10 commands, 19 agents, 4 hooks 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/gustavo-meilus/superpipelines/reader
Clone the repo
git clone --depth 1 https://github.com/gustavo-meilus/superpipelines

Or install superpipelines, the plugin that ships this one along with the rest of its 24 skills, 10 commands, 19 agents, 4 hooks.

Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 817 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.00028 $0.00817
Opus 5 $0.00014 $0.00409
Sonnet 5 $0.00006 $0.00163
Haiku 4.5 $0.00003 $0.00082

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

Security

Grade A, and why

reader 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.

.superpipelines/pipelines/parity-test-a/agents/reader.md · 84 lines

How it starts

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

Reader — Protocol

Step 1 of 2 in the parity-test-a pipeline. Reads the input YAML file, extracts each top-level key and its string-rendered value, writes key-value-data.json to the run dir.

Inputs (from dispatch context)

  • input_path — absolute path to the input YAML file.
  • kv_output_path — absolute path for key-value-data.json (run dir).
  • state_path — absolute path to pipeline-state.json.
  • run_id — current run ID string.
  • root — resolved data root.

Protocol

PHASE 1: VALIDATE INPUT

  1. Check that input_path exists and is readable. If missing: emit NEEDS_CONTEXT with message: Input YAML file not found at {input_path}. — STOP.
  2. Attempt to parse input_path as YAML. If parsing fails: emit BLOCKED with the parse error detail — STOP.
  3. Confirm the parsed value is a YAML mapping (not a sequence or scalar at the root). If not a mapping: emit BLOCKED with message: Input YAML root is not a mapping. Only top-level key extraction is supported. — STOP.

PHASE 2: EXTRACT KEY/VALUE DATA

  1. Iterate over top-level keys in order of appearance.
  2. For each key, render its value as a string using these rules:
    • Scalar (string, number, boolean, null) → its string representation.
    • Sequence → [{N} items] where N is the item count.
    • Mapping → {N} keys where N is the key count.
  3. Accumulate entries: { "key": "{key}", "value": "{rendered_value}", "raw_type": "{yaml_type}" }.

PHASE 3: WRITE OUTPUT

Write key-value-data.json to kv_output_path:

{
  "source_path": "{input_path}",
  "total_keys": {N},
  "entries": [
    { "key": "{key1}", "value": "{value1}", "raw_type": "{type1}" }
  ]
}

PHASE 4: UPDATE STATE AND EMIT STATUS

  1. Update pipeline-state.json:
    • phases[0].status"completed"
    • phases[0].outputs[{ "kv_data_path": "{kv_output_path}", "total_keys": {N} }]
  2. Emit terminal status: DONE / DONE_WITH_CONCERNS (zero keys) / NEEDS_CONTEXT / BLOCKED.

Invariants

Read the full file on GitHub · 84 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. 2d ago First seen · 84 lines · 28 tokens per session scan A a385a1bb2092

Subscribe to this mod's changes

reader is an agent published in the GitHub repository gustavo-meilus/superpipelines (4 stars, last pushed 1mo ago), licensed MIT. It adds 28 tokens to every session and 817 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.

Related

Other agents, from other repositories

react-performance-optimization

Use this agent when dealing with React performance issues. Specializes in identifying and fixing performance bottlenecks, bundle optimization, rendering optimization, and memory leaks. Examples: Context: User has slow React application. user: 'My React app is loading slowly and feels sluggish during interactions'…

Justdvp/claude-code-templates · 197 tokens

react-state-management

Use this agent when working with React state management challenges. Specializes in useState, useReducer, Context API, and state management libraries like Redux Toolkit, Zustand, and Jotai. Examples: Context: User needs help with complex state management in React. user: 'I have a shopping cart that needs to be shared…

Justdvp/claude-code-templates · 204 tokens

agent-expert

Agent "agent-expert" from Justdvp/claude-code-templates, covering agent structure, standard agent format, when to use this agent, agent types you create and agent creation process.

Justdvp/claude-code-templates · 210 tokens

cli-ui-designer

CLI interface design specialist. Use PROACTIVELY to create terminal-inspired user interfaces with modern web technologies. Expert in CLI aesthetics, terminal themes, and command-line UX patterns.

Justdvp/claude-code-templates · 40 tokens

command-expert

Agent "command-expert" from Justdvp/claude-code-templates, covering command structure, standard command format, command name, task and process.

Justdvp/claude-code-templates · 206 tokens

mcp-expert

Agent "mcp-expert" from Justdvp/claude-code-templates, covering mcp integration structure, standard mcp configuration format, mcp server types you create, mcp creation process and 1. requirements analysis.

Justdvp/claude-code-templates · 206 tokens