<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Foundry Blog</title><link>https://joinfoundry.xyz/blog</link><description>The Foundry blog.</description><language>en</language><atom:link href="https://joinfoundry.xyz/blog/rss.xml" rel="self" type="application/rss+xml"/><lastBuildDate>Fri, 27 Nov 2026 00:00:00 GMT</lastBuildDate><item><title>Which AI Tools to Use for Game Dev, and in What Order</title><link>https://joinfoundry.xyz/blog/ai-game-dev-tools-workflow</link><guid isPermaLink="true">https://joinfoundry.xyz/blog/ai-game-dev-tools-workflow</guid><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><category>workflow</category><category>ai-tools</category><category>game-engines</category><category>claude-code</category><category>getting-started</category><description>How to pick an engine, a coding agent and art tools for an AI-assisted game, and when placeholders, style and real assets come in.</description><content:encoded><![CDATA[<p>Ask someone for their stack and you usually get a list of tool names. The order you bring tools into a project matters more. This sequence works for most small AI-assisted games.</p>
<h2 id="step-1-pick-an-engine-your-coding-agent-can-actually-read">Step 1: Pick an engine your coding agent can actually read</h2>
<p>AI coding agents work by reading and editing files. The more of your game lives in plain text, the better they do.</p>
<ul>
<li><strong>Godot</strong> is a popular pick for AI-assisted work because scenes and scripts are text files the agent can read and edit directly.</li>
<li><strong>Web (Phaser, Three.js, plain JavaScript)</strong> is the easiest of all for agents. Everything is code, it runs in a browser, and there's a huge amount of example code for the model to draw on.</li>
<li><strong>Unity</strong> works well for code, but a lot of the project lives in the editor. You'll usually want an editor bridge (an MCP server for Unity) so the agent can see and change scenes.</li>
<li><strong>Unreal</strong> is the hardest. Blueprints are visual, so agents can help with C++ and planning, but much of the work stays manual.</li>
</ul>
<blockquote>
<p><strong>Unity 7:</strong> Unity's own MCP server for the editor is in open beta now, for Unity 6 with a trial or subscription to Unity's AI tools. Unity 7 enters beta in December 2026, with full release planned for Q1 2027, and is set to include a free-to-use MCP that connects coding agents directly to Unity. (<a href="https://unity.com/news/unity-7-roadmap-revealed-at-unite-seoul" rel="noopener noreferrer">Unity's roadmap</a>)</p>
</blockquote>
<blockquote>
<p><strong>Unreal Engine 6:</strong> Epic has said UE6 won't support Blueprints or the Actor gameplay framework, reversing its earlier plan to keep both in early UE6 versions. Gameplay moves to Verse, Epic's text-based programming language, and a new Scene Graph, with "AI operability" as a stated goal. UE6 Early Access is targeted for the end of 2027, and Epic expects AI tools to help convert UE5 projects. If you start an Unreal project today, expect your Blueprint and Actor work to need converting before it runs on UE6. (<a href="https://www.unrealengine.com/news/an-update-on-blueprints-and-the-path-to-ue6" rel="noopener noreferrer">Epic's announcement</a>)</p>
</blockquote>
<p>If you're new and want to finish something, web or Godot will get you there fastest.</p>
<h2 id="step-2-set-up-your-coding-agent-with-context">Step 2: Set up your coding agent with context</h2>
<p>Whatever agent you use (Claude Code, Codex, Cursor and so on), give it a project file that explains the game: what it is, the engine, folder structure, rules like "don't change the save format." Agents start every session with no memory, so this file is what keeps them consistent.</p>
<h2 id="step-3-build-the-game-with-placeholders-first">Step 3: Build the game with placeholders first</h2>
<p>Skipping placeholders wastes time on art you later throw away. Before making real assets:</p>
<ul>
<li>Use colored boxes, circles and free placeholder packs.</li>
<li>Get the core loop working: move, do the main action, win or lose.</li>
<li>Play it. If it's not fun with boxes, better art won't fix it.</li>
</ul>
<p>Placeholders also keep the agent focused on logic instead of fighting with asset paths and sprite sizes.</p>
<h2 id="step-4-decide-the-art-style-once">Step 4: Decide the art style once</h2>
<p>When the loop works, make the style decisions before generating real assets:</p>
<ul>
<li>Pick a resolution and perspective (for example 32×32 pixel art, three-quarter top-down).</li>
<li>Pick a palette.</li>
<li>Collect 5 to 10 reference images that show the look you want. Mood boards from existing games are fine as references for yourself, but don't copy them into your game.</li>
<li>Make one finished "hero asset" in that style and use it as the reference for everything after.</li>
</ul>
<h2 id="step-5-replace-placeholders-in-order-of-what-players-see-most">Step 5: Replace placeholders in order of what players see most</h2>
<ol>
<li>Player character</li>
<li>Main enemies or obstacles</li>
<li>The environment the player spends the most time in</li>
<li>UI</li>
<li>Everything else</li>
</ol>
<p>Swap one category at a time and play after each swap. It's much easier to fix a mismatch when you only changed one thing.</p>
<h2 id="step-6-audio-last-but-dont-skip-it">Step 6: Audio last, but don't skip it</h2>
<p>Music and sound effects make a game feel finished more than almost anything else. AI music and sound tools work fine for this. Generate a few tracks, pick one main theme, and keep sound effects short and punchy. Normalize the volume so nothing blasts the player.</p>
<h2 id="where-each-tool-type-fits">Where each tool type fits</h2>
<div class="md-table"><table>
<thead>
<tr>
<th>Stage</th>
<th>Tool type</th>
<th>What it's for</th>
</tr>
</thead>
<tbody><tr>
<td>Planning</td>
<td>Chat assistant</td>
<td>Game design doc, scope, task list</td>
</tr>
<tr>
<td>Building</td>
<td>Coding agent</td>
<td>Game logic, systems, bug fixes</td>
</tr>
<tr>
<td>Engine access</td>
<td>MCP server or editor plugin</td>
<td>Letting the agent see scenes in Unity, Godot or Blender</td>
</tr>
<tr>
<td>Art</td>
<td>Image generator with reference support</td>
<td>Characters, tiles, UI</td>
</tr>
<tr>
<td>3D</td>
<td>Image-to-3D or text-to-3D tool, then Blender</td>
<td>Models, cleanup, rigging</td>
</tr>
<tr>
<td>Audio</td>
<td>Music and sound effect generators</td>
<td>Themes, effects</td>
</tr>
</tbody></table></div>
<h2 id="plugins-people-ask-about">Plugins people ask about</h2>
<p>If you're using Blender or a game engine with a coding agent, look for MCP servers for that tool. They let the agent run actions in the program instead of you copying code back and forth. Install one at a time and test it. Connecting too many tools at once slows agents down and makes them pick the wrong one more often.</p>
<h2 id="summary">Summary</h2>
<p>Pick an engine your agent can read, add a project context file, get the game playable with placeholders, lock the art style, and replace assets in the order players see them. The specific tools will keep changing, but this order should still hold up.</p>
]]></content:encoded></item><item><title>How to Keep AI Game Characters and Assets Consistent</title><link>https://joinfoundry.xyz/blog/consistent-ai-game-assets</link><guid isPermaLink="true">https://joinfoundry.xyz/blog/consistent-ai-game-assets</guid><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><category>ai-art</category><category>game-assets</category><category>sprites</category><category>consistency</category><category>workflow</category><description>Why your AI character changes between poses and frames, and a workflow that keeps the same hero, gear and style across a whole game.</description><content:encoded><![CDATA[<p>Generate a second pose for an AI-made character and the face, armor and gear usually shift. Image models start from scratch on every generation and don't remember the last one. To keep a character consistent, you have to give the model the same image and text references every time.</p>
<h2 id="lock-the-character-before-you-make-anything-else">Lock the character before you make anything else</h2>
<p>Don't start with the sprite sheet. Start with one reference image you're happy with, then build everything off it.</p>
<ol>
<li>Generate until you get a version of the character you like.</li>
<li>Clean it up. Fix the hands, the gear, anything weird. This is now the source of truth.</li>
<li>Make a turnaround from it: front, side, back and three-quarter. Fix those by hand too if you need to.</li>
</ol>
<p>That turnaround sheet is your character's model sheet, the same thing animation studios use to keep characters on model. Every future generation gets fed this reference.</p>
<h2 id="write-a-character-spec-and-never-change-it">Write a character spec and never change it</h2>
<p>Next to the reference, keep a short text spec you paste into every prompt:</p>
<div class="md-code"><div class="md-code-bar"><span>Plain text</span></div><pre><code class="hljs language-text">Kira: short silver hair, red scarf, brown leather chest armor with one shoulder pad (left),
curved short sword on right hip, dark blue pants, brown boots. 16-bit pixel art, 3/4 top-down,
limited palette, black outline.</code></pre></div>
<p>Same words, same order, every time. If you describe the scarf as "crimson" once and "red" the next, you just told the model those might be different.</p>
<h2 id="use-reference-based-generation-not-just-prompts">Use reference-based generation, not just prompts</h2>
<p>Prompts alone will drift. The tools that work for consistency all take an image as input:</p>
<ul>
<li><strong>Image reference or "character reference" features</strong> in most current image tools. Feed your locked reference, change only the pose in the prompt.</li>
<li><strong>Image-to-image / inpainting.</strong> Keep the character and only regenerate the part that changes, like an arm position.</li>
<li><strong>A small trained model (LoRA)</strong> if you need dozens of poses. Train it on 15 to 30 clean images of your character from your turnaround and early poses. This is the most reliable option for big sprite sets, but it takes more setup.</li>
<li><strong>Pose control (ControlNet, OpenPose and similar).</strong> Give the model a stick-figure pose plus your reference, so it only has to figure out the character, not the pose too.</li>
</ul>
<h2 id="animation-frames-generate-fewer-fix-more">Animation frames: generate fewer, fix more</h2>
<p>Generating every frame of a walk cycle separately is where most people lose consistency. Some things that help:</p>
<ul>
<li>Generate the key poses (contact, passing, etc.) and fill in-betweens by hand or with a frame interpolation tool.</li>
<li>Keep the camera angle, scale and lighting identical in every prompt.</li>
<li>Put all frames on the same canvas size and line them up on a grid before you judge them. Jitter you can't see in a single image shows up immediately when it plays.</li>
<li>Always preview animations at real game speed in your engine. Static frames hide timing and jitter problems.</li>
</ul>
<h2 id="rigging-characters-with-odd-proportions">Rigging characters with odd proportions</h2>
<p>Auto-riggers expect a normal humanoid. If your character is chibi, has huge hands or extra limbs, they'll fail. Options:</p>
<ul>
<li>For 2D, skip skeletal rigging and use cutout animation: split the character into parts (head, torso, arms) and animate the pieces.</li>
<li>For 3D, rig a standard humanoid first, then scale bones to match your proportions instead of asking the auto-rigger to figure it out.</li>
<li>Expect to fix weights by hand around the shoulders and hips. That's normal, even for non-AI models.</li>
</ul>
<h2 id="make-ui-and-environments-match-the-characters">Make UI and environments match the characters</h2>
<p>If your menus and environments clash with your characters, define the visual style before generating UI assets:</p>
<ul>
<li>Make a one-page style sheet: palette, outline thickness, texture level, a couple of example assets.</li>
<li>Generate UI with that sheet as the reference instead of a prompt like "sci-fi menu."</li>
<li>Keep a fixed palette and snap everything to it afterwards. Palette mapping alone fixes a lot of mismatched AI art.</li>
</ul>
<h2 id="expect-manual-cleanup">Expect manual cleanup</h2>
<p>You will still clean things up by hand. AI gets you 80% of the way fast, and the last 20% is you making sure every frame lines up and every asset uses the same palette. Devs shipping polished AI-assisted games still do this cleanup pass. The time AI saves is mostly in the early drafts.</p>
<p>For some asset types it's easier to buy a matching asset pack and build around it than to keep generated ones consistent.</p>
]]></content:encoded></item><item><title>How to Keep Your AI Coding Agent on Track (and Stop It Undoing Fixes)</title><link>https://joinfoundry.xyz/blog/keep-ai-agent-on-track</link><guid isPermaLink="true">https://joinfoundry.xyz/blog/keep-ai-agent-on-track</guid><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><category>ai-agents</category><category>claude-code</category><category>workflow</category><category>testing</category><category>vibe-coding</category><description>How to stop your AI agent forgetting decisions, breaking things it already fixed and drifting off task, and how to check its fixes work.</description><content:encoded><![CDATA[<p>AI coding agents bring back bugs you already fixed, drift away from what you agreed on, and sometimes say a bug is fixed when nothing changed.</p>
<p>Most of that comes from memory. The agent starts every session blank, so the rules and the checking have to come from you.</p>
<h2 id="write-decisions-down-where-the-agent-will-read-them">Write decisions down where the agent will read them</h2>
<p>Anything decided in chat is gone next session. Keep a decisions file in your project and point your agent's context file at it.</p>
<div class="md-code"><div class="md-code-bar"><span>Markdown</span></div><pre><code class="hljs language-markdown"><span class="hljs-section">## Decisions</span>
<span class="hljs-bullet">-</span> Enemies respawn only when the player leaves the room. Do not change.
<span class="hljs-bullet">-</span> Retry logic: 3 attempts, 2s apart. Tested, do not refactor.
<span class="hljs-bullet">-</span> Save format is v2. Never change field names.

