<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Eren Çolak</title>
    <description>The latest articles on DEV Community by Eren Çolak (@erenxcolakx).</description>
    <link>https://dev.to/erenxcolakx</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3571094%2F70cb1d18-a12a-4c44-b993-2184ae28fe3a.jpeg</url>
      <title>DEV Community: Eren Çolak</title>
      <link>https://dev.to/erenxcolakx</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/erenxcolakx"/>
    <language>en</language>
    <item>
      <title>Why Claude Code usage runs out so fast, and what is using it</title>
      <dc:creator>Eren Çolak</dc:creator>
      <pubDate>Wed, 21 Oct 2026 12:51:50 +0000</pubDate>
      <link>https://dev.to/erenxcolakx/why-claude-code-usage-runs-out-so-fast-and-what-is-using-it-5cec</link>
      <guid>https://dev.to/erenxcolakx/why-claude-code-usage-runs-out-so-fast-and-what-is-using-it-5cec</guid>
      <description>&lt;p&gt;Hitting your session or weekly limit sooner than your activity suggests is one of the most common complaints about Claude Code. The cause is usually not one big thing: a session that has been open for hours spends far more than the work you typed into it. Anthropic's &lt;a href="https://code.claude.com/docs/en/costs" rel="noopener noreferrer"&gt;cost documentation&lt;/a&gt; (checked 21 October 2026) lists the usual reasons. This guide goes through them, then shows how to find which one is yours.&lt;/p&gt;

&lt;h2&gt;
  
  
  Find out first: &lt;code&gt;/usage&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Before changing habits, look. On a Pro, Max, Team or Enterprise plan, &lt;code&gt;/usage&lt;/code&gt; shows your plan limits and a breakdown of what counts against them:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Attribution:&lt;/strong&gt; recent usage attributed to skills, subagents, plugins and individual MCP servers, each as a share of the total.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Behavior flags:&lt;/strong&gt; long context or cache misses, flagged when one accounts for 10% or more of recent usage, each with a tip.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Loops:&lt;/strong&gt; your heaviest &lt;code&gt;/loop&lt;/code&gt; and other scheduled tasks, by total tokens (newer versions of Claude Code).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Press d or w to switch between the last 24 hours and 7 days. The figures are approximate and come from the session history on that machine, so usage from other devices or claude.ai is not in them. Newer versions also add a prompt cache line to the Session block, showing the share of input served from cache and how many misses there were.&lt;/p&gt;

&lt;h2&gt;
  
  
  Eight reasons usage climbs
&lt;/h2&gt;

&lt;p&gt;These are the causes the documentation names for a long session using more of your limit than it seems to deserve.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. A long conversation is re-read on every request
&lt;/h3&gt;

&lt;p&gt;Claude Code sends your whole conversation with each request, and every round of tool use sends it again with the results. Prompt caching re-reads that history at the cheaper cached rate, but a one-line question at the end of a day-long session still draws on the entire conversation. &lt;strong&gt;Fix:&lt;/strong&gt; run &lt;code&gt;/clear&lt;/code&gt; when you switch to unrelated work (use &lt;code&gt;/rename&lt;/code&gt; first and &lt;code&gt;/resume&lt;/code&gt; later if you want to come back), and &lt;code&gt;/compact&lt;/code&gt; with instructions about what to keep when you need continuity.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Cache misses after a break
&lt;/h3&gt;

&lt;p&gt;Your first message after a pause longer than the cache lifetime misses the cache and reprocesses the whole context at full rate. &lt;strong&gt;Fix:&lt;/strong&gt; if you know you are done with a session for a while, start fresh later rather than resuming a huge context after the break.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Scheduled tasks keep firing
&lt;/h3&gt;

&lt;p&gt;A &lt;code&gt;/loop&lt;/code&gt; or other session-scoped scheduled task fires on its interval even while the session is idle, sending the full context each time. &lt;strong&gt;Fix:&lt;/strong&gt; check the Loops rows in &lt;code&gt;/usage&lt;/code&gt; and stop tasks you forgot.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Messages from your other sessions
&lt;/h3&gt;

&lt;p&gt;When another of your sessions sends a message to an idle one, it starts a new turn that sends the full context. The &lt;code&gt;crossSessionInbound&lt;/code&gt; setting can be set to &lt;code&gt;hold&lt;/code&gt; to keep inbound messages from being delivered.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Goal check-ins
&lt;/h3&gt;

&lt;p&gt;While background work keeps an active goal waiting, Claude Code can start idle check-ins, each a new turn with your full context. Recent versions cap them at three per goal between your prompts; &lt;code&gt;CLAUDE_CODE_GOAL_CHECKIN_MINUTES=0&lt;/code&gt; turns them off.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Subagents and workflows
&lt;/h3&gt;

&lt;p&gt;Every subagent, and every agent a workflow spawns, sends its own requests on top of the main conversation's. The attribution breakdown in &lt;code&gt;/usage&lt;/code&gt; shows their share. &lt;strong&gt;Fix:&lt;/strong&gt; give simple subagent tasks a smaller model (&lt;code&gt;model: haiku&lt;/code&gt; in the subagent's configuration), and keep verbose work such as running tests in a subagent so only a summary returns.&lt;/p&gt;

&lt;h3&gt;
  
  
  7. Agent teams
&lt;/h3&gt;

&lt;p&gt;Each active teammate keeps its own context window and keeps consuming tokens until it exits. The documentation says teams use roughly seven times the tokens of a standard session when teammates run in plan mode. &lt;strong&gt;Fix:&lt;/strong&gt; keep teams small, give them focused tasks and shut teammates down when their work is done.&lt;/p&gt;

&lt;h3&gt;
  
  
  8. Compaction is a big request too
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;/compact&lt;/code&gt; has to read the conversation it summarizes, so compacting a large context is itself a large request. When you want a clean start rather than continuity, &lt;code&gt;/clear&lt;/code&gt; costs nothing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Smaller levers
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Model and effort.&lt;/strong&gt; Sonnet handles most coding tasks for less than Opus; switch with &lt;code&gt;/model&lt;/code&gt;. Lower the effort level with &lt;code&gt;/effort&lt;/code&gt; for simple tasks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MCP servers.&lt;/strong&gt; Run &lt;code&gt;/context&lt;/code&gt; to see what fills your context and &lt;code&gt;/mcp&lt;/code&gt; to disable servers you are not using.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A big CLAUDE.md.&lt;/strong&gt; It loads at the start of every session. Anthropic suggests moving workflow-specific instructions into skills, which load only when used, and keeping CLAUDE.md under 200 lines.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vague prompts.&lt;/strong&gt; "Improve this codebase" triggers broad scanning; naming the file and the change does not.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Plan mode and early course-correction.&lt;/strong&gt; Press Shift+Tab for plan mode before big changes, and Esc as soon as Claude heads the wrong way.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  When you run several sessions
&lt;/h2&gt;

&lt;p&gt;Every session draws on the same allowance, each with its own conversation, so four sessions spend it faster than one, and a long-lived one spends more than a fresh one. &lt;code&gt;/usage&lt;/code&gt; works per machine, not per session. &lt;a href="https://paneherd.com/" rel="noopener noreferrer"&gt;Paneherd&lt;/a&gt; shows the five-hour and weekly figures at the top of its sidebar and estimates each open pane's approximate share of the current window from its transcript, so the heavy session stands out. It also flags a pane that repeats the same failing call, which spends usage and gets nothing done. The shares are an estimate based on Paneherd's own weights, not Anthropic's accounting. More in &lt;a href="https://paneherd.com/guides/claude-code-usage-limits-parallel-sessions" rel="noopener noreferrer"&gt;how parallel sessions use your usage limits&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep the numbers in view
&lt;/h2&gt;

