Claude Code 是什么
详解这款智能体式 CLI/IDE 工具——会话循环、安装方式,以及各项功能的所在位置。
CLAUDE.md 与记忆文件
收益最高的 Claude Code 定制:持久化的项目记忆。
AGENTS.md 与跨工具互操作
每个编码代理都会读取的开放标准——以及如何让它与你的 CLAUDE.md 保持同步。
规划模式
在任何编辑执行前先只读地调查并提出方案——应对大改动最安全的方式。
IDE 集成
VS Code 与 JetBrains 扩展、内联 diff,以及共享设置。
settings.json:配置系统
文件层级与优先级、关键小节,以及项目配置与个人配置。
权限与权限模式
allow/ask/deny 规则与各种模式——在不牺牲安全的前提下减少询问。
自定义斜杠命令
把一个可重复的工作流变成一个词。
输出风格
改变 Claude Code 的语气、详略程度和讲解行为。
状态栏定制
用自定义脚本展示模型、当前目录、上下文预算和 git 状态。
使用 Spec Kit 进行规格驱动开发
别再用氛围编程硬上大功能。把可执行的规格当作唯一事实来源,然后让 Claude Code 据此构建——借助 GitHub 的 Spec Kit。
上下文管理
/compact 与 /clear、自动压缩,以及随着会话增长保持高效。
检查点与回溯
撤销 Claude 的编辑、回滚整个会话,并用 /rewind 压缩上下文——为大胆运行提供的安全网。
钩子:确定性自动化
在生命周期事件运行命令,以强制格式化、设关卡和保安全。
技能(Skills):按需调用的专长
SKILL.md、渐进式披露,以及技能 vs 命令 vs 子代理 vs 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 编写的脚本中编排数十到数百个子代理——用于代码库审计、大规模迁移和交叉核验式研究。
Inter-Session Messaging
Make two Claude Code terminals talk without you copy-pasting — the three shipping patterns for peer-to-peer session messaging, and the trust boundary you must not skip.
Claude Code 中的 MCP 服务器
通过模型上下文协议连接数据库、GitHub、浏览器等等。
后台任务、/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 打包成一个可安装的单元。
Git Worktree 与并行工作流
在同一个仓库上运行多个相互隔离的 Claude 会话,互不冲突。
无头模式与 Agent SDK
在 CI 中运行 Claude Code,并在同一套底座上构建生产级智能体。
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.
The MCP Token Tax
Why connecting MCP servers can burn 50k–150k tokens before your first request — and the three fixes: Tool Search, code execution, and knowing when a CLI call wins.
Accessibility
Screen reader mode, vim ergonomics, mouse and scroll controls, and high-contrast themes in Claude Code.
Troubleshooting Claude Code
Symptom-to-fix for hangs, high memory, broken search, compaction thrashing, and garbled terminals.