Claude Code Reference

v2.1.114 · Commands, shortcuts, hooks, Python/AWS tips.

What's New

Everything recent across Claude Code, Claude models, new skills and agents.

CLAUDE CODE
Claude Code v2.1.114New

New version 2.1.114 published on npm.

v2.1.114
6h ago
SKILL

Claude Code skill for generating production-quality SVG+PNG technical diagrams. Supports 8 diagram types, 5 visual styles, and deep AI/Agent domain knowledge.

★ 3.6k
7d ago
SKILL

🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman

★ 37.0k
13d ago
MODEL
Claude Opus 4.7New

Most capable generally available model. Complex multi-step coding, long agentic workflows, 1M-token codebase reads.

Anthropic
17d ago
AGENT

An intuitive interface to create, orchestrate, and monitor Claude-based code agents for automated development workflows.

★ 299
23d ago
SKILL

Claude Code skills based on The Minimalist Entrepreneur by Sahil Lavingia

★ 8.0k
25d ago
SKILL

A Claude Code skill that turns any codebase into a beautiful, interactive single-page HTML course for non-technical vibe coders.

★ 3.9k
26d ago
AGENT

Real-time visualization of Claude Code agent orchestration — see your agents think, branch, and coordinate as they work.

★ 680
27d ago
AGENT

A collection of 130+ specialized Codex subagents covering a wide range of development use cases.

★ 4.0k
1mo ago
SKILL

Graphs that teach > graphs that impress. Turn any code, or knowledge base (Karpathy LLM wiki), into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.

★ 8.5k
1mo ago
SKILL

Claude Autoresearch Skill — Autonomous goal-directed iteration for Claude Code. Inspired by Karpathy's autoresearch. Modify → Verify → Keep/Discard → Repeat forever.

★ 3.8k
1mo ago
AGENT

Clone any website with one command using AI coding agents

★ 11.8k
1mo ago
SKILL

A Claude skill that writes the accurate prompts for any AI tool. Zero tokens or credits wasted. Full context and memory retention

★ 5.3k
1mo ago
SKILL

ARIS ⚔️ (Auto-Research-In-Sleep) — Lightweight Markdown-only skills for autonomous ML research: cross-model review loops, idea discovery, and experiment automation. No framework, no lock-in — works with Claude Code, Codex, OpenClaw, or any LLM agent.

★ 6.9k
1mo ago
AGENT

Open-source AI agent command center for Claude Code agent teams. Built on OpenClaw.

★ 842
1mo ago
AGENT

Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.

★ 17.7k
1mo ago
AGENT

Supercharge Claude Code with 11 AI agents, 36 commands & 15 skills — the claude-code plugin framework inspired by oh-my-zsh. 6-layer security hooks included. 5-min install.

★ 658
1mo ago
AGENT

Comparison between open source PI agent and closed source Claude Code agent

★ 783
1mo ago

Quick Start

Start a session

claude

Opens interactive mode in your project directory.

One-shot question

claude -p "how does the auth module work?"

Ask a question, get an answer, exit.

Continue last session

claude -c

Picks up exactly where you left off.

Parallel worktree

claude -w feature-auth

Work on a feature branch without leaving your current work.

Plan mode (safe)

claude --permission-mode plan

Claude analyzes and plans but does not edit until you approve.

Pipe content

git diff main | claude -p "review this"

Feed diffs, logs, or files directly into Claude.

Slash Commands

