# ShipWithAI > Learn to ship faster with AI. Courses, tools, and battle-tested tips for developers. ## Blog Posts ## Tips - [Use /cost to Track Token Spending](https://shipwithai.io/tips/check-cost-with-slash-cost/): Check how many tokens you've used and the estimated cost of the current session — so you know when to compact before hitting the context ceiling. - [Structure CLAUDE.md with 6 Key Sections](https://shipwithai.io/tips/claude-md-six-sections/): The six-section CLAUDE.md structure that gives Claude Code maximum project understanding — so it stops asking questions you've already answered. - [Use /clear to Start Fresh Without Restarting](https://shipwithai.io/tips/clear-context-fresh-start/): Wipe the conversation history and reset context to zero without restarting Claude Code — use this when switching tasks or when Claude starts drifting. - [Use /compact When Responses Get Slow](https://shipwithai.io/tips/compact-context-when-slow/): Free up context window space by compressing history when Claude Code slows down — recovering 40–60% of your context budget without losing key info. - [Press Escape to Interrupt Claude Mid-Response](https://shipwithai.io/tips/escape-to-interrupt/): Stop Claude immediately when it's heading in the wrong direction — before it wastes tokens on a bad path that cascades into hundreds of useless lines. - [Use /init to bootstrap CLAUDE.md](https://shipwithai.io/tips/init-bootstrap-claude-md/): Let Claude Code scan your project and auto-generate a CLAUDE.md file instead of writing one from scratch — then customize to fit your workflow. - [Use claude -p for one-shot scripting](https://shipwithai.io/tips/one-shot-with-dash-p/): Skip interactive mode and send a prompt directly from the command line with -p — pipe files in, chain tools, or embed Claude in shell scripts. - [Pipe output to Claude for analysis](https://shipwithai.io/tips/pipe-output-to-claude/): Send command output directly into Claude via stdin — pipe failed tests, build errors, or logs and get a focused diagnosis without copy-pasting anything. - [Use Plan Mode for complex tasks](https://shipwithai.io/tips/plan-mode-for-complex-tasks/): Ask Claude to plan before coding when a task spans multiple files — catch wrong assumptions early instead of rolling back half-done changes. - [Use ! to Run Shell Commands Directly](https://shipwithai.io/tips/skip-ai-run-shell/): Skip AI interpretation and execute shell commands instantly with ! — run tests, check git status, or any command where you don't need Claude's input. - [Use --model Flag to Pick Your Claude Model](https://shipwithai.io/tips/switch-model-with-flag/): Choose your Claude model at startup — default to Sonnet for everyday coding, switch to Opus only for deep architecture problems to cut costs. - [Dùng /cost để Theo Dõi Token Đã Dùng](https://shipwithai.io/vi/tips/check-cost-with-slash-cost/): Xem số token đã dùng và chi phí ước tính của phiên hiện tại — để biết khi nào nên chạy /compact trước khi đụng trần context. - [Cấu trúc CLAUDE.md với 6 phần quan trọng](https://shipwithai.io/vi/tips/claude-md-six-sections/): Cấu trúc CLAUDE.md 6 phần giúp Claude Code hiểu project tốt nhất — để nó không hỏi lại những gì bạn đã giải thích. - [Dùng /clear để Bắt Đầu Lại Không Cần Khởi Động Lại](https://shipwithai.io/vi/tips/clear-context-fresh-start/): Xóa lịch sử hội thoại và reset context về 0 mà không cần tắt Claude Code — dùng khi chuyển task hoặc khi Claude bắt đầu lạc đề. - [Dùng /compact khi phản hồi chậm lại](https://shipwithai.io/vi/tips/compact-context-when-slow/): Nén lịch sử hội thoại khi Claude Code chậm lại để giải phóng context — có thể khôi phục 40–60% ngân sách context mà không mất thông tin quan trọng. - [Nhấn Escape để Ngắt Claude Giữa Chừng](https://shipwithai.io/vi/tips/escape-to-interrupt/): Dừng Claude ngay khi đi sai hướng — trước khi một quyết định sai từ đầu kéo theo hàng trăm dòng output vô ích và tốn thêm token. - [Dùng /init để tạo CLAUDE.md tự động](https://shipwithai.io/vi/tips/init-bootstrap-claude-md/): Để Claude Code tự quét project và sinh CLAUDE.md thay vì viết tay từ đầu — sau đó chỉnh lại cho phù hợp với workflow của bạn. - [Dùng claude -p để scripting một lần](https://shipwithai.io/vi/tips/one-shot-with-dash-p/): Bỏ qua interactive mode, gửi prompt thẳng từ command line với flag -p — tiện để pipe file, kết hợp CLI tool, hoặc nhúng Claude vào shell script. - [Pipe output vào Claude để phân tích](https://shipwithai.io/vi/tips/pipe-output-to-claude/): Đẩy output của lệnh vào Claude qua stdin — pipe test thất bại, lỗi build hay log để nhận phân tích tập trung mà không cần copy-paste gì. - [Dùng Plan Mode cho các task phức tạp](https://shipwithai.io/vi/tips/plan-mode-for-complex-tasks/): Yêu cầu Claude lập kế hoạch trước khi code khi task đụng nhiều file — phát hiện giả định sai từ sớm thay vì phải rollback giữa chừng. - [Dùng ! để chạy lệnh shell trực tiếp](https://shipwithai.io/vi/tips/skip-ai-run-shell/): Bỏ qua AI và chạy lệnh shell ngay với tiền tố ! — chạy test, kiểm tra git status, hay bất kỳ lệnh nào không cần Claude xử lý. - [Dùng Flag --model để Chọn Model Claude](https://shipwithai.io/vi/tips/switch-model-with-flag/): Chỉ định model khi khởi động — dùng Sonnet mặc định cho việc hàng ngày, chỉ chuyển sang Opus khi cần tư duy sâu để tiết kiệm chi phí. ## Toolkit - [Brave Search MCP](https://shipwithai.io/toolkit/brave-search-mcp/): Real-time web search inside Claude Code sessions - [Custom Slash Commands](https://shipwithai.io/toolkit/custom-slash-commands/): Create reusable prompt templates as /commands in your project - [Fetch MCP](https://shipwithai.io/toolkit/fetch-mcp/): Pull any URL content into your Claude Code session - [Filesystem MCP](https://shipwithai.io/toolkit/filesystem-mcp/): Access files outside your project directory - [GitHub MCP Server](https://shipwithai.io/toolkit/github-mcp/): Manage PRs, issues, and code search directly from Claude Code - [Claude Code Memory (User Memory)](https://shipwithai.io/toolkit/memory-mcp/): Persistent memory across Claude Code sessions - [Oh My Claude Code (OMC)](https://shipwithai.io/toolkit/oh-my-claudecode/): Multi-agent orchestration for Claude Code — run parallel AI agents, auto-delegate tasks, and 3-5x your throughput - [Playwright MCP](https://shipwithai.io/toolkit/playwright-mcp/): Browser automation and screenshots from Claude Code - [Sequential Thinking MCP](https://shipwithai.io/toolkit/sequential-thinking-mcp/): Structured step-by-step reasoning for complex problems - [Oh My Claude Code (OMC) · Bộ Công Cụ · ShipWithAI](https://shipwithai.io/vi/toolkit/oh-my-claudecode/): Multi-agent orchestration cho Claude Code — chạy nhiều AI agents song song, tự delegate tasks, tăng throughput 3-5x