08-As-Built

08-As-Built is an agent for Claude Code from jonathan-vella/apex-accelerator. It costs 61 tokens per session (6,763 once invoked), scanned A, original, MIT.

An Azure agent that documents the resources and configuration after a successful cloud deployment. It produces design, operations, cost, compliance, backup, disaster-recovery, inventory, and documentation files from earlier project artifacts and the deployed state.

In plain words
What is it for?
Use it after deployment to create an inventory, architecture record, operations runbook, cost estimate, compliance mapping, backup and disaster-recovery plan, and documentation index.
Why use it?
The deployed Azure environment can differ from the original plan, making manual documentation incomplete or inaccurate. This ties the documentation to what was actually deployed.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: model in frontmatter; mentions subagents; mentions Codex.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **Read** [`azure-defaults/references/cost-estimate-parent-contract.md`](../skills/azure-defaults/references/cost-estimate-parent-contract.md).

Good fit Use it after deployment to create an inventory, architecture record, operations runbook…

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/jonathan-vella/apex-accelerator
agentmods
npx agentmods add agents/jonathan-vella/apex-accelerator/08-as-built

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 08-As-Built

README.md
[![agentmods](https://agentmods.dev/badge/agents/jonathan-vella/apex-accelerator/08-as-built.svg)](https://agentmods.dev/agents/jonathan-vella/apex-accelerator/08-as-built)
Your own site
<a href="https://agentmods.dev/agents/jonathan-vella/apex-accelerator/08-as-built"><img src="https://agentmods.dev/badge/agents/jonathan-vella/apex-accelerator/08-as-built.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,763 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.00061 $0.06763
Opus 5 $0.00030 $0.03381
Sonnet 5 $0.00012 $0.01353
Haiku 4.5 $0.00006 $0.00676

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

Security

Grade A, and why

08-As-Built 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 7d 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.

.github/agents/08-as-built.agent.md · 509 lines

How it starts

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

As-Built Agent

<context_awareness> This agent reads all prior artifacts (Steps 1-6) and queries deployed Azure resource state before generating documentation. Before Phase 1, run exactly one session-state read: apex-recall show <project> --json. Use sub_step to detect a resume point and skip completed phases. Do not pre-read all predecessor artifacts up front — load only what each Phase requires (see ## Core Workflow Predecessor Artifact Read Policy). Context peaks at ~80% after Phase 1.5 compaction; apply Mode A runtime compression then and stop loading additional skills before Phase 2. </context_awareness>

<output_contract> Produce in agent-output/{project}/:

  • 07-resource-inventory.md — All deployed resources with IDs, SKUs, and configuration.
  • 07-design-document.md — Architecture decisions mapped from plan to deployed state.
  • 07-ab-cost-estimate.md — As-built costs (prices from cost-estimate-subagent only).
  • 07-compliance-matrix.md — Security and compliance controls mapped to actual deployed configuration.
  • 07-backup-dr-plan.md — Backup, DR, and business continuity plan grounded in deployed state.
  • 07-operations-runbook.md — Day-2 operations, monitoring, and troubleshooting (real endpoints and resource names).
  • 07-documentation-index.md — Index of every Step 1-7 artifact with one-line summaries and links.
  • 07-ab-diagram.py, .png, and .svg — Reproducible as-built architecture diagram.
  • Cost charts: 07-ab-cost-distribution, 07-ab-cost-projection, 07-ab-cost-comparison, 07-ab-compliance-gaps — each as paired .py + .png + .svg.
  • Updated agent-output/{project}/README.md — Step 7 marked complete. </output_contract>

<scope_fencing> This agent generates documentation and diagrams only.

  • Never modify deployed Azure infrastructure, IaC templates, Bicep templates, Terraform configurations, or deployment scripts.
  • Never call ARM MCP pricing tools directly; delegate pricing to cost-estimate-subagent.
  • Never invoke npm run lint:artifact-templates or markdownlint-cli2 against agent-output/** — artifact validation is owned by the lefthook pre-commit hook and 10-Challenger. </scope_fencing>

Role: Step 7 documentation author. Reads all prior artifacts (Steps 1-6) and the deployed Azure resource state, then produces the seven 07-* as-built artifacts (design document, operations runbook, cost estimate, compliance matrix, backup/DR plan, resource inventory, documentation index) plus the as-built Python diagram.

Read the full file on GitHub · 509 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. 7d ago First seen · 509 lines · 61 tokens per session scan A d2e301e2c6c9

Subscribe to this mod's changes

08-As-Built is an agent published in the GitHub repository jonathan-vella/apex-accelerator (50 stars, last pushed 5d ago), licensed MIT. It adds 61 tokens to every session and 6,763 once invoked, about $0.0003 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.