clew-code 0.2.7 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/README.md +292 -299
  2. package/dist/main.js +2745 -2869
  3. package/docs/architecture.html +148 -145
  4. package/docs/architecture.th.html +79 -78
  5. package/docs/clew-code-architecture.html +1125 -0
  6. package/docs/commands.html +224 -223
  7. package/docs/commands.th.html +131 -130
  8. package/docs/configuration.html +147 -145
  9. package/docs/configuration.th.html +108 -106
  10. package/docs/css/styles.css +48 -42
  11. package/docs/daemon.html +129 -128
  12. package/docs/daemon.th.html +73 -72
  13. package/docs/features/bridge-mode.html +99 -98
  14. package/docs/features/bridge-mode.th.html +90 -89
  15. package/docs/features/evals.html +182 -181
  16. package/docs/features/evals.th.html +90 -89
  17. package/docs/features/peer.html +178 -177
  18. package/docs/features/searxng-search.html +151 -150
  19. package/docs/features/searxng-search.th.html +95 -94
  20. package/docs/features/sentry-setup.html +157 -156
  21. package/docs/features/sentry-setup.th.html +97 -96
  22. package/docs/index.html +299 -298
  23. package/docs/index.th.html +292 -290
  24. package/docs/installation.html +105 -103
  25. package/docs/installation.th.html +105 -103
  26. package/docs/internals/growthbook-ab-testing.html +113 -112
  27. package/docs/internals/growthbook-ab-testing.th.html +81 -80
  28. package/docs/internals/hidden-features.html +149 -147
  29. package/docs/internals/hidden-features.th.html +109 -107
  30. package/docs/js/main.js +83 -3
  31. package/docs/loop.html +181 -180
  32. package/docs/loop.th.html +227 -226
  33. package/docs/mcp.html +247 -246
  34. package/docs/mcp.th.html +207 -206
  35. package/docs/models.html +111 -110
  36. package/docs/models.th.html +61 -60
  37. package/docs/peer.html +236 -235
  38. package/docs/peer.th.html +280 -279
  39. package/docs/permission-model.html +102 -101
  40. package/docs/permission-model.th.html +67 -66
  41. package/docs/plugins.html +102 -101
  42. package/docs/plugins.th.html +79 -78
  43. package/docs/providers.html +126 -117
  44. package/docs/providers.th.html +80 -78
  45. package/docs/quick-start.html +93 -92
  46. package/docs/quick-start.th.html +40 -39
  47. package/docs/research-memory.html +82 -79
  48. package/docs/research-memory.th.html +72 -71
  49. package/docs/skills.html +117 -116
  50. package/docs/skills.th.html +90 -89
  51. package/docs/tools.html +170 -169
  52. package/docs/tools.th.html +84 -83
  53. package/docs/troubleshooting.html +106 -105
  54. package/docs/troubleshooting.th.html +85 -84
  55. package/package.json +164 -162
  56. package/docs/taste.html +0 -436
  57. package/docs/taste.th.html +0 -236
