Cost Implications: Alignment-First, Prototype-First Workflow

analyze-sessions report — 2026-05-24 — Based on 9,482 Claude + 1,750 Codex history entries across 3,344 sessions

1. Overview & Key Numbers

38
Alignment/prototype commits (of 1,309 total)
310+
Skill files modified for alignment contract
5
Lessons-md corrections from alignment drift
30
Skills on alignment skip list (overcorrection fix)

The alignment-first workflow was introduced May 22, 2026 with the directive that every skill producing durable deliverables must output an HTML alignment page for browser-based review before the user approves canonical file writes. The prototype-first gate was introduced May 18, 2026 to ensure product/feature work produces clickable prototypes before production infrastructure.

Together, these represent a fundamental shift in how skills operate: from inline conversational iteration to structured preview-approve-write cycles.

2. Investment Cost: Building the Contract

2.1 Direct Development Overhead

ActivityScaleCost Signal
Initial alignment page contract design3+ sessions, ~15 messagesMedium
Cross-cutting upgrade (5f11f2f): add alignment page to all skills310 files, 4,222 insertionsHigh
Inline question migration (d805201): move questions from bottom section to inline313 files, 634 insertionsMedium
Skip list creation + strip operation (1aa1191 + 3b0b98d)30 files stripped, 480 deletions + scriptsMedium
Browser-open WSL debugging3-4 turns in first sessionLow (one-time)
Tooling scripts (upgrade, verify, strip, archive)4 scripts, 3 now deprecatedLow
Benchmark fixture remediation (route assertions)32 of 37 fixtures needed updates, full Phase 43High

Total investment commits: 38 of 1,309 total commits (2.9% of all project commits) are alignment/prototype infrastructure. Since May 18, 17 of 126 commits (13.5%) have been alignment-related — a heavy recent concentration.

2.2 Indirect Costs

Q1: Was the cross-cutting 310-file upgrade the right approach, or should alignment pages have been added incrementally per-skill as each skill was touched?

3. Per-Session Cost Changes

3.1 Turn Count: Before vs After

SkillPre-Alignment Avg TurnsPost-Alignment TurnsDeltaSample Size
/icp8.65.0-42%16 pre / 1 post
/idea-scope-brief2.75.5+104%Many pre / 2 post
/competitive-analysis7.37 pre / 0 post
/journey-map8.06 pre / 0 post

Caution Only 3 post-alignment research sessions exist (2 days of data). The ICP turn reduction is directionally encouraging but statistically meaningless at N=1. The idea-scope-brief increase likely reflects richer output scope, not workflow overhead.

3.2 Output Size Inflation

MetricPre-AlignmentPost-AlignmentChange
ICP alignment page sizeN/A (markdown only)57 KB HTMLNew artifact
Average alignment page sizeN/A~14 KBNew artifact
Deliverables per skill run1 (markdown research)2 (alignment HTML + markdown)2x artifacts

Each skill run now generates both an alignment HTML page (for browser review) and the canonical markdown deliverable. The HTML generation adds token output cost proportional to the page size. A 57 KB page at ~4 chars/token is roughly 14,000 extra output tokens per ICP run.

3.3 Where Costs Shift (Not Just Grow)

Savings Async review eliminates idle LLM context. When the user reviews an alignment page in their browser, zero LLM tokens are consumed. Pre-alignment, every feedback round required the model to hold conversation context while the user thought. On an 8.6-turn ICP session with 2-minute think times, that's ~17 minutes of context-window occupancy eliminated per session.

Savings Batched feedback reduces round trips. The compile-answers YAML captures all feedback in one structured payload instead of 3-5 incremental correction messages.

Cost HTML generation adds ~14K output tokens per research skill run. At Opus pricing (~$75/M output tokens), that's roughly $1.05 per alignment page. At Sonnet pricing (~$15/M), it's ~$0.21.

Cost Every skill contract now includes ~16 lines of alignment page instructions in its SKILL.md, which are loaded into context for every invocation — even when no alignment page is ultimately needed (e.g., a quick re-run of a previously approved deliverable).

