# alanvaa06/agent-cycle architecture

> Architecture diagram of the GitHub repository alanvaa06/agent-cycle, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-08). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/alanvaa06/agent-cycle
- Repository: https://github.com/alanvaa06/agent-cycle

## Overview

agent-cycle is a Claude Code plugin whose ten skills guide an agent from an idea through gated design, specification, evaluation, building, optional capabilities, and final ship inspection. The main path advances through seven phases; review, economics, and blueprint are independent horizontals that attach at documented points. Skills write disk-backed artifacts in the target agent’s repository, with human approval between phases. The graph follows README-documented relationships; no source excerpts were provided, so implementation-level calls are not inferred.

Main entry points: [`skills/spec/SKILL.md`](https://github.com/alanvaa06/agent-cycle/blob/main/skills/spec/SKILL.md) (Spec), [`skills/build/SKILL.md`](https://github.com/alanvaa06/agent-cycle/blob/main/skills/build/SKILL.md) (Build), [`skills/design/SKILL.md`](https://github.com/alanvaa06/agent-cycle/blob/main/skills/design/SKILL.md) (Design), [`skills/ship/SKILL.md`](https://github.com/alanvaa06/agent-cycle/blob/main/skills/ship/SKILL.md) (Ship)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_phases["Vertical phases"]
  node_design["Design<br/>[SKILL.md]"]
  node_spec["Spec<br/>[SKILL.md]"]
  node_evals["Evals<br/>[SKILL.md]"]
  node_build["Build<br/>[SKILL.md]"]
  node_skills["Skills<br/>[SKILL.md]"]
  node_interop["Interop<br/>[SKILL.md]"]
  node_ship["Ship<br/>[SKILL.md]"]
end

subgraph group_horizontals["Horizontal skills"]
  node_review["Review<br/>[SKILL.md]"]
  node_economics["Economics<br/>[SKILL.md]"]
  node_blueprint["Blueprint<br/>[SKILL.md]"]
end

subgraph group_governance["Artifacts and gates"]
  node_target_repo[("Target agent repo")]
  node_human_gate(("Human approval"))
  node_reentry["Re-entry ladder<br/>[README.md]"]
end

node_user(("Agent builder"))

node_user -->|"starts cycle"| node_design
node_design -->|"approved artifact"| node_spec
node_spec -->|"approved artifact"| node_evals
node_evals -->|"approved artifact"| node_build
node_build -->|"build complete"| node_skills
node_skills -->|"phase sequence"| node_interop
node_interop -->|"phase sequence"| node_ship
node_review -.->|"adoption route"| node_design
node_spec -.->|"estimate cost"| node_economics
node_build -.->|"recalibrate cost"| node_economics
node_economics -.->|"set alarm"| node_ship
node_spec -.->|"render snapshot"| node_blueprint
node_build -.->|"render snapshot"| node_blueprint
node_ship -->|"route findings"| node_reentry
node_reentry -.->|"reopen phase"| node_design
node_design -->|"write artifacts"| node_target_repo
node_spec -->|"write artifacts"| node_target_repo
node_evals -->|"write artifacts"| node_target_repo
node_build -->|"write code"| node_target_repo
node_skills -->|"write artifacts"| node_target_repo
node_interop -->|"write artifacts"| node_target_repo
node_ship -->|"inspect agent"| node_target_repo
node_human_gate -->|"approve phase"| node_design
node_human_gate -->|"approve phase"| node_spec
node_human_gate -->|"approve phase"| node_evals
node_human_gate -->|"approve phase"| node_build
node_human_gate -->|"approve phase"| node_skills
node_human_gate -->|"approve phase"| node_interop
node_human_gate -->|"approve phase"| node_ship

click node_design "https://github.com/alanvaa06/agent-cycle/blob/main/skills/design/SKILL.md"
click node_spec "https://github.com/alanvaa06/agent-cycle/blob/main/skills/spec/SKILL.md"
click node_evals "https://github.com/alanvaa06/agent-cycle/blob/main/skills/evals/SKILL.md"
click node_build "https://github.com/alanvaa06/agent-cycle/blob/main/skills/build/SKILL.md"
click node_skills "https://github.com/alanvaa06/agent-cycle/blob/main/skills/skills/SKILL.md"
click node_interop "https://github.com/alanvaa06/agent-cycle/blob/main/skills/interop/SKILL.md"
click node_ship "https://github.com/alanvaa06/agent-cycle/blob/main/skills/ship/SKILL.md"
click node_review "https://github.com/alanvaa06/agent-cycle/blob/main/skills/review/SKILL.md"
click node_economics "https://github.com/alanvaa06/agent-cycle/blob/main/skills/economics/SKILL.md"
click node_blueprint "https://github.com/alanvaa06/agent-cycle/blob/main/skills/blueprint/SKILL.md"
click node_reentry "https://github.com/alanvaa06/agent-cycle/blob/main/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_design,node_spec,node_evals,node_build,node_skills,node_interop,node_ship toneBlue
class node_review,node_economics,node_blueprint toneAmber
class node_target_repo,node_human_gate,node_reentry toneMint
class node_user toneIndigo
```

## Components

### Vertical phases

- [Design](https://github.com/alanvaa06/agent-cycle/blob/main/skills/design/SKILL.md): `skills/design/SKILL.md`
- [Spec](https://github.com/alanvaa06/agent-cycle/blob/main/skills/spec/SKILL.md): `skills/spec/SKILL.md`
- [Evals](https://github.com/alanvaa06/agent-cycle/blob/main/skills/evals/SKILL.md): `skills/evals/SKILL.md`
- [Build](https://github.com/alanvaa06/agent-cycle/blob/main/skills/build/SKILL.md): `skills/build/SKILL.md`
- [Skills](https://github.com/alanvaa06/agent-cycle/blob/main/skills/skills/SKILL.md): `skills/skills/SKILL.md`
- [Interop](https://github.com/alanvaa06/agent-cycle/blob/main/skills/interop/SKILL.md): `skills/interop/SKILL.md`
- [Ship](https://github.com/alanvaa06/agent-cycle/blob/main/skills/ship/SKILL.md): `skills/ship/SKILL.md`

### Horizontal skills

- [Review](https://github.com/alanvaa06/agent-cycle/blob/main/skills/review/SKILL.md): `skills/review/SKILL.md`
- [Economics](https://github.com/alanvaa06/agent-cycle/blob/main/skills/economics/SKILL.md): `skills/economics/SKILL.md`
- [Blueprint](https://github.com/alanvaa06/agent-cycle/blob/main/skills/blueprint/SKILL.md): `skills/blueprint/SKILL.md`

### Artifacts and gates

- **Target agent repo**
- **Human approval**
- [Re-entry ladder](https://github.com/alanvaa06/agent-cycle/blob/main/README.md): `README.md`

### Other components

- **Agent builder**

## Connections

- Agent builder → Design: starts cycle (evidence: `README.md`)
- Design → Spec: approved artifact (evidence: `README.md`)
- Spec → Evals: approved artifact (evidence: `README.md`)
- Evals → Build: approved artifact (evidence: `README.md`)
- Build → Skills: build complete (evidence: `README.md`)
- Skills → Interop: phase sequence (evidence: `README.md`)
- Interop → Ship: phase sequence (evidence: `README.md`)
- Review → Design: adoption route (evidence: `README.md`)
- Spec → Economics: estimate cost (evidence: `README.md`)
- Build → Economics: recalibrate cost (evidence: `README.md`)
- Economics → Ship: set alarm (evidence: `README.md`)
- Spec → Blueprint: render snapshot (evidence: `README.md`)
- Build → Blueprint: render snapshot (evidence: `README.md`)
- Ship → Re-entry ladder: route findings (evidence: `README.md`)
- Re-entry ladder → Design: reopen phase (evidence: `README.md`)
- Design → Target agent repo: write artifacts (evidence: `README.md`)
- Spec → Target agent repo: write artifacts (evidence: `README.md`)
- Evals → Target agent repo: write artifacts (evidence: `README.md`)
- Build → Target agent repo: write code (evidence: `README.md`)
- Skills → Target agent repo: write artifacts (evidence: `README.md`)
- Interop → Target agent repo: write artifacts (evidence: `README.md`)
- Ship → Target agent repo: inspect agent (evidence: `README.md`)
- Human approval → Design: approve phase (evidence: `README.md`)
- Human approval → Spec: approve phase (evidence: `README.md`)
- Human approval → Evals: approve phase (evidence: `README.md`)
- Human approval → Build: approve phase (evidence: `README.md`)
- Human approval → Skills: approve phase (evidence: `README.md`)
- Human approval → Interop: approve phase (evidence: `README.md`)
- Human approval → Ship: approve phase (evidence: `README.md`)
