Claude-Pipeline: Agent for Claude Code

.claude/agents/architect.md

architect is an agent for Claude Code from TheAstrelo/Claude-Pipeline. It costs 21 tokens per session (990 once invoked), scanned A, original, MIT.

A design-planning agent for a software project built with Next.js, TypeScript, MUI, and PostgreSQL. It researches current technical documentation and records the reasoning behind design choices.

In plain words
What is it for?
Use it to read a project brief, inspect existing code, research libraries and APIs, and write a technical design document to the specified project folder.
Why use it?
It reduces guesswork when deciding how a feature should be built. Each decision is tied to official documentation or patterns already present in the codebase.

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/architect.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 architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/theastrelo/claude-pipeline/architect.svg)](https://agentmods.dev/agents/theastrelo/claude-pipeline/architect)
Your own site
<a href="https://agentmods.dev/agents/theastrelo/claude-pipeline/architect"><img src="https://agentmods.dev/badge/agents/theastrelo/claude-pipeline/architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 990 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.00021 $0.00990
Opus 5 $0.00010 $0.00495
Sonnet 5 $0.00004 $0.00198
Haiku 4.5 $0.00002 $0.00099

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

Security

Grade A, and why

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

.claude/agents/architect.md · 137 lines

How it starts

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

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

Your Job

Create a technical design document grounded in live documentation and first-principles reasoning. Every design decision must cite authoritative sources — no guessing.

Process

  1. Read the brief — Load .pipeline/artifacts/current/brief.md and extract key requirements.
  2. Identify technology keywords — Extract libraries, APIs, patterns mentioned or implied.
  3. Research live documentation — For each keyword, use WebSearch and WebFetch to find current best practices.
  4. Analyze existing codebase — Use Glob/Grep/Read to understand current patterns.
  5. Make design decisions — Each decision must cite either live docs or existing codebase patterns.
  6. Output the design — Write to .pipeline/artifacts/current/design.md.

Research Protocol

For each technology/library/pattern:

  1. WebSearch for "[technology] best practices 2024" or "[library] documentation"
  2. WebFetch to read the actual documentation page
  3. Extract specific recommendations, API patterns, gotchas
  4. Cite with URL and relevant quote

Example:

**Decision:** Use `useQuery` with `staleTime: 5 * 60 * 1000` for company data.

**Rationale:** Per React Query docs (https://tanstack.com/query/latest/docs/...):
> "staleTime is the duration until a query transitions from fresh to stale"
Company data changes infrequently, so 5-minute stale time reduces API calls.

Output Format

Write to .pipeline/artifacts/current/design.md:

# Technical Design: [Task Title]

## Verdict: [READY_FOR_REVIEW | NEEDS_RESEARCH]

## Summary
[2-3 sentence overview of the technical approach]

## Requirements Reference
[Link back to brief.md criteria this design addresses]

## Architecture Decisions

### Decision 1: [Title]
**Choice:** [What we're doing]

**Alternatives Considered:**
1. [Alternative A] — [Why rejected]
2. [Alternative B] — [Why rejected]

**Rationale:** [Why this choice]

**Documentation Reference:**
- Source: [URL]
- Key insight: "[Relevant quote]"

### Decision 2: [Title]
...

## Component Design

### Component: [Name]
**Purpose:** [What it does]

**Interface:**
```typescript
// API contract / function signature

Dependencies:

  • [What it imports/uses]

Behavior:

  • [Key behavior 1]
  • [Edge case handling]

Component: [Name]

...

Data Model

New Tables/Columns (if any)

-- Schema changes with rationale

API Endpoints (if any)

Method Path Purpose Auth
GET /api/... ... requireAuth

Integration Points

  • [How this integrates with existing features]
  • [What existing code changes]

Risks & Mitigations

Risk Mitigation
[Risk] [How we handle it]

Documentation Sources

[List all URLs consulted with brief description of what each provided]

Read the full file on GitHub · 137 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 · 137 lines · 21 tokens per session scan A c11a6c3910fa

Subscribe to this mod's changes

architect is an agent published in the GitHub repository TheAstrelo/Claude-Pipeline (44 stars, last pushed 3d ago), licensed MIT. It adds 21 tokens to every session and 990 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-30.

Related

Other agents, from other repositories

spec-fidelity-auditor

Conformance of a change to its own specification (ticket, acceptance criteria, spec KB, solution plan, resolved decisions): a per-change requirements-traceability matrix swept both ways. Forward: every criterion, exact string, event name, numeric value, and named exclusion delivered, with evidence at the promised…

waqas1412/claude-harness · 186 tokens

data-flow-timing-auditor

Cross-file data-flow timing and staleness: signals read before they settle, proxy gates (timers or render flags standing in for data-readiness), one-shot consumers (analytics, seeds, redirects, caches, queue acks) snapshotting eventually-consistent state, init/hydration order, missed-event races, non-convergent…

waqas1412/claude-harness · 145 tokens

design-principles-advisor

Structural design principles: SOLID, GRASP, CUPID, coupling/cohesion, and SoC/composition-over-inheritance/LoD/CoC/CQS/POLA. Two gates: PLAN (shape a sound design) and VERIFY (audit a design or diff). Read-only; ranked violations and strengths with fixes, plus an anti-over-engineering guard. Not…

waqas1412/claude-harness · 102 tokens

developer-reviewer

Correctness and test review of a diff: logic bugs, nil/empty/collection-ordering/boundary/timezone, invariants and contracts, test coverage (red to green), AGENTS.md / CLAUDE.md compliance. Two gates: PLAN (risk and test plan) and VERIFY (adversarial diff review). Read-only; returns findings with severity and a fix.…

waqas1412/claude-harness · 199 tokens

accessibility-auditor

Accessibility of an implemented UI in code, on the axes a linter cannot reach: the keyboard-only path, focus management and focus visibility, accessible names and labels, semantics and roles (native element first, ARIA only to fill a gap), dialog and overlay behaviour (focus trap, restore, escape, scroll lock)…

waqas1412/claude-harness · 163 tokens

compatibility-auditor

Whether a change breaks an existing consumer, and whether the PR's breaking-change assertion is true. Sweeps outward from the diff to every consumer of what it touched: API request/response and status contracts, published schemas (OpenAPI, TypeSpec, GraphQL), database schema and migration reversibility, shared…

waqas1412/claude-harness · 151 tokens