<span class="hljs-section">## Not doing</span>
<span class="hljs-bullet">-</span> No multiplayer.
<span class="hljs-bullet">-</span> No inventory weight system.</code></pre></div>
<p>The "Not doing" list matters as much as the decisions. It's how you stop the agent from steering the project somewhere you didn't want.</p>
<h2 id="protect-what-already-works-with-tests">Protect what already works with tests</h2>
<p>The most reliable way to stop an agent from undoing a fix is a test that fails when the fix breaks.</p>
<ul>
<li>When a bug gets fixed, ask the agent to write a test that reproduces it first, then fix it so the test passes.</li>
<li>Tell it to run all tests before it says it's done.</li>
<li>A "don't change this" comment is easy for the agent to ignore. A failing test makes it deal with the regression.</li>
</ul>
<p>Even a few tests on the stuff that keeps breaking helps a lot.</p>
<h2 id="make-it-prove-the-fix">Make it prove the fix</h2>
<p>Don't take "fixed" at face value. Ask for evidence:</p>
<ul>
<li>"Run it and show me the output."</li>
<li>"Show me the test that failed before and passes now."</li>
<li>"Explain what caused the bug, then show me the change."</li>
</ul>
<p>If it can't explain the cause, it probably guessed. And an agent reading back its own code doesn't count as verifying the fix.</p>
<h2 id="keep-tasks-small-and-specific">Keep tasks small and specific</h2>
<p>Big vague tasks are where drift happens. "Clean up the code" gives the agent permission to change anything, including the parts you just got working. Compare:</p>
<ul>
<li>Vague: "Refactor the networking code."</li>
<li>Specific: "Move the request helpers from <code>net.js</code> into <code>net/requests.js</code>. Don't change behavior. Run the tests after."</li>
</ul>
<p>Saying what <em>not</em> to change is as important as saying what to change.</p>
<h2 id="use-git-like-a-save-point">Use git like a save point</h2>
<p>Commit every time something works. Then:</p>
<ul>
<li>Read the diff before accepting a change. If it touched files that had nothing to do with the task, that's your warning sign.</li>
<li>If a session goes sideways, roll back to the last commit instead of asking the agent to fix its fix. That second fix is where things usually get worse.</li>
</ul>
<h2 id="start-fresh-when-it-gets-confused">Start fresh when it gets confused</h2>
<p>Long sessions get worse over time. The agent is juggling too much and starts mixing things up. When it starts contradicting itself or repeating mistakes, stop, write down where things stand, and start a new session with that summary.</p>
<h2 id="a-simple-routine-that-works">A simple routine that works</h2>
<ol>
<li>Start a session with one specific task.</li>
<li>Agent reads the context and decisions files.</li>
<li>Agent writes a short plan. You approve or fix it.</li>
<li>Agent makes the change, writes or updates a test, runs everything.</li>
<li>You read the diff and check it yourself.</li>
<li>Commit.</li>
<li>Update the decisions file if anything new was decided.</li>
</ol>
<p>It adds a couple of minutes per task. That's still faster than fixing the same regressions over and over.</p>
]]></content:encoded></item><item><title>Which AI Models Can You Run on Your Hardware?</title><link>https://joinfoundry.xyz/blog/run-ai-models-on-your-hardware</link><guid isPermaLink="true">https://joinfoundry.xyz/blog/run-ai-models-on-your-hardware</guid><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><category>local-ai</category><category>hardware</category><category>vram</category><category>local-llm</category><category>stable-diffusion</category><description>A plain guide to running local coding models and image models on 8, 16 and 32 GB machines, including Macs with unified memory.</description><content:encoded><![CDATA[<p>Whether a local AI model runs well on your machine mostly depends on whether it fits in memory. Use the sizing formula and hardware ranges below to pick a model.</p>
<p>These are ballpark numbers. Exact fit depends on the model, the runtime and how much context you use, so treat them as a starting point and test.</p>
<h2 id="estimating-how-much-memory-a-model-needs">Estimating how much memory a model needs</h2>
<p>A model's memory use is mostly its parameter count times how many bits each parameter uses.</p>
<ul>
<li>Full precision (16-bit): about 2 GB per billion parameters.</li>
<li>8-bit: about 1 GB per billion.</li>
<li>4-bit (the most common way people run local models): roughly 0.5 to 0.6 GB per billion.</li>
</ul>
<p>Then add room for context. Longer conversations and bigger files use more memory on top of the model itself.</p>
<p>So a 7 to 8B model at 4-bit is around 4 to 5 GB. A 14B model at 4-bit is around 8 to 9 GB. A 32B model at 4-bit is around 18 to 20 GB.</p>
<h2 id="what-quantized-means">What "quantized" means</h2>
<p>Quantizing shrinks a model by storing its numbers with fewer bits. A 4-bit version is much smaller and only a little worse than the original for most tasks. When you download local models, you'll see names like Q4, Q5 or Q8. Lower number, smaller file, slightly lower quality. Q4 or Q5 is the usual sweet spot.</p>
<h2 id="coding-assistants">Coding assistants</h2>
<div class="md-table"><table>
<thead>
<tr>
<th>Your GPU memory</th>
<th>Realistic local coding model</th>
</tr>
</thead>
<tbody><tr>
<td>8 GB</td>
<td>7 to 8B models at 4-bit. Good for autocomplete and small edits.</td>
</tr>
<tr>
<td>12 to 16 GB</td>
<td>14B models at 4-bit, with room for decent context.</td>
</tr>
<tr>
<td>24 GB</td>
<td>32B models at 4-bit. This is where local coding starts to feel solid.</td>
</tr>
</tbody></table></div>
<p>If the model doesn't fully fit in VRAM, most runtimes will split it between GPU and system RAM. It works, but it gets a lot slower. With 32 GB RAM and 16 GB VRAM, you can run bigger models that spill into RAM. You'll be waiting on them more.</p>
<p>Local models are good for privacy, working offline and small edits. For changes across a bunch of files, the big hosted models are still noticeably better, so a lot of devs use local models for quick stuff and hosted ones for bigger refactors.</p>
<h2 id="image-models">Image models</h2>
<div class="md-table"><table>
<thead>
<tr>
<th>Your GPU memory</th>
<th>What works</th>
</tr>
</thead>
<tbody><tr>
<td>6 to 8 GB</td>
<td>Older, smaller models comfortably. Newer, larger models need memory-saving options or quantized versions, and run slower.</td>
</tr>
<tr>
<td>12 GB</td>
<td>Most current image models with some optimization.</td>
</tr>
<tr>
<td>16 GB and up</td>
<td>Current models comfortably, plus room for reference and pose tools at the same time.</td>
</tr>
</tbody></table></div>
<p>On 8 GB, look for "low VRAM" or "medvram" settings in your image tool, use smaller batch sizes and generate at the model's native resolution, then upscale separately.</p>
<h2 id="macs-with-unified-memory">Macs with unified memory</h2>
<p>Macs share one pool of memory between the CPU and GPU, which is great for local AI because the GPU can use most of it.</p>
<ul>
<li>A Mac with 16 GB can run 7 to 8B models comfortably and 14B models at 4-bit, as long as you're not running much else.</li>
<li>macOS keeps some memory for the system, so you can't use all 16 GB for the model.</li>
<li>More memory matters more than a faster chip for this. A 32 GB Mac can run noticeably bigger models than a faster 16 GB one.</li>
</ul>
<h2 id="which-runtime-to-use">Which runtime to use</h2>
<p>For running local language models, the common beginner-friendly options are tools like Ollama and LM Studio. They download models for you and pick sensible settings. llama.cpp is what a lot of these run on under the hood if you want more control. On Macs, look for builds that use Apple's MLX or Metal acceleration.</p>
<p>For images, ComfyUI and similar interfaces are the usual picks.</p>
<h2 id="quick-checklist">Quick checklist</h2>
<ol>
<li>Check your GPU memory (or total memory on a Mac).</li>
<li>Pick a model whose 4-bit size is comfortably under that number.</li>
<li>Leave a couple of GB free for context.</li>
<li>Test with a real task from your project, not a demo prompt.</li>
</ol>
<p>If it's too slow, go one size down. A smaller model that answers fast is more useful than a bigger one you're waiting on.</p>
]]></content:encoded></item><item><title>How to Stop Burning Through Tokens on AI Coding Projects</title><link>https://joinfoundry.xyz/blog/save-tokens-ai-coding</link><guid isPermaLink="true">https://joinfoundry.xyz/blog/save-tokens-ai-coding</guid><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><category>tokens</category><category>claude-code</category><category>usage-limits</category><category>workflow</category><category>vibe-coding</category><description>Why AI coding agents eat your usage limits so fast, and how to finish a real project without paying for another plan.</description><content:encoded><![CDATA[<p>If you burn through a weekly usage allowance in a couple of days on one repo, your session habits are the likely cause. Project size usually has less to do with it.</p>
<h2 id="why-tokens-disappear-so-fast">Why tokens disappear so fast</h2>
<p>Every message to an AI agent sends a lot more than what you typed. It includes the conversation so far, the files the agent read, tool output and its own instructions. The longer a session goes, the more gets resent with every single message.</p>
<p>So a session that's been running for hours costs way more per message than a fresh one, even if you're asking for something small.</p>
<h2 id="start-fresh-sessions-often">Start fresh sessions often</h2>
<p>This is the biggest single fix.</p>
<ul>
<li>One task per session. When the task is done, clear or start a new session.</li>
<li>If a session has been going for a long time, don't keep piling on. Ask the agent to summarize where things stand, save that to a file, and start fresh with it.</li>
<li>In Claude Code, <code>/clear</code> starts over and <code>/compact</code> shrinks the conversation. Most other agents have something similar.</li>
</ul>
<h2 id="give-the-agent-a-project-file-so-it-doesnt-re-learn-everything">Give the agent a project file so it doesn't re-learn everything</h2>
<p>Agents start each session knowing nothing. Without a context file, they spend tokens reading your whole project to figure out what it is.</p>
<p>Keep a short file in the project root (like <code>CLAUDE.md</code> or <code>AGENTS.md</code>, depending on the tool) with:</p>
<ul>
<li>What the project is, in a few sentences</li>
<li>The folder structure and where the important stuff lives</li>
<li>Commands to build, run and test</li>
<li>Rules ("don't touch the save system," "use the existing input manager")</li>
</ul>
<p>Short is the point. A huge context file gets sent every session and costs you every time.</p>
<h2 id="point-it-at-the-right-files">Point it at the right files</h2>
<p>"Fix the jumping" makes the agent search the whole project. "The jump in <code>player/movement.gd</code> doesn't reset after landing on slopes" sends it straight there. Specific prompts are cheaper and get better results.</p>
<h2 id="dont-paste-giant-logs">Don't paste giant logs</h2>
<p>A thousand lines of console output costs a lot and mostly gets ignored. Paste the error and the few lines around it. If you need the agent to look at a big log, have it search for the error instead of reading the whole thing.</p>
<h2 id="plan-first-then-build">Plan first, then build</h2>
<p>Ask for a short plan before any code: what files it'll change and how. Fixing a bad plan costs a few messages. Fixing a bad 600-line change costs a lot more, plus the tokens to undo it.</p>
<h2 id="keep-files-smaller">Keep files smaller</h2>
<p>Agents often read a whole file to change one line. A 3,000-line <code>game.js</code> gets read over and over. Splitting big files into smaller ones by feature makes every edit cheaper.</p>
<h2 id="use-the-right-model-for-the-job">Use the right model for the job</h2>
<p>If your tool lets you pick, use a smaller, cheaper model for simple stuff like renaming, small fixes and boilerplate, and save the biggest model for hard problems and planning. A lot of usage goes to tasks that never needed the top model.</p>
<h2 id="turn-off-what-youre-not-using">Turn off what you're not using</h2>
<p>Every connected MCP server adds something to each request. Claude Code now loads a server's tool definitions only when they're needed (tool search, on by default), which cuts most of that cost, but each server's name and instructions still go out with every message. Agents without on-demand loading send every tool definition, every time. Either way, if you have ten connected and use two, disconnect the rest for that project.</p>
<h2 id="should-you-upgrade">Should you upgrade?</h2>
<p>Upgrading buys more room, but if your sessions are long and unfocused, a bigger plan runs out a little later. Try the habits above for a few days first. If you're still running out with short, focused sessions, then the project does need more, and upgrading is worth it.</p>
<h2 id="summary">Summary</h2>
<p>Start a fresh session per task, keep a short project context file, point prompts at specific files, paste only relevant error lines, and review a plan before generating code.</p>
]]></content:encoded></item></channel></rss>