&lt;p&gt;If you only want the limits in front of you, without a sidebar or panes, the free &lt;a href="https://marketplace.visualstudio.com/items?itemName=paneherd.usage-meter" rel="noopener noreferrer"&gt;Claude Code &amp;amp; Codex Usage Meter&lt;/a&gt; puts the five-hour and weekly percentages, and Codex's, in the VS Code status bar and warns at 85% by default. It reads what Claude Code and Codex already report on your computer and sends nothing anywhere.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=paneherd.paneherd" rel="noopener noreferrer"&gt;Install Paneherd free&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://paneherd.com/guides/claude-code-usage-running-out-fast" rel="noopener noreferrer"&gt;paneherd.com/guides/claude-code-usage-running-out-fast&lt;/a&gt;. I make Paneherd, a VS Code extension for running coding agents side by side.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>vscode</category>
      <category>productivity</category>
      <category>tooling</category>
    </item>
    <item>
      <title>How to control Claude Code and Codex from your phone</title>
      <dc:creator>Eren Çolak</dc:creator>
      <pubDate>Wed, 21 Oct 2026 11:50:59 +0000</pubDate>
      <link>https://dev.to/erenxcolakx/how-to-control-claude-code-and-codex-from-your-phone-2o07</link>
      <guid>https://dev.to/erenxcolakx/how-to-control-claude-code-and-codex-from-your-phone-2o07</guid>
      <description>&lt;p&gt;A coding agent that needs you while you are away from your desk just waits: for a permission, an answer, or its next prompt. There are now several ways to reach it from your phone. They differ in which agents they cover, what the phone can do, and what they ask of your setup. In every one of them the agent keeps running on your computer, so your computer has to stay on and awake.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Claude Code Remote Control
&lt;/h2&gt;

&lt;p&gt;Anthropic's own option. &lt;a href="https://code.claude.com/docs/en/remote-control" rel="noopener noreferrer"&gt;Remote Control&lt;/a&gt; connects the Claude app on iOS or Android, or &lt;a href="https://claude.ai/code" rel="noopener noreferrer"&gt;claude.ai/code&lt;/a&gt;, to a Claude Code session on your machine. There are three ways to start it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;claude remote-control&lt;/code&gt; runs a server in the current folder that you start sessions from on the phone. Press the spacebar to show a QR code.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;claude --remote-control&lt;/code&gt; starts an ordinary interactive session that the phone can join too.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;/remote-control&lt;/code&gt; (or &lt;code&gt;/rc&lt;/code&gt;) connects a session that is already running, including in the Claude Code extension for VS Code.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;From the phone you can send messages, attach photos and files, and answer permission prompts. With &lt;strong&gt;Push when actions required&lt;/strong&gt; turned on in &lt;code&gt;/config&lt;/code&gt;, the Claude app notifies you when a session needs a decision. It needs a Pro, Max, Team or Enterprise plan and a claude.ai login: it does not work with an API key, or with &lt;code&gt;ANTHROPIC_BASE_URL&lt;/code&gt; pointing at a gateway. On Team and Enterprise an Owner has to turn it on first.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Best for:&lt;/strong&gt; Claude Code on a Claude subscription. It is the most complete option for Claude, and it is built in.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Codex in the ChatGPT app
&lt;/h2&gt;

&lt;p&gt;OpenAI added Codex control to the ChatGPT app for iPhone and Android in 2026. You pair the phone with Codex on your computer by scanning a QR code shown by the &lt;a href="https://developers.openai.com/codex/app" rel="noopener noreferrer"&gt;Codex app&lt;/a&gt;, then start tasks, follow their progress and approve commands from the phone. Newer Codex CLI versions also have an experimental &lt;code&gt;codex remote-control&lt;/code&gt; command for machines without the desktop app. Which plans, regions and host systems are covered has changed during the rollout, so check OpenAI's current documentation before you count on it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Best for:&lt;/strong&gt; Codex on a ChatGPT plan.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Happy, an open-source app for both
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/slopus/happy" rel="noopener noreferrer"&gt;Happy&lt;/a&gt; is an open-source mobile and web client for Claude Code and Codex. You start the agent through its wrapper (&lt;code&gt;happy claude&lt;/code&gt; or &lt;code&gt;happy codex&lt;/code&gt;) instead of the bare command, and switch to the phone when you leave. Its makers say the connection is end-to-end encrypted, and it notifies you when the agent needs permission. Sessions you start without the wrapper are not covered.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Best for:&lt;/strong&gt; one app for Claude Code and Codex, if you are happy to launch them through it.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. SSH and tmux
&lt;/h2&gt;

