<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>Performance on Adventures in Claude</title><link>https://adventuresinclaude.ai/tags/performance/</link><description>Recent content in Performance on Adventures in Claude</description><image><title>Adventures in Claude</title><url>https://adventuresinclaude.ai/og-default.png</url><link>https://adventuresinclaude.ai/og-default.png</link></image><generator>Hugo -- 0.169.0</generator><language>en-us</language><lastBuildDate>Mon, 05 Oct 2026 12:32:06 -0600</lastBuildDate><atom:link href="https://adventuresinclaude.ai/tags/performance/index.xml" rel="self" type="application/rss+xml"/><item><title>Optimizing /start: The Fifteen-Step State Machine</title><link>https://adventuresinclaude.ai/posts/2026-03-15-optimizing-start-the-fifteen-step-state-machine/</link><pubDate>Sun, 15 Mar 2026 20:21:00 -0400</pubDate><guid>https://adventuresinclaude.ai/posts/2026-03-15-optimizing-start-the-fifteen-step-state-machine/</guid><description>How a 1,400-line markdown workflow got faster by doing less defensive work. Parallel fetching, conditional tasks, and inline plans for simple tickets.</description><content:encoded><![CDATA[<table cellpadding="0" cellspacing="0" border="0" width="600" align="center" style="max-width:600px;width:100%;margin:0 auto;"><tr><td><div style="text-align:center;margin-bottom:24px;"><a href="https://adventuresinclaude.ai" style="display:inline-block;"><img src="https://adventuresinclaude.ai/images/email-header.png" alt="Adventures in Claude" width="600" style="max-width:100%;display:block;border:0;" /></a></div><p>The <code>/start</code> command is a 1,400 line markdown state machine with 15 numbered steps that takes a Linear ticket ID and produces a ready-to-test implementation. I type <code>/start AUTM-123</code> and walk away. When I come back, there&rsquo;s a feature branch, an implementation plan posted to Linear, working code, and passing tests.</p>
<p>The <a href="https://adventuresinclaude.ai/posts/2026-03-15-optimizing-commit-for-one-million-tokens/" target="_blank" rel="noopener noreferrer">previous post</a>
 covered optimizing <code>/commit</code> for the 1M context window. This one covers <code>/start</code> - the command that runs <em>before</em> commit, and the one where defensive overhead had the most room to shrink.</p>
