#13 Claude Code Team 4.8 xHigh

Build Detail

2026-05-30-claude-code-team-4-8-xhigh · v2.1.158

The Story

The first Opus 4.8 build on the page, and a direct descendant of the baseline build #1. Same idea - one team-mode agent, one one-shot prompt, the same ~50-page spec - but two model generations on (Opus 4.6 to 4.8) and dialled all the way up: xHigh reasoning, thinking on, 1M context, and a hard instruction to “implement the entire shop in one go without stopping, use team mode, and test everything via Pest.” The question was what those upgrades actually buy over the original team run.

Part of the answer is a leaner team. Where build #1 fanned out across 31 teammates, the lead here created one shop-build team of just 6 teammates - foundation, catalog, storefront, commerce, admin, and platform - and ran them phase-gated rather than all at once: foundation established auth, conventions, and the DB schema first, then the feature teammates built catalog, storefront, checkout, admin, and platform plumbing in parallel, each reporting back through structured <teammate-message> summaries with explicit phase hand-offs. The six agents stayed alive for the whole session and were compacted hard - 86 checkpoint files in all - and the run still finished in under three hours of active wall-clock. 96% of the input was cache reads, which kept the hypothetical Opus list-price bill at $497 instead of several thousand.

The result is the strongest shop on the page. 134 of 143 acceptance tests pass (95.5% weighted), the highest of any build, and the code is the most maintainable we have measured: an average PHPMetrics maintainability index of 104 across 205 classes with zero violations. SonarCloud stays green on security and maintainability (A/A, 0 vulnerabilities, 0 hotspots, 0.8% duplication) and the quality gate fails on a single technicality - one missing-table-headers bug drops new-code reliability to C. The only real functional gaps are customer address add/edit (the buttons render but open no form), no over-sell guard on the cart, and a missing postal-code format check.

Net: a clear step up on the baseline. Build #1 - Opus 4.6 on the same team-mode prompt - landed 126 of 143 tests (91% weighted) in about an hour for $73. #13 pushes that to 134 (95.5% weighted) with much cleaner code: 64 code smells and 0.8% duplication against #1’s 168 and 2.9%, plus the best maintainability of any build. The catch is the bill - it takes roughly two and a half times as long and about seven times the hypothetical cost. Two model generations and a bigger reasoning budget buy a more complete, better-factored shop, just not a cheaper or faster one. Our independent QA report confirms the gaps that remain sit in self-service edges, not the core purchase funnel.

Duration

2h 54m 4s

13:49:33 - 16:43:38

Estimated Cost

$497.67

2289 API requests

Total Tokens

697.9M

1.4M output

Tool Calls

2432

210 from lead

Files Created

446

462 unique

Agents

1 + 6

6 spawned

Agent Timeline

6 active agents
Team Lead
orchestrator
2h 54m 4s
storefront
70f
2h 21m 4s
admin
74f
1h 20m 13s
foundation
75f
2h 45m 35s
commerce
117f
2h 0m 57s
platform
72f
1h 19m 46s
catalog
48f
2h 18m 49s
13:49:3314:33:0415:16:3616:00:0716:43:38

Team Roster

6 active agents

storefront

2h 21m 4s · 598 tools · 533 reqs

$151.31
70 created36 edited85 read
resources/views
32
app/Livewire
18
tests/Feature
12
database/migrations
9

app/Enums/ThemeStatus.php

app/Enums/PageStatus.php

app/Enums/NavigationItemType.php

+67 more

admin

1h 20m 13s · 419 tools · 415 reqs

$100.28
74 created20 edited80 read
resources/views
40
app/Livewire
39
tests/Feature
10
database/seeders
4

resources/views/livewire/admin/layout/app.blade.php

app/Livewire/Admin/Layout/Sidebar.php

resources/views/livewire/admin/layout/sidebar.blade.php

+71 more

foundation

2h 45m 35s · 386 tools · 343 reqs

$73.53
75 created22 edited55 read
app/Models
13
database/migrations
12
app/Policies
11
tests/Feature
8

database/migrations/0001_01_01_000000_create_users_table.php

database/migrations/2026_05_31_120001_create_organizations_table.php

app/Support/Database/SqliteEnumCheck.php

+72 more

commerce

2h 0m 57s · 361 tools · 304 reqs

$61.06
117 created27 edited44 read
app/Services
19
tests/Feature
19
app/Models
15
app/Enums
14

app/Enums/CartStatus.php

app/Enums/CheckoutStatus.php

app/Enums/DiscountType.php

+114 more

platform

1h 19m 46s · 301 tools · 310 reqs

$55.72
72 created14 edited41 read
app/Http
20
tests/Feature
16
database/migrations
11
app/Models
11

database/migrations/2026_05_31_140001_create_search_settings_table.php

database/migrations/2026_05_31_140002_create_search_queries_table.php

database/migrations/2026_05_31_140003_create_products_fts_table.php

+69 more

catalog

2h 18m 49s · 157 tools · 162 reqs

