Skip to main content
ClaudeWave
EN, English
ykdojo / Subagents

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.

  • 10.3k stars
  • 828 forks
  • 4 open issues
  • Language: HTML
  • License: NOASSERTION
  • updated

Install

Terminal
git clone https://github.com/ykdojo/claude-code-tips && cp claude-code-tips/*.md ~/.claude/agents/
  1. Clone the repository and copy the agent .md definitions into ~/.claude/agents (or .claude/agents inside a project).
  2. Start a new Claude Code session to load the agents.
  3. Delegate work to them with the Task/Agent tool or by name.

Editor's note

This repository collects 43 practical tips for working with Claude Code, the CLI-based agentic coding tool from Anthropic, organized from introductory concepts to advanced workflows. Topics covered include managing context window usage with proactive compaction, using Git worktrees for parallel branch work, running Claude Code inside containers for long-running or risky tasks, spawning background subagents, applying test-driven development, and conducting interactive pull request reviews. A standout inclusion is a customizable status line script that displays the active model, current directory, git branch, uncommitted file count, token usage as a progress bar, and the last message sent, available in ten color themes. The collection also covers CLAUDE.md configuration, the difference between skills, slash commands, and plugins, and includes installation instructions for the dx plugin. Developers using Claude Code daily will find the most value, particularly those looking to structure multi-agent workflows, manage context limits, and tighten their agentic coding habits.

Installable items

10 items in this repository

cloneSkill

Clone the current conversation so the user can branch off and try a different approach.

Install
ghaSkill

Analyze GitHub Actions failures and identify root causes

Install

Clone the later half of the current conversation, discarding earlier context to reduce token usage while preserving recent work.

Install
handoffSkill

Write or update a handoff document so the next agent with fresh context can continue this work.

Install

Fetch and summarize Hacker News / hckrnews.com top stories, articles, and their comment threads. Use when asked to summarize HN front-page stories, a specific HN story plus its discussion, or "the top N from hckrnews".

Install

Full-text search across all of the user's GitHub repos (including private ones) using a local mirror and ripgrep. Use for "where did I put X", "which repo has X", or any search spanning the user's repos - gh search code / the REST API cannot reliably search private repos.

Install

Clone the last quarter of the current conversation, discarding earlier context to reduce token usage while preserving recent work.

Install

Fetch content from Reddit via its JSON API using a browser session (DuckDuckGo-hop unlock). Use when accessing Reddit URLs, researching topics on Reddit, or when Reddit returns 403/blocked errors.

Install

Review recent conversations to find improvements for CLAUDE.md files.

Install

Recommend which Claude Code version to run, or whether to update. Use when asked which Claude Code version is best/safe, whether to update now, whether a recent release is buggy, or what changed since the installed version.

Install
README

Subagents overview

Full README on GitHub

45+ 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:

Demo video thumbnail

Table of Contents

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).

Color preview options

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:

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":

Voice transcription mistakes interpreted correctly

Topics
agenticagentic-aiagentic-codingagentic-workflowaiclaudeclaude-aiclaude-codeclideveloper-toolsproductivitytips-and-tricks
Frequently asked

What people ask about claude-code-tips

What is ykdojo/claude-code-tips?

ykdojo/claude-code-tips is subagents for the Claude AI ecosystem. 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. It has 10.3k GitHub stars and its last recorded update is dated 2026-09-25.

How do I install claude-code-tips?

You can install claude-code-tips by cloning the repository (https://github.com/ykdojo/claude-code-tips) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is ykdojo/claude-code-tips safe to use?

Our security agent has analyzed ykdojo/claude-code-tips and assigned a Trust Score of 90/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains ykdojo/claude-code-tips?

ykdojo/claude-code-tips is maintained by ykdojo. The last recorded GitHub activity is dated 2026-09-25, with 4 open issues.

Are there alternatives to claude-code-tips?

Yes. On ClaudeWave you can browse similar subagents at /categories/agents, sorted by popularity or recent activity.

Maintain this repo? Show its Trust Score in your README

The badge shows this repository's current Trust Score and verdict, and links back to this page. It follows the catalogue data: nobody can buy or edit the score it displays.

ClaudeWave Trust Score for ykdojo/claude-code-tips
Markdown (README)
[![ClaudeWave Trust Score for ykdojo/claude-code-tips](https://claudewave.com/api/badge/ykdojo-claude-code-tips)](https://claudewave.com/en/repo/ykdojo-claude-code-tips)
HTML
<a href="https://claudewave.com/en/repo/ykdojo-claude-code-tips"><img src="https://claudewave.com/api/badge/ykdojo-claude-code-tips" alt="ClaudeWave Trust Score for ykdojo/claude-code-tips" width="320" height="64"></a>

What the badge means and how the score is computed