Claude-Pipeline: Instructions file for Codex

AGENTS.md

Claude-Pipeline AGENTS.md is an instructions file for Codex, OpenCode from TheAstrelo/Claude-Pipeline. It costs 2,745 tokens per session, scanned A, original, MIT.

A 13-stage development pipeline for Codex and Claude Code that turns a task description into reviewed code, with optional commits. Its main script runs the stages, saves the final report, checks it, and can commit the result.

In plain words
What is it for?
Use it to run tasks such as adding an API endpoint, choosing Codex or Claude as the provider, reviewing the work, and optionally committing it.
Why use it?
It puts repeated development steps into one command instead of requiring developers to run and coordinate each stage themselves. It can also apply checks before accepting the result.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: runs codex exec, but also the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is TheAstrelo/Claude-Pipeline's own configuration. It tells Codex and OpenCode how to work on Claude-Pipeline itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Claude-Pipeline configures →

Reuse

Borrowing it

Nothing to install: this file belongs to TheAstrelo/Claude-Pipeline. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/TheAstrelo/Claude-Pipeline/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/TheAstrelo/Claude-Pipeline

Made for: Codex, OpenCode.

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 Claude-Pipeline AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/theastrelo/claude-pipeline/agents-md.svg)](https://agentmods.dev/instructions/theastrelo/claude-pipeline/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/theastrelo/claude-pipeline/agents-md"><img src="https://agentmods.dev/badge/instructions/theastrelo/claude-pipeline/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,745 This file is loaded in full into every session.
When invoked 2,745 The same file — it is already loaded in full.
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.02745 $0.02745
Opus 5 $0.01373 $0.01373
Sonnet 5 $0.00549 $0.00549
Haiku 4.5 $0.00275 $0.00275

Measured 8d ago against content hash 80bb5b813fb7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

Claude-Pipeline AGENTS.md 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 8d 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.

AGENTS.md · 214 lines

How it starts

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

AGENTS.md

This file provides guidance to Codex (Codex.ai/code) when working with code in this repository.

Project Overview

This is a provider-agnostic 13-phase (0–12) development pipeline for Codex and Claude Code. It transforms a task description into reviewed, optionally committed code. The single engine is run-pipeline.sh.

The One Engine

run-pipeline.sh is the single real executable. It runs each phase as a fresh codex exec --ephemeral or claude -p --no-session-persistence subprocess, persists the final report, validates it, applies the gate, and optionally commits after Phase 12.

  • run-pipeline.sh — the engine. Run it directly: bash run-pipeline.sh [options] "task".
  • .claude/commands/auto-pipeline.md — a thin Claude /auto-pipeline wrapper that runs the engine with PIPELINE_NONINTERACTIVE=1 and interprets its exit code.
  • Codex runs the engine directly. The files under .codex/agents/ are optional interactive helpers and are not used by the engine.

Commands

# Run the pipeline (standalone)
bash run-pipeline.sh "add a GET /api/version endpoint"
bash run-pipeline.sh --provider=codex "add a GET /api/version endpoint"
bash run-pipeline.sh --provider=claude "add a GET /api/version endpoint"
bash run-pipeline.sh --profile=paranoid --mode=dev "handle payments"

# Demo starter project (demo/starter-project/)
npm install && npm test

Flags the engine actually parses: --provider=auto|claude|codex, --profile=yolo|fast|standard|paranoid, --mode=auto|dev, --skip-arm (skip Phase 1), --skip-ar (skip Phase 3), --skip-pmatch (skip Phase 5), --model-strong=, --model-fast=, --max-budget-usd= (per-phase cap), --max-run-budget-usd= (whole-run cap), --no-commit, --allow-dirty, --allow-untested-commit, --resume=RUN_ID, --policy-rollout=legacy|shadow|enforced, --retention-days=, --retention-max-runs=, --help, plus --push (publish the committed run branch to the remote) and --pr (--push plus PR guidance). Resume requires the original task and an exact engine/config/Git/evidence match. Still not implemented: --template, --batch-qa, --fix, and a --yolo shorthand.

Read the full file on GitHub · 214 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. 8d ago First seen · 214 lines · 2,745 tokens per session scan A 80bb5b813fb7

Subscribe to this mod's changes

Claude-Pipeline AGENTS.md is an instructions file published in the GitHub repository TheAstrelo/Claude-Pipeline (44 stars, last pushed 4d ago), licensed MIT. It adds 2,745 tokens to every session, about $0.0137 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.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens