Что такое Claude Code
Агентный инструмент CLI/IDE простыми словами — цикл сессии, установка и где что находится.
Claude Code Cheat Sheet
One printable page of Claude Code flags, commands, shortcuts, permission modes and file locations — every line checked against the official docs on 2026-10-13.
CLI claude: флаги, которые меняют результат
Авторский обзор командной строки Claude Code — контракт из пяти флагов для запусков без присмотра, ловушка записанного системного промпта и чем различаются --bare, --safe-mode и --restricted.
CLAUDE.md и файлы памяти
Самая высокоотдачная настройка Claude Code: постоянная память проекта.
AGENTS.md и кросс-инструментальная совместимость
Открытый стандарт, который читает каждый кодинг-агент, — и как держать его в синхронизации с вашим CLAUDE.md.
Режим планирования
Исследование и предложение до запуска любых правок — самый безопасный способ браться за крупные изменения, и то, что этот режим не блокирует.
Интеграции с IDE
Расширения для VS Code и JetBrains, встроенные diff'ы и общие настройки.
settings.json: система конфигурации
Уровни файлов и приоритет, ключевые разделы, конфигурация проекта против личной.
Разрешения и режимы разрешений
Правила allow/ask/deny и режимы — меньше запросов подтверждения без потери безопасности.
Agent SDK Permissions: the Six-Step Order
Every permission bug in a headless agent is an order bug. The six steps the Agent SDK evaluates — which ones can only deny, which can only allow, and the five ways allowedTools silently does nothing.
Sandbox Credential Masking: keep tokens working, keep them secret
Mask environment variables, JWTs, AWS SigV4 pairs, and credential files so sandboxed commands authenticate without ever seeing the real secret. Config, gotchas, and OS matrix.
Пользовательские слэш-команды
Превратите повторяющийся рабочий процесс в одно слово.
The /design Command: Artboards Before Code
Claude Code's /design skill drafts editable UI artboards before writing a line — how it works, when it wins, and the gotchas nobody documents.
Стили вывода
Измените тон, многословность и обучающее поведение Claude Code.
Настройка строки статуса
Отображайте модель, рабочий каталог, бюджет контекста и состояние git с помощью своего скрипта.
Разработка на основе спецификаций со Spec Kit
Хватит вайб-кодить большие фичи. Сделайте исполняемую спецификацию источником истины, а затем поручите Claude Code собрать всё из неё — с помощью Spec Kit от GitHub.
Управление контекстом
/compact против /clear, авто-уплотнение и сохранение эффективности по мере роста сессий.
Context Budget Audit: /skill-doctor, Output Caps and the Six Numbers That Fill Your Window
A 20-minute audit for a Claude Code project that has grown slow, forgetful, or expensive. Measure with /context and /usage, prune the skill listing with /skill-doctor and skillOverrides, cap tool output with bashOutputMaxChars and taskOutputMaxChars, keep CLAUDE.md out of subagents with omitClaudeMd, and set the auto-compact window on purpose. Every number cited to the September 2026 Claude Code docs.
Контрольные точки и откат
Отменяйте правки Claude, откатывайте всю сессию и сжимайте контекст командой /rewind — страховочная сетка для масштабных задач.
Хуки: детерминированная автоматизация
Запускайте команды на событиях жизненного цикла, чтобы обеспечить форматирование, проверки и безопасность.
Навыки: экспертиза по запросу
SKILL.md, прогрессивное раскрытие и сравнение навыка с командой, субагентом и MCP.
Субагенты и параллельные агенты
Делегируйте задачи агентам с изолированным контекстом и ограниченным набором инструментов — и узнайте, когда этого делать не стоит.
Subagent Fleet Limits: Concurrency Caps & Nested Depth
On July 21, 2026 Claude Code capped concurrent subagents at 20 and killed nested spawning. Three days later nesting came back at depth 3. Here are the four env vars, the error you'll hit, why the caps exist, and how to design fleets that survive them.
Динамические рабочие процессы и ultracode
Оркеструйте от десятков до сотен субагентов из скрипта, который пишет Claude — для аудита кодовой базы, крупных миграций и перекрёстно проверяемых исследований.
Cross-Session Messaging
Make two Claude Code sessions talk to each other — the native SendMessage / ListAgents tools shipped in Claude Code 2.1.224, the @mention syntax, the trust boundary, and when to use messaging vs. subagents vs. worktrees.
Projects: The Coordinator & Parallel Threads
On September 17, 2026 Claude Code Projects became an orchestration layer: a coordinator that scopes and delegates, and threads that are full cloud sessions, each on its own branch and repo copy. Here is the architecture, how it differs from subagents and worktrees, what it costs against your usage limits, and the eligibility rule that explains why you may not have it yet.
Серверы MCP в Claude Code
Подключайте базы данных, GitHub, браузеры и многое другое через Model Context Protocol.
Фоновые задачи, /loop и планирование
Долго выполняющиеся команды, повторяющиеся циклы и запланированные облачные агенты.
Auto-Commit Background Agents: Draft-PR Handoff
On July 1, 2026 Claude Code v2.1.198 let background agents commit, push, and open a draft PR on their own. Five weeks later v2.1.221 tuned the default. Here is what the flow actually does, the notification hook it fires, why the community wanted an off switch, and the propose-only pattern that still works.
Плагины и маркетплейсы
Объедините навыки, агентов, команды, хуки и MCP в одну устанавливаемую единицу.
Mods: In-Process Extensions
Mods are TypeScript middleware that runs inside Claude Code — rewrite tool calls, prompts, turns, and the interface itself.
Plugin Evals: проверка плагина командой claude plugin eval
Докажите, что плагин Claude Code действительно помогает: пишите eval-кейсы, оценивайте их шестью типами грейдеров, читайте дельту «с плагином / без него», подменяйте MCP-серверы моками и ставьте в CI ворота по оценке.
Git worktree и параллельные потоки работы
Запускайте несколько изолированных сессий Claude на одном репозитории так, чтобы они не сталкивались друг с другом.
Parallel Agents at Merge Time: Intent Conflicts and the CI Wall (2026)
Worktrees stop agents from overwriting each other's files. They don't stop two plans that can't both be true from merging cleanly. The coordination layer above Git (Foremerge's protocol, decoded) plus the CI surgery Linear did when agents started adding 2,000 tests a week — with every number.
Headless-режим и Agent SDK
Запускайте Claude Code в CI и создавайте production-агентов на той же основе.
Cloud Sessions: the VM Claude Code runs in when it isn't your laptop
Practitioner guide to Claude Code cloud sessions and cloud environments — exactly what carries over from your machine and what silently doesn't, the four network access levels and the four paths that bypass them, network secrets, setup scripts vs SessionStart hooks, the ~5-minute cache rule, resource and time limits, and the --cloud/--teleport round trip.
Self-Hosted Environments: run cloud sessions on your own boxes
Practitioner guide to the claude self-hosted-runner beta (shipped Aug 7, 2026 in v2.1.224). Run Claude Code web, mobile and desktop cloud sessions on infrastructure you control — egress-only, no inbound holes, one-user-at-a-time isolation. Architecture, quickstart, runner lifecycle, git creds, autoscaling, and the six gotchas that catch every first fleet.
Налог на токены MCP
Почему подключение MCP-серверов может сжечь 50k–150k токенов ещё до вашего первого запроса — и три способа исправить это: Tool Search, выполнение кода и понимание, когда лучше вызов CLI.
Доступность
Режим экранного диктора, эргономика vim, управление мышью и прокруткой, а также темы с высокой контрастностью в Claude Code.
Troubleshooting Claude Code
Symptom-to-fix for hangs, high memory, broken search, compaction thrashing, and garbled terminals.
Feature Flags: Why Your Claude Code Isn't Mine
Claude Code switches features on with flags it fetches from Anthropic. Privacy env vars, Bedrock, gateways and fresh installs silently turn that fetch off — here's exactly what you lose and how to pin behavior instead.