Week 4 of 12 ⌨️
Slash Commands และการตั้งค่า
Slash 命令与配置
Click a card to flip it. คลิกการ์ดเพื่อพลิก 点击卡片翻面。
What does /compact do?
/compact ทำอะไร?
/compact 是做什么的?
Which modal means 'recommendation'?
คำกริยาช่วยตัวใดหมายถึง 'คำแนะนำ'?
哪个情态动词表示"建议"?
How do you change the AI model?
เปลี่ยนโมเดล AI ยังไง?
怎么切换 AI 模型?
How to do it
/ — a menu of every command appears./mo narrows the list to /model.How to do it
/clear and press Enter.How to do it
/model — a list appears (Opus = most powerful, Sonnet = balanced, Haiku = fastest).How to do it
/cost to see the tokens used in this session.How to do it
/config to open the settings screen.Step by step
/status — note your model and working directory./cost — note the tokens used so far./model — look at the choices, then press Esc (or switch and switch back)./cost again and compare the numbers.✓ You did it right if: you can say which model you are using and how many tokens your question cost.
> /status model: Sonnet - dir: ~/my-project - 0 tokens used > /cost 0 tokens used this session > What is a slash command? * A slash command starts with / and controls Claude Code itself instead of talking to the project... > /cost 412 tokens used this session <- your question had a price! > /model * Sonnet (current) Opus Haiku <- pick with arrow keys
| Command / Tool | English | ภาษาไทย | 中文 |
|---|---|---|---|
/clear | Reset conversation | รีเซ็ตการสนทนา | 重置对话 |
/compact | Compress context | บีบอัดบริบท | 压缩上下文 |
/model | Change AI model | เปลี่ยนโมเดล AI | 切换 AI 模型 |
/cost | Show token usage | แสดงการใช้โทเค็น | 显示 token 用量 |
/diff | View file changes | ดูการเปลี่ยนแปลงไฟล์ | 查看文件改动 |
/config | Open settings | เปิดการตั้งค่า | 打开设置 |
A working slash-command menu, and a context bucket you can overflow and rescue. / ลองใช้เมนู slash commands จริง ๆ / 试用真实的斜杠命令菜单
Type in the box. Start with / to see the command menu, or type a normal message.