跳到正文
Boris Cherny· @bcherny · X·· 2026-07-09AI 评分62
AI 导读

Claude Code 新增: /checkup 运行 /checkup 可: 1. 清理未使用的技能/MCP/插件,节省上下文空间 2. 将本地 CLAUDE.md 与已检入的 CLAUDE.md 去重 3. 将根目录 CLAUDE.md 拆分为嵌套 CLAUDE.md 及技能文件 4. 关闭缓慢的钩子 5. 将 Claude Code 更新至最新版本 6. 默认启用自动模式 7. 预批准频繁被拒的只读命令 .. 以及其他一些小改进。 /checkup 会在做出任何更改前与你确认。尽情使用吧!

正文 · 原文

New in Claude Code: /checkup

Run /checkup to:

  1. Clean up unused skills/MCPs/plugins and save context
  2. Dedup your local CLAUDE.md against the checked in CLAUDE.md
  3. Break up root CLAUDE.md into nested CLAUDE.md's + skills
  4. Turn off slow hooks
  5. Update your Claude Code to the latest version
  6. Enable auto mode by default
  7. Pre-approve frequently denied read-only commands

.. And a few other goodies.

/checkup confirms with you before making any changes. Enjoy!

来源:Boris Cherny · x.com