<hr>
<h2 id="what-start-actually-does">What /start Actually Does</h2>
<p>The 15 steps, in sequence:</p>
<ol start="0">
<li>Parse arguments, check for existing sessions
0.5. Create 9 workflow tasks with dependency wiring</li>
<li>Detect project type from working directory</li>
<li>Pre-flight validation (clean worktree, valid repo)</li>
<li>Validate ticket ID format</li>
<li>Fetch ticket from Linear</li>
<li>Fetch comments (for reopened ticket detection)</li>
<li>Detect reopened tickets with feedback context</li>
<li>Validate team-repository match, auto-switch if needed
7.1. Load Workflow Profile from CLAUDE.md
7.5. Detect session rules from user message</li>
<li>Create implementation plan (via Plan subagent on Sonnet)</li>
<li>Get user approval on plan</li>
<li>Create feature branch</li>
<li>Update Linear to In Progress, post plan comment</li>
<li>Confirm branch ready</li>
<li>Implement changes (the actual coding)</li>
<li>Run quality gates
14.5. Verification gate</li>
<li>Hand off for user testing</li>
</ol>
<p>Steps 4 through 7.1 were the problem. Five sequential operations, each waiting for the previous one to complete, despite most of them being independent.</p>
<hr>
<h2 id="the-sequential-tax">The Sequential Tax</h2>
<p>I mapped the data dependencies between steps. The question was simple: which operations actually need results from previous operations, and which are just sequential because I wrote them that way?</p>
<p>Step 4 (fetch ticket) returns the UUID and team prefix. Step 5 (fetch comments) needs the UUID. Step 7 (validate team-repo) needs the prefix. Step 7.1 (load profile) needs TARGET_DIR, which Step 7 might change. So there&rsquo;s a real dependency chain: 4 → 5, 4 → 7 → 7.1.</p>
<p>But Step 7.1 (reading CLAUDE.md) doesn&rsquo;t actually need Step 7&rsquo;s <em>result</em> in most cases. Most of the time, you&rsquo;re already in the right repo. The profile read could start immediately - and if Step 7 later discovers a repo mismatch, the profile gets re-read from the correct directory.</p>
<p>This gave me the restructured flow.</p>
<hr>
<h2 id="five-changes">Five Changes</h2>
<h3 id="1-parallel-ticket-fetch--profile-load">1. Parallel Ticket Fetch + Profile Load</h3>
<p><strong>Before:</strong> Five sequential MCP/file calls across Steps 4, 5, and 7.1.</p>
<p><strong>After:</strong> Two parallel messages.</p>
<p>Message 1 dispatches three calls simultaneously:</p>
<ul>
<li><code>get_issue</code> (Linear MCP)</li>
<li><code>Read(CLAUDE.md)</code> (profile load - moved from Step 7.1)</li>
<li>Project detection (already happened in Step 1, but formalizes the parallel structure)</li>
</ul>
<p>Message 2 dispatches two calls that need the UUID from Message 1:</p>
<ul>
<li><code>list_comments</code> (needs UUID)</li>
<li>Team-repo validation (needs prefix)</li>
</ul>
<p>The total wall-clock time drops from about 8 seconds of serial calls to about 3 seconds of two parallel batches. The profile load that previously waited until Step 7.1 now runs concurrently with the ticket fetch. If Step 7 later discovers a repo mismatch (rare), the profile gets re-loaded from the new TARGET_DIR - a small cost paid only in the uncommon case.</p>
<h3 id="2-conditional-task-creation">2. Conditional Task Creation</h3>
<p>Step 0.5 creates 9 tasks with full dependency wiring. That&rsquo;s 2 messages and 17 tool calls. At 200K tokens, this made sense - tasks survive context compaction, so they&rsquo;re the recovery mechanism when Claude loses its place mid-workflow.</p>
<p>At 1M tokens, a single <code>/start</code> workflow rarely compacts. The 9 tasks are overhead for the majority of tickets.</p>
<p>I added conditions. Tasks are created when:</p>
<ul>
<li>Chain mode is active (multiple tickets need per-ticket tracking)</li>
<li>The ticket is an epic child (complex, multi-file work)</li>
<li>Resuming a previous session (tasks already exist)</li>
</ul>
<p>For a simple single-ticket <code>/start</code> - the most common case - task creation is skipped entirely. If the plan turns out to have 5+ implementation tasks, tasks get created retroactively at that point.</p>
<p>The <code>TaskUpdate</code> calls throughout subsequent steps guard against the no-tasks case: <code>if (t1) TaskUpdate(t1.id, ...)</code>. This is a no-op pattern - it adds no overhead when tasks exist, and silently skips when they don&rsquo;t.</p>
<h3 id="3-reduced-checkpoints">3. Reduced Checkpoints</h3>
<p>The old <code>/start</code> wrote session state after Steps 7, 7.5, 8, 9, 10, 11, 12, 13, 14, and 15. That&rsquo;s roughly 10 file writes during a single workflow run. Each write is cheap individually, but collectively they add up - and more importantly, they represent 10 assumptions that context might compact between any two adjacent steps.</p>
<p>With 1M tokens, I reduced to 3 critical checkpoints:</p>
<ol>
<li>After plan approval (Step 9) - the first irreversible decision</li>
<li>After branch creation (Step 10) - git state is now established</li>
<li>At handoff (Step 15) - implementation complete</li>
</ol>
<p>Everything between these points can be reconstructed from git state and the Linear API if context does compact. The plan file is on disk. The branch exists in git. The ticket status is in Linear. The session file doesn&rsquo;t need to track what&rsquo;s already tracked elsewhere.</p>
<h3 id="4-inline-plans-for-simple-tickets">4. Inline Plans for Simple Tickets</h3>
<p>Step 8 always dispatched a Plan subagent on Sonnet. The subagent explores the codebase, reads relevant files, and synthesizes an implementation plan. This keeps verbose search output out of the main context window - a significant concern at 200K tokens, less so at 1M.</p>
<p>For tickets where the description clearly scopes to 1-3 files - &ldquo;fix the button color on the settings page&rdquo; or &ldquo;add a loading spinner to the dashboard&rdquo; - the subagent dispatch overhead (10-15 seconds) isn&rsquo;t justified. The main context has plenty of room for a few file reads and a short plan.</p>
<p>The new logic is conditional:</p>
<ul>
<li>3 or fewer files in scope AND clear description → generate the plan inline using Glob/Grep/Read directly</li>
<li>4+ files, ambiguous description, reopened ticket, epic child → dispatch the Plan subagent as before</li>
</ul>
<p>This trades a small amount of Opus context (the inline plan uses the more expensive model) for 10-15 seconds of wall-clock time on simple tickets. Since simple tickets are the majority, the aggregate savings are meaningful.</p>
<h3 id="5-early-profile-load">5. Early Profile Load</h3>
<p>This isn&rsquo;t a separate optimization - it falls out of Change 1. But it&rsquo;s worth calling out because it changes the step ordering in a way that matters for the rest of the workflow.</p>
<p>The Workflow Profile (base branch, quality gates, review settings, deploy hints) previously loaded at Step 7.1 - after team-repo validation. Now it loads in Message 1 of the parallel fetch, alongside the ticket fetch. The Step 7.1 heading still exists in the command file for documentation purposes, but it notes that execution moved to the parallel fetch.</p>
<p>This means the profile is available earlier. Steps 2-3 (pre-flight validation) still use the basic PROJECT_TYPE from Step 1, but anything from Step 4 onward has full profile access. No behavior change in normal flow - the profile was always available by Step 8 when it was first needed - but the earlier load eliminates a category of bugs where profile fields are referenced before the profile is parsed.</p>
<hr>
<h2 id="what-i-didnt-change">What I Didn&rsquo;t Change</h2>
<p>The session state schema stays the same. All those fields - <code>stashCreated</code>, <code>stashOriginalBranch</code>, <code>chainInvokingDir</code>, <code>ticketContext</code> - are still valuable when context does compact. The schema isn&rsquo;t the problem. Writing it 10 times per workflow was.</p>
<p>The Plan subagent stays for complex tickets. The 1M window is large but not infinite. A thorough codebase exploration for a 10-file feature change produces thousands of lines of Grep and Read output. Keeping that in a subagent&rsquo;s context (on cheaper Sonnet) rather than the main context (on Opus) is still the right trade-off for complex work.</p>
<p>The verification gate at Step 14.5 stays mandatory. This is the one that catches skipped unit tests - a real problem I documented after a production incident. Context compaction making Claude skip tests was the original motivation, and even with 1M tokens reducing compaction frequency, the verification gate costs seconds and prevents hours of debugging.</p>
<hr>
<h2 id="performance-target">Performance Target</h2>
<table>
	<thead>
			<tr>
					<th>Metric</th>
					<th>Before</th>
					<th>After</th>
			</tr>
	</thead>
	<tbody>
			<tr>
					<td>Ticket fetch + profile load</td>
					<td>~8s serial</td>
					<td>~3s parallel</td>
			</tr>
			<tr>
					<td>Task creation (simple tickets)</td>
					<td>~4s</td>
					<td>0s (skipped)</td>
			</tr>
			<tr>
					<td>Checkpointing overhead</td>
					<td>~5s (10 writes)</td>
					<td>~2s (3 writes)</td>
			</tr>
			<tr>
					<td>Plan for small tickets</td>
					<td>~25s (subagent)</td>
					<td>~10s (inline)</td>
			</tr>
			<tr>
					<td><strong>Total</strong></td>
					<td>-</td>
					<td><strong>~12-22s saved per /start</strong></td>
			</tr>
	</tbody>