/help
Show help menu
/config
Open settings interface
/model
Switch between models (Opus, Sonnet, Haiku)
/effort
Set effort level (low, medium, high, max)
/clear
Clear conversation and start fresh
/compact
Manually compact context window
/resume
Resume previous sessions (open picker)
/rename
Rename current session
/plan
View current plan (in plan mode)
/usage
View token usage and costs
/version
Show Claude Code version
/ide
Connect to VS Code or JetBrains IDE
/thinking-toggle
Toggle extended thinking on/off
/agents
View and create custom subagents
/skills
Browse available skills
/plugins
Browse and manage plugins
/mcp
Add and configure MCP servers
/hooks
Browse configured hooks
/permissions
View and manage tool permissions
/memory
View project memory (CLAUDE.md)
/debug
Enable debug logging for troubleshooting
/simplify
Review code for reuse, quality, and fix issues
/batch
Plan and execute large-scale changes across 5-30 isolated worktree agents
/loop
Run a prompt or command on a recurring interval
/schedule
Create scheduled remote agents on cron schedule
/claude-api
Build, debug, and optimize Claude API / Anthropic SDK apps
/find-docs
Retrieve up-to-date docs for any library (via Context7)
/init
Initialize CLAUDE.md for your project
/review
Review a pull request
/security-review
Perform security review of pending changes
/insights
Generate report analyzing Claude Code sessions
/install-github-app
Install Claude GitHub App for CI/CD
/powerup
Interactive lessons with animated demos
/remote-control
Start Remote Control session

Keyboard Shortcuts

Global

Ctrl+C
Cancel current operation
Ctrl+D
Exit Claude Code
Ctrl+T
Toggle task list visibility
Ctrl+O
Toggle verbose transcript (shows thinking)

Chat Input

Enter
Submit message
Shift+Enter
New line without submitting
Ctrl+L
Clear prompt input
Ctrl+S
Stash current prompt
Ctrl+G
Open in external editor
Ctrl+V
Paste image
Ctrl+_ or Ctrl+Shift+-
Undo last action
Shift+Tab
Cycle permission modes
Cmd+P / Meta+P
Open model picker
Meta+O
Toggle fast mode
Option+T / Alt+T
Toggle extended thinking
Ctrl+R
Open history search
Up/Down Arrow
Navigate command history

VS Code

Cmd+Esc / Ctrl+Esc
Toggle focus between editor and Claude
Cmd+Shift+Esc / Ctrl+Shift+Esc
Open new conversation tab
Option+K / Alt+K
Insert @-mention reference with line numbers
Cmd+N / Ctrl+N
Start new conversation

CLI Flags & Options

claude
Start interactive sessionclaude
claude "prompt"
Start with initial promptclaude "fix the auth bug"
claude -p
Non-interactive print modeclaude -p "analyze this code"
claude -c
Continue most recent sessionclaude -c
claude -r "name"
Resume named sessionclaude -r "auth-refactor"
claude --resume
Open session pickerclaude --resume
claude -w
Use git worktree (parallel work)claude -w feature-auth
--model
Choose modelclaude --model claude-opus-4-6
--effort
Set thinking effortclaude --effort high
--permission-mode
Set permission modeclaude --permission-mode plan
--allowedTools
Pre-approve tools--allowedTools "Read,Edit,Bash"
--max-turns
Limit agentic turnsclaude -p --max-turns 5
--max-budget-usd
Cost limitclaude -p --max-budget-usd 5.00
--output-format json
JSON output (print mode)claude -p --output-format json "query"
--bare
Minimal mode (no hooks, skills)claude --bare
--debug
Enable debug loggingclaude --debug
pipe input
Pipe content to Claudecat file.py | claude -p "review this"

Environment Variables

ANTHROPIC_API_KEY
API key for direct Anthropic access
CLAUDE_CODE_USE_BEDROCK
Set to 1 to use AWS Bedrock
CLAUDE_CODE_USE_VERTEX
Set to 1 to use Google Vertex AI
CLAUDE_CODE_EFFORT_LEVEL
Default effort level (low/medium/high/max)
MAX_THINKING_TOKENS
Max tokens for extended thinking
CLAUDE_CODE_SIMPLE
Set to 1 for bare mode (no hooks/skills)

Available Tools

Read

Read files from disk

Write

Create new files

Edit

Edit existing files (sends only the diff)

Bash

Run shell commands

Glob

Find files by pattern (faster than find)

Grep

Search file contents (faster than grep/rg)

WebSearch

Search the web

WebFetch

Fetch and parse web pages

Monitor

Watch background scripts

Agent

Invoke subagents for parallel work

