文档手册
快捷指令
!执行bash命令,注意没有提示补全@指定修改的文件两次
ESC清空结尾
\+回车换行ctrl+o展开thinking内容项目中
/init生成CLAUDE.md,或者更新文件/memory/context显示提示词占用比例/clear清空/compact主动压缩/model选择模型/permissions/rewind回退到历史版本(对话还未执行的时机,会把当时的提示词附带到窗口中),restore code and conversationresumerename
命令
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添加作为全局的服务