</table>
<p>The range depends on ticket complexity. Simple tickets save the most (inline plan + no tasks = ~22s). Complex tickets save the least (subagent + tasks + full checkpoints = ~12s from the parallel fetch alone).</p>
<hr>
<h2 id="the-pattern">The Pattern</h2>
<p>The same lesson from the <a href="https://adventuresinclaude.ai/posts/2026-03-15-optimizing-commit-for-one-million-tokens/" target="_blank" rel="noopener noreferrer">/commit optimization</a>
 applies here: defensive machinery built for one constraint persists after the constraint changes. The difference with <code>/start</code> is that the machinery is more deeply embedded. Session checkpoints aren&rsquo;t a single function call - they&rsquo;re woven into the control flow between every pair of steps. Removing them required reasoning about what&rsquo;s reconstructable from external state (git, Linear) versus what exists only in the session file.</p>
<p>The next two posts cover <code>/staging</code> and <code>/production</code> - the deployment commands. The pattern shifts there from &ldquo;remove defensive overhead&rdquo; to &ldquo;parallelize independent external checks&rdquo; - Sentry queries, smoke tests, worktree resets. Different shape of optimization, same underlying principle.</p>
</td></tr></table>]]></content:encoded><category>claude-code</category><category>workflow</category><category>optimization</category><category>slash-commands</category><category>context-window</category><category>performance</category></item><item><title>Optimizing /commit for One Million Tokens</title><link>https://adventuresinclaude.ai/posts/2026-03-15-optimizing-commit-for-one-million-tokens/</link><pubDate>Sun, 15 Mar 2026 03:30:00 -0400</pubDate><guid>https://adventuresinclaude.ai/posts/2026-03-15-optimizing-commit-for-one-million-tokens/</guid><description>The 1M context window turned /commit&amp;#39;s bottleneck from context pressure to wall-clock time. Six optimizations cut 55-85 seconds from every commit.</description><content:encoded><![CDATA[<table cellpadding="0" cellspacing="0" border="0" width="600" align="center" style="max-width:600px;width:100%;margin:0 auto;"><tr><td><div style="text-align:center;margin-bottom:24px;"><a href="https://adventuresinclaude.ai" style="display:inline-block;"><img src="https://adventuresinclaude.ai/images/email-header.png" alt="Adventures in Claude" width="600" style="max-width:100%;display:block;border:0;" /></a></div><p><a href="https://adventuresinclaude.ai/posts/2026-03-14-one-million-tokens-and-four-commands-to-rewrite/" target="_blank" rel="noopener noreferrer">Yesterday</a>
 I laid out the case for rewriting my four deployment commands around the 1M token context window. This post covers the first and highest-impact rewrite: <code>/commit</code>.</p>