$18.30
48 created12 edited27 read
app/Models
10
database/migrations
9
tests/Feature
8
app/Enums
7

app/Enums/ProductStatus.php

app/Enums/VariantStatus.php

app/Enums/CollectionStatus.php

+45 more

Cost & Tool Usage

$497.67 total

Note: These are hypothetical API costs based on Claude Opus 4.8 list prices (OpenRouter). This session was run on the Claude Code Max plan with fixed monthly pricing, so no per-token charges applied.

Cost Breakdown

Input Tokens747.0K · $3.73
Output Tokens1.4M · $33.85
Cache Write19.5M · $121.92
Cache Read676.3M · $338.16

Full Calculation (Claude Opus 4.8 via OpenRouter)

CategoryTokens$/1MCost
Input747.0K$5.00$3.73
Output1.4M$25.00$33.85
Cache Write19.5M$6.25$121.92
Cache Read676.3M$0.50$338.16
Total$497.67

Tool Usage (Team Lead - 210 calls)

Bash
35
pw:browser_snapshot
31
SendMessage
28
pw:browser_click
16
Edit
15
TaskUpdate
13
TaskCreate
12
Read
11
pw:browser_navigate
11
pw:browser_console_messages
8
Agent
6
laravel:database-query
6
ToolSearch
4
pw:browser_fill_form
3
pw:browser_type
3

Top Agents by Cost

6 agents total
#AgentDurationAPI ReqsToolsFilesOutput TokCost
1storefront2h 21m 4s533598106287.1K$151.31
2admin1h 20m 13s41541994248.3K$100.28
3foundation2h 45m 35s34338697165.6K$73.53
4commerce2h 0m 57s304361144210.9K$61.06
5platform1h 19m 46s31030186152.7K$55.72
6catalog2h 18m 49s1621576080.8K$18.30
24324621.4M$497.67

Agent Spawns

6 deployed

foundation

13:55:21 · general-purpose &middot; shop-build

You are "foundation", a teammate on the shop-build team. The team lead is "team-lead". Refer to teammates by name via SendMessage. MISSION: Build Phase 1 (Foundation) of a multi-tenant Laravel 12 / Livewire 4 / Flux UI Free v2 / Tailwind v4 / SQLite e-commerce platform. This is the CRITICAL PATH —

catalog

14:22:01 · general-purpose &middot; shop-build

You are "catalog", a teammate on shop-build. Team lead is "team-lead". Phase 1 (Foundation) is DONE — build on its conventions. FIRST: TaskGet "2", set it in_progress (owner "catalog"). Read specs/01-DATABASE-SCHEMA.md (products/variants/inventory/collections/media sections), specs/05-BUSINESS-LOGI

storefront

14:22:25 · general-purpose &middot; shop-build

You are "storefront", a teammate on shop-build. Team lead is "team-lead". Phase 1 (Foundation) is DONE. You build Phase 3 (themes/pages/navigation + storefront blade layout) now; later you'll also own the storefront shopping UI + customer accounts (task #6) once cart/checkout/orders land. FIRST: Ta

commerce

14:40:02 · general-purpose &middot; shop-build

You are "commerce", a teammate on shop-build. Team lead is "team-lead". Phases 1 (Foundation) and 2 (Catalog) are DONE. You own the tightly-coupled commerce CORE: BOTH task #4 (Cart, Checkout, Discounts, Shipping, Taxes, Pricing) AND task #5 (Payments/Mock PSP, Orders, Refunds, Fulfillment). Do #4 f

admin

15:23:09 · general-purpose &middot; shop-build

You are "admin", a teammate on shop-build. Team lead is "team-lead". Phases 1-5 are DONE. You own task #7 (full Admin Panel). Teammates "storefront" (#6) and "platform" (#8) are building concurrently — respect file ownership. FIRST: TaskGet "7", set in_progress (owner "admin"). Read specs/03-ADMIN-

platform

15:23:37 · general-purpose &middot; shop-build

You are "platform", a teammate on shop-build. Team lead is "team-lead". Phases 1-5 are DONE. You own task #8 (Phase 8 Search + Phase 9 Analytics + Phase 10 Apps/Webhooks + the REST API & Sanctum). Teammates "storefront" (#6) and "admin" (#7) build concurrently — respect file ownership. FIRST: TaskG

Session Details

dabf0916
Session IDdabf0916-f035-43aa-9f18-336c7bf9a204
Claude Codev2.1.158
Permission ModebypassPermissions
Working Directory/Users/fabianwesner/Herd/shop
Git Branch2026-05-30-claude-code-team-4-8-xhigh
Modelsclaude-opus-4-8, <synthetic>
Thinking Blocks150
User Messages66
Total Files Created446

Raw Session Logs

Plus 6 subagent logs available at /2026-05-30-claude-code-team-4-8-xhigh/subagents/

2432 tool calls across 7 agents · 2289 API requests · 697.9M tokens · 462 files

Parsed from dabf0916-f035-43aa-9f18-336c7bf9a204.jsonl + 6 subagent logs