2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Claude Codeでよく使うビルトインコマンド一覧

2
Posted at

はじめに

Claude Codeでよく使うビルトインコマンドを紹介します。

環境

  • Claude Code: 2.1.44

Claude Codeでよく使うビルドインコマンド一覧

コマンド 説明 備考
/clear コンテキストをリセットする 無関係なコンテキストでのセッションが長時間続くと、パフォーマンスが低下する可能性がある
/compact {指示} 指示の通りにコンテキストを圧縮する 無関係なコンテキストをなくし、パフォーマンスの低下を防ぐ
/context 現在のコンテキストの使用状況を出力する
/doctor インストールの健全性をチェックする
/exit REPLを終了する
/init CLAUDE.md ガイドでプロジェクトを初期化する
/mcp MCPサーバーを管理する
/rename {名前} セッションをリネームする セッションにわかりやすい名前を付け、あとで見つけやすくする
/resume {セッション} セッションを再開する
/rewind 会話やコードを巻き戻す、一部のみコンテキストを圧縮する
/status ステータスタブを開く
/usage 使用状況を出力する

おわりに

ビルトインのスラッシュコマンドを活用することで、Claude Codeを効率よく使えるようになります。
みなさんもぜひ使いこなしてください :relaxed:

参考リンク

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?