claude-code-tips
45+ tips for getting the most out of Claude Code, from basics to advanced - includes a custom status line script and Claude Code running itself in a container. Also includes the dx plugin: skills for everyday dev workflows.
Install / Use
npx skills add ykdojo/claude-code-tipsInstalls into whichever agent you are using.
CLAUDE.md
Claude Code project instructions
Quality Score
Category
AutomationSupported Platforms
Tags
Our assessment of claude-code-tips
claude-code-tips scores 88/100 on our quality scale, 1476th of 2,874 Automation skills we index.
Its CLAUDE.md is 78 KB long, well organised into 70 sections with 29 code examples: long enough that it reads more like full documentation than a focused instruction file, which agents can find harder to follow.
With 10,311 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 42 days ago, so claude-code-tips is actively maintained.
- Our last check on 2026-10-17 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 88/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
WarningOur scan of the whole file found 5 high-risk patterns. Read the lines below before installing claude-code-tips, and do not run it with automatic approvals. An AI review of the same text found nothing harmful.
- highReads private keys or cloud credentialsline 993
clw() { CLAUDE_CODE_OAUTH_TOKEN="$(security find-generic-password -s claude-token-work -a "$USER" -w)" claude "$@"; } - highReads private keys or cloud credentialsline 994
clp() { CLAUDE_CODE_OAUTH_TOKEN="$(security find-generic-password -s claude-token-personal -a "$USER" -w)" claude "$@"; } - mediumDisables the agent's permission promptsline 516
Isolated environments are great for `--dangerously-skip-permissions` sessions where you don't have to give permission for each little thing.… - mediumDisables the agent's permission promptsline 531
3. Inside the container, Claude Code runs with `--dangerously-skip-permissions` - mediumDisables the agent's permission promptsline 724
…ce, you can [run Claude Code in a container with `--dangerously-skip-permissions`](#tip-19-isolated-environments-for-long-running-risky-task…
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
claude-code-tips compared with similar skills
All 4 of these similar skills score higher than claude-code-tips; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| claude-code-tips (this skill)by ykdojo | 88 | 10.3k | 42d ago | CLAUDE.md |
| claude-memby thedotmack | 100 | 113.6k | today | CLAUDE.md |
| taste-skillby Leonxlnx | 100 | 110.8k | 1d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 109.3k | today | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 91.0k | 11d ago | CLAUDE.md |
Frequently asked questions
- How do I install claude-code-tips?
- Run
npx skills add ykdojo/claude-code-tips. The install tabs above show the steps for each supported agent. - Which AI agents does claude-code-tips work with?
- It is written for Claude Code, as a CLAUDE.md file. Other agents that read the same format can often use it too.
- Is claude-code-tips safe to use?
- Our scan of the whole file found 5 high-risk patterns. Read the lines below before installing claude-code-tips, and do not run it with automatic approvals. An AI review of the same text found nothing harmful. It declares no license and scores 88/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is claude-code-tips still maintained?
- The repository was last updated 42 days ago, so claude-code-tips is actively maintained.
Skill content
View source on GitHub45+ Claude Code Tips: From Basics to Advanced
Here are my tips for getting the most out of Claude Code, including a custom status line script and Claude Code running itself in a container. Also includes the dx plugin: skills for everyday dev workflows.
📺 Quick demo - See some of these tips in action with a multi-Claude workflow and voice input:
<!-- TOC -->Table of Contents
- Tip 0: Customize your status line
- Tip 1: Learn a few essential slash commands
- Tip 2: Talk to Claude Code with your voice
- Tip 3: Break down large problems into smaller ones
- Tip 4: Using Git and GitHub CLI like a pro
- Tip 5: AI context is like milk; it's best served fresh and condensed!
- Tip 6: Getting output out of your terminal
- Tip 7: Set up terminal aliases for quick access
- Tip 8: Proactively compact your context
- Tip 9: Complete the write-test cycle for autonomous tasks
- Tip 10: Cmd+A and Ctrl+A are your friends
- Tip 11: Invest in your own workflow
- Tip 12: Search through your conversation history
- Tip 13: Multitasking with terminal tabs
- Tip 14: Git worktrees for parallel branch work
- Tip 15: Manual exponential backoff for long-running jobs
- Tip 16: Claude Code as a writing assistant
- Tip 17: Markdown is the s**t
- Tip 18: Preserve links when pasting
- Tip 19: Isolated environments for long-running risky tasks
- Tip 20: The best way to get better at using Claude Code is by using it
- Tip 21: Fork and half-clone conversations
- Tip 22: Use realpath to get absolute paths
- Tip 23: Understanding CLAUDE.md vs Skills vs Slash Commands vs Plugins
- Tip 24: Interactive PR reviews
- Tip 25: Claude Code as a research tool
- Tip 26: Mastering different ways of verifying its output
- Tip 27: Claude Code as a DevOps engineer
- Tip 28: Keep CLAUDE.md simple and review it periodically
- Tip 29: Claude Code as the universal interface
- Tip 30: It's all about choosing the right level of abstraction
- Tip 31: Use auto mode
- Tip 32: Control Claude Code from your phone
- Tip 33: Learn to use artifacts
- Tip 34: Write lots of tests (and use TDD)
- Tip 35: Be braver in the unknown; iterative problem solving
- Tip 36: Running bash commands and subagents in the background
- Tip 37: The era of personalized software is here
- Tip 38: Navigating and editing your input box
- Tip 39: Spend some time planning, but also prototype quickly
- Tip 40: Simplify overcomplicated code
- Tip 41: Automation of automation
- Tip 42: Share your knowledge and contribute where you can
- Tip 43: Keep learning!
- Tip 44: Install the dx plugin
- Tip 45: Quick setup script
- Tip 46: Switch between multiple Claude accounts
- Tip 47: Use GitHub as your knowledge base
- Tip 48: Learn to review code through a TESTING.md document
- Tip 49: Turn on the concise output style
Tip 0: Customize your status line
You can customize the status line at the bottom of Claude Code to show useful info. I set mine up to show the model, current directory, git branch (if any), uncommitted file count, sync status with origin, and a visual progress bar for token usage. It also shows a second line with my last message so I can see what the conversation was about:
Opus 4.5 | 📁claude-code-tips | 🔀main (scripts/context-bar.sh uncommitted, synced 12m ago) | ██░░░░░░░░ 18% of 200k tokens
💬 This is good. I don't think we need to change the documentation as long as we don't say that the default color is orange el...
This is especially helpful for keeping an eye on your context usage and remembering what you were working on. The script also supports 10 color themes (orange, blue, teal, green, lavender, rose, gold, slate, cyan, or gray).

To set this up, you can use this sample script and check the setup instructions.
Tip 1: Learn a few essential slash commands
There are a bunch of built-in slash commands (type / to see them all). Here are a few worth knowing:
/usage
Check your rate limits:
Current session
█████████▌ 19% used
Resets 5:39pm (America/Vancouver)
Current week (all models)
██▌ 5% used
Resets Sep 6 at 9:59am (America/Vancouver)
Current week (Fable)
█████ 10% used
Resets Sep 6 at 9:59am (America/Vancouver)
If you want to watch your usage closely, keep it open in a tab and use Tab then Shift+Tab or ← then → to refresh.
/chrome
Manage Claude's native browser integration:
Status: Disabled
Extension: Installed
❯ Manage permissions
Reconnect extension
Enabled by default: No
Usage: claude --chrome or claude --no-chrome
/mcp
Manage MCP (Model Context Protocol) servers:
Manage MCP servers
3 servers
User MCPs (/Users/ykdojo/.claude.json)
❯ playwright · ✔ connected · 24 tools
claude.ai
→ Show unused connectors (1)
Built-in MCPs (always available)
computer-use · ◯ disabled
/stats
View your usage statistics with a GitHub-style activity graph:
Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul Aug
················································▒▒▓▓
Mon ················································▒▓█
················································██░
Wed ················································▒░░
···············································█░▒█
Fri ···············································░▒·█
···············································▓▓▓░
Less ░ ▒ ▓ █ More
Favorite model: Fable 5 Total tokens: 755.6m
Sessions: 157 Longest session: 16h 45m 11s
Active days: 24/26 Longest streak: 15 days
Most active day: Aug 27 Current streak: 9 days
Your input and output are ~12x the tokens in Moby-Dick
/clear
Clear the conversation and start fresh.
Tip 2: Talk to Claude Code with your voice
I found that you can communicate much faster with your voice than typing with your hands. Using a voice transcription system on your local machine is really helpful for this.
On my Mac, I've tried a few different options:
- superwhisper
- MacWhisper
- Super Voice Assistant (open source, supports Parakeet v2/v3)
You can get more accuracy by using a hosted service, but I found that a local model is strong enough for this purpose. Even when there are mistakes or typos in the transcription, Claude is smart enough to understand what you're trying to say. Sometimes you need to say certain things extra clearly, but overall local models work well enough.
For example, in this screenshot you can see that Claude was able to interpret mistranscribed words like "ExcelElanishMark" and "advast" correctly as "exclamation mark" and "Advanced":

I think the best way to think about this is like you're trying to communicate with your friend. Of course, you can communicate through texts. That might be easier for some people, or emails, right? That's totally fine. That's what most people seem to do with Claude Code. But if you want to communicate faster, why wouldn't you get on a quick phone call? You can just send voice messages. You don't need to literally have a phone call with Claude Code. Just send a bunch of voice messages. It's faster, at least for me, as someone who's practiced the art of speaking a lot over the past number of years. But I think for a majority of people, it's going to be faster too.
A common objection is "what if you're in a room with other people?" I just whisper using earphones - I personally like Apple EarPods (not AirPods). They're affordable, high quality enough, and you just whisper into them quietly. I've done it in front of other people and it works well. In offices, people talk anyway - instead of talking to coworkers, you're talking quietly to your voice transcription system. I don't think there's any problem with that. This method works so well that it even works on a plane. It's loud enough that other people won't hear you, but if you speak close enough to the mic, your local model can still understand what you're saying. (In fact, I'm writing this very paragraph using that method on a flight.)
Update: Claude Code now has a built-in voice mode. I tested it and it works well, but I still personally use a local model because I find it faster.
Tip 3: Break down large problems into smaller ones
This is one of the most important concepts to master. It's exactly the same as traditional software engineering - the best software engineers already know how to do this, and it applies to Claude Code too.
If you find that Claude Code isn't able to one-shot a difficult problem or coding task, ask it to break it down into multiple smaller issues. See if it can solve an individual part of that problem. If it's still too hard, see if it can solve an even smaller sub-problem. Keep going until everything is solvable.
Essentially, instead of going from A to B:

You can go from A to A1 to A2 to
Truncated for display — read the full file on GitHub.
Related Skills
claude-mem
113.6kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
taste-skill
110.8kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
109.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Understand-Anything
91.0kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
