Files
everything-claude-code/docs/ja-JP/commands/claw.md
Claude d66b5fa480 docs: fix zh-CN parity — add 44 missing files to ja-JP
Add files present in zh-CN but missing from ja-JP:
- commands: claw, context-budget, devfleet, docs, projects, prompt-optimize, rules-distill (7 files)
- skills: regex-vs-llm-structured-text, remotion-video-creation, repo-scan, research-ops,
  returns-reverse-logistics, rules-distill, rust-patterns, rust-testing, skill-comply,
  skill-stocktake, social-graph-ranker, swift-actor-persistence, swift-concurrency-6-2,
  swift-protocol-di-testing, swiftui-patterns, team-builder, terminal-ops, token-budget-advisor,
  ui-demo, unified-notifications-ops, video-editing, videodb (+reference/*), visa-doc-translate,
  workspace-surface-audit, x-api (37 files)

Result: ja-JP now has 517 files vs zh-CN 412 files.
zh-CN parity: 0 missing files (complete parity achieved).
2026-05-17 02:31:40 -04:00

52 lines
2.0 KiB
Markdown

---
description: NanoClaw v2 を起動します — モデルルーティング、スキルホットロード、ブランチ、圧縮、エクスポート、メトリクス機能を備えた ECC の永続的でゼロ依存の REPL。
---
# Claw コマンド
永続的な Markdown 履歴と操作コントロールを備えた、インタラクティブな AI エージェントセッションを起動します。
## 使用方法
```bash
node scripts/claw.js
```
または npm 経由:
```bash
npm run claw
```
## 環境変数
| 変数 | デフォルト値 | 説明 |
|----------|---------|-------------|
| `CLAW_SESSION` | `default` | セッション名(英数字 + ハイフン) |
| `CLAW_SKILLS` | *(空)* | 起動時に読み込むスキルのカンマ区切りリスト |
| `CLAW_MODEL` | `sonnet` | セッションのデフォルトモデル |
## REPL コマンド
```text
/help ヘルプを表示
/clear 現在のセッション履歴をクリア
/history 会話履歴全体を表示
/sessions 保存済みセッションを一覧表示
/model [name] モデルを表示/設定
/load <skill-name> スキルをコンテキストにホットロード
/branch <session-name> 現在のセッションをブランチ
/search <query> セッションをまたいでクエリを検索
/compact 古いラウンドを圧縮し、最近のコンテキストを保持
/export <md|json|txt> [path] セッションをエクスポート
/metrics セッションメトリクスを表示
exit 終了
```
## 説明
* NanoClaw はゼロ依存を維持します。
* セッションは `~/.claude/claw/<session>.md` に保存されます。
* 圧縮は最近のラウンドを保持し、圧縮ヘッダーを書き込みます。
* エクスポートは Markdown、JSON ラウンド、プレーンテキストに対応しています。