Q2: The 14K extra output tokens per alignment page (~$1.05 at Opus) — is this an acceptable cost for structured browser review, or should alignment pages use a cheaper model?

4. Overcorrection Tax

The single most visible cost of the alignment workflow is the overcorrection-remediation cycle. This is the pattern:

StepCommitWhat HappenedFiles
1. Require everywherea839142Added alignment pages to all skills including run/ship loops~310
2. Discover overcorrectionUser corrected: "Run/ship loops are not alignment-page producers"
3. Build skip list1aa1191Created 30-skill skip list + strip script3
4. Strip exempted skills3b0b98dRemoved alignment sections from 30 skip-listed skills30
5. Deprecate tooling4deed8fArchived 3 scripts that were only needed for the overcorrection fix3+

This cycle consumed 4 commits and at least 2 full sessions to fix a problem that wouldn't have existed if the initial rollout had distinguished research/planning skills from execution/shipping skills. The lesson is documented in tasks/lessons.md (2026-05-21).

Pattern cost estimate: Each overcorrection cycle costs roughly 1-2 sessions of remediation work (~10-20 messages) plus the original overcorrection session. With 5 documented corrections in lessons.md, the alignment workflow has generated roughly 50-100 extra messages in correction overhead across 6 days.

Q3: Should future cross-cutting contract changes require a pre-flight classification step (research vs execution vs utility) before batch application?

5. Prototype-First: Unrealized Investment

Warning Zero /prototype invocations found in either history file.

The prototype-first gate was introduced on May 18 with a clear lesson: "Product and feature planning should separate prototype exploration from production implementation." But in the 6 days since:

5.1 Cost of Unrealized Investment

Q4: The prototype-first gate has been in place for 6 days with zero invocations. What's the right response?

6. Forward Projections

6.1 Steady-State Per-Skill Cost Model

ComponentPre-AlignmentPost-AlignmentNet
Turns per research session~8 turns~5 turns (projected)-3 turns
Output tokens per run~5K tokens~19K tokens (research + HTML)+14K tokens
User correction messages~2-3 inline~1 compiled YAML-1-2 messages
Context tokens for alignment contract0~400 tokens (16 lines in SKILL.md)+400 per invocation
Async review (no LLM cost)0 min~5-10 minSaves idle context

6.2 Break-Even Analysis

The alignment page adds ~14K output tokens (~$1.05 at Opus) but saves ~3 turns of back-and-forth. Each saved turn avoids roughly:

At 3 saved turns: $1.59 saved vs $1.05 spent on HTML generation = net savings of ~$0.54 per research session at Opus pricing.

At Sonnet pricing, the alignment page costs ~$0.21 and saves ~$0.30 per avoided turn = net savings of ~$0.69 per session.

Positive ROI The alignment page pays for itself if it saves 2+ turns of inline iteration. The early ICP data (8.6 → 5 turns) suggests 3+ turns saved, putting this above break-even.

6.3 Amortized Infrastructure Cost

The one-time infrastructure investment (38 commits, 310+ file modifications, 5 correction cycles, benchmark re-runs) is a sunk cost. To amortize it:

Q5: The infrastructure investment takes 15-31 months to break even at current research session rates. Is this acceptable given the qualitative benefits (structured review, async feedback)?

7. Verdict & Recommendations

Summary

The alignment-first workflow is directionally positive on per-session cost but carries a heavy infrastructure investment that takes over a year to amortize at current usage rates. The biggest cost driver is not the alignment pages themselves but the overcorrection-remediation cycles from batch contract changes.

Key Findings

Recommendations

#ActionTypeImpact
1Freeze alignment contract changes for 2-4 weeks to accumulate real usage dataStanding instructionAvoids further overcorrection tax
2Track turns-per-session for research skills to validate the break-even hypothesisSkill enhancementData collection
3Run /prototype on one active project to exercise the untested contractManual testRisk reduction
4Consider generating alignment HTML with Sonnet subagent to reduce output cost by ~80%Architecture$0.84 saved per page
5Add skill-type classification (research/execution/utility) to SKILL.md frontmatter to prevent future overcorrectionConventionPrevents batch mistakes

Q6: Which recommendations should be prioritized?

6 questions remaining