Skip to content

文档手册

快捷指令

  • ! 执行bash命令,注意没有提示补全

  • @ 指定修改的文件

  • 两次 ESC 清空

  • 结尾 \ +回车 换行

  • ctrl + o 展开thinking内容

    项目中

  • /init 生成CLAUDE.md,或者更新文件

  • /memory

  • /context 显示提示词占用比例

  • /clear 清空

  • /compact 主动压缩

  • /model 选择模型

  • /permissions

  • /rewind 回退到历史版本(对话还未执行的时机,会把当时的提示词附带到窗口中),restore code and conversation

  • resume

  • rename

命令

claude -c #继续上一次对话

自定义命令 commands

  • 命令会被作为skill执行
  • 变量 $ARGUMENTS

模式

shift + tab

commands

命名空间(支持文件夹嵌套)

markdown
---
description: 打招呼
argument-hint: <姓名> [xxxx]
disable-model-invocation: true #模型不能主动调用
allowed-tools:
  - Write
---

# 打招呼

和$ARGUMENTS打招呼,然后创建一个$ARGUMENTS.md文件

skills

MCP

claude mcp list
claude mcp add

claude mcp add --transp http test-http https:// -s user
  • -s user 添加作为全局的服务

上次更新时间:

最近更新