clew-code 0.2.21 → 0.2.23
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.
- package/README.md +45 -45
- package/dist/main.js +2906 -2722
- package/docs/architecture.html +91 -148
- package/docs/assets/clew-agent-loop.png +0 -0
- package/docs/assets/clew-general-architecture.png +0 -0
- package/docs/assets/clew-mcp-architecture.png +0 -0
- package/docs/assets/clew-p2p-swarm.png +0 -0
- package/docs/changelog.html +150 -0
- package/docs/cli-reference.html +90 -0
- package/docs/commands.html +133 -241
- package/docs/configuration.html +85 -147
- package/docs/contributing.html +91 -0
- package/docs/css/styles.css +272 -152
- package/docs/daemon.html +62 -129
- package/docs/features/bridge-mode.html +61 -66
- package/docs/features/evals.html +57 -149
- package/docs/features/searxng-search.html +58 -118
- package/docs/features/sentry-setup.html +61 -124
- package/docs/index.html +185 -148
- package/docs/installation.html +77 -105
- package/docs/internals/growthbook-ab-testing.html +69 -91
- package/docs/internals/hidden-features.html +81 -143
- package/docs/js/main.js +29 -0
- package/docs/loop.html +69 -181
- package/docs/mcp.html +99 -247
- package/docs/models.html +63 -92
- package/docs/permission-model.html +86 -102
- package/docs/plugins.html +84 -102
- package/docs/providers.html +87 -127
- package/docs/quick-start.html +81 -93
- package/docs/research-memory.html +71 -102
- package/docs/security.html +71 -0
- package/docs/skills.html +67 -117
- package/docs/swarm.html +78 -236
- package/docs/tools.html +183 -171
- package/docs/troubleshooting.html +86 -106
- package/docs/voice-mode.html +79 -0
- package/package.json +1 -1
- package/docs/architecture.th.html +0 -79
- package/docs/clew-code-architecture.html +0 -1126
- package/docs/commands.th.html +0 -269
- package/docs/configuration.th.html +0 -108
- package/docs/daemon.th.html +0 -73
- package/docs/features/bridge-mode.th.html +0 -62
- package/docs/features/evals.th.html +0 -62
- package/docs/features/searxng-search.th.html +0 -67
- package/docs/features/sentry-setup.th.html +0 -69
- package/docs/features/swarm.html +0 -156
- package/docs/generated/providers.html +0 -625
- package/docs/generated/tools.html +0 -558
- package/docs/index.th.html +0 -292
- package/docs/installation.th.html +0 -105
- package/docs/internals/growthbook-ab-testing.th.html +0 -60
- package/docs/internals/hidden-features.th.html +0 -107
- package/docs/loop.th.html +0 -227
- package/docs/mcp.th.html +0 -207
- package/docs/models.th.html +0 -61
- package/docs/permission-model.th.html +0 -67
- package/docs/plugins.th.html +0 -79
- package/docs/prompts-and-features.html +0 -806
- package/docs/providers.th.html +0 -81
- package/docs/quick-start.th.html +0 -89
- package/docs/research-memory.th.html +0 -72
- package/docs/skills.th.html +0 -90
- package/docs/swarm.th.html +0 -280
- package/docs/tools.th.html +0 -84
- package/docs/troubleshooting.th.html +0 -85
package/docs/commands.html
CHANGED
|
@@ -1,265 +1,157 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<link rel="icon" type="image/svg+xml" href="./assets/clew.svg">
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>Commands — Clew Code</title>
|
|
7
|
+
<meta name="description" href="All slash commands available in Clew Code.">
|
|
8
|
+
<link rel="icon" type="image/svg+xml" href="assets/clew.svg">
|
|
9
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
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">
|
|
13
12
|
</head>
|
|
14
13
|
<body>
|
|
15
14
|
<header class="header"></header>
|
|
16
|
-
<div
|
|
17
|
-
<
|
|
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>
|
|
15
|
+
<div id="sidebarOverlay" class="sidebar-overlay"></div>
|
|
16
|
+
<aside id="sidebar" class="sidebar"></aside>
|
|
21
17
|
|
|
22
|
-
|
|
23
|
-
|
|
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>
|
|
18
|
+
<div class="content-wrap">
|
|
19
|
+
<div class="content">
|
|
26
20
|
|
|
27
|
-
|
|
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 — splits into chunks + re-compacts recursively when context exceeds model window</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 Clew'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>
|
|
21
|
+
<div class="breadcrumbs"><a href="index.html">Home</a><span class="sep">/</span><span class="current">Commands</span></div>
|
|
42
22
|
|
|
43
|
-
|
|
44
|
-
|
|
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, xhigh, max, ultracode, auto) — works with all providers that support reasoning_effort</td></tr>
|
|
50
|
-
<tr><td><code>/ultracode</code></td><td>Toggle ultracode mode — xhigh effort + auto-triggered dynamic workflows (parallel subtasks + adversarial verifiers) for complex prompts</td></tr>
|
|
51
|
-
<tr><td><code>/cost</code></td><td>Show the total cost and duration of the current session</td></tr>
|
|
52
|
-
<tr><td><code>/usage</code></td><td>Show plan usage limits</td></tr>
|
|
53
|
-
<tr><td><code>/usage-credits</code></td><td>Configure usage credits to keep working when limits are hit</td></tr>
|
|
54
|
-
<tr><td><code>/stats</code></td><td>Show your Clew usage statistics and activity</td></tr>
|
|
55
|
-
<tr><td><code>/rate-limit-options</code></td><td>Show options when rate limit is reached</td></tr>
|
|
56
|
-
<tr><td><code>/upgrade</code></td><td>Upgrade to Max for higher rate limits and more Opus</td></tr>
|
|
57
|
-
</table>
|
|
23
|
+
<h1>Commands</h1>
|
|
24
|
+
<p class="sub">Clew Code provides 35+ slash commands for managing providers, sessions, mesh networking, MCP, plugins, and more.</p>
|
|
58
25
|
|
|
59
|
-
|
|
60
|
-
|
|
26
|
+
<h2 id="session">Session Commands</h2>
|
|
27
|
+
<table>
|
|
28
|
+
<thead>
|
|
61
29
|
<tr><th>Command</th><th>Description</th></tr>
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
<tr><td><code>/
|
|
65
|
-
<tr><td><code>/
|
|
66
|
-
<tr><td><code>/
|
|
67
|
-
<tr><td><code>/
|
|
68
|
-
<tr><td><code>/
|
|
69
|
-
<tr><td><code>/
|
|
70
|
-
<tr><td><code>/
|
|
71
|
-
<tr><td><code>/
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
<
|
|
78
|
-
<tr><th>Command</th><th>Description</th></tr>
|
|
79
|
-
<tr><td><code>/plugin</code></td><td>Manage plugins — list, install, remove</td></tr>
|
|
80
|
-
<tr><td><code>/plugin-details</code></td><td>Show plugin component inventory, hooks, MCP servers, and per-session token cost</td></tr>
|
|
81
|
-
<tr><td><code>/reload-plugins</code></td><td>Activate pending plugin changes in the current session</td></tr>
|
|
82
|
-
<tr><td><code>/mcp</code></td><td>Manage MCP servers (<code>list</code> shows pending approval for unapproved .mcp.json servers)</td></tr>
|
|
83
|
-
<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>
|
|
84
|
-
<tr><td><code>/simplify</code></td><td>Cleanup-only code review (reuse, efficiency, altitude) with auto-fix</td></tr>
|
|
85
|
-
<tr><td><code>/skill</code></td><td>List available skills or show skill details</td></tr>
|
|
86
|
-
<tr><td><code>/skills</code></td><td>List available skills</td></tr>
|
|
87
|
-
<tr><td><code>/workflow</code></td><td>List and run multi-step workflows defined in YAML/JSON</td></tr>
|
|
88
|
-
<tr><td><code>/acp</code></td><td>Agent Communication Protocol — agent-to-agent messaging and coordination</td></tr>
|
|
89
|
-
</table>
|
|
90
|
-
|
|
91
|
-
<h2>Collaboration & Mesh</h2>
|
|
92
|
-
<table>
|
|
30
|
+
</thead>
|
|
31
|
+
<tbody>
|
|
32
|
+
<tr><td><code>/status</code></td><td>Show current provider, model, session, and context info</td></tr>
|
|
33
|
+
<tr><td><code>/doctor</code></td><td>Run system diagnostics</td></tr>
|
|
34
|
+
<tr><td><code>/context</code></td><td>Show active context usage breakdown</td></tr>
|
|
35
|
+
<tr><td><code>/compact</code></td><td>Compress conversation history (multi-pass compaction)</td></tr>
|
|
36
|
+
<tr><td><code>/clear</code></td><td>Clear conversation or caches</td></tr>
|
|
37
|
+
<tr><td><code>/exit</code></td><td>Exit the REPL</td></tr>
|
|
38
|
+
<tr><td><code>/help</code></td><td>List all available commands</td></tr>
|
|
39
|
+
<tr><td><code>/resume</code></td><td>Resume a previous session</td></tr>
|
|
40
|
+
</tbody>
|
|
41
|
+
</table>
|
|
42
|
+
|
|
43
|
+
<h2 id="provider">Provider & Model Commands</h2>
|
|
44
|
+
<table>
|
|
45
|
+
<thead>
|
|
93
46
|
<tr><th>Command</th><th>Description</th></tr>
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
<tr><td><code>/
|
|
97
|
-
<tr><td><code>/
|
|
98
|
-
<tr><td><code>/
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
<tr><td><code>/teleport</code></td><td>Teleport to a remote session environment</td></tr>
|
|
106
|
-
<tr><td><code>/share</code></td><td>Share the current session with other users</td></tr>
|
|
107
|
-
</table>
|
|
108
|
-
|
|
109
|
-
<h2>Agents</h2>
|
|
110
|
-
<table>
|
|
47
|
+
</thead>
|
|
48
|
+
<tbody>
|
|
49
|
+
<tr><td><code>/model</code></td><td>Switch provider or model. Use <code>/model list</code> to see available models</td></tr>
|
|
50
|
+
<tr><td><code>/effort</code></td><td>Set reasoning effort (low/medium/high) for supported providers</td></tr>
|
|
51
|
+
<tr><td><code>/fast</code></td><td>Toggle fast/turbo mode</td></tr>
|
|
52
|
+
</tbody>
|
|
53
|
+
</table>
|
|
54
|
+
|
|
55
|
+
<h2 id="mesh">Mesh & Networking Commands</h2>
|
|
56
|
+
<table>
|
|
57
|
+
<thead>
|
|
111
58
|
<tr><th>Command</th><th>Description</th></tr>
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
<tr><td><code
|
|
115
|
-
<tr><td><code>/
|
|
116
|
-
<tr><td><code>/
|
|
117
|
-
<tr><td><code>/
|
|
118
|
-
<tr><td><code>/
|
|
119
|
-
<tr><td><code>/
|
|
120
|
-
<tr><td><code>/
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
59
|
+
</thead>
|
|
60
|
+
<tbody>
|
|
61
|
+
<tr><td><code>/mesh discover</code></td><td>Find other Clew instances on the LAN</td></tr>
|
|
62
|
+
<tr><td><code>/mesh share</code></td><td>Share this instance as a worker</td></tr>
|
|
63
|
+
<tr><td><code>/mesh run <peer> <cmd></code></td><td>Run a command on a remote peer</td></tr>
|
|
64
|
+
<tr><td><code>/mesh send <peer> <msg></code></td><td>Send a message to a peer</td></tr>
|
|
65
|
+
<tr><td><code>/mesh list</code></td><td>List discovered peers</td></tr>
|
|
66
|
+
<tr><td><code>/mesh info <peer></code></td><td>Show peer details</td></tr>
|
|
67
|
+
<tr><td><code>/mesh help</code></td><td>Mesh command reference</td></tr>
|
|
68
|
+
</tbody>
|
|
69
|
+
</table>
|
|
70
|
+
|
|
71
|
+
<h2 id="mcp">MCP Commands</h2>
|
|
72
|
+
<table>
|
|
73
|
+
<thead>
|
|
126
74
|
<tr><th>Command</th><th>Description</th></tr>
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
<tr><td><code>/
|
|
130
|
-
<tr><td><code>/
|
|
131
|
-
<tr><td><code>/
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
<
|
|
75
|
+
</thead>
|
|
76
|
+
<tbody>
|
|
77
|
+
<tr><td><code>/mcp list</code></td><td>List connected MCP servers and tools</td></tr>
|
|
78
|
+
<tr><td><code>/mcp add</code></td><td>Add an MCP server configuration</td></tr>
|
|
79
|
+
<tr><td><code>/mcp remove</code></td><td>Remove an MCP server</td></tr>
|
|
80
|
+
</tbody>
|
|
81
|
+
</table>
|
|
82
|
+
|
|
83
|
+
<h2 id="code">Code & Review Commands</h2>
|
|
84
|
+
<table>
|
|
85
|
+
<thead>
|
|
138
86
|
<tr><th>Command</th><th>Description</th></tr>
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
<tr><td><code>/
|
|
142
|
-
<tr><td><code>/
|
|
143
|
-
<tr><td><code>/
|
|
144
|
-
<tr><td><code>/
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
<h2>Git & Code Review</h2>
|
|
152
|
-
<table>
|
|
87
|
+
</thead>
|
|
88
|
+
<tbody>
|
|
89
|
+
<tr><td><code>/code-review</code></td><td>Review changed files for bugs</td></tr>
|
|
90
|
+
<tr><td><code>/simplify</code></td><td>Cleanup-focused code review</td></tr>
|
|
91
|
+
<tr><td><code>/pr</code></td><td>PR management (create/list/view/review/merge/status)</td></tr>
|
|
92
|
+
<tr><td><code>/diff</code></td><td>Show git diff</td></tr>
|
|
93
|
+
</tbody>
|
|
94
|
+
</table>
|
|
95
|
+
|
|
96
|
+
<h2 id="plugin">Plugin & Extension Commands</h2>
|
|
97
|
+
<table>
|
|
98
|
+
<thead>
|
|
153
99
|
<tr><th>Command</th><th>Description</th></tr>
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
<tr><td><code>/
|
|
157
|
-
<tr><td><code>/
|
|
158
|
-
<tr><td><code>/
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
<h2>Research & Search</h2>
|
|
166
|
-
<table>
|
|
100
|
+
</thead>
|
|
101
|
+
<tbody>
|
|
102
|
+
<tr><td><code>/plugin</code></td><td>Plugin and hook management (install, list, remove)</td></tr>
|
|
103
|
+
<tr><td><code>/skills</code></td><td>List and manage skills</td></tr>
|
|
104
|
+
<tr><td><code>/hooks</code></td><td>View active hooks</td></tr>
|
|
105
|
+
</tbody>
|
|
106
|
+
</table>
|
|
107
|
+
|
|
108
|
+
<h2 id="autonomous">Autonomous & Agent Commands</h2>
|
|
109
|
+
<table>
|
|
110
|
+
<thead>
|
|
167
111
|
<tr><th>Command</th><th>Description</th></tr>
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
<tr><td><code>/
|
|
171
|
-
<tr><td><code>/
|
|
172
|
-
<tr><td><code>/
|
|
173
|
-
<tr><td><code>/
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
112
|
+
</thead>
|
|
113
|
+
<tbody>
|
|
114
|
+
<tr><td><code>/loop</code></td><td>24/7 autonomous agent loop (start, stop, status)</td></tr>
|
|
115
|
+
<tr><td><code>/daemon</code></td><td>Autonomous daemon dashboard</td></tr>
|
|
116
|
+
<tr><td><code>/task</code></td><td>Manage scheduled tasks</td></tr>
|
|
117
|
+
<tr><td><code>/agent</code></td><td>Background agent dispatch and subcommands</td></tr>
|
|
118
|
+
<tr><td><code>/agents</code></td><td>Agent dashboard (TUI operational view)</td></tr>
|
|
119
|
+
</tbody>
|
|
120
|
+
</table>
|
|
121
|
+
|
|
122
|
+
<h2 id="memory">Memory Commands</h2>
|
|
123
|
+
<table>
|
|
124
|
+
<thead>
|
|
178
125
|
<tr><th>Command</th><th>Description</th></tr>
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
126
|
+
</thead>
|
|
127
|
+
<tbody>
|
|
128
|
+
<tr><td><code>/memory save</code></td><td>Save session summary to long-term memory</td></tr>
|
|
129
|
+
<tr><td><code>/memory timeline</code></td><td>Show chronological session history</td></tr>
|
|
130
|
+
<tr><td><code>/memory stats</code></td><td>Activity density chart</td></tr>
|
|
131
|
+
<tr><td><code>/memory digest</code></td><td>Show weekly/monthly digests</td></tr>
|
|
132
|
+
<tr><td><code>/memory search</code></td><td>Search stored memory entries</td></tr>
|
|
133
|
+
</tbody>
|
|
134
|
+
</table>
|
|
135
|
+
|
|
136
|
+
<h2 id="other">Other Commands</h2>
|
|
137
|
+
<table>
|
|
138
|
+
<thead>
|
|
184
139
|
<tr><th>Command</th><th>Description</th></tr>
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
<tr><td><code>/
|
|
188
|
-
<tr><td><code>/
|
|
189
|
-
<tr><td><code>/
|
|
190
|
-
<tr><td><code>/
|
|
191
|
-
<tr><td><code>/
|
|
192
|
-
<tr><td><code>/
|
|
193
|
-
<tr><td><code>/
|
|
194
|
-
<tr><td><code>/
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
<tr><td><code>/thinkback</code></td><td>Your Clew Year in Review</td></tr>
|
|
198
|
-
<tr><td><code>/vim</code></td><td>Toggle Vim keybindings in the REPL</td></tr>
|
|
199
|
-
<tr><td><code>/chrome</code></td><td>Open and manage Chrome browser integration</td></tr>
|
|
200
|
-
<tr><td><code>/login</code></td><td>Authenticate with an AI provider via OAuth or API key</td></tr>
|
|
201
|
-
<tr><td><code>/logout</code></td><td>Log out from the current provider authentication</td></tr>
|
|
202
|
-
<tr><td><code>/install</code></td><td>Run the Clew installation wizard</td></tr>
|
|
203
|
-
<tr><td><code>/install-slack-app</code></td><td>Set up the Clew Slack app integration</td></tr>
|
|
204
|
-
<tr><td><code>/insights</code></td><td>Show personalized usage insights and suggestions</td></tr>
|
|
205
|
-
</table>
|
|
206
|
-
|
|
207
|
-
<h2>Feature-Gated Commands</h2>
|
|
208
|
-
<p>These commands require specific environment variables or build-time features to be enabled:</p>
|
|
209
|
-
<table>
|
|
210
|
-
<tr><th>Command</th><th>Flag</th><th>Description</th></tr>
|
|
211
|
-
<tr><td><code>/bridge</code></td><td><code>BRIDGE_MODE=1</code></td><td>Connect this terminal for remote-control sessions</td></tr>
|
|
212
|
-
<tr><td><code>/voice</code></td><td><code>VOICE_MODE=1</code></td><td>Toggle voice mode</td></tr>
|
|
213
|
-
<tr><td><code>/brief</code></td><td><code>KAIROS=1</code></td><td>Brief command</td></tr>
|
|
214
|
-
<tr><td><code>/assistant</code></td><td><code>KAIROS=1</code></td><td>Assistant mode</td></tr>
|
|
215
|
-
<tr><td><code>/ant</code></td><td><code>USER_TYPE=ant</code></td><td>Toggle ant-only beta features</td></tr>
|
|
216
|
-
<tr><td><code>/ultraplan</code></td><td>Internal</td><td>Extended plan mode</td></tr>
|
|
217
|
-
<tr><td><code>/bughunter</code></td><td>Internal</td><td>Bug hunting workflow</td></tr>
|
|
218
|
-
<tr><td><code>/ide</code></td><td>Runtime</td><td>Auto-connect to IDE on startup</td></tr>
|
|
219
|
-
<tr><td><code>/terminal-setup</code></td><td>Runtime</td><td>Configure terminal shell and environment</td></tr>
|
|
220
|
-
<tr><td><code>/extra-usage</code></td><td>Runtime</td><td>Request additional usage credits</td></tr>
|
|
221
|
-
</table>
|
|
222
|
-
|
|
223
|
-
<h2>Interactive Autocomplete</h2>
|
|
224
|
-
<p>Clew features an inline ghost text system that predicts the next argument as you type commands:</p>
|
|
225
|
-
<ul>
|
|
226
|
-
<li>Type <code>/goal</code> followed by a space inline ghost text shows <code>[condition]</code> in dim text after the cursor</li>
|
|
227
|
-
<li>Press <kbd>Tab</kbd> or <kbd>→</kbd> (Right Arrow) to accept the ghost text and fill the placeholder</li>
|
|
228
|
-
<li>Supports progressive hints: <code>/goal fix [name] [priority]</code> reveals remaining args as you fill each one</li>
|
|
229
|
-
<li>Commands with <code>argumentHint</code> (e.g. <code>/plugin-details <plugin-name></code>) show static placeholder hints</li>
|
|
230
|
-
</ul>
|
|
231
|
-
<p>For mid-input command completion, the same ghost text engine fills in partial command names:</p>
|
|
232
|
-
<ul>
|
|
233
|
-
<li>Type <code>/com</code> ghost text shows <code>mit</code> for <code>/commit</code></li>
|
|
234
|
-
<li>Press <kbd>Tab</kbd> or <kbd>→</kbd> to complete the command name</li>
|
|
235
|
-
</ul>
|
|
236
|
-
|
|
237
|
-
<h2>Command Loading</h2>
|
|
238
|
-
<p>Commands are loaded from multiple sources at startup:</p>
|
|
239
|
-
<ul>
|
|
240
|
-
<li><strong>Built-in</strong> — Core commands from <code>src/commands/</code> (always available)</li>
|
|
241
|
-
<li><strong>Bundled skills</strong> — Skills shipped with the application</li>
|
|
242
|
-
<li><strong>Built-in plugin skills</strong> — From enabled built-in plugins</li>
|
|
243
|
-
<li><strong>Skill directory</strong> — <code>~/.clew/skills/</code> and project <code>.clew/skills/</code></li>
|
|
244
|
-
<li><strong>Plugin commands</strong> — From installed plugins</li>
|
|
245
|
-
<li><strong>Plugin skills</strong> — From plugin skill directories</li>
|
|
246
|
-
<li><strong>MCP skills</strong> — From MCP servers (when <code>MCP_SKILLS</code> feature is enabled)</li>
|
|
247
|
-
<li><strong>Dynamic skills</strong> — Discovered during file operations</li>
|
|
248
|
-
</ul>
|
|
249
|
-
<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>
|
|
250
|
-
|
|
251
|
-
<footer class="footer">
|
|
252
|
-
<span>Clew 0.2.14 — Open Source</span>
|
|
253
|
-
<div class="footer-links">
|
|
254
|
-
<a href="https://github.com/ClewCode/ClewCode">GitHub</a>
|
|
255
|
-
<a href="https://github.com/ClewCode/ClewCode/issues">Issues</a>
|
|
256
|
-
</div>
|
|
257
|
-
</footer>
|
|
258
|
-
</main>
|
|
259
|
-
<nav class="toc-sidebar"></nav>
|
|
140
|
+
</thead>
|
|
141
|
+
<tbody>
|
|
142
|
+
<tr><td><code>/remote</code></td><td>WebSocket remote control (listen, connect, token)</td></tr>
|
|
143
|
+
<tr><td><code>/bridge</code></td><td>Bridge mode configuration</td></tr>
|
|
144
|
+
<tr><td><code>/config</code></td><td>Open configuration panel</td></tr>
|
|
145
|
+
<tr><td><code>/theme</code></td><td>Switch theme</td></tr>
|
|
146
|
+
<tr><td><code>/mode</code></td><td>Switch execution mode — safe, yolo, afk, review-only, browser-safe</td></tr>
|
|
147
|
+
<tr><td><code>/permissions</code></td><td>Change permission mode</td></tr>
|
|
148
|
+
<tr><td><code>/export</code></td><td>Export session</td></tr>
|
|
149
|
+
<tr><td><code>/recap</code></td><td>Session recap</td></tr>
|
|
150
|
+
</tbody>
|
|
151
|
+
</table>
|
|
260
152
|
</div>
|
|
261
153
|
</div>
|
|
154
|
+
|
|
262
155
|
<script src="js/main.js"></script>
|
|
263
156
|
</body>
|
|
264
157
|
</html>
|
|
265
|
-
|