<?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: Jitendra Kumar</title>
    <description>The latest articles on DEV Community by Jitendra Kumar (@jitendra_kumar_8f047ffe2a).</description>
    <link>https://dev.to/jitendra_kumar_8f047ffe2a</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3720288%2F9bc07661-22c5-45b7-9996-4d0210c058ec.png</url>
      <title>DEV Community: Jitendra Kumar</title>
      <link>https://dev.to/jitendra_kumar_8f047ffe2a</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jitendra_kumar_8f047ffe2a"/>
    <language>en</language>
    <item>
      <title>Stop Using Opus for Everything: The Claude Code /model Framework</title>
      <dc:creator>Jitendra Kumar</dc:creator>
      <pubDate>Fri, 08 May 2026 17:11:02 +0000</pubDate>
      <link>https://dev.to/jitendra_kumar_8f047ffe2a/stop-using-opus-for-everything-the-claude-code-model-framework-5dfn</link>
      <guid>https://dev.to/jitendra_kumar_8f047ffe2a/stop-using-opus-for-everything-the-claude-code-model-framework-5dfn</guid>
      <description>&lt;h2&gt;
  
  
  &lt;a href="https://youtu.be/S-2gZNJ4nGo" rel="noopener noreferrer"&gt;https://youtu.be/S-2gZNJ4nGo&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;description: "A simple decision tree for switching between Haiku, Sonnet, and Opus in Claude Code. Includes the 3rd hidden model most developers don't know about. Day 4 of 10."&lt;br&gt;
tags: claudecode, ai, productivity, vscode&lt;br&gt;
cover_image: &lt;/p&gt;
&lt;h2&gt;
  
  
  series: 10 Days of Claude Code
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt; — Claude Code has THREE models, not two. Default to Sonnet. Use Haiku for mechanical tasks (renaming, comments, formatting). Switch to Opus only when Sonnet gets stuck. This framework alone tripled my Pro plan's lifespan.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Welcome to &lt;strong&gt;Day 4&lt;/strong&gt; of my "10 Days of Claude Code" series! 🚀&lt;/p&gt;

&lt;p&gt;Catch up on previous days:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📌 &lt;strong&gt;Day 1&lt;/strong&gt; — &lt;code&gt;/init&lt;/code&gt; to onboard Claude to your codebase&lt;/li&gt;
&lt;li&gt;📌 &lt;strong&gt;Day 2&lt;/strong&gt; — &lt;code&gt;/review&lt;/code&gt; and &lt;code&gt;/ask&lt;/code&gt; for instant code audits&lt;/li&gt;
&lt;li&gt;📌 &lt;strong&gt;Day 3&lt;/strong&gt; — &lt;code&gt;/clear&lt;/code&gt; vs &lt;code&gt;/compact&lt;/code&gt; for context management&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Today: the command that &lt;strong&gt;most developers misuse&lt;/strong&gt; — &lt;code&gt;/model&lt;/code&gt;.&lt;/p&gt;


&lt;h2&gt;
  
  
  The Mistake Almost Every Pro User Makes
&lt;/h2&gt;

&lt;p&gt;You opened Claude Code. You're on the Pro plan. You want the best results, so you set the model to &lt;strong&gt;Opus&lt;/strong&gt; and forget about it.&lt;/p&gt;

&lt;p&gt;Two hours later: usage limit hit.&lt;/p&gt;

&lt;p&gt;Sound familiar? You're not alone. &lt;strong&gt;Defaulting to Opus is the #1 reason Pro plans run out fast.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The fix: actually use the &lt;code&gt;/model&lt;/code&gt; command.&lt;/p&gt;


