Advanced Techniques
Deep dives into hooks, custom commands, memory management, enterprise proxies, LLM gateways, GitHub Actions, and cost monitoring. For developers who want programmatic control over every aspect of Claude Code.
Claude Code is Anthropic’s CLI-first AI coding agent. Unlike IDE-embedded tools, it runs in your terminal, works with any editor, scripts into CI/CD pipelines, and gives you full control over every interaction through hooks, subagents, and headless mode. If you spend your day in the terminal, Claude Code meets you where you already work.
You probably already know it can edit files and run commands. Power users pull 3x more out of it through config, context engineering, and workflow tricks the official docs never surface — patterns that came out of Anthropic’s own engineering, data science, and non-technical teams, out of developers who migrated from other AI coding tools, and out of production work on large codebases. This guide collects them, from first-run setup to enterprise-scale monorepo strategy.
Claude Code is not a chatbot bolted onto an editor. It is an agentic system that reads your codebase, runs shell commands, edits files, and chains complex multi-step operations — all from a single terminal session. This architecture unlocks patterns that IDE-only tools cannot replicate:
Option+T/Alt+T and tune it with /effort; fixed token caps are a 4.6 compatibility pathAdvanced Techniques
Deep dives into hooks, custom commands, memory management, enterprise proxies, LLM gateways, GitHub Actions, and cost monitoring. For developers who want programmatic control over every aspect of Claude Code.
Productivity Patterns
Battle-tested workflows for terminal productivity, prompt engineering, batch operations, script automation, IDE coordination, debugging, code review, and deployment. Ship faster with less friction.
Everything Else
Five themes run through all 100 tips, and they matter more than any individual setting:
/clear frequently - Start fresh for each new task to save tokens (Tip #29)Option+T/Alt+T, tune adaptive models with /effort, and use ultrathink as a one-turn deeper-reasoning hint; positive MAX_THINKING_TOKENS values apply only to 4.6 fixed-budget compatibility mode (Tip #76)gh for PR creation and review from the terminal (Tip #4)/cost - Track usage and optimize for efficiency (Tip #66)--dangerously-skip-permissions only in sandboxed or CI environments - Skip prompts where a wrong command can’t hurt you, never on your main checkout (Tip #3)acceptEdits only skips edit/common-filesystem prompts; Auto uses a safety classifier for broader unattended work and still needs review (Tip #51)| Need | Go to |
|---|---|
| Set up hooks and automation | Hooks System Mastery |
| Write better prompts | Prompt Engineering |
| Control costs | Monitoring and Costs |
| Use Claude Code in CI/CD | GitHub Actions |
| Manage large codebases | Large Codebase Tips |
| Configure CLAUDE.md | CLAUDE.md Mastery |
If you are new, work through the categories in order, starting with Setup and Configuration — each config tweak and workflow pattern stacks on the last, so the payoff compounds. If you are already productive, jump straight to the problem in front of you: Advanced Techniques for hooks and parallel workflows, Workflow Optimization for the daily loop. If you are rolling Claude Code out to a team, share the sections that match each person’s role rather than the whole list at once.