9 Claude Code Traps Nobody Warns You About

DIY Smart Code
2,079 views •

Claude Code traps nobody warns you about: a ! command billed like a prompt, a hook that blocks nothing after one typo, sessions deleted after 30 days, and up to $200 a month of Claude Max API credit you have to claim yourself. Plus your Claude usage limits on screen, what spends your limit while you're away, CLAUDE.md vs AGENTS.md, skill-creator and the Learning output style. Part 2 of the Claude Basics guide, terminal screens recorded on Claude Code 2.1.296, claims checked against the official docs. Watch Part 1 first: https://youtu.be/sjzHT_QUATM ---- ❤️ SUPPORT THE CHANNEL Patreon: https://www.patreon.com/cw/DIYSmartCode Higgsfield AI — Create AI Videos & Visuals Get 10% OFF here: https://higgsfield.ai?fpr=thomas-dccf7e 🚀 DYNAMOUS AI COMMUNITY Want to learn agentic coding with live daily events and workshops? Check out Dynamous AI: https://dynamous.ai/?code=646a60 Get 10% off here 👉 https://shorturl.smartcode.diy/dynamous_ai_10_percent_discount ⚡ HOSTINGER — RELIABLE HOSTING FOR YOUR PROJECTS (10% OFF) Whether you're shipping a portfolio, a side project, n8n flows, or AI agents — I use Hostinger for fast, affordable VPS + web hosting. Get 10% off here 👉 https://hostinger.com/DIYSMARTCODE n8n: https://n8n.partnerlinks.io/diysmartcode (Affiliate links — costs you nothing, supports the channel.) ---- Chapters 0:00 9 Claude Code Traps Nobody Warns You About 0:33 01 Claude Code Status Line: 5-Hour and Weekly Usage Limits on Screen 1:35 02 Claude Code Usage Limit Hit: Auto-Continue and Notifications 2:28 03 What Spends Your Claude Limit While You're Away (Idle Usage, ! Replies) 3:14 04 Explore Subagent on Opus and Claude Code Effort Levels (Ultracode) 4:25 05 Claude Max API Credit, claude -p Billing and Free Claude Code via Ollama 6:31 06 CLAUDE.md Files Stack, They Don't Override (AGENTS.md Off-Switch) 7:55 07 Claude Code Hooks That Actually Block: Exit 2 and onFailure 8:51 08 Claude Skills: skill-creator, Learning Output Style, Prompting Guide 10:03 09 Claude Privacy Settings, 30-Day History, /insights and IS_DEMO 11:28 The Claude Code Setup After Day One (and --safe-mode) What you will see in this 12-minute Claude Code guide: - The status line with rate_limits: five-hour and seven-day usage percentages plus context, and /statusline - What Anthropic publishes about Pro vs Max limits, and what it doesn't - Auto-continue at the usage-limit reset, /rate-limit-options, terminal bell and Notification hooks - Idle usage: loops, goal check-ins, agent teammates, and the ! command that Claude now replies to - The Explore subagent running on your main model, the model haiku override, and the five effort levels - The Claude Max API credit ($100 or $200 a month), claude -p and the Agent SDK on your plan, routers and Ollama - CLAUDE.md concatenation, /doctor prompt-audit, AGENTS.md and the CLAUDE.local.md off-switch - PreToolUse hooks: exit 1 vs exit 2, a missing script, timeouts and onFailure block - skill-creator evals, the Learning output style and TODO(human), ultrathink - Help improve our AI models, incognito, cleanupPeriodDays, /insights, IS_DEMO and CLAUDE_CODE_HIDE_CWD Part 1 (day one): https://youtu.be/sjzHT_QUATM Plugins, mods, worktrees, cloud sessions and /goal are coming in Part 3. - Status line and rate limits: https://code.claude.com/docs/en/statusline - Wait for a usage limit to reset: https://code.claude.com/docs/en/interactive-mode - Costs and idle usage: https://code.claude.com/docs/en/costs - Effort levels: https://code.claude.com/docs/en/model-config - Subagents and Explore: https://code.claude.com/docs/en/sub-agents - API credits for Max subscribers: https://support.claude.com/en/articles/17154008-monthly-api-credits-for-max-and-team-plans - LLM gateways: https://code.claude.com/docs/en/llm-gateway - Claude Code with Ollama (third-party docs): https://docs.ollama.com/integrations/claude-code - Memory, CLAUDE.md and AGENTS.md: https://code.claude.com/docs/en/memory - Hooks reference: https://code.claude.com/docs/en/hooks - Output styles: https://code.claude.com/docs/en/output-styles - Privacy and model training: https://privacy.claude.com/en/articles/10023580-is-my-data-used-for-model-training - Environment variables (IS_DEMO, CLAUDE_CODE_HIDE_CWD): https://code.claude.com/docs/en/env-vars Which of these did you not know? Drop the chapter number in the comments. #ClaudeCode #Claude #ClaudeAI #ClaudeCodeHooks #ClaudeCodeTutorial #ClaudeMax #ClaudeUsageLimits #AGENTSmd #CLAUDEmd #ClaudeSkills #ClaudeCodeFree #Ollama #Anthropic #AICoding #AgenticCoding #AItools

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close