TodoWrite

Create and manage task lists

AskUserQuestion

Ask clarifying questions

Configuration Files

~/.claude/settings.json
User global settings (model, permissions, hooks)
.claude/settings.json
Project settings (committed, shared with team)
.claude/settings.local.json
Project local settings (not committed)
CLAUDE.md
Project memory — architecture, conventions, key files
.claude/CLAUDE.md
Alternative location for project memory
~/.claude/CLAUDE.md
Global memory (applies to all projects)
~/.claude/keybindings.json
Custom keyboard shortcuts
.claude/mcp.json
MCP server configuration
.claude/skills/<name>/SKILL.md
Custom skills
.claude/agents/<name>/
Custom subagents
.worktreeinclude
Files to copy into new worktrees (.env, secrets)

Hooks System

Hooks run shell commands in response to Claude events. Configure in settings.json. Exit 0 = allow, Exit 2 = block action.

SessionStart
Session begins. Cannot block.
UserPromptSubmit
You submit a prompt. Cannot block.
PreToolUse
Before tool executes. CAN block (exit 2).Use matcher: "Bash" to intercept shell commands
PostToolUse
After tool succeeds. Cannot block.Great for auto-formatting after Edit/Write
PostToolUseFailure
After tool fails. Cannot block.
Stop
Claude finishes responding. Cannot block.
Notification
Claude needs your attention. Cannot block.
SubagentStart
Subagent lifecycle start.
SubagentStop
Subagent lifecycle end.
FileChanged
Watched files change.

Example: Auto-format Python on every edit

{
  "hooks": {
    "PostToolUse": [
      {
        "matcher": "Edit|Write",
        "hooks": [
          {
            "type": "command",
            "command": "ruff format $(jq -r '.tool_input.file_path') 2>/dev/null; ruff check --fix $(jq -r '.tool_input.file_path') 2>/dev/null; true"
          }
        ]
      }
    ],
    "Notification": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "notify-send 'Claude Code' 'Needs your attention'"
          }
        ]
      }
    ]
  }
}

Extensions

Specialized subagents in .claude/agents/<name>.md. Invoke via the Agent tool.

No agents installed. Pick from the recommendations below to get started.

Recommended · 50

Auto-discovered · daily

Coding · 19

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

affaan-m/everything-claude-code

Install ↓git clone https://github.com/affaan-m/everything-claude-code.git /tmp/everything-claude-code && cp -r /tmp/everything-claude-code/.claude/agents/* .claude/agents/
claude-mem61.5k

A Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresses it with AI (using Claude's agent-sdk), and injects relevant context back into future sessions.

thedotmack/claude-mem

Install ↓git clone https://github.com/thedotmack/claude-mem.git /tmp/claude-mem && cp -r /tmp/claude-mem/.claude/agents/* .claude/agents/

from vibe coding to agentic engineering - practice makes claude perfect

shanraisshan/claude-code-best-practice

Install ↓git clone https://github.com/shanraisshan/claude-code-best-practice.git /tmp/claude-code-best-practice && cp -r /tmp/claude-code-best-practice/.claude/agents/* .claude/agents/
cherry-studio43.7k

AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs

CherryHQ/cherry-studio

Install ↓git clone https://github.com/CherryHQ/cherry-studio.git /tmp/cherry-studio && cp -r /tmp/cherry-studio/.claude/agents/* .claude/agents/

A curated list of awesome skills, hooks, slash-commands, agent orchestrators, applications, and plugins for Claude Code by Anthropic

hesreallyhim/awesome-claude-code

Install ↓git clone https://github.com/hesreallyhim/awesome-claude-code.git /tmp/awesome-claude-code && cp -r /tmp/awesome-claude-code/.claude/agents/* .claude/agents/

Installable GitHub library of 1,400+ agentic skills for Claude Code, Cursor, Codex CLI, Gemini CLI, Antigravity, and more. Includes installer CLI, bundles, workflows, and official/community skill collections.

sickn33/antigravity-awesome-skills

Install ↓git clone https://github.com/sickn33/antigravity-awesome-skills.git /tmp/antigravity-awesome-skills && cp -r /tmp/antigravity-awesome-skills/.claude/agents/* .claude/agents/
ruflo32.2k

🌊 The leading agent orchestration platform for Claude. Deploy intelligent multi-agent swarms, coordinate autonomous workflows, and build conversational AI systems. Features enterprise-grade architecture, distributed swarm intelligence, RAG integration, and native Claude Code / Codex Integration

ruvnet/ruflo

Install ↓git clone https://github.com/ruvnet/ruflo.git /tmp/ruflo && cp -r /tmp/ruflo/.claude/agents/* .claude/agents/

Teams-first Multi-agent orchestration for Claude Code

Yeachan-Heo/oh-my-claudecode

Install ↓git clone https://github.com/Yeachan-Heo/oh-my-claudecode.git /tmp/oh-my-claudecode && cp -r /tmp/oh-my-claudecode/.claude/agents/* .claude/agents/
serena23.1k

A powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent

oraios/serena

Install ↓git clone https://github.com/oraios/serena.git /tmp/serena && cp -r /tmp/serena/.claude/agents/* .claude/agents/
beads20.9k

Beads - A memory upgrade for your coding agent

gastownhall/beads

Install ↓git clone https://github.com/gastownhall/beads.git /tmp/beads && cp -r /tmp/beads/.claude/agents/* .claude/agents/
agent-skills17.0k

Production-grade engineering skills for AI coding agents.

addyosmani/agent-skills

Install ↓git clone https://github.com/addyosmani/agent-skills.git /tmp/agent-skills && cp -r /tmp/agent-skills/.claude/agents/* .claude/agents/
cmux14.6k

Ghostty-based macOS terminal with vertical tabs and notifications for AI coding agents

manaflow-ai/cmux

Install ↓git clone https://github.com/manaflow-ai/cmux.git /tmp/cmux && cp -r /tmp/cmux/.claude/agents/* .claude/agents/

Clone any website with one command using AI coding agents

JCodesMore/ai-website-cloner-template

Install ↓git clone https://github.com/JCodesMore/ai-website-cloner-template.git /tmp/ai-website-cloner-template && cp -r /tmp/ai-website-cloner-template/.claude/agents/* .claude/agents/
claude-skills11.6k

232+ Claude Code skills & agent plugins for Claude Code, Codex, Gemini CLI, Cursor, and 8 more coding agents — engineering, marketing, product, compliance, C-level advisory.

alirezarezvani/claude-skills

Install ↓git clone https://github.com/alirezarezvani/claude-skills.git /tmp/claude-skills && cp -r /tmp/claude-skills/.claude/agents/* .claude/agents/
humanlayer10.5k

The best way to get AI coding agents to solve hard problems in complex codebases.

humanlayer/humanlayer

Install ↓git clone https://github.com/humanlayer/humanlayer.git /tmp/humanlayer && cp -r /tmp/humanlayer/.claude/agents/* .claude/agents/

Orchestration framework for running 20+ Claude Code agents in parallel: automated bug fixing, best-practices sweeps, lock-based coordination, and real-time tmux monitoring

Dicklesworthstone/claude_code_agent_farm

Install ↓git clone https://github.com/Dicklesworthstone/claude_code_agent_farm.git /tmp/claude_code_agent_farm && cp -r /tmp/claude_code_agent_farm/.claude/agents/* .claude/agents/

Build Claude Code–style deep agents in Python: tool-calling, sandboxed execution, multi-agent teams, skills, checkpoints, and unlimited context — all on Pydantic AI.

vstorm-co/pydantic-deepagents

Install ↓git clone https://github.com/vstorm-co/pydantic-deepagents.git /tmp/pydantic-deepagents && cp -r /tmp/pydantic-deepagents/.claude/agents/* .claude/agents/
agent-flow680New

Real-time visualization of Claude Code agent orchestration — see your agents think, branch, and coordinate as they work.

patoles/agent-flow

Install ↓git clone https://github.com/patoles/agent-flow.git /tmp/agent-flow && cp -r /tmp/agent-flow/.claude/agents/* .claude/agents/
claude-forge658New

Supercharge Claude Code with 11 AI agents, 36 commands & 15 skills — the claude-code plugin framework inspired by oh-my-zsh. 6-layer security hooks included. 5-min install.

sangrokjung/claude-forge

Install ↓git clone https://github.com/sangrokjung/claude-forge.git /tmp/claude-forge && cp -r /tmp/claude-forge/.claude/agents/* .claude/agents/

Research · 2

hermes-agent97.0k

The agent that grows with you

NousResearch/hermes-agent

Install ↓git clone https://github.com/NousResearch/hermes-agent.git /tmp/hermes-agent && cp -r /tmp/hermes-agent/.claude/agents/* .claude/agents/

AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary

mvanhorn/last30days-skill

Install ↓git clone https://github.com/mvanhorn/last30days-skill.git /tmp/last30days-skill && cp -r /tmp/last30days-skill/.claude/agents/* .claude/agents/

Devops · 2

Agent-Reach17.7kNew

Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.

Panniantong/Agent-Reach

Install ↓git clone https://github.com/Panniantong/Agent-Reach.git /tmp/Agent-Reach && cp -r /tmp/Agent-Reach/.claude/agents/* .claude/agents/

Easily switch between alternative low-cost AI models in Claude Code/Agent SDK. For those comfortable using Claude agents and commands, it lets you take what you've created and deploy fully hosted agents for real business purposes. Use Claude Code to get the agent working, then deploy it in your favo

ruvnet/agentic-flow

Install ↓git clone https://github.com/ruvnet/agentic-flow.git /tmp/agentic-flow && cp -r /tmp/agentic-flow/.claude/agents/* .claude/agents/

Testing · 1

A set of useful QA agents for Claude Code.

darcyegb/ClaudeCodeAgents

Install ↓git clone https://github.com/darcyegb/ClaudeCodeAgents.git /tmp/ClaudeCodeAgents && cp -r /tmp/ClaudeCodeAgents/.claude/agents/* .claude/agents/

General · 26

Bash is all you need - A nano claude code–like 「agent harness」, built from 0 to 1

shareAI-lab/learn-claude-code

Install ↓git clone https://github.com/shareAI-lab/learn-claude-code.git /tmp/learn-claude-code && cp -r /tmp/learn-claude-code/.claude/agents/* .claude/agents/

omo; the best agent harness - previously oh-my-opencode

code-yeongyu/oh-my-openagent

Install ↓git clone https://github.com/code-yeongyu/oh-my-openagent.git /tmp/oh-my-openagent && cp -r /tmp/oh-my-openagent/.claude/agents/* .claude/agents/
nanobot39.9k

"🐈 nanobot: The Ultra-Lightweight Personal AI Agent"

HKUDS/nanobot

Install ↓git clone https://github.com/HKUDS/nanobot.git /tmp/nanobot && cp -r /tmp/nanobot/.claude/agents/* .claude/agents/
agents33.8k

Intelligent automation and multi-agent orchestration for Claude Code

wshobson/agents

Install ↓git clone https://github.com/wshobson/agents.git /tmp/agents && cp -r /tmp/agents/.claude/agents/* .claude/agents/
nanoclaw27.5k

A lightweight alternative to OpenClaw that runs in containers for security. Connects to WhatsApp, Telegram, Slack, Discord, Gmail and other messaging apps,, has memory, scheduled jobs, and runs directly on Anthropic's Agents SDK

qwibitai/nanoclaw

Install ↓git clone https://github.com/qwibitai/nanoclaw.git /tmp/nanoclaw && cp -r /tmp/nanoclaw/.claude/agents/* .claude/agents/
claude-howto27.4k

A visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.

luongnv89/claude-howto

Install ↓git clone https://github.com/luongnv89/claude-howto.git /tmp/claude-howto && cp -r /tmp/claude-howto/.claude/agents/* .claude/agents/
opcode21.6k

A powerful GUI app and Toolkit for Claude Code - Create custom agents, manage interactive Claude Code sessions, run secure background agents, and more.

winfunc/opcode

Install ↓git clone https://github.com/winfunc/opcode.git /tmp/opcode && cp -r /tmp/opcode/.claude/agents/* .claude/agents/
claude-hud19.8k

A Claude Code plugin that shows what's happening - context usage, active tools, running agents, and todo progress

jarrodwatts/claude-hud

Install ↓git clone https://github.com/jarrodwatts/claude-hud.git /tmp/claude-hud && cp -r /tmp/claude-hud/.claude/agents/* .claude/agents/

Claude Code skill implementing Manus-style persistent markdown planning — the workflow pattern behind the $2B acquisition.

OthmanAdi/planning-with-files

Install ↓git clone https://github.com/OthmanAdi/planning-with-files.git /tmp/planning-with-files && cp -r /tmp/planning-with-files/.claude/agents/* .claude/agents/

A collection of 100+ specialized Claude Code subagents covering a wide range of development use cases

VoltAgent/awesome-claude-code-subagents

Install ↓git clone https://github.com/VoltAgent/awesome-claude-code-subagents.git /tmp/awesome-claude-code-subagents && cp -r /tmp/awesome-claude-code-subagents/.claude/agents/* .claude/agents/

A curated collection of 1000+ agent skills from official dev teams and the community, compatible with Claude Code, Codex, Gemini CLI, Cursor, and more.

VoltAgent/awesome-agent-skills

Install ↓git clone https://github.com/VoltAgent/awesome-agent-skills.git /tmp/awesome-agent-skills && cp -r /tmp/awesome-agent-skills/.claude/agents/* .claude/agents/
rowboat12.7k

Open-source AI coworker, with memory

rowboatlabs/rowboat

Install ↓git clone https://github.com/rowboatlabs/rowboat.git /tmp/rowboat && cp -r /tmp/rowboat/.claude/agents/* .claude/agents/

Turn Claude Code into a full game dev studio — 49 AI agents, 72 workflow skills, and a complete coordination system mirroring real studio hierarchy.

Donchitos/Claude-Code-Game-Studios

Install ↓git clone https://github.com/Donchitos/Claude-Code-Game-Studios.git /tmp/Claude-Code-Game-Studios && cp -r /tmp/Claude-Code-Game-Studios/.claude/agents/* .claude/agents/

A collection of 130+ specialized Codex subagents covering a wide range of development use cases.

VoltAgent/awesome-codex-subagents

Install ↓git clone https://github.com/VoltAgent/awesome-codex-subagents.git /tmp/awesome-codex-subagents && cp -r /tmp/awesome-codex-subagents/.claude/agents/* .claude/agents/
cc-sdd3.1k

Spec-driven development (SDD) for your team's workflow. Kiro style commands that enforce structured requirements→design→tasks workflow and steering, transforming how you build with AI. Support Claude Code, Codex, Opencode, Cursor, Github Copilot, Gemini CLI and Windsurf.

gotalab/cc-sdd

Install ↓git clone https://github.com/gotalab/cc-sdd.git /tmp/cc-sdd && cp -r /tmp/cc-sdd/.claude/agents/* .claude/agents/

A single hub to find Claude Skills, Agents, Commands, Hooks, Plugins, and Marketplace collections to extend Claude Code, Claude Desktop, Agent SDK and OpenClaw

davepoon/buildwithclaude

Install ↓git clone https://github.com/davepoon/buildwithclaude.git /tmp/buildwithclaude && cp -r /tmp/buildwithclaude/.claude/agents/* .claude/agents/

Shared starter template configuration and CLAUDE.md memory bank system for Claude Code

centminmod/my-claude-code-setup

Install ↓git clone https://github.com/centminmod/my-claude-code-setup.git /tmp/my-claude-code-setup && cp -r /tmp/my-claude-code-setup/.claude/agents/* .claude/agents/

A collection of my favorite custom Claude Code resources to make life easier.

glittercowboy/taches-cc-resources

Install ↓git clone https://github.com/glittercowboy/taches-cc-resources.git /tmp/taches-cc-resources && cp -r /tmp/taches-cc-resources/.claude/agents/* .claude/agents/

Collection of specialized AI subagents for Claude Code for personal use (full-stack development).

lst97/claude-code-sub-agents

Install ↓git clone https://github.com/lst97/claude-code-sub-agents.git /tmp/claude-code-sub-agents && cp -r /tmp/claude-code-sub-agents/.claude/agents/* .claude/agents/

Real-time monitoring for Claude Code agents through simple hook event tracking.

disler/claude-code-hooks-multi-agent-observability

Install ↓git clone https://github.com/disler/claude-code-hooks-multi-agent-observability.git /tmp/claude-code-hooks-multi-agent-observability && cp -r /tmp/claude-code-hooks-multi-agent-observability/.claude/agents/* .claude/agents/

A list of Claude Code Sub-Agents submitted by the community.

hesreallyhim/a-list-of-claude-code-agents

Install ↓git clone https://github.com/hesreallyhim/a-list-of-claude-code-agents.git /tmp/a-list-of-claude-code-agents && cp -r /tmp/a-list-of-claude-code-agents/.claude/agents/* .claude/agents/
cui1.1k

A web UI for Claude Code agents

wbopan/cui

Install ↓git clone https://github.com/wbopan/cui.git /tmp/cui && cp -r /tmp/cui/.claude/agents/* .claude/agents/
clawport-ui842New

Open-source AI agent command center for Claude Code agent teams. Built on OpenClaw.

JohnRiceML/clawport-ui

Install ↓git clone https://github.com/JohnRiceML/clawport-ui.git /tmp/clawport-ui && cp -r /tmp/clawport-ui/.claude/agents/* .claude/agents/

Comparison between open source PI agent and closed source Claude Code agent

disler/pi-vs-claude-code

Install ↓git clone https://github.com/disler/pi-vs-claude-code.git /tmp/pi-vs-claude-code && cp -r /tmp/pi-vs-claude-code/.claude/agents/* .claude/agents/

Run Claude Agent (Claude Code) in a sandbox, control it via websocket

dzhng/claude-agent-server

Install ↓git clone https://github.com/dzhng/claude-agent-server.git /tmp/claude-agent-server && cp -r /tmp/claude-agent-server/.claude/agents/* .claude/agents/
CookHero450

CookHero是一个基于 LLM + RAG + Agent + 多模态的智能饮食与烹饪管理平台,支持智能菜谱查询、个性化饮食计划、AI 饮食记录、营养分析、Web 搜索增强,以及可扩展的 ReAct Agent / Subagent 工具体系,帮助厨房新手轻松成为“烹饪英雄”。

Decade-qiu/CookHero

Install ↓git clone https://github.com/Decade-qiu/CookHero.git /tmp/CookHero && cp -r /tmp/CookHero/.claude/agents/* .claude/agents/

Python Development

Auto-activate venv

VS Code setting claudeCode.usePythonEnvironment: true activates your workspace Python env automatically.

CLAUDE.md for Python

Document your Python version, venv path, test command (pytest), linter (ruff), type checker (mypy), and key directories.

FastAPI/Django

Claude understands these frameworks well. Describe your routes, models, and serialization patterns in CLAUDE.md.

Poetry/pipenv

Claude can run poetry/pipenv commands. Make sure they are in PATH.

Data science

Include data format, expected shape/columns, preprocessing steps in your prompts or CLAUDE.md.

Example CLAUDE.md for a Python/AWS project

# Project Context

## Stack
- Python 3.11, FastAPI, SQLAlchemy
- AWS: ECS Fargate, RDS Postgres, S3, Lambda
- Docker, Terraform (infra/)
- pytest, ruff, mypy

## Commands
- Run tests: `pytest tests/ -v`
- Lint: `ruff check src/`
- Type check: `mypy src/`
- Deploy: `./scripts/deploy.sh staging`

## Key Directories
- src/api/ — FastAPI route handlers
- src/models/ — SQLAlchemy models
- src/services/ — Business logic
- infra/ — Terraform configs
- tests/ — Test suites

## Conventions
- Use functional approach, no classes for services
- All API responses use Pydantic response models
- Write tests for all new endpoints
- Follow Conventional Commits

AWS & DevOps

AWS Bedrock

Set CLAUDE_CODE_USE_BEDROCK=1 to route all Claude calls through your AWS account. No Anthropic API key needed.

export CLAUDE_CODE_USE_BEDROCK=1
GitHub Actions + Bedrock

Use anthropics/claude-code-action@v1 with use_bedrock: true and AWS_ROLE_TO_ASSUME secret.

AWS CLI in Claude

Claude can run aws CLI commands via Bash tool. Pre-approve with --allowedTools 'Bash(aws *)'.

Terraform/CDK

Claude reads and writes Terraform/CDK. Put your backend config and state bucket info in CLAUDE.md.

ECS/Lambda deploys

Create a custom skill in .claude/skills/deploy/SKILL.md with your deploy steps. Claude follows it every time.

Cost control in CI

Use --max-budget-usd and --max-turns in CI pipelines to cap spending.

claude -p --max-budget-usd 2.00 --max-turns 5 "review this PR"

Example: GitHub Actions PR review with AWS Bedrock

name: Claude PR Review
on:
  pull_request:
    types: [opened, synchronize]

jobs:
  review:
    runs-on: ubuntu-latest
    permissions:
      id-token: write
      contents: read
      pull-requests: write
    steps:
      - uses: aws-actions/configure-aws-credentials@v4
        with:
          role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
          aws-region: us-east-1
      - uses: anthropics/claude-code-action@v1
        with:
          use_bedrock: "true"
          claude_args: "--model us.anthropic.claude-sonnet-4-6 --max-turns 3"
          prompt: "Review this PR for bugs, security issues, and code quality."

Power Tips

1
Plan mode first

Start with --permission-mode plan. Review the plan, then switch to acceptEdits to execute. Safer for big changes.

2
Worktrees for parallel tasks

Use claude -w feature-name to work on multiple branches simultaneously without conflicts.

3
/compact before big tasks

If you have been chatting for a while, run /compact before starting a new big task. Frees context.

4
ultrathink for hard problems

Include 'ultrathink' in your prompt to get maximum reasoning depth on complex debugging.

5
@file references

Use @filename.py in your prompt to reference files without pasting. Claude reads them automatically.

6
Pipe for automation

Pipe files, diffs, or logs into claude -p for automated analysis in CI/CD.

git diff main | claude -p "review this diff for security issues"
7
/batch for large refactors

Use /batch for changes spanning 5-30 files. Creates isolated worktree agents that work in parallel.

8
Custom skills

Create .claude/skills/<name>/SKILL.md for repeatable workflows (deploy, test, review). Claude follows them exactly.

9
Hook auto-format

Add a PostToolUse hook on Edit|Write to auto-run your formatter (prettier, black, ruff) after every file change.

10
/loop for monitoring

Use /loop 5m 'check test status' to poll a long-running CI build without babysitting.

Daily Workflow Examples

Morning: review overnight PRs

1.claude -p "list open PRs on this repo and summarize changes"
2.claude -c # continue to review specific PR
3./review 42 # deep review of PR #42

Feature: add a new API endpoint

1.claude --permission-mode plan
2."add a GET /api/users/{id}/activity endpoint"
3.# review plan → Shift+Tab to acceptEdits → Claude executes

Debug: production error

1.cat /var/log/app/error.log | claude -p "what caused this and how to fix"
2.claude -c # continue to implement the fix

Infra: update Terraform

1.claude -w infra-update # isolated worktree
2."add a new RDS read replica in eu-west-1"
3."run terraform plan and show me the diff"

CI/CD: automated review

1.git diff main | claude -p --max-turns 3 --max-budget-usd 1.00 "review for bugs"