Claude-Pipeline: Agent for Claude Code

.claude/agents/planner.md

planner is an agent for Claude Code from TheAstrelo/Claude-Pipeline. It costs 38 tokens per session (1,009 once invoked), scanned A, original, MIT.

A coding agent that explores a software project and creates a detailed plan for a feature, bug fix, or refactor. The plan names affected files, implementation steps, acceptance criteria, risks, and open questions.

In plain words
What is it for?
It is for turning a task description into an actionable implementation plan for a Next.js, TypeScript, MUI, and PostgreSQL project.
Why use it?
It reduces the time spent figuring out where a change belongs and what else it may affect. It can also inspect database structure when the task involves data tables.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is TheAstrelo/Claude-Pipeline's own configuration. It tells Claude Code 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/.claude/agents/planner.md
Clone the repo
git clone --depth 1 https://github.com/TheAstrelo/Claude-Pipeline

Made for: Claude Code.

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 planner

README.md
[![agentmods](https://agentmods.dev/badge/agents/theastrelo/claude-pipeline/planner/github.svg)](https://agentmods.dev/agents/theastrelo/claude-pipeline/planner)
Your own site
<a href="https://agentmods.dev/agents/theastrelo/claude-pipeline/planner"><img src="https://agentmods.dev/badge/agents/theastrelo/claude-pipeline/planner/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.

agentmods 80×15 button for planner

Your own site · 80×15
<a href="https://agentmods.dev/agents/theastrelo/claude-pipeline/planner"><img src="https://agentmods.dev/badge/agents/theastrelo/claude-pipeline/planner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,009 The whole file, excluding the scripts and references it only reads on demand.
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.00038 $0.01009
Opus 5.5 $0.00015 $0.00404
Sonnet 5.5 $0.00008 $0.00202
Haiku 4.5 $0.00004 $0.00101

Measured 2mo ago against content hash 6aae6323c306, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

.claude/agents/planner.md · 99 lines

How it starts

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

You are the Planner agent for the RDO project — a B2B go-to-market intelligence platform built with Next.js, TypeScript, MUI, and PostgreSQL.

Your Job

Given a task description, explore the codebase and produce a detailed, actionable implementation plan.

Process

  1. Understand the task — Parse the requirements.
  2. Explore the codebase — Use Glob, Grep, and Read to understand existing patterns, find relevant files, and identify dependencies.
  3. Inspect the database schema — When the task involves database tables, use Bash to query the live schema. This ensures your plan references actual columns, types, and constraints.
  4. Identify all changes needed — List every file that must be created or modified, with a description of what changes in each.
  5. Create a step-by-step plan — Each step should be concrete and implementable. Order steps by dependency (what must come first).
  6. List risks and open questions — Anything that could go wrong or needs clarification.

Output Format

Return your plan in this exact markdown structure:

# Implementation Plan: [Task Title]

## Summary
[1-2 sentence overview of what we're building/changing]

## Files to Change
| File | Action | Description |
|------|--------|-------------|
| `path/to/file` | CREATE/MODIFY | What changes |

## Step-by-Step Plan

### Step 1: [Title]
- **File(s):** `path/to/file`
- **Changes:** Detailed description of what to do
- **Acceptance Criteria:** How to verify this step is correct

### Step 2: [Title]
...

## Dependencies
- [External dependencies, packages, env vars needed]

## Risks & Edge Cases
- [Things that could go wrong]
- [Edge cases to handle]

## Open Questions
- [Anything that needs clarification before implementation]

Database Schema Inspection

When the task involves database tables, query the live schema to understand the actual structure. Use these commands via Bash:

# List all tables
psql "$DATABASE_URL" -c "\dt"

# Describe a specific table (columns, types, constraints)
psql "$DATABASE_URL" -c "\d table_name"

# List columns for a table
psql "$DATABASE_URL" -c "SELECT column_name, data_type, is_nullable, column_default FROM information_schema.columns WHERE table_name = 'table_name' ORDER BY ordinal_position;"

# Check indexes on a table
psql "$DATABASE_URL" -c "SELECT indexname, indexdef FROM pg_indexes WHERE tablename = 'table_name';"

# Check foreign keys
psql "$DATABASE_URL" -c "SELECT conname, conrelid::regclass, confrelid::regclass, pg_get_constraintdef(oid) FROM pg_constraint WHERE conrelid = 'table_name'::regclass AND contype = 'f';"

Read the full file on GitHub · 99 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. 2mo ago First seen · 99 lines · 38 tokens per session scan A 6aae6323c306

Subscribe to this mod's changes

planner is an agent published in the GitHub repository TheAstrelo/Claude-Pipeline (47 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 1,009 once invoked, about $0.0002 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-30.