소스 정보
- 저장소
- tools-only/X-Skills
- 최근 소스 활동
- 2026년 2월 27일 19:14
- 감지된 SKILL.md 언어
- 영어
- 스타
- 7
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tools-only/X-Skills --skill my-agent명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| title | Claude Code Cheatsheet |
| description | One-page printable daily essentials for maximum Claude Code productivity |
| tags | ["cheatsheet","reference"] |
1 printable page - Daily essentials for maximum productivity
Author: Florian BRUNIAUX | Founding Engineer @Méthode Aristote
Written with: Claude (Anthropic)
Version: 3.29.0 | Last Updated: February 2026
| Command | Action |
|---|---|
/help | Contextual help |
/clear | Reset conversation |
/compact | Free up context |
/status | Session state + context usage |
/context | Detailed token breakdown |
/plan | Enter Plan Mode (no changes) |
/execute | Exit Plan Mode (apply changes) |
/model | Switch model (sonnet/opus/opusplan) |
/insights | Usage analytics + optimization report |
/teleport | Teleport session from web |
/tasks | Monitor background tasks |
/remote-env | Configure cloud environment |
/remote-control | Start remote control session (Research Preview, Pro/Max) |
/rc | Alias for /remote-control |
/mobile | Get Claude mobile app download links |
/fast | Toggle fast mode (2.5x speed, 6x cost) |
/debug | Systematic troubleshooting |
/exit | Quit (or Ctrl+D) |
| Shortcut | Action |
|---|---|
Shift+Tab | Cycle permission modes |
Esc × 2 | Rewind (undo) |
Ctrl+C | Interrupt |
Ctrl+R | Search command history |
Ctrl+L | Clear screen (keeps context) |
Tab | Autocomplete |
Shift+Enter | New line |
Ctrl+B | Background tasks |
Alt+T | Toggle thinking |
Ctrl+D | Exit |
@path/to/file.ts → Reference a file
@agent-name → Call an agent
!shell-command → Run shell command
| IDE | Shortcut |
|---|---|
| VS Code | Alt+K |
| JetBrains | Cmd+Option+K |
| Feature | Since | What It Does |
|---|---|---|
| Tasks API | v2.1.16 | Persistent task lists with dependencies |
| Background Agents | v2.0.60 | Sub-agents work while you code |
| Agent Teams | v2.1.32 | Multi-agent coordination (TeamCreate/SendMessage) |
| Auto-Memories | v2.1.32 | Automatic cross-session context capture |
| Session Forking | v2.1.19 | Rewind + create parallel timeline |
| LSP Tool | v2.0.74 | Code intelligence (go-to-def, refs) |
| Remote Control | v2.1.51 | Control local session from phone/browser (Research Preview, Pro/Max) |
Pro tip: These aren't "secrets"—they're in the CHANGELOG. Read it!
| Mode | Editing | Execution |
|---|---|---|
| Default | Asks | Asks |
| acceptEdits | Auto | Asks |
| Plan Mode | ❌ | ❌ |
| dontAsk | Only if in allow rules | Only if in allow rules |
| bypassPermissions | Auto | Auto (CI/CD only) |
Shift+Tab to switch modes
| Level | macOS/Linux | Windows | Scope | Git |
|---|---|---|---|---|
| Project | .claude/ | .claude\ | Team | ✅ |
| Personal | ~/.claude/ | %USERPROFILE%\.claude\ | You (all projects) | ❌ |
Priority: Project overrides Personal
| File | Where | Usage |
|---|---|---|
CLAUDE.md | Project root | Team memory (instructions) |
settings.json | .claude/ | Team settings (hooks) |
settings.local.json | .claude/ | Your setting overrides |
CLAUDE.md | ~/.claude/ (Win: %USERPROFILE%\.claude\) | Personal memory |
.claude/
├── CLAUDE.md # Local memory (gitignored)
├── settings.json # Hooks (committed)
├── settings.local.json # Permissions (not committed)
├── agents/ # Custom agents
├── commands/ # Slash commands
├── hooks/ # Event scripts
├── rules/ # Auto-loaded rules
└── skills/ # Knowledge modules
1. Start session → claude
2. Check context → /status
3. Plan Mode → Shift+Tab × 2 (for complex tasks)
4. Describe task → Clear, specific prompt
5. Review changes → Always read the diff!
6. Accept/Reject → y/n
7. Verify → Run tests
8. Commit → When task complete
9. /compact → When context >70%
Model: Sonnet | Ctx: 89.5k | Cost: $2.11 | Ctx(u): 56.0%
Watch Ctx(u): → >70% = /compact, >85% = /clear
Enhanced statusline (ccstatusline): Add to ~/.claude/settings.json:
{ "statusLine": { "type": "command", "command": "npx -y ccstatusline@latest", "padding": 0 } }
| Context % | Status | Action |
|---|---|---|
| 0-50% | Green | Work freely |
| 50-70% | Yellow | Be selective |
| 70-90% | Orange | /compact now |
| 90%+ | Red | /clear required |
| Sign | Action |
|---|---|
| Short responses | /compact |
| Frequent forgetting | /clear |
| >70% context | /compact |
| Task complete | /clear |
| Command | Usage |
|---|---|
/compact | Summarize and free context |
/clear | Fresh start |
/rewind | Undo recent changes |
claude -c | Resume last session (CLI flag) |
claude -r <id> | Resume specific session (CLI flag) |
| Concept | Key Point |
|---|---|
| Master Loop | Simple while(tool_call) — no DAGs, no classifiers |
| Tools | 8 core: Bash, Read, Edit, Write, Grep, Glob, Task, TodoWrite |
| Context | ~200K tokens, auto-compacts at 75-92% |
| Sub-agents | Isolated context, max depth=1 |
| Philosophy | "Less scaffolding, more model" — trust Claude's reasoning |
Deep dive: Architecture & Internals
| Feature | Activation | Usage |
|---|---|---|
| Plan Mode | Shift+Tab × 2 or /plan | Explore without modifying |
| OpusPlan | /model opusplan | Opus for planning, Sonnet for execution |
Opus 4.6: Thinking is ON by default at max budget. Keywords like "think hard" or "ultrathink" are cosmetic only — they don't control depth.
| Control | Action | Persistence |
|---|---|---|
| Alt+T | Toggle thinking on/off | Session |
| /config | Enable/disable globally | Permanent |
/model slider | Left/right arrows: low|medium|high | Session |
CLAUDE_CODE_EFFORT_LEVEL | Env var: low|medium|high | Shell session |
effortLevel setting | In settings.json: low|medium|high | Permanent |
Cost tip: For simple tasks, Alt+T to disable thinking → faster & cheaper.
OpusPlan workflow: /model opusplan → Shift+Tab × 2 (plan with Opus) → Shift+Tab (execute with Sonnet)
Required for: features >3 files, architecture, complex debugging
| Task | Model | Effort |
|---|---|---|
| Rename, boilerplate, test gen | Haiku | low |
| Feature dev, debug, refactor | Sonnet | medium–high |
| Architecture, security audit | Opus | high–max |
Full decision table with cost estimates: Section 2.5 Model Selection & Thinking Guide
Pattern: Start Sonnet (speed) → swap Opus (complexity) → back Sonnet
Workflow:
# Session start (default Sonnet)
claude
# Complex feature encountered
> "Implement OAuth2 flow with PKCE"
/model opus # Switch to deep reasoning
# Feature complete, back to routine
/model sonnet # Speed + cost optimization
Best Practices:
Cost Impact:
| Model | Input | Output | Use Case |
|---|---|---|---|
| Opus | $15/MTok | $75/MTok | Complex reasoning (10-20% of tasks) |
| Sonnet | $3/MTok | $15/MTok | Most development (70-80% of tasks) |
| Haiku | $0.25/MTok | $1.25/MTok | Simple validation (5-10% of tasks) |
Dynamic switching optimizes cost while maintaining quality on complex tasks.
Source: Gur Sannikov embedded engineering workflow
| Server | Purpose |
|---|---|
| Serena | Indexation + session memory + symbol search |
| grepai | Semantic search + call graph analysis |
| Context7 | Library documentation |
| Sequential | Structured reasoning |
| Playwright | Browser automation |
| Postgres | Database queries |
| doobidoo | Semantic memory + multi-client + Knowledge Graph |
Serena memory: write_memory() / read_memory() / list_memories()
Serena indexation:
# Initial index
uvx --from git+https://github.com/oraios/serena serena project index
# Force rebuild
serena project index --force-full
# Incremental update (faster)
serena project index --incremental --parallel 4
Check status: /mcp
.claude/agents/my-agent.md)---
name: my-agent
description: Use when [trigger]
model: sonnet
tools: Read, Write, Edit, Bash
---
# Instructions here
.claude/commands/my-command.md)# Command Name
Instructions for what to do...
$ARGUMENTS[0] $ARGUMENTS[1] (or $0 $1) - user args
.sh | Windows: .ps1)Bash (macOS/Linux):
#!/bin/bash
INPUT=$(cat)
# Process JSON input
exit 0 # 0=continue, 2=block
PowerShell (Windows):
$input = [Console]::In.ReadToEnd() | ConvertFrom-Json
# Process JSON input
exit 0 # 0=continue, 2=block
| ❌ Don't | ✅ Do |
|---|---|
| Vague prompts | Specify file + line with @references |
| Accept without reading | Read every diff |
| Ignore warnings | Use /compact at 70% |
| Skip permissions | Never in production |
| Negative constraints only | Provide alternatives |
WHAT: [Concrete deliverable]
WHERE: [File paths]
HOW: [Constraints, approach]
VERIFY: [Success criteria]
Example:
Add input validation to the login form.
WHERE: src/components/LoginForm.tsx
HOW: Use Zod schema, show inline errors
VERIFY: Empty email shows error, invalid format shows error
| Flag | Usage |
|---|---|
-p "query" | Non-interactive mode (CI/CD) |
-c / --continue | Continue last session |
-r / --resume <id> | Resume specific session |
--teleport | Teleport session from web |
remote-control | Subcommand: start remote control session |
--model sonnet | Change model |
--add-dir ../lib | Allow access outside CWD |
--permission-mode plan | Plan mode |
--tools "Tool1,Tool2" | Enable specific tools for session |
--max-budget-usd 5.00 | Max API spend limit (print mode) |
--system-prompt "..." | Append custom system prompt |
--worktree / -w | Run in isolated git worktree |
--dangerously-skip-permissions | Auto-accept (use carefully) |
--debug | Debug output |
--allowedTools "Edit,Read" | Whitelist tools |
Full CLI reference (~45 flags): see cli-reference on code.claude.com
claude --version # Version
claude update # Check/install updates
claude doctor # Diagnostic
claude --debug # Verbose mode
claude --mcp-debug # Debug MCPs
/mcp # MCP status (inside Claude)
# Non-interactive execution
claude -p "analyze this file" src/api.ts
# JSON output
claude -p "review" --output-format json
# Economic model
claude -p "lint" --model haiku
# With auto-accept
claude -p "fix typos" --dangerously-skip-permissions
Pro/Max only — not available on Team, Enterprise, or API keys
# Start from terminal (new session)
claude remote-control
# Or from inside an active session:
/rc # (or /remote-control)
Connect from phone/tablet/browser:
/mobile → shows App Store + Play Store links| ⚠️ Known Limitation | Detail |
|---|---|
| 1 session at a time | Only one remote session active |
| Slash commands broken | /new, /compact = plain text remotely → use from local terminal |
| Terminal must stay open | Closing local terminal ends session |
| Network timeout | ~10 min disconnect → session expires |
Advanced: tmux multi-session (bypass 1-session limit)
tmux new-session -s dev
# Each pane = its own claude session
# Run /rc in the pane you want to control remotely
Auto-enable: /config → toggle "Remote Control: auto-enable"
Full doc: §9.22 Remote Control | Security notes
Two systems available:
| System | When to Use | Persistence |
|---|---|---|
| Tasks API (v2.1.16+) | Multi-session projects, dependencies | ✅ Disk (~/.claude/tasks/) |
| TodoWrite (Legacy) | Simple single-session | ❌ Session only |
# Enable persistence across sessions
export CLAUDE_CODE_TASK_LIST_ID="project-name"
claude
# Inside Claude: Create task hierarchy
> "Create tasks for auth system with dependencies"
# Resume later (new session)
export CLAUDE_CODE_TASK_LIST_ID="project-name"
claude
> "TaskList to see current state"
Key capabilities:
⚠️ Limitation: TaskList shows id, subject, status, blockedBy only.
For description/metadata → use TaskGet(taskId) per task.
Tip: Store key info in subject for quick scanning.
Migration flag (v2.1.19+):
# Revert to old TodoWrite system
CLAUDE_CODE_ENABLE_TASKS=false claude
→ Full workflow: guide/workflows/task-management.md
/compact before context gets critical (>70%)Simple task → Just ask Claude
Complex task → Tasks API to plan first
Risky change → Plan Mode first
Repeating task → Create agent or command
Context full → /compact or /clear
Need docs → Use Context7 MCP
Deep analysis → Use Opus (thinking on by default)
| Problem | Solution |
|---|---|
| "Command not found" | Check PATH, reinstall npm global |
| Context too high (>70%) | /compact immediately |
| Slow responses | /compact or /clear |
| MCP not working | claude mcp list, check config |
| Permission denied | Check settings.local.json |
| Hook blocking | Check hook exit code, review logic |
Health Check Script (save & run):
# macOS/Linux
which claude && claude doctor && claude mcp list
# Windows PowerShell
where.exe claude; claude doctor; claude mcp list
| Model | Use For | Cost |
|---|---|---|
| Haiku | Simple fixes, reviews | $ |
| Sonnet | Most development | $$ |
| Opus | Architecture, complex bugs | $$$ |
| OpusPlan | Plan (Opus) + Execute (Sonnet) | $$ |
Tip: Use --add-dir to allow tool access to directories outside your current working directory
| Tool | Purpose | Install |
|---|---|---|
| ccusage | Cost tracking & reports | bunx ccusage daily |
| RTK | Token reduction (60-90%) | brew install rtk-ai/tap/rtk or cargo install rtk · Site |
| claude-code-viewer | Session history UI | npx @kimuson/claude-code-viewer |
| Entire CLI | Session checkpoints + governance | entire.io (Feb 2026) |
Entire CLI: Agent-native platform by ex-GitHub CEO with rewindable checkpoints, approval gates, audit trails. For compliance (SOC2, HIPAA) or multi-agent workflows.
ultimate-guide.md (this repo)CLAUDE.md at project rootANTHROPIC_BASE_URLAuthor: Florian BRUNIAUX | @Méthode Aristote | Written with Claude
Last updated: February 2026 | Version 3.29.0