@@ -1,223 +1,224 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Commands Clew</title>
7
- <meta name="description" content="Complete reference for all slash commands in Clew built-in commands, skills, and plugin commands.">
8
- <link rel="preconnect" href="https://fonts.googleapis.com">
9
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10
- <link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
11
- <link rel="stylesheet" href="css/styles.css">
12
- <link rel="icon" type="image/svg+xml" href="./assets/clew.svg">
13
- </head>
14
- <body>
15
- <header class="header"></header>
16
- <div class="app"><aside class="sidebar" id="sidebar"></aside><div class="sidebar-overlay" id="sidebarOverlay"></div>
17
- <div class="content-wrap"><main class="content">
18
- <div class="breadcrumbs"><a href="index.html">Home</a><span class="sep">/</span><span>Commands</span></div>
19
- <h1>Commands</h1>
20
- <p class="section-subtitle">Clew ships with 80+ built-in slash commands plus dynamically loaded skills and plugin commands. Commands can be <strong>local</strong> (terminal execution), <strong>prompt</strong> (text expanded to the model), or <strong>local-jsx</strong> (Ink UI panels).</p>
21
-
22
- <div class="callout callout-tip">
23
- <strong>Discovery</strong>
24
- Type <code>/</code> in the REPL to see all available commands in your build. Commands are registered in <code>src/commands.ts</code> and loaded from built-in, plugin, skill, bundled, and workflow sources.
25
- </div>
26
-
27
- <h2>Session &amp; Context</h2>
28
- <table>
29
- <tr><th>Command</th><th>Description</th></tr>
30
- <tr><td><code>/clear</code></td><td>Clear conversation history and free up context</td></tr>
31
- <tr><td><code>/compact</code></td><td>Compress session context log/trace snipping, consolidation, pruning</td></tr>
32
- <tr><td><code>/context</code></td><td>Visualize current context usage as a colored grid</td></tr>
33
- <tr><td><code>/resume</code></td><td>Resume a previous conversation</td></tr>
34
- <tr><td><code>/rename</code></td><td>Rename the current conversation</td></tr>
35
- <tr><td><code>/rewind</code></td><td>Restore code and/or conversation to a previous point</td></tr>
36
- <tr><td><code>/copy</code></td><td>Copy Claude's last response to clipboard (or /copy N for Nth-latest)</td></tr>
37
- <tr><td><code>/export</code></td><td>Export the current conversation to a file or clipboard</td></tr>
38
- <tr><td><code>/session</code></td><td>Show remote session URL and QR code</td></tr>
39
- <tr><td><code>/branch</code></td><td>Create a branch of the current conversation at this point</td></tr>
40
- <tr><td><code>/files</code></td><td>List all files currently in context</td></tr>
41
- </table>
42
-
43
- <h2>Model &amp; Provider</h2>
44
- <table>
45
- <tr><th>Command</th><th>Description</th></tr>
46
- <tr><td><code>/model</code></td><td>Switch model or provider fetches live models from provider API when available (Enter=save default, <code>s</code>=session-only)</td></tr>
47
- <tr><td><code>/provider-select</code></td><td>Show or change the active AI provider and model</td></tr>
48
- <tr><td><code>/taste</code></td><td>Open taste preference-learning interactive menu (learn, forget, profile, events, decay, eval, on/off)</td></tr>
49
- <tr><td><code>/effort</code></td><td>Set effort level for model reasoning (low, medium, high, max) — works with all providers that support reasoning_effort</td></tr>
50
- <tr><td><code>/cost</code></td><td>Show the total cost and duration of the current session</td></tr>
51
- <tr><td><code>/usage</code></td><td>Show plan usage limits</td></tr>
52
- <tr><td><code>/usage-credits</code></td><td>Configure usage credits to keep working when limits are hit</td></tr>
53
- <tr><td><code>/stats</code></td><td>Show your Clew usage statistics and activity</td></tr>
54
- <tr><td><code>/rate-limit-options</code></td><td>Show options when rate limit is reached</td></tr>
55
- <tr><td><code>/upgrade</code></td><td>Upgrade to Max for higher rate limits and more Opus</td></tr>
56
- </table>
57
-
58
- <h2>Tools &amp; Permissions</h2>
59
- <table>
60
- <tr><th>Command</th><th>Description</th></tr>
61
- <tr><td><code>/tools</code></td><td>List all tools with usage stats and estimated token cost</td></tr>
62
- <tr><td><code>/permissions</code></td><td>Manage allow &amp; deny tool permission rules</td></tr>
63
- <tr><td><code>/plan</code></td><td>Enable plan mode or view the current session plan</td></tr>
64
- <tr><td><code>/privacy-settings</code></td><td>View and update your privacy settings</td></tr>
65
- <tr><td><code>/datadog</code></td><td>Manage individual telemetry and analytics settings (Datadog, Anthropic, Global)</td></tr>
66
- <tr><td><code>/capabilities</code></td><td>Show available system capabilities (git, tmux, browser, network, shells)</td></tr>
67
- <tr><td><code>/hooks</code></td><td>View hook configurations for tool events (PreToolUse, PostToolUse, MessageDisplay, SessionStart)</td></tr>
68
- <tr><td><code>/sandbox-toggle</code></td><td>Toggle sandbox mode for tool execution</td></tr>
69
- </table>
70
-
71
- <h2>Extensions (Plugins, MCP, Skills)</h2>
72
- <table>
73
- <tr><th>Command</th><th>Description</th></tr>
74
- <tr><td><code>/plugin</code></td><td>Manage plugins list, install, remove</td></tr>
75
- <tr><td><code>/plugin-details</code></td><td>Show plugin component inventory, hooks, MCP servers, and per-session token cost</td></tr>
76
- <tr><td><code>/reload-plugins</code></td><td>Activate pending plugin changes in the current session</td></tr>
77
- <tr><td><code>/mcp</code></td><td>Manage MCP servers (<code>list</code> shows pending approval for unapproved .mcp.json servers)</td></tr>
78
- <tr><td><code>/code-review</code></td><td>Review changed code for correctness bugs (low/medium/high effort; <code>--fix</code> applies changes, <code>--comment</code> posts PR comments)</td></tr>
79
- <tr><td><code>/simplify</code></td><td>Cleanup-only code review (reuse, efficiency, altitude) with auto-fix</td></tr>
80
- <tr><td><code>/skill</code></td><td>List available skills or show skill details</td></tr>
81
- <tr><td><code>/skills</code></td><td>List available skills</td></tr>
82
- </table>
83
-
84
- <h2>Agents</h2>
85
- <table>
86
- <tr><th>Command</th><th>Description</th></tr>
87
- <tr><td><code>/agent</code></td><td>Manage Clew AI Agents execution, state checkpoints, and approvals</td></tr>
88
- <tr><td><code>/agents</code></td><td>Open interactive agent dashboard with grouped sessions, PR columns, dispatch autocomplete, AI summaries, and keyboard shortcuts</td></tr>
89
- <tr><td><code>!bg &lt;command&gt;</code></td><td>Run a shell command as a persistent background agent task, visible in the agents dashboard with live status tracking</td></tr>
90
- <tr><td><code>/tasks</code></td><td>List and manage background tasks</td></tr>
91
- <tr><td><code>/daemon</code></td><td>Open an interactive 24/7 autonomous daemon control panel; subcommands still support start/stop/status/restart</td></tr>
92
- <tr><td><code>/task</code></td><td>Create scheduled tasks with an interactive form; subcommands still manage the autonomous task queue</td></tr>
93
- <tr><td><code>/loop</code></td><td>Run a prompt or slash command on a recurring interval (e.g. <code>/loop 5m /check-deploy</code>)</td></tr>
94
- <tr><td><code>/autofix-pr</code></td><td>Fix CI errors and address review comments on a PR using Clew on the web</td></tr>
95
- </table>
96
-
97
- <h2>System &amp; Diagnostics</h2>
98
- <table>
99
- <tr><th>Command</th><th>Description</th></tr>
100
- <tr><td><code>/help</code></td><td>Show help and available commands</td></tr>
101
- <tr><td><code>/status</code></td><td>Show Clew status including version, model, account, API connectivity, and tool statuses</td></tr>
102
- <tr><td><code>/doctor</code></td><td>Diagnose and verify your Clew installation and settings</td></tr>
103
- <tr><td><code>/exit</code></td><td>Exit the REPL</td></tr>
104
- <tr><td><code>/version</code></td><td>Show version</td></tr>
105
- <tr><td><code>/release-notes</code></td><td>View release notes</td></tr>
106
- <tr><td><code>/upgrade</code></td><td>Upgrade to Max for higher rate limits</td></tr>
107
- </table>
108
-
109
- <h2>Configuration</h2>
110
- <table>
111
- <tr><th>Command</th><th>Description</th></tr>
112
- <tr><td><code>/config</code></td><td>Open config panel</td></tr>
113
- <tr><td><code>/theme</code></td><td>Change the theme</td></tr>
114
- <tr><td><code>/color</code></td><td>Set the prompt bar color for this session</td></tr>
115
- <tr><td><code>/keybindings</code></td><td>Open or create your keybindings configuration file</td></tr>
116
- <tr><td><code>/scroll-speed</code></td><td>Set mouse wheel scroll speed multiplier (1-20)</td></tr>
117
- <tr><td><code>/output-style</code></td><td>Deprecated: use /config to change output style</td></tr>
118
- <tr><td><code>/remote-env</code></td><td>Configure the default remote environment for teleport sessions</td></tr>
119
- <tr><td><code>/setting-sources</code></td><td>Configure setting sources</td></tr>
120
- <tr><td><code>/init</code></td><td>Run Setup hooks with init trigger</td></tr>
121
- </table>
122
-
123
- <h2>Git &amp; Code Review</h2>
124
- <table>
125
- <tr><th>Command</th><th>Description</th></tr>
126
- <tr><td><code>/diff</code></td><td>View uncommitted changes and per-turn diffs</td></tr>
127
- <tr><td><code>/commit</code></td><td>Stage and commit changes</td></tr>
128
- <tr><td><code>/commit-push-pr</code></td><td>Commit, push, and create a PR</td></tr>
129
- <tr><td><code>/review</code></td><td>Review code changes</td></tr>
130
- <tr><td><code>/security-review</code></td><td>Run a security review</td></tr>
131
- <tr><td><code>/pr-comments</code></td><td>Get comments from a GitHub pull request</td></tr>
132
- <tr><td><code>/install-github-app</code></td><td>Set up Claude GitHub Actions for a repository</td></tr>
133
- </table>
134
-
135
- <h2>Research &amp; Search</h2>
136
- <table>
137
- <tr><th>Command</th><th>Description</th></tr>
138
- <tr><td><code>/research</code></td><td>Deep source-grounded research across local files, wiki, and memory</td></tr>
139
- <tr><td><code>/memory</code></td><td>Edit Claude memory files</td></tr>
140
- <tr><td><code>/memory-search</code></td><td>Search memories using semantic search (cross-lingual)</td></tr>
141
- <tr><td><code>/searxng</code></td><td>Start, stop, or check status of the local SearXNG Docker container</td></tr>
142
- <tr><td><code>/explorer</code></td><td>Toggle file explorer sidebar</td></tr>
143
- </table>
144
-
145
- <h2>Evaluation</h2>
146
- <table>
147
- <tr><th>Command</th><th>Description</th></tr>
148
- <tr><td><code>/eval</code></td><td>Evaluate AI agent performance with the verification harness</td></tr>
149
- </table>
150
-
151
- <h2>Utilities</h2>
152
- <table>
153
- <tr><th>Command</th><th>Description</th></tr>
154
- <tr><td><code>/btw</code></td><td>Ask a quick side question without interrupting the main conversation</td></tr>
155
- <tr><td><code>/buddy</code></td><td>Configure your AI companion (Buddy)</td></tr>
156
- <tr><td><code>/desktop</code></td><td>Continue the current session in Claude Desktop</td></tr>
157
- <tr><td><code>/mobile</code></td><td>Show QR code to download the Claude mobile app</td></tr>
158
- <tr><td><code>/powerup</code></td><td>Interactive lessons teaching Clew features with animated demos</td></tr>
159
- <tr><td><code>/feedback</code></td><td>Submit feedback about Clew</td></tr>
160
- <tr><td><code>/onboarding</code></td><td>Run the interactive onboarding wizard</td></tr>
161
- <tr><td><code>/team-onboarding</code></td><td>Generate a teammate ramp-up guide from your local usage</td></tr>
162
- <tr><td><code>/add-dir</code></td><td>Add a new working directory</td></tr>
163
- <tr><td><code>/goal</code></td><td>Set a session goal</td></tr>
164
- <tr><td><code>/heapdump</code></td><td>Dump the JS heap to ~/Desktop</td></tr>
165
- <tr><td><code>/stickers</code></td><td>Order Clew stickers</td></tr>
166
- <tr><td><code>/thinkback</code></td><td>Your 2025 Clew Year in Review</td></tr>
167
- </table>
168
-
169
- <h2>Feature-Gated Commands</h2>
170
- <p>These commands require specific environment variables to be enabled:</p>
171
- <table>
172
- <tr><th>Command</th><th>Flag</th><th>Description</th></tr>
173
- <tr><td><code>/bridge</code></td><td><code>BRIDGE_MODE=1</code></td><td>Connect this terminal for remote-control sessions</td></tr>
174
- <tr><td><code>/voice</code></td><td><code>VOICE_MODE=1</code></td><td>Toggle voice mode</td></tr>
175
- <tr><td><code>/brief</code></td><td><code>KAIROS=1</code></td><td>Brief command</td></tr>
176
- <tr><td><code>/assistant</code></td><td><code>KAIROS=1</code></td><td>Assistant mode</td></tr>
177
- <tr><td><code>/ant</code></td><td><code>USER_TYPE=ant</code></td><td>Toggle ant-only beta features</td></tr>
178
- <tr><td><code>/ultraplan</code></td><td>Internal</td><td>Extended plan mode</td></tr>
179
- <tr><td><code>/bughunter</code></td><td>Internal</td><td>Bug hunting workflow</td></tr>
180
- </table>
181
-
182
- <h2>Interactive Autocomplete</h2>
183
- <p>Clew features an inline ghost text system that predicts the next argument as you type commands:</p>
184
- <ul>
185
- <li>Type <code>/goal</code> followed by a space inline ghost text shows <code>[condition]</code> in dim text after the cursor</li>
186
- <li>Press <kbd>Tab</kbd> or <kbd>→</kbd> (Right Arrow) to accept the ghost text and fill the placeholder</li>
187
- <li>Supports progressive hints: <code>/goal fix [name] [priority]</code> reveals remaining args as you fill each one</li>
188
- <li>Commands with <code>argumentHint</code> (e.g. <code>/plugin-details &lt;plugin-name&gt;</code>) show static placeholder hints</li>
189
- </ul>
190
- <p>For mid-input command completion, the same ghost text engine fills in partial command names:</p>
191
- <ul>
192
- <li>Type <code>/com</code> ghost text shows <code>mit</code> for <code>/commit</code></li>
193
- <li>Press <kbd>Tab</kbd> or <kbd>→</kbd> to complete the command name</li>
194
- </ul>
195
-
196
- <h2>Command Loading</h2>
197
- <p>Commands are loaded from multiple sources at startup:</p>
198
- <ul>
199
- <li><strong>Built-in</strong> Core commands from <code>src/commands/</code> (always available)</li>
200
- <li><strong>Bundled skills</strong> Skills shipped with the application</li>
201
- <li><strong>Built-in plugin skills</strong> From enabled built-in plugins</li>
202
- <li><strong>Skill directory</strong> <code>~/.claude/skills/</code> and project <code>.claude/skills/</code></li>
203
- <li><strong>Plugin commands</strong> From installed plugins</li>
204
- <li><strong>Plugin skills</strong> From plugin skill directories</li>
205
- <li><strong>MCP skills</strong> From MCP servers (when <code>MCP_SKILLS</code> feature is enabled)</li>
206
- <li><strong>Dynamic skills</strong> Discovered during file operations</li>
207
- </ul>
208
- <p>Use <code>/reload-plugins</code> to reload plugin-provided commands without restarting. Remote-safe and bridge-safe commands have explicit allowlists in <code>src/commands.ts</code>.</p>
209
-
210
- <footer class="footer">
211
- <span>Clew v0.2.4 Open Source</span>
212
- <div class="footer-links">
213
- <a href="https://github.com/JonusNattapong/ClewCode">GitHub</a>
214
- <a href="https://github.com/JonusNattapong/ClewCode/issues">Issues</a>
215
- </div>
216
- </footer>
217
- </main>
218
- <nav class="toc-sidebar"></nav>
219
- </div>
220
- </div>
221
- <script src="js/main.js"></script>
222
- </body>
223
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Commands — Clew</title>
7
+ <meta name="description" content="Complete reference for all slash commands in Clew — built-in commands, skills, and plugin commands.">
8
+ <link rel="preconnect" href="https://fonts.googleapis.com">
9
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10
+ <link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
11
+ <link rel="stylesheet" href="css/styles.css">
12
+ <link rel="icon" type="image/svg+xml" href="./assets/clew.svg">
13
+ </head>
14
+ <body>
15
+ <header class="header"></header>
16
+ <div class="app"><aside class="sidebar" id="sidebar"></aside><div class="sidebar-overlay" id="sidebarOverlay"></div>
17
+ <div class="content-wrap"><main class="content">
18
+ <div class="breadcrumbs"><a href="index.html">Home</a><span class="sep">/</span><span>Commands</span></div>
19
+ <h1>Commands</h1>
20
+ <p class="section-subtitle">Clew ships with <strong>120+ slash commands</strong> (411 files across 120+ directories) plus dynamically loaded skills and plugin commands. Commands can be <strong>local</strong> (terminal execution), <strong>prompt</strong> (text expanded to the model), or <strong>local-jsx</strong> (Ink UI panels).</p>
21
+
22
+ <div class="callout callout-tip">
23
+ <strong>Discovery</strong>
24
+ Type <code>/</code> in the REPL to see all available commands in your build. Commands are registered in <code>src/commands.ts</code> and loaded from built-in, plugin, skill, bundled, and workflow sources.
25
+ </div>
26
+
27
+ <h2>Session &amp; Context</h2>
28
+ <table>
29
+ <tr><th>Command</th><th>Description</th></tr>
30
+ <tr><td><code>/clear</code></td><td>Clear conversation history and free up context</td></tr>
31
+ <tr><td><code>/compact</code></td><td>Compress session context — log/trace snipping, consolidation, pruning</td></tr>
32
+ <tr><td><code>/context</code></td><td>Visualize current context usage as a colored grid</td></tr>
33
+ <tr><td><code>/resume</code></td><td>Resume a previous conversation</td></tr>
34
+ <tr><td><code>/rename</code></td><td>Rename the current conversation</td></tr>
35
+ <tr><td><code>/rewind</code></td><td>Restore code and/or conversation to a previous point</td></tr>
36
+ <tr><td><code>/copy</code></td><td>Copy Claude's last response to clipboard (or /copy N for Nth-latest)</td></tr>
37
+ <tr><td><code>/export</code></td><td>Export the current conversation to a file or clipboard</td></tr>
38
+ <tr><td><code>/session</code></td><td>Show remote session URL and QR code</td></tr>
39
+ <tr><td><code>/branch</code></td><td>Create a branch of the current conversation at this point</td></tr>
40
+ <tr><td><code>/files</code></td><td>List all files currently in context</td></tr>
41
+ </table>
42
+
43
+ <h2>Model &amp; Provider</h2>
44
+ <table>
45
+ <tr><th>Command</th><th>Description</th></tr>
46
+ <tr><td><code>/model</code></td><td>Switch model or provider — fetches live models from provider API when available (Enter=save default, <code>s</code>=session-only)</td></tr>
47
+ <tr><td><code>/provider-select</code></td><td>Show or change the active AI provider and model</td></tr>
48
+ <tr><td><code>/taste</code></td><td>Open taste preference-learning interactive menu (learn, forget, profile, events, decay, eval, on/off)</td></tr>
49
+ <tr><td><code>/effort</code></td><td>Set effort level for model reasoning (low, medium, high, max) — works with all providers that support reasoning_effort</td></tr>
50
+ <tr><td><code>/cost</code></td><td>Show the total cost and duration of the current session</td></tr>
51
+ <tr><td><code>/usage</code></td><td>Show plan usage limits</td></tr>
52
+ <tr><td><code>/usage-credits</code></td><td>Configure usage credits to keep working when limits are hit</td></tr>
53
+ <tr><td><code>/stats</code></td><td>Show your Clew usage statistics and activity</td></tr>
54
+ <tr><td><code>/rate-limit-options</code></td><td>Show options when rate limit is reached</td></tr>
55
+ <tr><td><code>/upgrade</code></td><td>Upgrade to Max for higher rate limits and more Opus</td></tr>
56
+ </table>
57
+
58
+ <h2>Tools &amp; Permissions</h2>
59
+ <table>
60
+ <tr><th>Command</th><th>Description</th></tr>
61
+ <tr><td><code>/tools</code></td><td>List all tools with usage stats and estimated token cost</td></tr>
62
+ <tr><td><code>/permissions</code></td><td>Manage allow &amp; deny tool permission rules</td></tr>
63
+ <tr><td><code>/plan</code></td><td>Enable plan mode or view the current session plan</td></tr>
64
+ <tr><td><code>/privacy-settings</code></td><td>View and update your privacy settings</td></tr>
65
+ <tr><td><code>/datadog</code></td><td>Manage individual telemetry and analytics settings (Datadog, Anthropic, Global)</td></tr>
66
+ <tr><td><code>/capabilities</code></td><td>Show available system capabilities (git, tmux, browser, network, shells)</td></tr>
67
+ <tr><td><code>/hooks</code></td><td>View hook configurations for tool events (PreToolUse, PostToolUse, MessageDisplay, SessionStart)</td></tr>
68
+ <tr><td><code>/sandbox-toggle</code></td><td>Toggle sandbox mode for tool execution</td></tr>
69
+ </table>
70
+
71
+ <h2>Extensions (Plugins, MCP, Skills)</h2>
72
+ <table>
73
+ <tr><th>Command</th><th>Description</th></tr>
74
+ <tr><td><code>/plugin</code></td><td>Manage plugins — list, install, remove</td></tr>
75
+ <tr><td><code>/plugin-details</code></td><td>Show plugin component inventory, hooks, MCP servers, and per-session token cost</td></tr>
76
+ <tr><td><code>/reload-plugins</code></td><td>Activate pending plugin changes in the current session</td></tr>
77
+ <tr><td><code>/mcp</code></td><td>Manage MCP servers (<code>list</code> shows pending approval for unapproved .mcp.json servers)</td></tr>
78
+ <tr><td><code>/code-review</code></td><td>Review changed code for correctness bugs (low/medium/high effort; <code>--fix</code> applies changes, <code>--comment</code> posts PR comments)</td></tr>
79
+ <tr><td><code>/simplify</code></td><td>Cleanup-only code review (reuse, efficiency, altitude) with auto-fix</td></tr>
80
+ <tr><td><code>/skill</code></td><td>List available skills or show skill details</td></tr>
81
+ <tr><td><code>/skills</code></td><td>List available skills</td></tr>
82
+ </table>
83
+
84
+ <h2>Agents</h2>
85
+ <table>
86
+ <tr><th>Command</th><th>Description</th></tr>
87
+ <tr><td><code>/agent</code></td><td>Manage Clew AI Agents execution, state checkpoints, and approvals</td></tr>
88
+ <tr><td><code>/agents</code></td><td>Open interactive agent dashboard with grouped sessions, PR columns, dispatch autocomplete, AI summaries, and keyboard shortcuts</td></tr>
89
+ <tr><td><code>!bg &lt;command&gt;</code></td><td>Run a shell command as a persistent background agent task, visible in the agents dashboard with live status tracking</td></tr>
90
+ <tr><td><code>/tasks</code></td><td>List and manage background tasks</td></tr>
91
+ <tr><td><code>/daemon</code></td><td>Open an interactive 24/7 autonomous daemon control panel; subcommands still support start/stop/status/restart</td></tr>
92
+ <tr><td><code>/task</code></td><td>Create scheduled tasks with an interactive form; subcommands still manage the autonomous task queue</td></tr>
93
+ <tr><td><code>/loop</code></td><td>Run a prompt or slash command on a recurring interval (e.g. <code>/loop 5m /check-deploy</code>)</td></tr>
94
+ <tr><td><code>/autofix-pr</code></td><td>Fix CI errors and address review comments on a PR using Clew on the web</td></tr>
95
+ </table>
96
+
97
+ <h2>System &amp; Diagnostics</h2>
98
+ <table>
99
+ <tr><th>Command</th><th>Description</th></tr>
100
+ <tr><td><code>/help</code></td><td>Show help and available commands</td></tr>
101
+ <tr><td><code>/status</code></td><td>Show Clew status including version, model, account, API connectivity, and tool statuses</td></tr>
102
+ <tr><td><code>/doctor</code></td><td>Diagnose and verify your Clew installation and settings</td></tr>
103
+ <tr><td><code>/exit</code></td><td>Exit the REPL</td></tr>
104
+ <tr><td><code>/version</code></td><td>Show version</td></tr>
105
+ <tr><td><code>/release-notes</code></td><td>View release notes</td></tr>
106
+ <tr><td><code>/upgrade</code></td><td>Upgrade to Max for higher rate limits</td></tr>
107
+ </table>
108
+
109
+ <h2>Configuration</h2>
110
+ <table>
111
+ <tr><th>Command</th><th>Description</th></tr>
112
+ <tr><td><code>/config</code></td><td>Open config panel</td></tr>
113
+ <tr><td><code>/theme</code></td><td>Change the theme</td></tr>
114
+ <tr><td><code>/color</code></td><td>Set the prompt bar color for this session</td></tr>
115
+ <tr><td><code>/keybindings</code></td><td>Open or create your keybindings configuration file</td></tr>
116
+ <tr><td><code>/scroll-speed</code></td><td>Set mouse wheel scroll speed multiplier (1-20)</td></tr>
117
+ <tr><td><code>/output-style</code></td><td>Deprecated: use /config to change output style</td></tr>
118
+ <tr><td><code>/remote-env</code></td><td>Configure the default remote environment for teleport sessions</td></tr>
119
+ <tr><td><code>/setting-sources</code></td><td>Configure setting sources</td></tr>
120
+ <tr><td><code>/init</code></td><td>Run Setup hooks with init trigger</td></tr>
121
+ </table>
122
+
123
+ <h2>Git &amp; Code Review</h2>
124
+ <table>
125
+ <tr><th>Command</th><th>Description</th></tr>
126
+ <tr><td><code>/diff</code></td><td>View uncommitted changes and per-turn diffs</td></tr>
127
+ <tr><td><code>/commit</code></td><td>Stage and commit changes</td></tr>
128
+ <tr><td><code>/commit-push-pr</code></td><td>Commit, push, and create a PR</td></tr>
129
+ <tr><td><code>/review</code></td><td>Review code changes</td></tr>
130
+ <tr><td><code>/security-review</code></td><td>Run a security review</td></tr>
131
+ <tr><td><code>/pr-comments</code></td><td>Get comments from a GitHub pull request</td></tr>
132
+ <tr><td><code>/install-github-app</code></td><td>Set up Claude GitHub Actions for a repository</td></tr>
133
+ </table>
134
+
135
+ <h2>Research &amp; Search</h2>
136
+ <table>
137
+ <tr><th>Command</th><th>Description</th></tr>
138
+ <tr><td><code>/research</code></td><td>Deep source-grounded research across local files, wiki, and memory</td></tr>
139
+ <tr><td><code>/memory</code></td><td>Edit Claude memory files</td></tr>
140
+ <tr><td><code>/memory-search</code></td><td>Search memories using semantic search (cross-lingual)</td></tr>
141
+ <tr><td><code>/searxng</code></td><td>Start, stop, or check status of the local SearXNG Docker container</td></tr>
142
+ <tr><td><code>/explorer</code></td><td>Toggle file explorer sidebar</td></tr>
143
+ </table>
144
+
145
+ <h2>Evaluation</h2>
146
+ <table>
147
+ <tr><th>Command</th><th>Description</th></tr>
148
+ <tr><td><code>/eval</code></td><td>Evaluate AI agent performance with the verification harness</td></tr>
149
+ </table>
150
+
151
+ <h2>Utilities</h2>
152
+ <table>
153
+ <tr><th>Command</th><th>Description</th></tr>
154
+ <tr><td><code>/btw</code></td><td>Ask a quick side question without interrupting the main conversation</td></tr>
155
+ <tr><td><code>/buddy</code></td><td>Configure your AI companion (Buddy)</td></tr>
156
+ <tr><td><code>/desktop</code></td><td>Continue the current session in Claude Desktop</td></tr>
157
+ <tr><td><code>/mobile</code></td><td>Show QR code to download the Claude mobile app</td></tr>
158
+ <tr><td><code>/powerup</code></td><td>Interactive lessons teaching Clew features with animated demos</td></tr>
159
+ <tr><td><code>/feedback</code></td><td>Submit feedback about Clew</td></tr>
160
+ <tr><td><code>/onboarding</code></td><td>Run the interactive onboarding wizard</td></tr>
161
+ <tr><td><code>/team-onboarding</code></td><td>Generate a teammate ramp-up guide from your local usage</td></tr>
162
+ <tr><td><code>/add-dir</code></td><td>Add a new working directory</td></tr>
163
+ <tr><td><code>/goal</code></td><td>Set a session goal</td></tr>
164
+ <tr><td><code>/heapdump</code></td><td>Dump the JS heap to ~/Desktop</td></tr>
165
+ <tr><td><code>/stickers</code></td><td>Order Clew stickers</td></tr>
166
+ <tr><td><code>/thinkback</code></td><td>Your 2025 Clew Year in Review</td></tr>
167
+ </table>
168
+
169
+ <h2>Feature-Gated Commands</h2>
170
+ <p>These commands require specific environment variables to be enabled:</p>
171
+ <table>
172
+ <tr><th>Command</th><th>Flag</th><th>Description</th></tr>
173
+ <tr><td><code>/bridge</code></td><td><code>BRIDGE_MODE=1</code></td><td>Connect this terminal for remote-control sessions</td></tr>
174
+ <tr><td><code>/voice</code></td><td><code>VOICE_MODE=1</code></td><td>Toggle voice mode</td></tr>
175
+ <tr><td><code>/brief</code></td><td><code>KAIROS=1</code></td><td>Brief command</td></tr>
176
+ <tr><td><code>/assistant</code></td><td><code>KAIROS=1</code></td><td>Assistant mode</td></tr>
177
+ <tr><td><code>/ant</code></td><td><code>USER_TYPE=ant</code></td><td>Toggle ant-only beta features</td></tr>
178
+ <tr><td><code>/ultraplan</code></td><td>Internal</td><td>Extended plan mode</td></tr>
179
+ <tr><td><code>/bughunter</code></td><td>Internal</td><td>Bug hunting workflow</td></tr>
180
+ </table>
181
+
182
+ <h2>Interactive Autocomplete</h2>
183
+ <p>Clew features an inline ghost text system that predicts the next argument as you type commands:</p>
184
+ <ul>
185
+ <li>Type <code>/goal</code> followed by a space inline ghost text shows <code>[condition]</code> in dim text after the cursor</li>
186
+ <li>Press <kbd>Tab</kbd> or <kbd>→</kbd> (Right Arrow) to accept the ghost text and fill the placeholder</li>
187
+ <li>Supports progressive hints: <code>/goal fix [name] [priority]</code> reveals remaining args as you fill each one</li>
188
+ <li>Commands with <code>argumentHint</code> (e.g. <code>/plugin-details &lt;plugin-name&gt;</code>) show static placeholder hints</li>
189
+ </ul>
190
+ <p>For mid-input command completion, the same ghost text engine fills in partial command names:</p>
191
+ <ul>
192
+ <li>Type <code>/com</code> ghost text shows <code>mit</code> for <code>/commit</code></li>
193
+ <li>Press <kbd>Tab</kbd> or <kbd>→</kbd> to complete the command name</li>
194
+ </ul>
195
+
196
+ <h2>Command Loading</h2>
197
+ <p>Commands are loaded from multiple sources at startup:</p>
198
+ <ul>
199
+ <li><strong>Built-in</strong> — Core commands from <code>src/commands/</code> (always available)</li>
200
+ <li><strong>Bundled skills</strong> — Skills shipped with the application</li>
201
+ <li><strong>Built-in plugin skills</strong> — From enabled built-in plugins</li>
202
+ <li><strong>Skill directory</strong> — <code>~/.claude/skills/</code> and project <code>.claude/skills/</code></li>
203
+ <li><strong>Plugin commands</strong> — From installed plugins</li>
204
+ <li><strong>Plugin skills</strong> — From plugin skill directories</li>
205
+ <li><strong>MCP skills</strong> — From MCP servers (when <code>MCP_SKILLS</code> feature is enabled)</li>
206
+ <li><strong>Dynamic skills</strong> — Discovered during file operations</li>
207
+ </ul>
208
+ <p>Use <code>/reload-plugins</code> to reload plugin-provided commands without restarting. Remote-safe and bridge-safe commands have explicit allowlists in <code>src/commands.ts</code>.</p>
209
+
210
+ <footer class="footer">
211
+ <span>Clew v0.2.7 — Open Source</span>
212
+ <div class="footer-links">
213
+ <a href="https://github.com/ClewCode/ClewCode">GitHub</a>
214
+ <a href="https://github.com/ClewCode/ClewCode/issues">Issues</a>
215
+ </div>
216
+ </footer>
217
+ </main>
218
+ <nav class="toc-sidebar"></nav>
219
+ </div>
220
+ </div>
221
+ <script src="js/main.js"></script>
222
+ </body>
223
+ </html>
224
+