knowledge-vault/discussions/technology/Claude-Code/常用命令.md

32 lines
1.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 常用命令
* claude update 升级
* claude --permission-mode auto 自动确认
/memory 记忆
/clear 清除对话历史 完全重置当前对话
/compact 压缩对话上下文 保留核心信息节省Token
/resume 查看历史对话 选择之前的对话继续
/edit 编辑记忆文件 修改用户或项目记忆
/model 切换AI模型 选择不同的Claude模型
/help 显示帮助 查看所有可用命令
/exit 退出Claude Code 返回普通终端
---
解决方案:使用 -g 全局安装
npx skills add <package> -g -y
这样技能会安装到用户级,跨所有项目共享。
我在机器上还安装了Claude Code那么
1. 你是否能调用起Cluade
2. Cluade下面我已经安装了一些用户级别的技能有些是你也能用的那么你用的话需要重新安装到Skills里么
3. 你和Cluade的区别我在使用时如何能将你和Claude Code结合起来发挥最大的优势
只需要回答问题,不需要做任何实际执行工作,比如增加技能这些。
---