Claude Code: Usage Secrets from the Real Experts
I just watched Ray Fernando (ex-Apple engineer) and Eric Boost break down how they actually use Claude Code: thinking modes, protecting the context window, sub-agents, hooks and blind validation. Here are my notes!
Also in: Tiếng Việt · 中文 · 한국어 · 日本語
I just finished watching a really fun conversation on Tool Use Episode 52 with two absolute pros: Ray Fernando (ex-Apple engineer with 12 years of experience) and Eric Boost (die-hard Anthropic fan). And honestly, I learned a ton from the way they use Claude Code!
The problem a lot of people run into
How many of us have been here: you've got this “godlike” AI that can do anything, but when you actually use it, it's hit or miss? Sometimes it works so well it burns tokens at a million miles an hour, and sometimes the results just aren't what you expected.
That's exactly the problem this video tackles: how to leverage this intelligence effectively.
Initial setup: a solid foundation
1. Smart aliases and shortcuts
Ray shares a neat trick: alias the letter c to run Claude with the --dangerously-skip-permissions flag. Sounds “dangerous”, but this YOLO mode makes the workflow way smoother.
He also uses keyboard text replacement:
U→ultrathink(to tell Claude to think hard before coding)W→what happened(to review what just went down)
2. Claude Code docs: a game changer
This is the single most important thing Eric stresses: install the Claude Code docs locally. Why?
- By default Claude has to fetch from Anthropic's docs website → slow
- The local docs auto-sync every 3 hours via a GitHub Action
- When you ask
/docs, Claude searches locally instead of going to the web - This helps Claude understand its own capabilities much more deeply
Thinking modes: not always “ultra”
4 thinking levels
| Level | Keyword | Token budget |
|---|---|---|
| 1 | think | ~4,000 tokens |
| 2 | think hard | ~8,000 tokens |
| 3 | think harder | ~16,000 tokens |
| 4 | ultrathink | ~32,000 tokens |
Key insight: Ray found that you shouldn't always reach for ultrathink. Why?
The context window: the silent enemy
Ray has a great visualization of this problem:
mermaidflowchart TD
A["Input · 2k tokens"] --> B["Agent thinking · 32k tokens"]
B --> C["Tool calling + code"]
C --> D["Output"]
D --> E["User request"]
E --> F["More agent thinking"]
F --> G["More tool calling"]
G --> H["Degraded output"]The problem: context rot. Once the context window is 50% full, output quality drops significantly (according to research from ChromaDB).
Solution: strategic context management
1. Conversation isolation
Keep each conversation focused on one specific problem
2. Sub-agents
Spawn a separate agent for each task
3. Clear & restart
Start over with a curated context
Sub-agents: manage them like a manager
Eric and Ray both use sub-agents, but with different approaches:
Eric's approach: context preservation
- Use sub-agents to preserve the main context
- Pass back only the relevant information instead of everything
- Blind validation: a different agent has to validate the work
Ray's approach: code review & research
- Sub-agents as “interns” to dig through the codebase
- Research how authentication is implemented
- Double-check to avoid duplicate patterns
Hooks vs slash commands: when to use which?
| Hooks | Slash commands | |
|---|---|---|
| Trigger | Fire automatically on events (file changes, etc.) | Initiated by the user |
| Context | Run outside Claude's context → no pollution | Have higher priority than CLAUDE.md instructions |
| Best for | Background tasks | Interactive workflows |
Project Index: Eric's secret weapon
This is a tool Eric built himself: a hook that generates a “minified version” of the entire codebase:
- UML-style abstraction of every file
- Import statements, method signatures, dependencies
- Auto-updates whenever a file changes
- Helps Claude understand the architecture without loading all the code
Trust but verify: the golden rule
The solution: a blind validation system.
- The main agent is not allowed to validate its own work
- There has to be a separate agent with the task: “You are a blind validator”
- This agent checks screenshots and the checklist and decides whether it's really done
Practical tips for beginners
Ray has great advice: don't get discouraged if this feels too advanced. He dropped out, got into Apple through sheer grit and learned software engineering on the job.
The 80/20 rule
- Chưa xong: Use the product like a real user
- Chưa xong: Identify the pain points in your workflow
- Chưa xong: Ask Claude: “How do we make sure this doesn't happen again?”
- Chưa xong: Build a system to automate/verify
Key takeaways
1. Protect your context window
Like it's your firstborn
2. Think modes strategically
Not always ultra
3. Local docs
A must-have setup
4. Sub-agents
For specific, isolated tasks
5. Blind validation
To guarantee quality
6. Hooks
For automation, slash commands for interaction
7. Trust but verify
Always
The future: unlimited possibilities
Eric nailed it:
There is no reason that tools can’t be constructed at this moment with the technology as it currently is that will reliably let you give it a task and you come back in an hour and the whole thing has been validated.
We're at a point where composability is becoming a foundational feature. Claude can spawn other versions of itself, nested sub-agents, context sharing… The possibilities really are unlimited.
Bottom line: Claude Code isn't just a coding tool, it's a platform for building intelligent workflows. What matters is understanding how to “talk to AI in the right way with the right tools” to unlock that potential.
If you're using Claude Code, give these techniques a try. I'm convinced your productivity will hit a whole new level! 🚀