{"componentChunkName":"component---src-templates-section-tsx","path":"/claude-code-beat-context-pruning","result":{"data":{"section":{"title":"Beat Context Pruning & Pick the Perfect Anthropic Plan","subtitle":"Running Claude Code Directly for Full-Context","slug":"claude-code-beat-context-pruning","videoDuration":491,"releaseDate":null,"tags":null,"contentful_id":"6NSxcck4L0MO0U3cN1JF10","isFree":false,"illustration":null,"source":null,"colors":null,"chapter":[{"title":"Claude Code Crash Course on Agentic Workflows","slug":"claude-code","hoursOfVideo":1,"description":{"description":"This course teaches you how to use Claude Code efficiently with slash commands, hooks, parallel workflows, and more. You’ll learn the mindset of working with AI, simplify repetitive tasks and connect tools into one unified agentic workflow, giving you everything you need to go from idea to working app."},"logos":[{"fixed":{"src":"//images.ctfassets.net/ooa29xqb8tix/1bYdUtniEAUH3jdqQd3Qc1/7cf21d20882bfe59f01d7bc74e81010d/react-logo.png?w=400&q=50"}},{"fixed":{"src":"//images.ctfassets.net/ooa29xqb8tix/39xkJS0CvrRBKgMnyLYBks/14d434f819fef062dce8c72efecbc74d/react-logo.png?w=400&q=50"}}],"instructors":[{"name":"Vanh Roeung","slug":"instructor/vanh","avatar":{"fluid":{"src":"//images.ctfassets.net/ooa29xqb8tix/2anEzU2n2tP4f0kSZCLWb2/0358b4770ab46ed28f961cfb81a09b3b/Screenshot_2025-08-22_at_11.29.49â__AM.png?w=200&h=200&q=50"}}}],"illustration":{"file":{"url":"//images.ctfassets.net/ooa29xqb8tix/304Tlb60pUSlhG8CMC5gUf/4bc2717aad54e15dd68d275520eb06d8/claude-code.svg"}},"illustrationConverted":{"fixed":{"src":"//images.ctfassets.net/ooa29xqb8tix/76YCbDJok71emzDKE43HtK/7383feb1723d2f7e52a76fa4f0186f1a/claude-code.png?w=400&q=50"}},"colors":["#171515","#322E2E"],"sections":[{"title":"Introduction on Claude Code","subtitle":"Getting Started with Claude Code CL","slug":"claude-code-introduction","videoDuration":116,"releaseDate":null,"tags":null},{"title":"Beat Context Pruning & Pick the Perfect Anthropic Plan","subtitle":"Running Claude Code Directly for Full-Context","slug":"claude-code-beat-context-pruning","videoDuration":491,"releaseDate":null,"tags":null},{"title":"Why the Terminal Matters: The Foundation for Claude Code and CLI Tools","subtitle":"Command Line Crash Course: Unlocking Claude Code’s Power","slug":"claude-code-why-the-terminal-matters","videoDuration":600,"releaseDate":null,"tags":null},{"title":"How to Safely Resolve npm Permission Errors Without sudo","subtitle":"Why You Shouldn’t Use sudo for npm Installs","slug":"claude-code-how-to-safely-resolve-npm-permission-errors-without-sudo","videoDuration":443,"releaseDate":null,"tags":["npm permission","sudo","npm installs","error fix"]},{"title":"Using Claude Code’s /init and claude.md Effectively","subtitle":"Customizing Your Project Guide","slug":"claude-code-using-claude-codes-init-and-claude-md-effectively","videoDuration":277,"releaseDate":null,"tags":["Claude code","init","claude.md","customizing Claude.md","project guide","ai coding assistant","Claude setup","claude workflow","next.js project","terminal commands"]},{"title":"Navigating Your Project with Claude Code","subtitle":"Finding and Understanding Feature Implementations","slug":"claude-code-navigating-your-project-with-claude-code","videoDuration":241,"releaseDate":null,"tags":["Claude code","codebase navigation","feature implementation","developer onboarding","code exploration","ai coding tools","code understanding","project navigation","software development","claude ai"]},{"title":"Using Claude Code in the Terminal and IDE","subtitle":"Setting Up the Claude Extension in VS Code, Cursor, or Windsurf","slug":"claude-code-using-claude-code-in-the-terminal-and-ide","videoDuration":262,"releaseDate":null,"tags":["claude code","terminal workflow","ide integration","vs code","cursor editor","windsurf","ai coding assistant","code setup","developer productivity","coding tools"]},{"title":"Slash Commands in Claude Code","subtitle":"How to Build and Use Slash Commands in Claude Code","slug":"claude-code-slash-commands","videoDuration":291,"releaseDate":null,"tags":["Claude code","slash commands","custom commands","workflow automation","create slash commands","coding shortcuts","developer productivity","markdown commands","Claude tutorial","ai coding tools"]}],"releaseDate":"2025-09-01","isFreeCourse":false,"isFeatured":true,"tags":["Claude Code","terminal","slash commands","hooks","parallel workflows","agentic workflows"],"promoUrl":null,"contentType":"Course","source":null}],"author":[{"name":"Vanh Roeung","jobTitle":"Developer","twitterHandle":"@VanhDesign","biography":{"biography":"Developer at Design+Code"},"avatar":{"fluid":{"src":"//images.ctfassets.net/ooa29xqb8tix/2anEzU2n2tP4f0kSZCLWb2/0358b4770ab46ed28f961cfb81a09b3b/Screenshot_2025-08-22_at_11.29.49â__AM.png?w=200&h=200&q=50"}},"location":"Montreal, Canada","slug":"instructor/vanh","chapter":[{"title":"Claude Code Crash Course on Agentic Workflows","slug":"claude-code","hoursOfVideo":1,"description":{"description":"This course teaches you how to use Claude Code efficiently with slash commands, hooks, parallel workflows, and more. You’ll learn the mindset of working with AI, simplify repetitive tasks and connect tools into one unified agentic workflow, giving you everything you need to go from idea to working app."},"logos":[{"fixed":{"src":"//images.ctfassets.net/ooa29xqb8tix/1bYdUtniEAUH3jdqQd3Qc1/7cf21d20882bfe59f01d7bc74e81010d/react-logo.png?w=400&q=50"}},{"fixed":{"src":"//images.ctfassets.net/ooa29xqb8tix/39xkJS0CvrRBKgMnyLYBks/14d434f819fef062dce8c72efecbc74d/react-logo.png?w=400&q=50"}}],"releaseDate":"2025-09-01"},{"title":"Master Agentic Workflows","slug":"agentic-workflows","hoursOfVideo":2,"description":{"description":"In this course, you’ll learn how to add agents to your workflows. An agent workflow is more than just a simple automation. Instead of following a fixed script, agents can make decisions, adjust to changes, and figure out the best way to complete a task. We’ll start by exploring what MCP servers are and all the new possibilities they bring. Then, we’ll dive into agentic frameworks that make it easy to build flexible, helpful agents that can take care of your everyday tasks."},"logos":[{"fixed":{"src":"//images.ctfassets.net/ooa29xqb8tix/7bIHb2z3qClO9GfyPwj6nP/4cb3a08cdc0d34645540b1295f96dc67/Logo_React.png?w=400&q=50"}},{"fixed":{"src":"//images.ctfassets.net/ooa29xqb8tix/7bIHb2z3qClO9GfyPwj6nP/4cb3a08cdc0d34645540b1295f96dc67/Logo_React.png?w=400&q=50"}}],"releaseDate":"2025-04-29"},{"title":"Build a React Native app with Claude AI","slug":"react-native-ai","hoursOfVideo":14,"description":{"description":"This comprehensive course explores the integration of cutting-edge AI tools into the React Native development workflow, revolutionizing the approach to mobile application creation. Participants will learn to leverage AI-powered platforms such as Claude and Locofy to expedite coding processes, enhance problem-solving capabilities, and optimize productivity."},"logos":[{"fixed":{"src":"//images.ctfassets.net/ooa29xqb8tix/66irryXYcTuNVwWnuuzYz5/6097d6a5f5bf4d44678566034879d2a1/logo-react-native.png?w=400&q=50"}},{"fixed":{"src":"//images.ctfassets.net/ooa29xqb8tix/66irryXYcTuNVwWnuuzYz5/6097d6a5f5bf4d44678566034879d2a1/logo-react-native.png?w=400&q=50"}}],"releaseDate":"2024-09-17"}]}]},"en":{"title":"Beat Context Pruning & Pick the Perfect Anthropic Plan","subtitle":"Running Claude Code Directly for Full-Context","excerpt":{"markdown":{"html":"<p>Claude Code is a command-line companion for Anthropic’s large-context models that lets you work with your entire code-base—no aggressive summarisation, no hidden middle-layers.</p>","excerpt":"Claude Code is a command-line companion for Anthropic’s large-context models that lets you work with your entire code-base—no aggressive…"}},"content":{"markdown":{"htmlAst":{"type":"root","children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"In this guide we’ll unpack:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Why “smart-context” pruning inside popular AI IDEs (like "},{"type":"element","tagName":"a","properties":{"href":"https://cursor.com"},"children":[{"type":"text","value":"Cursor"}]},{"type":"text","value":") can trip you up"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"How Cursor’s “Max Mode” eliminates those limits—at a price"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"When it’s smarter (and cheaper) to run Claude Code directly"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Which Anthropic plan (Pro, Max $100, Max $200) makes the most sense for your workflow"}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"The Problem: Smart-Context Pruning"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Most AI-assisted IDEs don’t ship your full project to the model on every prompt. Instead, they "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"prune the context"}]},{"type":"text","value":"—sending only the snippets they "},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"think"}]},{"type":"text","value":" matter. "},{"type":"element","tagName":"a","properties":{"href":"https://cursor.com"},"children":[{"type":"text","value":"Cursor"}]},{"type":"text","value":", for instance, might squeeze a "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"1 000-line file down to just 15 lines"}]},{"type":"text","value":" each time you ask a question."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Pruning keeps latency and API bills low, but it also strips away the very code the model needs for accurate fixes and refactors. The result? Model responses can feel "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"“inferior”"}]},{"type":"text","value":" even when you’re paying for "},{"type":"element","tagName":"a","properties":{"href":"https://www.anthropic.com/index/introducing-claude"},"children":[{"type":"text","value":"Claude 3"}]},{"type":"text","value":" and its massive "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"200 K-token window"}]},{"type":"text","value":"."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"The Quick Fix: Max Mode in Cursor"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Cursor offers a "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Max Mode"}]},{"type":"text","value":" toggle that bypasses pruning and pipes the "},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"entire"}]},{"type":"text","value":" 200 K context into Claude 3 Sonnet or Opus. But there’s a catch:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"You pay per call."}]},{"type":"text","value":" Those tokens are billed straight against Anthropic’s public API—"},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"outside"}]},{"type":"text","value":" your Cursor subscription."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"The IDE becomes a pass-through middle-man."}]},{"type":"text","value":" Once you’re self-funding API traffic, Max Mode adds convenience but little extra value."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"The Sustainable Solution: Run Claude Code Directly"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"https://www.anthropic.com/claude-code"},"children":[{"type":"text","value":"Claude Code"}]},{"type":"text","value":" is Anthropic’s own CLI tool. Drop it into the integrated terminal inside Cursor (or any editor) and you get:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Full-context requests every time"}]},{"type":"text","value":"—no pruning, no surprises."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"One consolidated usage pool."}]},{"type":"text","value":" Your chat prompts on the web app and your Claude Code sessions draw from the "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"same subscription quota"}]},{"type":"text","value":"—no double billing."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Lower cost ceiling."}]},{"type":"text","value":" Anthropic’s "},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"Max"}]},{"type":"text","value":" plans cap spending, so you’re never surprised by runaway API invoices."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Understanding Anthropic’s Plans"}]}]},{"type":"text","value":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"},{"type":"element","tagName":"table","properties":{},"children":[{"type":"element","tagName":"thead","properties":{},"children":[{"type":"element","tagName":"tr","properties":{},"children":[{"type":"element","tagName":"th","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Plan"}]}]},{"type":"element","tagName":"th","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Cost / mo"}]}]},{"type":"element","tagName":"th","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Prompt quota*"}]}]},{"type":"element","tagName":"th","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Best for"}]}]}]}]},{"type":"element","tagName":"tbody","properties":{},"children":[{"type":"element","tagName":"tr","properties":{},"children":[{"type":"element","tagName":"td","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Pro"}]}]},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"$20"}]},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"≈ 20 prompts every 5 h"}]},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"Light coding, evaluation"}]}]},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"element","tagName":"td","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Max 100"}]}]},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"$100"}]},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"5 × Pro (≈ 100 prompts / 5 h)"}]},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"Mid-size code-bases, freelancers"}]}]},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"element","tagName":"td","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Max 200"}]}]},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"$200"}]},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"20 × Pro (≈ 400 prompts / 5 h)"}]},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"Large repos, full-time devs"}]}]}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Prompts reset in "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"5-hour rolling windows"}]},{"type":"text","value":", so if you hit the cap at 2 p.m. you’re topped-up again by 7 p.m."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Key Take-aways"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Generous, fixed billing."}]},{"type":"text","value":" Max plans trade true pay-as-you-go APIs for an "},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"all-you-can-code"}]},{"type":"text","value":" bucket, ideal once your monthly API spend creeps above "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"≈ $200"}]},{"type":"text","value":"."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Opus-4 access scales."}]},{"type":"text","value":" The $200 tier gives the widest Opus usage; the $100 tier still provides access but at lower allotments."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Start small, scale smart."}]},{"type":"text","value":" Begin with Max 100; upgrade only if you consistently exhaust your 5-hour buckets."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Final Thoughts"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Context pruning is brilliant for speed but brutal for accuracy. By switching to Claude Code (or at least understanding Max Mode’s real cost) you:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Restore full-context reasoning"}]},{"type":"text","value":" to every prompt"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Gain predictable, capped monthly billing"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Keep your favourite IDE ergonomics intact"}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Start with the "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"$100 Max plan"}]},{"type":"text","value":", track your 5-hour buckets, and graduate to "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"$200"}]},{"type":"text","value":" only if you truly need an "},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"unlimited"}]},{"type":"text","value":" stream of Opus-level assistance. Your future self, and your credit card, will thank you."}]}],"data":{"quirksMode":false}}}}},"contentfulChapter":{"test":null,"metadata":{"title":"Claude Code Crash Course on Agentic Workflows","slug":"claude-code","description":"This course teaches you how to use Claude Code efficiently with slash commands, hooks, parallel workflows, and more. You’ll learn the mindset of working with AI, simplify repetitive tasks and connect tools into one unified agentic workflow.","keywords":"claude code, agentic workflow, slash command, hooks, parallel workflows, ","image":"https://www.dropbox.com/scl/fi/nlvmlv8l7ss5wr2blrwzk/claude-code.jpg?rlkey=blzzwn00ujon53e0xlwwswxa6&dl=0"}},"contentfulMetadata":{"title":"Claude Code Crash Course on Agentic Workflows","slug":"claude-code","description":"This course teaches you how to use Claude Code efficiently with slash commands, hooks, parallel workflows, and more. You’ll learn the mindset of working with AI, simplify repetitive tasks and connect tools into one unified agentic workflow.","keywords":"claude code, agentic workflow, slash command, hooks, parallel workflows, ","image":"https://www.dropbox.com/scl/fi/nlvmlv8l7ss5wr2blrwzk/claude-code.jpg?rlkey=blzzwn00ujon53e0xlwwswxa6&dl=0"}},"pageContext":{"slug":"claude-code-beat-context-pruning","contentType":"Courses","isCourse":true,"isLivestream":false,"isTutorial":false,"chapterSlug":"claude-code"}}}