foxcli-com 2.1.88

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 ADDED
@@ -0,0 +1,410 @@
1
+ # Foxcli
2
+
3
+ Foxcli is an interactive AI coding assistant in the terminal, built upon the leaked code of [Claude Code](https://github.com/claude-code-best/claude-code).
4
+ Therefore, the way to use Foxcli is exactly the same as that of standard Claude Code. Even more exciting is that Foxcli is deeply integrated with [LangRouter](https://langrouter.ai/),
5
+ allowing you to friendly use and switch between mainstream LLM models (including claude opus 4.6, claude sonnet 4.6, kimi k2.5, minimax M2.5, deepseek v3.2, etc.) within an ongoing session as needed, without interrupting your context.
6
+
7
+ Why not integrate with OpenRouter? OpenRouter's API for Claude models is too expensive! Moreover, OpenRouter's Anthropic API interface is not as compatible with the official Claude Code API interface.
8
+
9
+ ## Quick Start
10
+
11
+ ### LangRouter API Key Preparation
12
+ Go to [LangRouter](https://langrouter.ai/), register an account, save your API key, and ensure your account has sufficient balance (you can deposit $2 for testing)
13
+
14
+ ### Installation
15
+ ```bash
16
+ npm i @foxclicom/foxcli -g
17
+ ```
18
+
19
+ ### Running
20
+ ```bash
21
+ foxcli
22
+ ```
23
+
24
+ ## Compile from source code yourself (optional)
25
+
26
+ #### Environmental requirements
27
+
28
+ - [Bun](https://bun.sh/) >= 1.3.11
29
+
30
+ #### Install dependencies
31
+
32
+ ```bash
33
+ bun install
34
+ ```
35
+
36
+ #### Running
37
+
38
+ ```bash
39
+ # Development mode
40
+ bun run dev
41
+
42
+ # Build and run
43
+ bun run build && bun dist/cli.js
44
+ ```
45
+
46
+ The built version can be started with both bun and node. You can publish to a private registry and start directly.
47
+
48
+ If you encounter any bugs, please open an issue and we will prioritize fixing them.
49
+
50
+ ## Capabilities
51
+
52
+ > ✅ = Implemented ⚠️ = Partial / Conditional ❌ = stub / Removed / Feature flag off
53
+
54
+ ### Core System
55
+
56
+ | Capability | Status | Description |
57
+ |------------|--------|-------------|
58
+ | REPL Interactive UI (Ink Terminal Rendering) | ✅ | Main screen 5000+ lines, full interaction |
59
+ | API Communication — Anthropic Direct | ✅ | Supports API Key + OAuth |
60
+ | API Communication — AWS Bedrock | ✅ | Supports credential refresh, Bearer Token |
61
+ | API Communication — Google Vertex | ✅ | Supports GCP credential refresh |
62
+ | API Communication — Azure Foundry | ✅ | Supports API Key + Azure AD |
63
+ | Streaming Conversation & Tool Call Loop (`query.ts`) | ✅ | 1700+ lines, includes auto-compaction, token tracking |
64
+ | Session Engine (`QueryEngine.ts`) | ✅ | 1300+ lines, manages conversation state and attribution |
65
+ | Context Building (git status / CLAUDE.md / memory) | ✅ | `context.ts` fully implemented |
66
+ | Permission System (plan/auto/manual modes) | ✅ | 6300+ lines, includes YOLO classifier, path validation, rule matching |
67
+ | Hook System (pre/post tool use) | ✅ | Supports settings.json configuration |
68
+ | Session Resume (`/resume`) | ✅ | Separate ResumeConversation screen |
69
+ | Doctor Diagnostics (`/doctor`) | ✅ | Version, API, plugin, sandbox checks |
70
+ | Auto Compaction | ✅ | auto-compact / micro-compact / API compact |
71
+
72
+ ### Tools — Always Available
73
+
74
+ | Tool | Status | Description |
75
+ |------|--------|-------------|
76
+ | BashTool | ✅ | Shell execution, sandbox, permission checking |
77
+ | FileReadTool | ✅ | File / PDF / image / Notebook reading |
78
+ | FileEditTool | ✅ | String replacement editing + diff tracking |
79
+ | FileWriteTool | ✅ | File creation / overwrite + diff generation |
80
+ | NotebookEditTool | ✅ | Jupyter Notebook cell editing |
81
+ | AgentTool | ✅ | Sub-agent spawning (fork / async / background / remote) |
82
+ | WebFetchTool | ✅ | URL fetch → Markdown → AI summary |
83
+ | WebSearchTool | ✅ | Web search + domain filtering |
84
+ | AskUserQuestionTool | ✅ | Multi-question interactive prompts + preview |
85
+ | SendMessageTool | ✅ | Message sending (peers / teammates / mailbox) |
86
+ | SkillTool | ✅ | Slash command / Skill invocation |
87
+ | EnterPlanModeTool | ✅ | Enter plan mode |
88
+ | ExitPlanModeTool (V2) | ✅ | Exit plan mode |
89
+ | TodoWriteTool | ✅ | Todo list v1 |
90
+ | BriefTool | ✅ | Short message + attachment sending |
91
+ | TaskOutputTool | ✅ | Background task output reading |
92
+ | TaskStopTool | ✅ | Background task stop |
93
+ | ListMcpResourcesTool | ⚠️ | MCP resource list (filtered by specialTools, added under specific conditions) |
94
+ | ReadMcpResourceTool | ⚠️ | MCP resource reading (same as above) |
95
+ | SyntheticOutputTool | ⚠️ | Only created in non-interactive sessions (SDK/pipe mode) |
96
+ | CronCreateTool | ✅ | Scheduled task creation (AGENT_TRIGGERS gate removed) |
97
+ | CronDeleteTool | ✅ | Scheduled task deletion |
98
+ | CronListTool | ✅ | Scheduled task list |
99
+ | EnterWorktreeTool | ✅ | Enter Git Worktree (`isWorktreeModeEnabled()` hardcoded to true) |
100
+ | ExitWorktreeTool | ✅ | Exit Git Worktree |
101
+
102
+ ### Tools — Conditionally Enabled
103
+
104
+ | Tool | Status | Enable Condition |
105
+ |------|--------|------------------|
106
+ | GlobTool | ✅ | Enabled when not embedded bfs/ugrep (enabled by default) |
107
+ | GrepTool | ✅ | Same as above |
108
+ | TaskCreateTool | ⚠️ | When `isTodoV2Enabled()` is true |
109
+ | TaskGetTool | ⚠️ | Same as above |
110
+ | TaskUpdateTool | ⚠️ | Same as above |
111
+ | TaskListTool | ⚠️ | Same as above |
112
+ | TeamCreateTool | ⚠️ | When `isAgentSwarmsEnabled()` |
113
+ | TeamDeleteTool | ⚠️ | Same as above |
114
+ | ToolSearchTool | ⚠️ | When `isToolSearchEnabledOptimistic()` |
115
+ | PowerShellTool | ⚠️ | Windows platform detection |
116
+ | LSPTool | ⚠️ | When `ENABLE_LSP_TOOL` environment variable |
117
+ | ConfigTool | ❌ | `USER_TYPE === 'ant'` (always false) |
118
+
119
+ ### Tools — Feature Flag Off (All Unavailable)
120
+
121
+ | Tool | Feature Flag |
122
+ |------|--------------|
123
+ | SleepTool | `PROACTIVE` / `KAIROS` |
124
+ | RemoteTriggerTool | `AGENT_TRIGGERS_REMOTE` |
125
+ | MonitorTool | `MONITOR_TOOL` |
126
+ | SendUserFileTool | `KAIROS` |
127
+ | OverflowTestTool | `OVERFLOW_TEST_TOOL` |
128
+ | TerminalCaptureTool | `TERMINAL_PANEL` |
129
+ | WebBrowserTool | `WEB_BROWSER_TOOL` |
130
+ | SnipTool | `HISTORY_SNIP` |
131
+ | WorkflowTool | `WORKFLOW_SCRIPTS` |
132
+ | PushNotificationTool | `KAIROS` / `KAIROS_PUSH_NOTIFICATION` |
133
+ | SubscribePRTool | `KAIROS_GITHUB_WEBHOOKS` |
134
+ | ListPeersTool | `UDS_INBOX` |
135
+ | CtxInspectTool | `CONTEXT_COLLAPSE` |
136
+
137
+ ### Tools — Stub / Unavailable
138
+
139
+ | Tool | Description |
140
+ |------|-------------|
141
+ | TungstenTool | ANT-ONLY stub |
142
+ | REPLTool | ANT-ONLY, `isEnabled: () => false` |
143
+ | SuggestBackgroundPRTool | ANT-ONLY, `isEnabled: () => false` |
144
+ | VerifyPlanExecutionTool | Requires `CLAUDE_CODE_VERIFY_PLAN=true` env var, and is stub |
145
+ | ReviewArtifactTool | stub, not registered in tools.ts |
146
+ | DiscoverSkillsTool | stub, not registered in tools.ts |
147
+
148
+ ### Slash Commands — Available
149
+
150
+ | Command | Status | Description |
151
+ |---------|--------|-------------|
152
+ | `/add-dir` | ✅ | Add directory |
153
+ | `/advisor` | ✅ | Advisor configuration |
154
+ | `/agents` | ✅ | Agent list/management |
155
+ | `/branch` | ✅ | Branch management |
156
+ | `/btw` | ✅ | Quick note |
157
+ | `/chrome` | ✅ | Chrome integration |
158
+ | `/clear` | ✅ | Clear screen |
159
+ | `/color` | ✅ | Agent color |
160
+ | `/compact` | ✅ | Compact conversation |
161
+ | `/config` (`/settings`) | ✅ | Configuration management |
162
+ | `/context` | ✅ | Context information |
163
+ | `/copy` | ✅ | Copy last message |
164
+ | `/cost` | ✅ | Session cost |
165
+ | `/desktop` | ✅ | Claude Desktop integration |
166
+ | `/diff` | ✅ | Show diff |
167
+ | `/doctor` | ✅ | Health check |
168
+ | `/effort` | ✅ | Set effort level |
169
+ | `/exit` | ✅ | Exit |
170
+ | `/export` | ✅ | Export conversation |
171
+ | `/extra-usage` | ✅ | Extra usage information |
172
+ | `/fast` | ✅ | Toggle fast mode |
173
+ | `/feedback` | ✅ | Feedback |
174
+ | `/loop` | ✅ | Scheduled loop execution (bundled skill, can be disabled via `CLAUDE_CODE_DISABLE_CRON`) |
175
+ | `/heapdump` | ✅ | Heap dump (debugging) |
176
+ | `/help` | ✅ | Help |
177
+ | `/hooks` | ✅ | Hook management |
178
+ | `/ide` | ✅ | IDE connection |
179
+ | `/init` | ✅ | Initialize project |
180
+ | `/install-github-app` | ✅ | Install GitHub App |
181
+ | `/install-slack-app` | ✅ | Install Slack App |
182
+ | `/keybindings` | ✅ | Keybindings management |
183
+ | `/login` / `/logout` | ✅ | Login / Logout |
184
+ | `/mcp` | ✅ | MCP service management |
185
+ | `/memory` | ✅ | Memory / CLAUDE.md management |
186
+ | `/mobile` | ✅ | Mobile QR code |
187
+ | `/model` | ✅ | Model selection |
188
+ | `/output-style` | ✅ | Output style |
189
+ | `/passes` | ✅ | Referral codes |
190
+ | `/permissions` | ✅ | Permission management |
191
+ | `/plan` | ✅ | Plan mode |
192
+ | `/plugin` | ✅ | Plugin management |
193
+ | `/pr-comments` | ✅ | PR comments |
194
+ | `/privacy-settings` | ✅ | Privacy settings |
195
+ | `/rate-limit-options` | ✅ | Rate limit options |
196
+ | `/release-notes` | ✅ | Release notes |
197
+ | `/reload-plugins` | ✅ | Reload plugins |
198
+ | `/remote-env` | ✅ | Remote environment configuration |
199
+ | `/rename` | ✅ | Rename session |
200
+ | `/resume` | ✅ | Resume session |
201
+ | `/review` | ✅ | Code review (local) |
202
+ | `/ultrareview` | ✅ | Cloud review |
203
+ | `/rewind` | ✅ | Rewind conversation |
204
+ | `/sandbox-toggle` | ✅ | Toggle sandbox |
205
+ | `/security-review` | ✅ | Security review |
206
+ | `/session` | ✅ | Session information |
207
+ | `/skills` | ✅ | Skill management |
208
+ | `/stats` | ✅ | Session statistics |
209
+ | `/status` | ✅ | Status information |
210
+ | `/statusline` | ✅ | Status bar UI |
211
+ | `/stickers` | ✅ | Stickers |
212
+ | `/tasks` | ✅ | Task management |
213
+ | `/theme` | ✅ | Terminal theme |
214
+ | `/think-back` | ✅ | Year in review |
215
+ | `/upgrade` | ✅ | Upgrade CLI |
216
+ | `/usage` | ✅ | Usage information |
217
+ | `/insights` | ✅ | Usage analytics report |
218
+ | `/vim` | ✅ | Vim mode |
219
+
220
+ ### Slash Commands — Feature Flag Off
221
+
222
+ | Command | Feature Flag |
223
+ |---------|-------------|
224
+ | `/voice` | `VOICE_MODE` |
225
+ | `/proactive` | `PROACTIVE` / `KAIROS` |
226
+ | `/brief` | `KAIROS` / `KAIROS_BRIEF` |
227
+ | `/assistant` | `KAIROS` |
228
+ | `/remote-control` (alias `rc`) | `BRIDGE_MODE` |
229
+ | `/remote-control-server` | `DAEMON` + `BRIDGE_MODE` |
230
+ | `/force-snip` | `HISTORY_SNIP` |
231
+ | `/workflows` | `WORKFLOW_SCRIPTS` |
232
+ | `/web-setup` | `CCR_REMOTE_SETUP` |
233
+ | `/subscribe-pr` | `KAIROS_GITHUB_WEBHOOKS` |
234
+ | `/ultraplan` | `ULTRAPLAN` |
235
+ | `/torch` | `TORCH` |
236
+ | `/peers` | `UDS_INBOX` |
237
+ | `/fork` | `FORK_SUBAGENT` |
238
+ | `/buddy` | `BUDDY` |
239
+
240
+ ### Slash Commands — ANT-ONLY (Unavailable)
241
+
242
+ `/files` `/tag` `/backfill-sessions` `/break-cache` `/bughunter` `/commit` `/commit-push-pr` `/ctx_viz` `/good-claude` `/issue` `/init-verifiers` `/mock-limits` `/bridge-kick` `/version` `/reset-limits` `/onboarding` `/share` `/summary` `/teleport` `/ant-trace` `/perf-issue` `/env` `/oauth-refresh` `/debug-tool-call` `/agents-platform` `/autofix-pr`
243
+
244
+ ### CLI Subcommands
245
+
246
+ | Subcommand | Status | Description |
247
+ |------------|--------|-------------|
248
+ | `claude` (default) | ✅ | Main REPL / interactive / print mode |
249
+ | `claude mcp serve/add/remove/list/get/...` | ✅ | MCP service management (7 subcommands) |
250
+ | `claude auth login/status/logout` | ✅ | Authentication management |
251
+ | `claude plugin validate/list/install/...` | ✅ | Plugin management (7 subcommands) |
252
+ | `claude setup-token` | ✅ | Long-lived token configuration |
253
+ | `claude agents` | ✅ | Agent list |
254
+ | `claude doctor` | ✅ | Health check |
255
+ | `claude update` / `upgrade` | ✅ | Auto-update |
256
+ | `claude install [target]` | ✅ | Native installation |
257
+ | `claude server` | ❌ | `DIRECT_CONNECT` flag |
258
+ | `claude ssh <host>` | ❌ | `SSH_REMOTE` flag |
259
+ | `claude open <cc-url>` | ❌ | `DIRECT_CONNECT` flag |
260
+ | `claude auto-mode` | ❌ | `TRANSCRIPT_CLASSIFIER` flag |
261
+ | `claude remote-control` | ❌ | `BRIDGE_MODE` + `DAEMON` flag |
262
+ | `claude assistant` | ❌ | `KAIROS` flag |
263
+ | `claude up/rollback/log/error/export/task/completion` | ❌ | ANT-ONLY |
264
+
265
+ ### Services
266
+
267
+ | Service | Status | Description |
268
+ |---------|--------|-------------|
269
+ | API Client (`services/api/`) | ✅ | 3400+ lines, 4 providers |
270
+ | MCP (`services/mcp/`) | ✅ | 34 files, 12000+ lines |
271
+ | OAuth (`services/oauth/`) | ✅ | Full OAuth flow |
272
+ | Plugins (`services/plugins/`) | ✅ | Complete infrastructure, no built-in plugins |
273
+ | LSP (`services/lsp/`) | ⚠️ | Implementation exists, disabled by default |
274
+ | Compaction (`services/compact/`) | ✅ | auto / micro / API compaction |
275
+ | Hook System (`services/tools/toolHooks.ts`) | ✅ | pre/post tool use hooks |
276
+ | Session Memory (`services/SessionMemory/`) | ✅ | Session memory management |
277
+ | Memory Extraction (`services/extractMemories/`) | ✅ | Automatic memory extraction |
278
+ | Skill Search (`services/skillSearch/`) | ✅ | Local/remote skill search |
279
+ | Policy Limits (`services/policyLimits/`) | ✅ | Policy limit enforcement |
280
+ | Analytics / GrowthBook / Sentry | ⚠️ | Framework exists, actual sink is empty |
281
+ | Voice (`services/voice.ts`) | ❌ | `VOICE_MODE` flag off |
282
+
283
+ ### Internal Packages (`packages/`)
284
+
285
+ | Package | Status | Description |
286
+ |---------|--------|-------------|
287
+ | `color-diff-napi` | ✅ | 1006 lines complete TypeScript implementation (syntax highlighting diff) |
288
+ | `audio-capture-napi` | ✅ | 151 lines complete implementation (cross-platform audio recording, using SoX/arecord) |
289
+ | `image-processor-napi` | ✅ | 125 lines complete implementation (macOS clipboard image reading, using osascript + sharp) |
290
+ | `modifiers-napi` | ✅ | 67 lines complete implementation (macOS modifier key detection, bun:ffi + CoreGraphics) |
291
+ | `url-handler-napi` | ❌ | stub, `waitForUrlEvent()` returns null |
292
+ | `@ant/claude-for-chrome-mcp` | ❌ | stub, `createServer()` returns null |
293
+ | `@ant/computer-use-mcp` | ⚠️ | Type-safe stub (265 lines, complete type definitions but functions return empty values) |
294
+ | `@ant/computer-use-input` | ✅ | 183 lines complete implementation (macOS keyboard/mouse simulation, AppleScript/JXA/CGEvent) |
295
+ | `@ant/computer-use-swift` | ✅ | 388 lines complete implementation (macOS display/app management/screenshot, JXA/screencapture) |
296
+
297
+ ### Feature Flags (31, all return `false`)
298
+
299
+ `ABLATION_BASELINE` `AGENT_MEMORY_SNAPSHOT` `BG_SESSIONS` `BRIDGE_MODE` `BUDDY` `CCR_MIRROR` `CCR_REMOTE_SETUP` `CHICAGO_MCP` `COORDINATOR_MODE` `DAEMON` `DIRECT_CONNECT` `EXPERIMENTAL_SKILL_SEARCH` `FORK_SUBAGENT` `HARD_FAIL` `HISTORY_SNIP` `KAIROS` `KAIROS_BRIEF` `KAIROS_CHANNELS` `KAIROS_GITHUB_WEBHOOKS` `LODESTONE` `MCP_SKILLS` `PROACTIVE` `SSH_REMOTE` `TORCH` `TRANSCRIPT_CLASSIFIER` `UDS_INBOX` `ULTRAPLAN` `UPLOAD_USER_SETTINGS` `VOICE_MODE` `WEB_BROWSER_TOOL` `WORKFLOW_SCRIPTS`
300
+
301
+ ## Project Structure
302
+
303
+ ```
304
+ foxcli/
305
+ ├── src/
306
+ │ ├── entrypoints/
307
+ │ │ ├── cli.tsx # Entry file (includes MACRO/feature polyfill)
308
+ │ │ └── sdk/ # SDK submodule stub
309
+ │ ├── main.tsx # Main CLI logic (Commander definition)
310
+ │ └── types/
311
+ │ ├── global.d.ts # Global variable/macro declarations
312
+ │ └── internal-modules.d.ts # Internal npm package type declarations
313
+ ├── packages/ # Monorepo workspace packages
314
+ │ ├── color-diff-napi/ # Complete implementation (terminal color diff)
315
+ │ ├── modifiers-napi/ # stub (macOS modifier key detection)
316
+ │ ├── audio-capture-napi/ # stub
317
+ │ ├── image-processor-napi/# stub
318
+ │ ├── url-handler-napi/ # stub
319
+ │ └── @ant/ # Anthropic internal package stubs
320
+ │ ├── claude-for-chrome-mcp/
321
+ │ ├── computer-use-mcp/
322
+ │ ├── computer-use-input/
323
+ │ └── computer-use-swift/
324
+ ├── scripts/ # Automation stub generation scripts
325
+ ├── build.ts # Build script (Bun.build + code splitting + Node.js compatibility post-processing)
326
+ ├── dist/ # Build output (entry cli.js + ~450 chunk files)
327
+ └── package.json # Bun workspaces monorepo configuration
328
+ ```
329
+
330
+ ## Technical Notes
331
+
332
+ ### Runtime Polyfill
333
+
334
+ The entry file `src/entrypoints/cli.tsx` injects necessary polyfills at the top:
335
+
336
+ - `feature()` — All feature flags return `false`, skipping unimplemented branches
337
+ - `globalThis.MACRO` — Simulates build-time macro injection (VERSION, etc.)
338
+
339
+ ### Monorepo
340
+
341
+ The project uses Bun workspaces to manage internal packages. Stubs that were manually placed in `node_modules/` have been migrated to `packages/`, resolved via `workspace:*`.
342
+
343
+ ## Feature Flags Explained
344
+
345
+ The original Claude Code uses `feature()` from `bun:bundle` to inject feature flags at build time, controlled by A/B testing platforms like GrowthBook for gradual rollout. In this project, `feature()` is polyfilled to always return `false`, so all 30 flags below are disabled.
346
+
347
+ ### Autonomous Agents
348
+
349
+ | Flag | Purpose |
350
+ |------|---------|
351
+ | `KAIROS` | Assistant mode — Long-running autonomous agent (includes brief, push notifications, file sending) |
352
+ | `KAIROS_BRIEF` | Kairos Brief — Send briefing summaries to users |
353
+ | `KAIROS_CHANNELS` | Kairos Channels — Multi-channel communication |
354
+ | `KAIROS_GITHUB_WEBHOOKS` | GitHub Webhook subscription — Real-time PR events pushed to Agent |
355
+ | `PROACTIVE` | Proactive mode — Agent actively executes tasks, includes SleepTool scheduled wakeup |
356
+ | `COORDINATOR_MODE` | Coordinator mode — Multi-agent orchestration and scheduling |
357
+ | `BUDDY` | Buddy pair programming feature |
358
+ | `FORK_SUBAGENT` | Fork sub-agent — Spawn independent sub-agent from current session |
359
+
360
+ ### Remote / Distributed
361
+
362
+ | Flag | Purpose |
363
+ |------|---------|
364
+ | `BRIDGE_MODE` | Remote control bridge — Allows external clients to remotely control Claude Code |
365
+ | `DAEMON` | Daemon — Background persistent service, supports worker and supervisor |
366
+ | `BG_SESSIONS` | Background sessions — Background process management like `ps`/`logs`/`attach`/`kill`/`--bg` |
367
+ | `SSH_REMOTE` | SSH remote — `claude ssh <host>` to connect to remote host |
368
+ | `DIRECT_CONNECT` | Direct connect mode — `cc://` URL protocol, `server` command, `open` command |
369
+ | `CCR_REMOTE_SETUP` | Web-based remote setup — Configure Claude Code via browser |
370
+ | `CCR_MIRROR` | Claude Code Runtime mirror — Session state sync/replication |
371
+
372
+ ### Communication
373
+
374
+ | Flag | Purpose |
375
+ |------|---------|
376
+ | `UDS_INBOX` | Unix Domain Socket inbox — Local agent-to-agent communication (`/peers`) |
377
+
378
+ ### Enhanced Tools
379
+
380
+ | Flag | Purpose |
381
+ |------|---------|
382
+ | `CHICAGO_MCP` | Computer Use MCP — Computer operations (screen capture, mouse/keyboard control) |
383
+ | `WEB_BROWSER_TOOL` | Web browser tool — Embedded browser interaction in terminal |
384
+ | `VOICE_MODE` | Voice mode — Voice input/output, microphone push-to-talk |
385
+ | `WORKFLOW_SCRIPTS` | Workflow scripts — User-defined automation workflows |
386
+ | `MCP_SKILLS` | MCP-based Skill loading mechanism |
387
+
388
+ ### Conversation Management
389
+
390
+ | Flag | Purpose |
391
+ |------|---------|
392
+ | `HISTORY_SNIP` | History snip — Manually snip segments from conversation history (`/force-snip`) |
393
+ | `ULTRAPLAN` | Ultra-plan — Large-scale planning for remote Agent collaboration |
394
+ | `AGENT_MEMORY_SNAPSHOT` | Agent memory snapshot — Memory snapshot during Agent runtime |
395
+
396
+ ### Infrastructure / Experimental
397
+
398
+ | Flag | Purpose |
399
+ |------|---------|
400
+ | `ABLATION_BASELINE` | Scientific experiment — Baseline ablation testing, used for A/B experiment control group |
401
+ | `HARD_FAIL` | Hard fail mode — Abort on errors instead of graceful degradation |
402
+ | `TRANSCRIPT_CLASSIFIER` | Transcript classifier — `auto-mode` command, automatically analyzes and classifies conversation records |
403
+ | `UPLOAD_USER_SETTINGS` | Settings sync upload — Sync local configuration to cloud |
404
+ | `LODESTONE` | Deep link protocol handler — Jump to specific locations in Claude Code from external apps |
405
+ | `EXPERIMENTAL_SKILL_SEARCH` | Experimental skill search index |
406
+ | `TORCH` | Torch feature (specific purpose unknown, possibly some highlighting/tracking mechanism) |
407
+
408
+ ## License
409
+
410
+ This project is for educational and research purposes only. All rights to Claude Code belong to [Anthropic](https://www.anthropic.com/).