&lt;h2&gt;
  
  
  The Three Models — And Their Real Jobs
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;/model
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;This shows you the model picker. There are three options:&lt;/p&gt;
&lt;h3&gt;
  
  
  🟡 Haiku — The Speed Layer
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;/model haiku
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The model nobody talks about. Lightning fast. Near-zero token cost.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use it for:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;✅ Renaming variables&lt;/li&gt;
&lt;li&gt;✅ Writing JSDoc / docstrings
&lt;/li&gt;
&lt;li&gt;✅ Adding console.log statements&lt;/li&gt;
&lt;li&gt;✅ Quick formatting fixes&lt;/li&gt;
&lt;li&gt;✅ Simple search-and-replace&lt;/li&gt;
&lt;li&gt;✅ Import additions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If your task is &lt;strong&gt;mechanical&lt;/strong&gt; (the answer doesn't require reasoning), Haiku is the right tool.&lt;/p&gt;


&lt;h3&gt;
  
  
  🟠 Sonnet — The Workhorse
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;/model sonnet
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;This should be your &lt;strong&gt;default&lt;/strong&gt;. Period.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use it for:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;✅ Bug fixes&lt;/li&gt;
&lt;li&gt;✅ Refactoring
&lt;/li&gt;
&lt;li&gt;✅ Writing new functions from clear specs&lt;/li&gt;
&lt;li&gt;✅ Multi-step file edits&lt;/li&gt;
&lt;li&gt;✅ Code reviews&lt;/li&gt;
&lt;li&gt;✅ Test writing&lt;/li&gt;
&lt;li&gt;✅ Daily coding tasks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Sonnet handles &lt;strong&gt;80% of what you actually do&lt;/strong&gt; at a fraction of Opus's token cost.&lt;/p&gt;


&lt;h3&gt;
  
  
  🟣 Opus — The Heavy Hitter
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;/model opus
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The most capable model — and the most expensive in terms of usage. Reserve it for when it earns its place.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use it for:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;✅ Architectural decisions&lt;/li&gt;
&lt;li&gt;✅ Multi-file refactors with cascading impact&lt;/li&gt;
&lt;li&gt;✅ Performance optimization&lt;/li&gt;
&lt;li&gt;✅ Complex debugging where Sonnet got stuck&lt;/li&gt;
&lt;li&gt;✅ Security analysis&lt;/li&gt;
&lt;li&gt;✅ System design&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If a task &lt;strong&gt;rewards getting it right the first time&lt;/strong&gt;, that's Opus territory.&lt;/p&gt;


&lt;h2&gt;
  
  
  The Decision Tree I Actually Use
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. Start session → Sonnet (always)

2. Mechanical task?
   YES → Switch to Haiku
   NO  → Stay on Sonnet

3. Sonnet struggling 2x in a row?
   YES → Switch to Opus
   NO  → Stay on Sonnet

4. Solved the hard problem?
   YES → Switch back to Sonnet immediately
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;That's it. Four rules. No spreadsheet.&lt;/p&gt;


&lt;h2&gt;
  
  
  The Comparison Table
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Task&lt;/th&gt;
&lt;th&gt;Best Model&lt;/th&gt;
&lt;th&gt;Why&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Rename a variable&lt;/td&gt;
&lt;td&gt;Haiku&lt;/td&gt;
&lt;td&gt;Mechanical&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Write a JSDoc block&lt;/td&gt;
&lt;td&gt;Haiku&lt;/td&gt;
&lt;td&gt;Pattern-based&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fix a TypeError&lt;/td&gt;
&lt;td&gt;Sonnet&lt;/td&gt;
&lt;td&gt;Needs context&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Add a new feature&lt;/td&gt;
&lt;td&gt;Sonnet&lt;/td&gt;
&lt;td&gt;Multi-step logic&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Refactor a class&lt;/td&gt;
&lt;td&gt;Sonnet&lt;/td&gt;
&lt;td&gt;Daily refactor work&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Design a microservice&lt;/td&gt;
&lt;td&gt;Opus&lt;/td&gt;
&lt;td&gt;Architectural depth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Debug a race condition&lt;/td&gt;
&lt;td&gt;Opus&lt;/td&gt;
&lt;td&gt;Complex reasoning&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Optimize an algorithm&lt;/td&gt;
&lt;td&gt;Opus&lt;/td&gt;
&lt;td&gt;Tradeoff analysis&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;


&lt;h2&gt;
  
  
  Real-World Numbers
&lt;/h2&gt;

&lt;p&gt;Before this framework:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;⏱️ Pro plan lasted &lt;strong&gt;~2-3 hours&lt;/strong&gt; of heavy use&lt;/li&gt;
&lt;li&gt;💸 Most days I hit usage limit before lunch&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After this framework:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;⏱️ Pro plan lasts &lt;strong&gt;the full workday&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;💸 On normal days, I have headroom to spare&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Same code shipped. Same productivity. &lt;strong&gt;3x more runway.&lt;/strong&gt;&lt;/p&gt;


&lt;h2&gt;
  
  
  Try It in 30 Seconds
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# In Claude Code&lt;/span&gt;
/model

&lt;span class="c"&gt;# Pick one based on your current task&lt;/span&gt;
/model haiku   &lt;span class="c"&gt;# for mechanical work&lt;/span&gt;
/model sonnet  &lt;span class="c"&gt;# for daily coding&lt;/span&gt;
/model opus    &lt;span class="c"&gt;# for hard problems&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;You can switch mid-session. You can switch as often as you want. The model just changes for the next prompt.&lt;/p&gt;


&lt;h2&gt;
  
  
  🎬 Watch the 60-Second Version
&lt;/h2&gt;

&lt;p&gt;If you prefer video, I made a quick reel covering this:&lt;/p&gt;

&lt;p&gt;📺 &lt;strong&gt;YouTube Short:&lt;/strong&gt;   &lt;iframe src="https://www.youtube.com/embed/S-2gZNJ4nGo"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;




&lt;h2&gt;
  
  
  What's Next — Day 5
&lt;/h2&gt;

&lt;p&gt;Tomorrow I'm covering the command that lets you &lt;strong&gt;track your Pro plan usage in real-time&lt;/strong&gt;. Most developers don't know this dashboard even exists. It's the natural follow-up to Day 4 — once you switch models, you need to verify it's actually saving you tokens.&lt;/p&gt;

&lt;p&gt;🔔 &lt;strong&gt;Follow me on Dev.to&lt;/strong&gt; so you don't miss it!&lt;/p&gt;




&lt;h2&gt;
  
  
  💬 Your Turn
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Did you know &lt;code&gt;/model haiku&lt;/code&gt; existed?&lt;/li&gt;
&lt;li&gt;Which model do you default to today?&lt;/li&gt;
&lt;li&gt;Will you try the framework above?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Drop a comment — I read every single one. 👇&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;About the series:&lt;/strong&gt; I'm sharing one Claude Code productivity tip every day for 10 days. Follow along on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📺 &lt;a href="https://youtube.com/@tech_jitendra_nadol" rel="noopener noreferrer"&gt;YouTube&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;📷 &lt;a href="https://instagram.com/tech_jitendra_nadol" rel="noopener noreferrer"&gt;Instagram&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;📝 &lt;a href="https://medium.com/@jitendravaishnav709" rel="noopener noreferrer"&gt;Medium&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;💼 &lt;a href="https://www.linkedin.com/in/jitendra-kumar-03b15516b" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Let's master Claude Code together! 🚀&lt;/p&gt;

&lt;h1&gt;
  
  
  ClaudeCode #AI #Productivity #VSCode #DevTools
&lt;/h1&gt;

</description>
    </item>
    <item>
      <title>Claude Code Slow? Master /clear and /compact in 2 Minutes (Day 3 of 10)</title>
      <dc:creator>Jitendra Kumar</dc:creator>
      <pubDate>Wed, 06 May 2026 17:12:41 +0000</pubDate>
      <link>https://dev.to/jitendra_kumar_8f047ffe2a/claude-code-slow-use-these-2-commands-fl9</link>
      <guid>https://dev.to/jitendra_kumar_8f047ffe2a/claude-code-slow-use-these-2-commands-fl9</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt; — Long Claude Code conversations slow down because the context window fills up. Use &lt;code&gt;/clear&lt;/code&gt; when starting a brand new task, and &lt;code&gt;/compact&lt;/code&gt; when you want to keep working on the same task but free up memory. Master this rule and your Pro plan will go 2x further.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Welcome back to &lt;strong&gt;Day 3&lt;/strong&gt; of my "10 Days of Claude Code" series! 🚀&lt;/p&gt;

&lt;p&gt;If you missed the earlier days:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📌 &lt;strong&gt;Day 1&lt;/strong&gt; — How &lt;code&gt;/init&lt;/code&gt; instantly understands your entire project&lt;/li&gt;
&lt;li&gt;📌 &lt;strong&gt;Day 2&lt;/strong&gt; — &lt;code&gt;/review&lt;/code&gt; and &lt;code&gt;/ask&lt;/code&gt; for instant code audits&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Today we're solving a problem &lt;strong&gt;every Claude Code user faces&lt;/strong&gt; but most don't know how to fix.&lt;/p&gt;




&lt;h2&gt;
  
  
  😩 The Problem Nobody Talks About
&lt;/h2&gt;

&lt;p&gt;You start a Claude Code session in VS Code. Everything is fast and crisp. You build a feature, fix a bug, refactor some code. &lt;/p&gt;

&lt;p&gt;Then 30 minutes in...&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;⏳ Replies become &lt;strong&gt;slower&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;💸 Tokens deplete &lt;strong&gt;faster&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;🤔 Claude starts giving &lt;strong&gt;slightly off answers&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;😤 You're getting frustrated&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What's happening?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every message you send adds to Claude's &lt;strong&gt;context window&lt;/strong&gt;. Your old chat from 30 minutes ago — the one about a totally different file — is still being processed with every new request. It's like asking your friend a quick question while they're holding 200 sticky notes from earlier in the day.&lt;/p&gt;

&lt;p&gt;Two slash commands solve this completely.&lt;/p&gt;




&lt;h2&gt;
  
  
  ⚡ Command #1: &lt;code&gt;/clear&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What it does:&lt;/strong&gt; Wipes the entire conversation history and starts fresh. Same session, same project, but Claude forgets everything you've discussed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When to use it:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;✅ Starting a &lt;strong&gt;completely new task&lt;/strong&gt; (e.g., done with auth, now working on payments)&lt;/li&gt;
&lt;li&gt;✅ Switching to an &lt;strong&gt;unrelated file or feature&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;✅ Claude is giving &lt;strong&gt;weird/confused&lt;/strong&gt; responses&lt;/li&gt;
&lt;li&gt;✅ You want &lt;strong&gt;maximum speed&lt;/strong&gt; and a clean slate&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;How to use it:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;/clear
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it. One command. Fresh terminal, fresh brain, full speed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real example from my workflow:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[Worked on user authentication for 20 min]
[Bug fixed, feature shipped ✅]

Me: /clear

[New conversation begins]
Me: Now help me build the Stripe payment integration.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Claude doesn't carry over the auth context — which is exactly what I want. Less noise, faster response.&lt;/p&gt;




&lt;h2&gt;
  
  
  🗜️ Command #2: &lt;code&gt;/compact&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What it does:&lt;/strong&gt; Summarizes your current conversation, keeps the important parts, and discards the fluff. You don't lose context — you compress it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When to use it:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;✅ Continuing the &lt;strong&gt;same task&lt;/strong&gt; but the chat is getting long&lt;/li&gt;
&lt;li&gt;✅ You're deep in a &lt;strong&gt;complex feature&lt;/strong&gt; and need Claude to remember decisions&lt;/li&gt;
&lt;li&gt;✅ You see token usage climbing but &lt;strong&gt;can't afford to lose context&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;✅ Mid-debugging session where history matters&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;How to use it:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;/compact
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Claude generates a summary of what you've discussed and &lt;strong&gt;replaces the long history with that summary&lt;/strong&gt;. Same context, way less memory.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[60 messages deep into building a dashboard]
[Multiple component decisions, design choices made]

Me: /compact

Claude: [summarizes the entire session into ~5 key points]

Me: Now add a filter dropdown to the chart we built earlier.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Claude still remembers the chart, the design system, the framework choice — but it's not re-reading 60 messages every time.&lt;/p&gt;




&lt;h2&gt;
  
  
  🎯 The Golden Rule (memorize this)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Situation&lt;/th&gt;
&lt;th&gt;Command&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Starting a &lt;strong&gt;new task&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/clear&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Continuing the &lt;strong&gt;same task&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/compact&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude is &lt;strong&gt;confused&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/clear&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Conversation is &lt;strong&gt;long but relevant&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/compact&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;That's it. Two commands, infinite productivity.&lt;/p&gt;




&lt;h2&gt;
  
  
  💰 Why This Matters for Pro Users
&lt;/h2&gt;

&lt;p&gt;If you're on the &lt;strong&gt;Pro plan&lt;/strong&gt; (like me), this is &lt;strong&gt;money saved&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Every token in your context window counts toward your usage&lt;/li&gt;
&lt;li&gt;Bloated conversations = wasted Pro quota&lt;/li&gt;
&lt;li&gt;A 5-second &lt;code&gt;/clear&lt;/code&gt; or &lt;code&gt;/compact&lt;/code&gt; can save you &lt;strong&gt;hundreds of tokens&lt;/strong&gt; per task&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I personally run &lt;code&gt;/clear&lt;/code&gt; between every major task switch. My Pro plan now lasts &lt;strong&gt;way longer&lt;/strong&gt; than it did before I knew this.&lt;/p&gt;




&lt;h2&gt;
  
  
  🧪 Try It Right Now
&lt;/h2&gt;

&lt;p&gt;Open Claude Code in VS Code, run a few prompts, then try:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Type &lt;code&gt;/compact&lt;/code&gt; — watch the conversation collapse into a clean summary&lt;/li&gt;
&lt;li&gt;Type &lt;code&gt;/clear&lt;/code&gt; — see a fresh terminal, ready for a new task&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You'll feel the difference &lt;strong&gt;immediately&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  🎬 Watch the 60-Second Version
&lt;/h2&gt;

&lt;p&gt;If you prefer video, I made a quick reel covering this:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📺 &lt;strong&gt;YouTube Shorts:&lt;/strong&gt; &lt;a href="https://www.youtube.com/shorts/lM1YE2FuD8o" rel="noopener noreferrer"&gt;https://www.youtube.com/shorts/lM1YE2FuD8o&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;📱 **Instagram Reel: **&lt;a href="https://www.instagram.com/tech_jitendra_nadol/reel/DX9oSwNMhIh/" rel="noopener noreferrer"&gt;https://www.instagram.com/tech_jitendra_nadol/reel/DX9oSwNMhIh/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  📅 What's Next?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Tomorrow — Day 4&lt;/strong&gt; I'm covering the &lt;code&gt;/model&lt;/code&gt; command — when to use &lt;strong&gt;Sonnet vs Opus&lt;/strong&gt; and how to save tokens by picking the right model for the right job. This one's a &lt;strong&gt;game-changer&lt;/strong&gt; for Pro users.&lt;/p&gt;

&lt;p&gt;🔔 Follow me on Dev.to so you don't miss it!&lt;/p&gt;




&lt;h2&gt;
  
  
  💬 Your Turn
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Did you know about &lt;code&gt;/clear&lt;/code&gt; and &lt;code&gt;/compact&lt;/code&gt;?&lt;/li&gt;
&lt;li&gt;Which one will you use more often?&lt;/li&gt;
&lt;li&gt;What's your biggest Claude Code pain point?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Drop a comment — I read every single one. 👇&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;About the series:&lt;/strong&gt; I'm sharing one Claude Code productivity tip every day for 10 days. Follow along on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🐦 Twitter/X: &lt;a href="https://x.com/JitendraV9521" rel="noopener noreferrer"&gt;https://x.com/JitendraV9521&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;📷 Instagram: &lt;a href="https://www.instagram.com/tech_jitendra_nadol/" rel="noopener noreferrer"&gt;https://www.instagram.com/tech_jitendra_nadol/&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;📺 YouTube: &lt;a href="https://www.youtube.com/@techjitendranadol9876" rel="noopener noreferrer"&gt;https://www.youtube.com/@techjitendranadol9876&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Let's master Claude Code together! 🚀&lt;/p&gt;

&lt;h1&gt;
  
  
  ClaudeCode #AI #Productivity #VSCode #DevTools
&lt;/h1&gt;

</description>
      <category>claudecode</category>
      <category>ai</category>
      <category>productivity</category>
      <category>vscode</category>
    </item>
    <item>
      <title>Yajra DataTables Part 2 is LIVE!</title>
      <dc:creator>Jitendra Kumar</dc:creator>
      <pubDate>Thu, 22 Jan 2026 17:38:10 +0000</pubDate>
      <link>https://dev.to/jitendra_kumar_8f047ffe2a/yajra-datatables-part-2-is-live-21g1</link>
      <guid>https://dev.to/jitendra_kumar_8f047ffe2a/yajra-datatables-part-2-is-live-21g1</guid>
      <description>&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=jbujL-dJaK0" rel="noopener noreferrer"&gt;Video&lt;/a&gt;&lt;br&gt;
Today I explained the NEW DataTable Class approach&lt;br&gt;
(query &amp;amp; dataTable methods) in Laravel 12.&lt;/p&gt;

&lt;p&gt;Next video: Action Buttons (Edit/Delete) 🔥&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>datatable</category>
      <category>backend</category>
    </item>
    <item>
      <title>Laravel 12 Yajra DataTables – New Way Explained</title>
      <dc:creator>Jitendra Kumar</dc:creator>
      <pubDate>Mon, 19 Jan 2026 19:28:43 +0000</pubDate>
      <link>https://dev.to/jitendra_kumar_8f047ffe2a/laravel-12-yajra-datatables-new-way-explained-2889</link>
      <guid>https://dev.to/jitendra_kumar_8f047ffe2a/laravel-12-yajra-datatables-new-way-explained-2889</guid>
      <description>&lt;p&gt;&lt;a href="https://youtu.be/yhhfc7Xy4-Q" rel="noopener noreferrer"&gt;Video&lt;/a&gt;&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>datatables</category>
      <category>yajra</category>
      <category>developer</category>
    </item>
    <item>
      <title>Laravel 12 Yajra DataTables – New Way Explained</title>
      <dc:creator>Jitendra Kumar</dc:creator>
      <pubDate>Mon, 19 Jan 2026 19:28:43 +0000</pubDate>
      <link>https://dev.to/jitendra_kumar_8f047ffe2a/laravel-12-yajra-datatables-new-way-explained-4ik5</link>
      <guid>https://dev.to/jitendra_kumar_8f047ffe2a/laravel-12-yajra-datatables-new-way-explained-4ik5</guid>
      <description>&lt;p&gt;&lt;a href="https://youtu.be/yhhfc7Xy4-Q" rel="noopener noreferrer"&gt;Video&lt;/a&gt;&lt;br&gt;
&lt;a href="https://youtu.be/yhhfc7Xy4-Q" rel="noopener noreferrer"&gt;https://youtu.be/yhhfc7Xy4-Q&lt;/a&gt;&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>datatables</category>
      <category>yajra</category>
      <category>developer</category>
    </item>
    <item>
      <title>Laravel 12 Yajra DataTables – New Way Explained</title>
      <dc:creator>Jitendra Kumar</dc:creator>
      <pubDate>Mon, 19 Jan 2026 19:28:43 +0000</pubDate>
      <link>https://dev.to/jitendra_kumar_8f047ffe2a/laravel-12-yajra-datatables-new-way-explained-3fm7</link>
      <guid>https://dev.to/jitendra_kumar_8f047ffe2a/laravel-12-yajra-datatables-new-way-explained-3fm7</guid>
      <description>&lt;p&gt;&lt;a href="https://youtu.be/yhhfc7Xy4-Q" rel="noopener noreferrer"&gt;Video&lt;/a&gt;&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>datatables</category>
      <category>yajra</category>
      <category>developer</category>
    </item>
  </channel>
</rss>
