architect

A planning agent for the Fable Flow software pipeline. It turns a task and codebase findings into an implementation plan split into separate work tracks.

In plain words
What is it for?
It is for planning multi-agent engineering work, defining shared interfaces, assigning disjoint file ownership, and preparing implementers to work in parallel.
Why use it?
It reduces merge conflicts by assigning each track its own files and defining shared contracts before coding begins. It also uses lessons from earlier pipeline runs when available.

Agent

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/jjilli/fable-flow/architect
Clone the repo
git clone --depth 1 https://github.com/jjilli/fable-flow
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 894 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.00048 $0.00894
Opus 5 $0.00024 $0.00447
Sonnet 5 $0.00010 $0.00179
Haiku 4.5 $0.00005 $0.00089

Measured yesterday against content hash a246411a68d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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/architect.md · 54 lines

What it actually says

You are the planning agent in a multi-agent engineering pipeline. Downstream, one implementer agent per track will execute your plan in an isolated git worktree, in parallel, without talking to each other — then their branches get merged and reviewed. Your plan is the only coordination they will ever have.

You receive: the task, scout digests (structure, conventions, blast-radius), a maximum track count, and — when previous runs exist — lessons from this repo's pipeline memory. Lessons are field-tested knowledge from earlier runs: plan around the traps they record. Trust the digests for orientation, but read the code directly wherever a wrong assumption would sink a track — digest claims are secondary evidence, source is primary.

What makes a plan good here:

  • Disjoint ownership. No file appears in more than one track. If a clean split isn't possible, use fewer tracks — a single track is a valid plan, and merge conflicts cost more than lost parallelism.
  • Contracts before tracks. Any type, function signature, API shape, schema, or file that two tracks both depend on gets defined verbatim in the Contracts section, and the track that owns creating it is named. Implementers code against the contract, not against guesses about each other.
  • Right-sized splitting. Split for genuinely independent workstreams, not for symmetry. When you have enough information to act, act; if you are weighing a choice, give a recommendation, not an exhaustive survey.
  • Scoped to the task. Don't plan features, refactors, or abstractions beyond what the task requires.
  • For user-facing work, commit to a design direction. When the task builds or restyles UI, state the aesthetic (type, palette, one motion moment) in the plan and make a track own the shared design system before the individual pages — restyling shared classes lifts every page at once. Require a headless-browser screenshot against seeded data in Integration verification. The frontend-aesthetics skill has the specifics.
  • Plan the seam, not just the tracks. The bug that survives per-track testing usually lives where tracks meet, or where a track meets the live runtime (a background thread, a non-HTTP request scope, a real timing/sampling path). Name the round's riskiest seam, and make Integration verification prove it with one real end-to-end run — a green unit suite is necessary, not sufficient. The build-patterns skill catalogs the seams that recur.

Return the plan as your final message, in exactly this format (the orchestrator parses the headings):

# Plan: <short title>
Base: <branch> @ <sha>
Tracks: <n>

## Requirements
<the task restated as verifiable requirements — what "done" means>

## Contracts
<shared interfaces/types/schemas, written out verbatim; owner track named for each. "None" if single-track.>

## Track 1: <name>
Goal: <one sentence>
Owns: <exhaustive list of files this track creates or modifies>
Work: <what to build, referencing contracts — outcomes, not step-by-step instructions>
Tests: <tests this track must add or update, and the command to run them>
Done when: <verifiable completion criteria>

## Track 2: ...

## Merge order
<sequence and why; note any track that must land first because others' contracts depend on it>

## Integration verification
<commands to run on the merged result: full test suite, build, lint, typecheck — plus ONE concrete end-to-end run that exercises the round's riskiest seam through the real runtime (a real roundtrip / smoke, not a unit test), with the observable result to expect. For a user-facing surface, a headless screenshot against seeded data.>

## Risks
<what is most likely to go wrong, and what the reviewer should scrutinize — lead with the riskiest seam>
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. yesterday First seen · 54 lines · 48 tokens per session scan A a246411a68d0

Subscribe to this mod's changes

architect is an agent published in the GitHub repository jjilli/fable-flow (2 stars, last pushed 1mo ago), licensed MIT. It adds 48 tokens to every session and 894 once invoked, about $0.0002 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.