-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
531 lines (531 loc) · 32.1 KB
/
Copy pathopencode.json
File metadata and controls
531 lines (531 loc) · 32.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
{
"$schema": "https://opencode.ai/config.json",
"default_agent": "build",
"agent": {
"executor": {
"hidden": true
},
"planner": {
"hidden": true
},
"supervisor": {
"hidden": true
},
"orchestrator": {
"mode": "primary"
},
"tasker": {
"mode": "primary"
},
"oracle": {
"mode": "subagent",
"hidden": true
},
"reviewer": {
"mode": "subagent",
"hidden": true
}
},
"autoupdate": "notify",
"share": "manual",
"small_model": "portkey-gemini/@vertex-ai-global-nonprod/gemini-2.5-flash-lite",
"provider": {
"openai": {
"models": {
"gpt-6-astra": {
"name": "GPT-6 Astra (ChatGPT)",
"reasoning": true,
"variants": {
"low": {
"reasoningEffort": "low"
},
"medium": {
"reasoningEffort": "medium"
},
"high": {
"reasoningEffort": "high"
},
"xhigh": {
"reasoningEffort": "xhigh"
},
"max": {
"reasoningEffort": "max"
}
}
},
"gpt-6-luna": {
"name": "GPT-6 Luna",
"reasoning": true,
"variants": {
"none": {
"reasoningEffort": "none"
},
"low": {
"reasoningEffort": "low"
},
"medium": {
"reasoningEffort": "medium"
},
"high": {
"reasoningEffort": "high"
},
"xhigh": {
"reasoningEffort": "xhigh"
},
"max": {
"reasoningEffort": "max"
}
}
},
"gpt-6.1-sol": {
"name": "GPT-6.1 Sol",
"reasoning": true,
"variants": {
"low": {
"reasoningEffort": "low"
},
"medium": {
"reasoningEffort": "medium"
},
"high": {
"reasoningEffort": "high"
},
"xhigh": {
"reasoningEffort": "xhigh"
},
"max": {
"reasoningEffort": "max"
}
}
}
}
},
"portkey-openai": {
"name": "Portkey OpenAI",
"npm": "@ai-sdk/openai",
"options": {
"apiKey": "{env:PORTKEY_API_KEY}",
"baseURL": "https://api.portkey.ai/v1",
"headers": {
"x-portkey-api-key": "{env:PORTKEY_API_KEY}",
"x-portkey-virtual-key": "{env:PORTKEY_OPENAI_VIRTUAL_KEY}",
"x-portkey-config": "{\"cache\":{\"mode\":\"simple\",\"max_age\":3600}}"
}
},
"models": {
"@azure-openai-useast2-nonprod/gpt-5-mini": {
"name": "GPT-5 Mini (USEast2)"
},
"@azure-openai-useast2-nonprod/gpt-5.3-codex": {
"name": "GPT-5.3 Codex (USEast2)"
}
}
},
"portkey-openai-foundry": {
"name": "Portkey OpenAI Foundry",
"npm": "@ai-sdk/openai",
"options": {
"apiKey": "{env:PORTKEY_API_KEY}",
"baseURL": "https://api.portkey.ai/v1",
"headers": {
"x-portkey-api-key": "{env:PORTKEY_API_KEY}",
"x-portkey-virtual-key": "{env:PORTKEY_OPENAI_FOUNDRY_VIRTUAL_KEY}",
"x-portkey-config": "{\"cache\":{\"mode\":\"simple\",\"max_age\":3600}}"
}
},
"models": {
"@azure-foundry-useast2-nonprod/gpt-5-mini": {
"name": "GPT-5 Mini (Foundry USEast2)"
}
}
},
"portkey-claude": {
"name": "Portkey Claude",
"npm": "@ai-sdk/openai-compatible",
"options": {
"apiKey": "{env:PORTKEY_API_KEY}",
"baseURL": "https://api.portkey.ai/v1",
"headers": {
"x-portkey-api-key": "{env:PORTKEY_API_KEY}",
"x-portkey-virtual-key": "{env:PORTKEY_CLAUDE_VIRTUAL_KEY}",
"x-portkey-config": "{\"cache\":{\"mode\":\"simple\",\"max_age\":3600}}"
}
},
"models": {
"@bedrock-use1-nonprod/global.anthropic.claude-opus-4-8": {
"name": "Claude Opus 4.8 (Bedrock USE1)"
},
"@bedrock-use1-nonprod/global.anthropic.claude-opus-4-7": {
"name": "Claude Opus 4.7 (Bedrock USE1)"
},
"@bedrock-use1-nonprod/global.anthropic.claude-opus-4-6-v1": {
"name": "Claude Opus 4.6 (Bedrock USE1)"
},
"@bedrock-use1-nonprod/global.anthropic.claude-sonnet-4-6": {
"name": "Claude Sonnet 4.6 (Bedrock USE1)"
},
"@bedrock-use1-nonprod/global.anthropic.claude-sonnet-4-5-20250929-v1:0": {
"name": "Claude Sonnet 4.5 (Bedrock USE1)"
},
"@bedrock-use1-nonprod/global.anthropic.claude-haiku-4-5-20251001-v1:0": {
"name": "Claude Haiku 4.5 (Bedrock USE1)"
}
}
},
"portkey-gemini": {
"name": "Portkey Gemini",
"npm": "@ai-sdk/openai-compatible",
"options": {
"apiKey": "{env:PORTKEY_API_KEY}",
"baseURL": "https://api.portkey.ai/v1",
"headers": {
"x-portkey-api-key": "{env:PORTKEY_API_KEY}",
"x-portkey-virtual-key": "{env:PORTKEY_GEMINI_VIRTUAL_KEY}",
"x-portkey-config": "{\"cache\":{\"mode\":\"simple\",\"max_age\":3600}}"
}
},
"models": {
"@vertex-ai-global-nonprod/gemini-3.5-flash": {
"name": "Gemini 3.5 Flash (Vertex Global)"
},
"@vertex-ai-global-nonprod/gemini-3.1-pro-preview": {
"name": "Gemini 3.1 Pro Preview (Vertex Global)"
},
"@vertex-ai-global-nonprod/gemini-3.1-flash-lite-preview": {
"name": "Gemini 3.1 Flash Lite Preview (Vertex Global)"
},
"@vertex-ai-global-nonprod/gemini-2.5-pro": {
"name": "Gemini 2.5 Pro (Vertex Global)"
},
"@vertex-ai-global-nonprod/gemini-2.5-flash": {
"name": "Gemini 2.5 Flash (Vertex Global)"
},
"@vertex-ai-global-nonprod/gemini-2.5-flash-lite": {
"name": "Gemini 2.5 Flash Lite (Vertex Global)"
}
}
}
},
"permission": {
"*": "allow",
"doom_loop": "allow",
"external_directory": {
"~/Codes/Projects/**": "allow"
},
"read": {
"*": "allow"
}
},
"mcp": {
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp",
"enabled": false
},
"gh_grep": {
"type": "remote",
"url": "https://mcp.grep.app",
"enabled": false
},
"playwright": {
"type": "local",
"command": [
"npx",
"-y",
"@playwright/mcp@0.0.78",
"--isolated",
"--caps=testing,network,storage,vision,devtools,pdf"
],
"enabled": false
},
"exa_search": {
"type": "remote",
"url": "https://mcp.exa.ai/mcp",
"enabled": false
},
"github": {
"type": "remote",
"url": "https://api.githubcopilot.com/mcp/",
"enabled": false
},
"miro": {
"type": "remote",
"url": "https://mcp.miro.com/",
"enabled": false
},
"google-drive": {
"type": "remote",
"url": "https://drivemcp.googleapis.com/mcp/v1",
"enabled": true
}
},
"command": {
"mcp": {
"description": "Manage MCP usage (status|help|doctor|profile|enable|disable)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before mcp --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"doctor": {
"description": "Run diagnostics, SQLite store health, and reason-code registry export",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before doctor --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"agent-doctor": {
"description": "Validate custom agent contracts and runtime discovery",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/agent_doctor.py\" --fixed-before run --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"agent-catalog": {
"description": "Explore runtime agent catalog and per-agent guidance (list|explain|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before agent-catalog --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"audit": {
"description": "Inspect runtime audit trail (status|list|report|export|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before audit --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"governance": {
"description": "Manage governance policy profiles and authorizations (status|profile|authorize|revoke|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before governance --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"claims": {
"description": "Manage collaborative issue claims and handoffs (claim|handoff|accept-handoff|reject-handoff|release|expire-stale|status|list|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before claims --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"reservation": {
"description": "Manage file reservation state for parallel writer guardrails (status|set|clear|export)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before reservation --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"changes": {
"description": "Explain local change narrative for handoff/release notes (explain|--since)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before changes --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"workflow": {
"description": "Run the low-level reusable workflow engine (run|validate|list|status|resume|stop|template|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before workflow --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"daemon": {
"description": "Manage observability daemon controls (start|stop|status|tick|summary|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before daemon --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"delivery": {
"description": "Run the recommended day-to-day delivery flow (start|status|handoff|close|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before delivery --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"agent-pool": {
"description": "Manage runtime agent pool lifecycle (spawn|list|health|drain|logs|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before agent-pool --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"memory-lifecycle": {
"description": "Manage memory lifecycle ops (stats|cleanup|compress|restore|export|import|migrate|doctor) with scoped dry-run previews",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before memory-lifecycle --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"memory": {
"description": "Manage shared memory content (add|find|recall|pin|summarize|promote|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/memory_command.py\" $ARGUMENTS`\nShow only the command output."
},
"hook-learning": {
"description": "Run hook learning loop controls (pre-command|post-command|route|metrics|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before hook-learning --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"init-deep": {
"description": "Initialize hierarchical AGENTS.md scaffolding for current repo",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before init-deep --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"config": {
"description": "Backup and restore OpenCode config files",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before config --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"bg": {
"description": "Manage background jobs (start|status|list|read|cancel|reconcile|cleanup|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before bg --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"refactor-lite": {
"description": "Run safe refactor workflow backend",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before refactor-lite --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"hooks": {
"description": "Manage safety hooks (status|help|enable|disable|run)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before hooks --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"kvforge-connect": {
"description": "Connect the native OpenCode model/provider config to a running KVForge server",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/connect_command.py\" $ARGUMENTS`\nShow only the command output."
},
"kvforge-models": {
"description": "List discovered native KVForge/OpenCode model mappings",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/models_command.py\" $ARGUMENTS`\nShow only the command output."
},
"model-routing": {
"description": "Manage model routing (status|set-category|resolve|trace|recommend)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before model-routing --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"auto-slash": {
"description": "Detect and preview natural-language slash intents",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before auto-slash --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"intent": {
"description": "Preview and apply bounded typed intent proposals (schema|preview|apply|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before intent-coordinator --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"rules": {
"description": "Inspect conditional rules (status|explain|disable-id|enable-id|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before rules --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"stack": {
"description": "Apply cross-command profile bundles",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before stack --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"ship": {
"description": "Run release intent preflight with safety gates and policy-aware reviewer routing",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before ship --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"browser": {
"description": "Manage browser automation provider profile and readiness (status|profile|doctor|ensure)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before browser --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"autopilot": {
"description": "Run open-ended autonomous execution with autopilot guardrails",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/autopilot_command.py\" --fixed-before go --fixed-before --goal --literal \"$ARGUMENTS\" --fixed-after --json`\nUse the runtime output as guardrails, then execute the work now from current repo context. Default completion mode is promise-based: only finish when objective is truly complete and emit `<promise>PENDING_VALIDATION</promise>`. If the run status is still running, continue iterating in this session without waiting for user input until completion gates pass or a concrete blocker is hit. Do not output another /autopilot command suggestion; perform concrete edits/checks or explain blocker with exact cause."
},
"autoflow": {
"description": "Run the public deterministic plan-file execution flow (start|status|report|resume|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before autoflow --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"continuation-stop": {
"description": "Stop active continuation loops and disable auto-resume",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before continuation-stop --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"pr-review": {
"description": "Run PR review copilot analysis with checklist output",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before pr-review --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"review": {
"description": "Run local review pass with diagnostics and checklist artifacts/findings (local|apply-checklist|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before review --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"release-train": {
"description": "Run release-train workflow controls (status|prepare|draft|rollup|publish)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before release-train --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"hotfix": {
"description": "Run incident hotfix controls with strict close gating, followup linking, and followup-open previews (start|status|close|postmortem|remind|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before hotfix --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"health": {
"description": "Show repo health score and drift insights",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before health --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"learn": {
"description": "Capture and manage reusable task knowledge (capture|review|publish|search|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before learn --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"budget": {
"description": "Manage execution budget controls (status|profile|override|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before budget --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"todo": {
"description": "Inspect todo compliance state (status|enforce)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before todo --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"resume": {
"description": "Manage runtime recovery controls (status|now|smart|disable)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before resume --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"safe-edit": {
"description": "Plan semantic safe-edit execution (status|plan|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before safe-edit --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"checkpoint": {
"description": "Manage checkpoint snapshots and runtime rollback (create|restore|list|show|prune|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before checkpoint --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"plan": {
"description": "Run the legacy/internal contract-checking plan wrapper (run|status|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before plan --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"nvim": {
"description": "Manage Neovim OpenCode integration (status|doctor|snippet|install|uninstall)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before nvim --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"devtools": {
"description": "Manage external productivity tools (status|doctor|install|hooks-install)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before devtools --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"plugin": {
"description": "Manage plugin usage (status|doctor|setup-keys|profile|enable|disable)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before plugin --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"notify": {
"description": "Manage notification controls and inbox feed (status|doctor|inbox|profile|enable|disable|channel|policy)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before notify --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"ox": {
"description": "OpenCode prompt-pack namespace for reusable automation expansions (list|doctor|ecosystem)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/ox_command.py\" --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"ox-ux": {
"description": "Expand a browser-first UX audit and polish execution contract",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/ox_command.py\" --fixed-before ux --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"ox-design": {
"description": "Expand a design concept, asset-planning, and image-ready execution contract",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/ox_command.py\" --fixed-before design --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"ox-review": {
"description": "Expand an end-to-end code review and improvement execution contract",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/ox_command.py\" --fixed-before review --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"ox-ship": {
"description": "Expand a ship-readiness validation and PR-prep execution contract",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/ox_command.py\" --fixed-before ship --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"ox-start": {
"description": "Expand a task-bootstrap execution contract with worktree and scope cues",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/ox_command.py\" --fixed-before start --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"ox-wrap": {
"description": "Expand a session wrap-up and handoff execution contract",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/ox_command.py\" --fixed-before wrap --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"ox-debug": {
"description": "Expand a debug-and-fix execution contract with reproduction and regression focus",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/ox_command.py\" --fixed-before debug --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"ox-refactor": {
"description": "Expand a safe refactor execution contract with bounded scope and validation cues",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/ox_command.py\" --fixed-before refactor --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"image": {
"description": "Manage image generation plus provider/output preferences (status|doctor|setup-keys|access|preference|location|prompt|generate)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/image_command.py\" --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"session": {
"description": "Inspect, snapshot, and repair session state (current|list|show|search|handoff|doctor|snapshot-runtime|repair-sidecars|repair-runtime-permissions|repair-stale)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before session --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"digest": {
"description": "Generate or inspect session digests (run|show|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before digest --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"post-session": {
"description": "Manage post-session hook config (status|enable|disable|set)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before post-session --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"gateway": {
"description": "Manage gateway runtime controls (status|enable|disable|doctor|tune memory|recover memory|protection)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before gateway --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"delegation-health": {
"description": "Summarize delegation health and detect routing drift (status|doctor)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before delegation-health --raw-args \"$ARGUMENTS\"`\nShow only the command output."
},
"telemetry": {
"description": "Manage telemetry forwarding (status|doctor|profile|enable|disable|set)",
"template": "!`python3 \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --script \"$HOME/.config/opencode/my_opencode/scripts/slash_command_wrapper.py\" --fixed-before telemetry --raw-args \"$ARGUMENTS\"`\nShow only the command output."
}
},
"plugin": [
"file://{env:HOME}/.config/opencode/my_opencode/plugin/gateway-core/dist/index.js"
],
"instructions": [
"{env:HOME}/.config/opencode/my_opencode/AGENTS.md",
"{env:HOME}/.config/opencode/my_opencode/instructions/shell_strategy.md"
]
}