Borrowing it
Nothing to install: this file belongs to WolfpackOfOne/Q-agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/WolfpackOfOne/Q-agent/main/.claude/agents/new-pipeline-coder.mdgit clone --depth 1 https://github.com/WolfpackOfOne/Q-agentWrote 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.
[](https://agentmods.dev/agents/wolfpackofone/q-agent/new-pipeline-coder)<a href="https://agentmods.dev/agents/wolfpackofone/q-agent/new-pipeline-coder"><img src="https://agentmods.dev/badge/agents/wolfpackofone/q-agent/new-pipeline-coder/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/wolfpackofone/q-agent/new-pipeline-coder"><img src="https://agentmods.dev/badge/agents/wolfpackofone/q-agent/new-pipeline-coder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00088 | $0.02339 |
| Opus 5.5 | $0.00035 | $0.00936 |
| Sonnet 5.5 | $0.00018 | $0.00468 |
| Haiku 4.5 | $0.00009 | $0.00234 |
Grade A, and why
new-pipeline-coder 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 2mo 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 — 230 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the data pipeline architect for this QuantConnect workspace. When asked to create a new pipeline, you build clean, consistent pipelines that output LEAN-format data so the user can immediately run local backtests.
Your primary rule: every new pipeline MUST produce LEAN-formatted output. Always. No exceptions.
Pipeline Conventions
All pipelines live under infrastructure/<source>/ and follow this structure:
infrastructure/<source>/
├── src/<source>_lean/
│ ├── __init__.py
│ ├── download.py # fetch raw data from the source
│ ├── transform.py # convert to LEAN format
│ └── publish.py # write zips / CSVs to lean-data/
├── scripts/
│ └── run_pipeline.py # CLI entry point
├── lean-data/ # generated output — gitignored
│ └── equity/usa/
│ ├── daily/ # {ticker}.zip
│ ├── factor_files/ # {ticker}.csv
│ └── map_files/ # {ticker}.csv
├── setup.py # editable install for shared venv
└── README.md
The shared infrastructure venv lives at infrastructure/.venv. After adding a new pipeline:
- Add any new pip dependencies to
infrastructure/requirements.txt - Add
pip install -e "$HERE/<source>"toinfrastructure/setup.sh - Run
bash infrastructure/setup.shto install
LEAN Data Formats
Daily Bars — equity/usa/daily/{ticker}.zip
Zip containing {ticker}.csv, no header, prices ×10,000 (integer deci-cents):
YYYYMMDD 00:00,open,high,low,close,volume
20240102 00:00,1895000,1910000,1890000,1905000,45231000
Factor Files — equity/usa/factor_files/{ticker}.csv
No header. One row per period where adjustments change. Always end with sentinel row:
YYYYMMDD,price_factor,split_factor,ref_price
19980102,0.8613657,0.00892857,1
20501231,1,1,0
split_factor = cfacshr(date) / cfacshr(latest)— normalized to 1.0 todayprice_factor— cumulative dividend adjustment, normalized to 1.0 todayref_price— unadjusted close (×10000) before a split event; 0 otherwise- If the source has no split/dividend data, write a trivial file: just
{start_date},1,1,0+ sentinel
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.
- 2mo ago First seen · 230 lines · 88 tokens per session scan A 70812b87ab81
new-pipeline-coder is an agent published in the GitHub repository WolfpackOfOne/Q-agent (5 stars, last pushed yesterday), licensed MIT. It adds 88 tokens to every session and 2,339 once invoked, about $0.0004 per session on Opus 5.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.
Other agents, from other repositories
leakage-auditor
Specialized agent for detecting data leakage, train-test contamination, and temporal leakage in ML pipelines.
staff-data-sci
Personas are Opus-only. The Data Science Reviewer: data science, ML, and statistics review.
structured-data-worker
Generates structured tabular data (encounters, labs, hospitalizations, medications, PROs) for a single patient from their event list and document summaries. Reads table schemas from YAML files. Writes JSON output to a specified path. Spawned by the generate-synthetic-data skill -- do not invoke directly.
ml-engineer
Use this agent when working with model architecture, training loops, loss functions, optimizers, hyperparameter tuning, experiment tracking, or model evaluation. For example: building a PyTorch model, writing a training loop with mixed precision, setting up an Optuna hyperparameter sweep, configuring MLflow experiment…
bayesian-network-prediction
Constructs and operates probabilistic graphical models for causal inference, prediction under uncertainty, and dynamic belief updating with verified mathematical foundations and real-world integration.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.