&lt;p&gt;The tool-independent way. Run your agents inside &lt;code&gt;tmux&lt;/code&gt; on your computer and attach to the same tmux session from an SSH app on the phone (Termius, Blink and others), usually over a VPN such as Tailscale so the computer is not exposed to the internet. You see the real terminal of any agent, whatever its maker. A phone keyboard is a hard place to drive a terminal UI, though, and nothing tells you when an agent starts waiting.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Best for:&lt;/strong&gt; people who already work in tmux, and agents no app supports.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Paneherd's phone remote, for every pane in your editor
&lt;/h2&gt;

&lt;p&gt;If you run several agents of different kinds side by side in VS Code or Cursor, &lt;a href="https://paneherd.com/" rel="noopener noreferrer"&gt;Paneherd&lt;/a&gt; runs each one as a pane in an editor grid, and its phone remote shows all of them on one page. Run &lt;em&gt;Pair a Phone…&lt;/em&gt;, scan the QR code and click &lt;em&gt;Allow&lt;/em&gt; in the editor. Your phone opens &lt;a href="https://paneherd.com/remote" rel="noopener noreferrer"&gt;paneherd.com/remote&lt;/a&gt; in the browser, with no app to install, and lists every editor window's panes with their status: working, waiting for permission, asking a question, or done. You can send a prompt to one pane or to several at once. With Pro you also answer Claude Code's permission prompts from the phone (Allow, Always, Deny).&lt;/p&gt;

&lt;p&gt;It works for Claude Code, Codex, Copilot, Gemini and Cursor panes alike (Gemini and Cursor panes take prompts but report no status), whatever plan or API key each one uses, because it talks to the editor rather than to Anthropic or OpenAI. Messages go through Paneherd's relay sealed with a key only your phone and your editor have, so the relay cannot read them. It only covers agents running as Paneherd panes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Best for:&lt;/strong&gt; a mixed herd of agents in your editor, seen and prompted from one page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Side by side
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Agents&lt;/th&gt;
&lt;th&gt;On the phone&lt;/th&gt;
&lt;th&gt;Needs&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Claude Code Remote Control&lt;/td&gt;
&lt;td&gt;Claude Code&lt;/td&gt;
&lt;td&gt;Claude app or browser&lt;/td&gt;
&lt;td&gt;Pro, Max, Team or Enterprise; no API keys&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Codex in ChatGPT&lt;/td&gt;
&lt;td&gt;Codex&lt;/td&gt;
&lt;td&gt;ChatGPT app&lt;/td&gt;
&lt;td&gt;A ChatGPT plan; Codex app on the host&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Happy&lt;/td&gt;
&lt;td&gt;Claude Code, Codex&lt;/td&gt;
&lt;td&gt;Happy app or browser&lt;/td&gt;
&lt;td&gt;Starting agents through its wrapper&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SSH and tmux&lt;/td&gt;
&lt;td&gt;Any&lt;/td&gt;
&lt;td&gt;An SSH app&lt;/td&gt;
&lt;td&gt;tmux, SSH access, usually a VPN&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Paneherd phone remote&lt;/td&gt;
&lt;td&gt;Claude Code, Codex, Copilot, Gemini, Cursor&lt;/td&gt;
&lt;td&gt;Browser&lt;/td&gt;
&lt;td&gt;VS Code or Cursor with Paneherd&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Which one to pick
&lt;/h2&gt;

&lt;p&gt;Mostly Claude Code on a subscription: use Remote Control, it is built in. Mostly Codex: use the ChatGPT app. Several kinds of agents at once in your editor: Paneherd's phone remote shows them together, and you can still turn on Remote Control in a Claude pane when you want the Claude app's full view of that one session. The options do not exclude each other.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://paneherd.com/guides/control-claude-code-codex-from-phone" rel="noopener noreferrer"&gt;paneherd.com/guides/control-claude-code-codex-from-phone&lt;/a&gt;. I make Paneherd, a VS Code extension for running coding agents side by side.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>vscode</category>
      <category>productivity</category>
      <category>tooling</category>
    </item>
  </channel>
</rss>
