Skip to main content
ClaudeWave
ES, Spanish
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 estrellas
  • 828 forks
  • 4 issues abiertos
  • Lenguaje: HTML
  • Licencia: NOASSERTION
  • actualizado

Instalación

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.

Nota editorial

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.

Items instalables

10 items en este repositorio

cloneSkill

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

Instalar
ghaSkill

Analyze GitHub Actions failures and identify root causes

Instalar

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

Instalar
handoffSkill

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

Instalar

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

Instalar

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.

Instalar

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

Instalar

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.

Instalar

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

Instalar

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.

Instalar
README

Resumen de Subagents

README completo en 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
Preguntas frecuentes

Lo que la gente pregunta sobre claude-code-tips

¿Qué es ykdojo/claude-code-tips?

ykdojo/claude-code-tips es subagents para el ecosistema de Claude AI. 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. Tiene 10.3k estrellas en GitHub y su última actualización registrada es del 2026-09-25.

¿Cómo se instala claude-code-tips?

Puedes instalar claude-code-tips clonando el repositorio (https://github.com/ykdojo/claude-code-tips) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar ykdojo/claude-code-tips?

Nuestro agente de seguridad ha analizado ykdojo/claude-code-tips y le ha asignado un Trust Score de 90/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.

¿Quién mantiene ykdojo/claude-code-tips?

ykdojo/claude-code-tips es mantenido por ykdojo. La última actividad registrada en GitHub es del 2026-09-25, con 4 issues abiertos.

¿Hay alternativas a claude-code-tips?

Sí. En ClaudeWave puedes explorar subagents similares en /categories/agents, ordenados por popularidad o actividad reciente.

¿Mantienes este repo? Muestra su Trust Score en tu README

La insignia muestra el Trust Score y el veredicto actuales de este repositorio y enlaza a esta página. Sigue los datos del catálogo: nadie puede comprar ni editar la puntuación que enseña.

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>

Qué significa la insignia y cómo se calcula la puntuación