<p>If you haven&rsquo;t read <a href="https://adventuresinclaude.ai/posts/2026-03-11-exploring-commit-how-my-code-reviews-itself-before-i-push/" target="_blank" rel="noopener noreferrer">the deep dive on how /commit works</a>
, the short version is: it&rsquo;s a 1,170-line markdown state machine that handles quality gates, review triage, agent dispatch, commit message generation, pushing, and Linear updates. One command, twelve steps.</p>
<p>The 1M context window didn&rsquo;t change what <code>/commit</code> does. It changed what <code>/commit</code> needs to <em>defend against</em>. And that defense was expensive.</p>
<hr>
<h2 id="the-audit">The Audit</h2>
<p>I mapped every operation in <code>/commit</code> by type: sequential Bash calls, MCP round-trips, agent dispatches, session file writes. Then I identified which operations were sequential because they had to be (data dependency) versus sequential because they were written that way at 200K tokens when keeping context small mattered more than speed.</p>
<p>The results were clarifying. Three categories of waste:</p>
<ol>
<li><strong>Independent operations running sequentially</strong> — type-check and lint, simplify agents and review agents, Linear read calls</li>
<li><strong>Redundant computation</strong> — the git diff computed three separate times across three steps</li>
<li><strong>Defensive overhead</strong> — ten session file writes during a single commit flow, most of which exist for a compaction scenario that almost never happens at 1M tokens</li>
</ol>
<hr>
<h2 id="six-changes">Six Changes</h2>
<h3 id="1-parallel-quality-gates">1. Parallel Quality Gates</h3>
<p>The simplest win. Step 2 ran <code>pnpm run type-check</code> then <code>pnpm run lint</code> sequentially. Both are read-only operations that don&rsquo;t modify files. They don&rsquo;t depend on each other.</p>
<p><strong>Before:</strong></p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>pnpm run type-check    <span style="color:#75715e"># ~30s</span>
</span></span><span style="display:flex;"><span>pnpm run lint           <span style="color:#75715e"># ~30s</span>
</span></span><span style="display:flex;"><span><span style="color:#75715e"># Total: ~60s</span>
</span></span></code></pre></div><p><strong>After:</strong></p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>pnpm turbo type-check lint --concurrency<span style="color:#f92672">=</span><span style="color:#ae81ff">2</span>    <span style="color:#75715e"># ~35s</span>
</span></span></code></pre></div><p>Turbo handles the parallelism natively. Both tasks run simultaneously, bounded by whichever finishes last. The <code>--concurrency=2</code> flag is explicit about what we want — it&rsquo;s not a magic number, it&rsquo;s &ldquo;these two specific tasks, in parallel.&rdquo;</p>
<p><strong>Savings: ~25 seconds per commit.</strong></p>
<h3 id="2-collapsed-simplify--review-pipeline">2. Collapsed Simplify + Review Pipeline</h3>
<p>This was the biggest conceptual change. Previously, <code>/commit</code> had a two-phase pipeline:</p>
<ol>
<li><strong>Phase 1 (Step 2.5):</strong> Dispatch 3 simplify agents on Sonnet. Wait for all to complete. Re-stage any changes they made.</li>
<li><strong>Phase 2 (Step 4):</strong> Dispatch N review agents on Sonnet. Wait for all to complete.</li>
</ol>
<p>The rationale was that review agents should see the &ldquo;improved&rdquo; diff after simplify fixed things. But in practice, simplify finds nothing on the majority of commits. The review agents were waiting 30-45 seconds for a phase that usually produced no changes.</p>
<p><strong>After:</strong> Triage runs first (it needs the file list to determine which agents to dispatch), then ALL agents — simplify and review — launch simultaneously in a single message. In the common case where simplify finds nothing, review agents already see the final diff. If simplify does modify files, only the review agents whose findings overlap with modified files get re-dispatched.</p>
<p>The key insight came from a review comment on the Linear ticket: triage must run before dispatch (you need to know the review level to know which agents to launch), but triage only reads file names — it doesn&rsquo;t need file content. So the sequence is: cache the diff once, run triage on the file list, then dispatch everything in parallel.</p>
<p>This created a new step numbering. The old Step 2.5 (Simplify) and Step 4 (Review Dispatch) merged into Step 2.75 (Parallel Simplify + Review Dispatch). The old Steps 3 and 4 still exist as documentation of the triage logic and agent selection — they just note that execution moved to Step 2.75.</p>
<p><strong>Savings: ~30-45 seconds on commits where simplify finds nothing (majority). ~15-25 seconds when simplify does modify files (targeted re-dispatch instead of full re-run).</strong></p>
<h3 id="3-cached-git-diff">3. Cached Git Diff</h3>
<p>The diff was computed three times:</p>
<ul>
<li>Step 2.5: passed to simplify agents</li>
<li>Step 3: used for triage signal-gathering</li>
<li>Step 4: passed to review agents</li>
</ul>
<p>Now it&rsquo;s computed once in Step 2.5 (&ldquo;Compute and Cache Diff&rdquo;) and the cached <code>DIFF_CONTENT</code> and <code>ALL_FILES</code> variables are reused by all downstream consumers.</p>
<p><strong>Savings: Tokens, not seconds. But fewer tokens means faster processing throughout the pipeline.</strong></p>
<h3 id="4-batched-linear-mcp-calls">4. Batched Linear MCP Calls</h3>
<p>Step 8 (Update Linear) was making 4-6 serial MCP calls: fetch the issue, update status, fetch all workspace labels, update with merged labels, fetch comments (for threading), post progress comment.</p>
<p>A review comment caught my initial design: I&rsquo;d planned 2 messages, but <code>list_comments</code> needs the UUID from <code>get_issue</code>. The corrected design uses 3 messages:</p>
<ol>
<li><code>get_issue</code> (returns UUID)</li>
<li><code>list_issue_labels</code> + <code>list_comments</code> (both need UUID, dispatched in parallel)</li>
<li><code>save_issue</code> (status + labels) + <code>save_comment</code> (dispatched in parallel)</li>
</ol>
<p><strong>Savings: ~5-8 seconds per commit.</strong></p>
<h3 id="5-aggressive-learning-capture-skip">5. Aggressive Learning Capture Skip</h3>
<p>Step 1.5 scans the conversation for learnings to capture before committing. It already skipped in chain mode and short conversations. I added one more skip condition: NONE-level review triage (only docs/config changed). If you&rsquo;re committing a markdown file, there&rsquo;s unlikely to be a novel technical insight worth capturing.</p>
<p><strong>Savings: ~3-5 seconds on doc/config commits.</strong></p>
<h3 id="6-reduced-checkpointing">6. Reduced Checkpointing</h3>
<p>The old <code>/commit</code> wrote session state at multiple points throughout the flow — after quality gates, after triage, after review, after staging. With 200K tokens, this made sense: if context compacted mid-commit, the session file told you where to resume.</p>
<p>With 1M tokens, context compaction during a single <code>/commit</code> run is extremely rare. Two writes are sufficient:</p>
<ol>
<li>Entry: <code>awaiting_user_test</code> → <code>committing</code></li>
<li>Exit: <code>committing</code> → <code>committed</code></li>
</ol>
<p>If context does compact between these two points (unlikely but possible for enormous commits), the session shows <code>committing</code> and you re-run <code>/commit</code> — all steps are idempotent.</p>
<p><strong>Savings: ~2-3 seconds per commit.</strong></p>
<h3 id="bonus-timing-instrumentation">Bonus: Timing Instrumentation</h3>
<p>A review comment on the ticket suggested adding baseline measurements before optimizing. I added <code>COMMIT_START</code> at Step 0 and <code>COMMIT_DURATION</code> at Step 10, displayed in every commit&rsquo;s success summary. This gives us the &ldquo;before&rdquo; numbers to compare against, and — critically — feeds into the pipeline automation system (PLA-781) which uses average commit duration as an advancement criterion.</p>
<hr>
<h2 id="what-i-learned">What I Learned</h2>
<p>The biggest lesson isn&rsquo;t about any specific optimization. It&rsquo;s about how constraints shape architecture in ways that persist long after the constraint changes.</p>
<p>Every one of these sequential patterns had a reason at 200K tokens. Serializing simplify → review kept context smaller. Multiple session checkpoints enabled recovery. Separate diff computations avoided storing large strings in variables. The architecture was <em>correct</em> for its constraint.</p>
<p>When the constraint changed — 200K to 1M, a 5x increase — the architecture didn&rsquo;t automatically adapt. The code still worked. It was just slow. And &ldquo;slow but correct&rdquo; feels fine until you measure it and realize you&rsquo;re spending two minutes on overhead that could take thirty seconds.</p>
<p>The meta-lesson: when a foundational constraint changes by an order of magnitude, audit everything built on that constraint. Don&rsquo;t fix one thing — map the entire dependency chain. I found six optimizations in <code>/commit</code> because I looked at every operation type, not just the one that felt slowest.</p>
<hr>
<h2 id="performance-target">Performance Target</h2>
<table>
	<thead>
			<tr>
					<th>Metric</th>
					<th>Before</th>
					<th>After</th>
			</tr>
	</thead>
	<tbody>
			<tr>
					<td>Quality gates</td>
					<td>~60s</td>
					<td>~35s</td>
			</tr>
			<tr>
					<td>Simplify → Review</td>
					<td>~45s serial</td>
					<td>~30s parallel (0s when nothing found)</td>
			</tr>
			<tr>
					<td>Linear updates</td>
					<td>~12s</td>
					<td>~5s</td>
			</tr>
			<tr>
					<td>Learning capture (doc commits)</td>
					<td>~5s</td>
					<td>0s</td>
			</tr>
			<tr>
					<td>Checkpointing</td>
					<td>~5s</td>
					<td>~2s</td>
			</tr>
			<tr>
					<td><strong>Total</strong></td>
					<td><strong>~127s</strong></td>
					<td><strong>~72s</strong></td>
			</tr>
	</tbody>
</table>
<p>I&rsquo;ll update this table with measured numbers after a week of real usage. The timing instrumentation makes that straightforward — every commit logs its duration now.</p>
<hr>
<h2 id="whats-next">What&rsquo;s Next</h2>
<p>Three more commands to optimize: <a href="https://adventuresinclaude.ai/posts/2026-03-14-one-million-tokens-and-four-commands-to-rewrite/" target="_blank" rel="noopener noreferrer"><code>/start</code></a>
 (parallel ticket fetch, conditional task creation, inline plans for simple tickets), <code>/staging</code> (parallel test+build, parallel Sentry queries, parallel worktree resets), and <code>/production</code> (parallel verification, slimmer health audit). Same theme throughout: identify independent operations, run them concurrently, remove defensive overhead that 1M tokens makes unnecessary.</p>
<p>The implementations are done — all four commands are updated. The next three posts will cover what changed and what I learned in each one.</p>
</td></tr></table>]]></content:encoded><category>claude-code</category><category>workflow</category><category>optimization</category><category>slash-commands</category><category>context-window</category><category>performance</category></item></channel></rss>