minimal-vibe-coding-kit 0.4.0 → 0.4.2

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 (96) hide show
  1. package/.agents/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +28 -3
  2. package/.agents/skills/coding-level/SKILL.md +8 -1
  3. package/.agents/skills/path-sensitive-shell-safety/SKILL.md +1 -0
  4. package/.agents/skills/prompt-sharpener/SKILL.md +54 -0
  5. package/.agents/skills/vibekit-init/SKILL.md +2 -2
  6. package/.claude/rules/safe-delete.md +11 -0
  7. package/.claude/settings.json +10 -3
  8. package/.claude/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +28 -3
  9. package/.claude/skills/coding-level/SKILL.md +8 -1
  10. package/.claude/skills/path-sensitive-shell-safety/SKILL.md +1 -0
  11. package/.claude/skills/prompt-sharpener/SKILL.md +54 -0
  12. package/.claude/skills/vibekit-init/SKILL.md +2 -2
  13. package/.codex/rules/vibekit.rules +77 -0
  14. package/.codex-plugin/plugin.json +1 -1
  15. package/.cursor/cli.json +18 -0
  16. package/.cursor/rules/040-safe-delete.mdc +16 -0
  17. package/.cursor/settings.json +15 -8
  18. package/.cursor/skills/coding-level/SKILL.md +8 -1
  19. package/.cursor/skills/path-sensitive-shell-safety/SKILL.md +1 -0
  20. package/.cursor/skills/prompt-sharpener/SKILL.md +54 -0
  21. package/.grok/README.md +13 -0
  22. package/.grok/config.example.toml +13 -0
  23. package/.grok/config.toml +29 -0
  24. package/.grok/rules/safe-delete.md +11 -0
  25. package/.grok/rules/security.md +5 -0
  26. package/.grok/rules/vibe-core.md +8 -0
  27. package/.grok/skills/agentshield-security-review/SKILL.md +75 -0
  28. package/.grok/skills/agentshield-security-review/agents/openai.yaml +5 -0
  29. package/.grok/skills/agentshield-security-review/references/native-install.md +97 -0
  30. package/.grok/skills/agentshield-security-review/references/report-template.md +54 -0
  31. package/.grok/skills/agentshield-security-review/references/review-checklist.md +45 -0
  32. package/.grok/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +135 -0
  33. package/.grok/skills/autoresearch-coding/README.md +15 -0
  34. package/.grok/skills/autoresearch-coding/SKILL.md +101 -0
  35. package/.grok/skills/autoresearch-coding/references/experiment-contract.md +13 -0
  36. package/.grok/skills/autoresearch-coding/references/metric-extraction.md +8 -0
  37. package/.grok/skills/autoresearch-coding/references/result-ledger.md +15 -0
  38. package/.grok/skills/autoresearch-coding/scripts/log_result.py +24 -0
  39. package/.grok/skills/autoresearch-coding/scripts/run_logged.py +30 -0
  40. package/.grok/skills/clearthought/SKILL.md +100 -0
  41. package/.grok/skills/clearthought/examples/decision-framework.md +441 -0
  42. package/.grok/skills/clearthought/examples/metagame-examples.md +536 -0
  43. package/.grok/skills/clearthought/examples/sequential-thinking.md +380 -0
  44. package/.grok/skills/clearthought/references/output-schemas.md +494 -0
  45. package/.grok/skills/clearthought/references/parameter-reference.md +482 -0
  46. package/.grok/skills/coding-level/SKILL.md +34 -0
  47. package/.grok/skills/coding-level/references/level-0.md +131 -0
  48. package/.grok/skills/coding-level/references/level-1.md +118 -0
  49. package/.grok/skills/coding-level/references/level-2.md +140 -0
  50. package/.grok/skills/coding-level/references/level-3.md +142 -0
  51. package/.grok/skills/coding-level/references/level-4.md +152 -0
  52. package/.grok/skills/coding-level/references/level-5.md +84 -0
  53. package/.grok/skills/daily-workflow-curator/SKILL.md +52 -0
  54. package/.grok/skills/memento/SKILL.md +36 -0
  55. package/.grok/skills/parallel-analysis/SKILL.md +160 -0
  56. package/.grok/skills/path-sensitive-shell-safety/SKILL.md +69 -0
  57. package/.grok/skills/path-sensitive-shell-safety/references/workflow.md +127 -0
  58. package/.grok/skills/prompt-sharpener/SKILL.md +54 -0
  59. package/.grok/skills/reviewing-4p-priorities/SKILL.md +72 -0
  60. package/.grok/skills/reviewing-4p-priorities/examples.md +298 -0
  61. package/.grok/skills/sequential-thinking/SKILL.md +106 -0
  62. package/.grok/skills/sequential-thinking/examples/adaptive-depth.md +542 -0
  63. package/.grok/skills/sequential-thinking/examples/branching-exploration.md +474 -0
  64. package/.grok/skills/sequential-thinking/examples/linear-reasoning.md +210 -0
  65. package/.grok/skills/sequential-thinking/examples/revision-pattern.md +304 -0
  66. package/.grok/skills/sequential-thinking/references/output-schema.md +483 -0
  67. package/.grok/skills/sequential-thinking/references/parameters.md +463 -0
  68. package/.grok/skills/sequential-thinking/references/patterns.md +666 -0
  69. package/.grok/skills/vibekit-init/SKILL.md +52 -0
  70. package/.grok/skills/visual-design-loop/SKILL.md +103 -0
  71. package/.grok/skills/visual-design-loop/agents/openai.yaml +4 -0
  72. package/.vibekit/docs/BACKBONE_REFERENCE.md +1 -1
  73. package/.vibekit/docs/INSTALL.md +21 -7
  74. package/.vibekit/docs/SECURITY_MODEL.md +1 -1
  75. package/.vibekit/docs/TOOLING_GUIDE.md +5 -0
  76. package/.vibekit/docs/templates/CONTEXT_TEMPLATE.md +1 -1
  77. package/.vibekit/init/CLAUDE-template.md +3 -0
  78. package/.vibekit/init/FIRST_PROMPT.md +1 -1
  79. package/.vibekit/init/FIRST_TIME_INIT.md +34 -2
  80. package/.vibekit/scripts/doctor.mjs +27 -5
  81. package/.vibekit/scripts/init-backbone.mjs +9 -0
  82. package/.vibekit/scripts/mvck.mjs +24 -9
  83. package/.vibekit/scripts/test-install.mjs +8 -0
  84. package/.vibekit/scripts/validate-kit.mjs +104 -39
  85. package/.vibekit/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +28 -3
  86. package/.vibekit/skills/coding-level/SKILL.md +8 -1
  87. package/.vibekit/skills/path-sensitive-shell-safety/SKILL.md +1 -0
  88. package/.vibekit/skills/prompt-sharpener/SKILL.md +54 -0
  89. package/.vibekit/skills/vibekit-init/SKILL.md +2 -2
  90. package/AGENTS.md +3 -2
  91. package/CHANGELOG.md +21 -0
  92. package/README.md +60 -19
  93. package/backbone.yml +2 -1
  94. package/docs/README.vi.md +273 -0
  95. package/package.json +8 -3
  96. package/README.vi.md +0 -232
@@ -0,0 +1,494 @@
1
+ # Clear Thought - Output Schema Reference
2
+
3
+ JSON response structures for all 37 operations.
4
+
5
+ ## Base Response Structure
6
+
7
+ All responses include:
8
+
9
+ ```typescript
10
+ {
11
+ toolOperation: string; // Operation name
12
+ ...operationSpecificFields; // Varies by operation
13
+ sessionContext: { // Optional but recommended
14
+ sessionId: string; // "conversation" for skill
15
+ stats?: object; // Session statistics
16
+ }
17
+ }
18
+ ```
19
+
20
+ ## Error Response Structure
21
+
22
+ ```typescript
23
+ {
24
+ toolOperation: string;
25
+ error: string;
26
+ success: false;
27
+ suggestions?: string[];
28
+ }
29
+ ```
30
+
31
+ ---
32
+
33
+ ## Core Operations
34
+
35
+ ### sequential_thinking
36
+
37
+ ```typescript
38
+ {
39
+ toolOperation: "sequential_thinking";
40
+ selectedPattern: "chain" | "tree" | "beam" | "mcts" | "graph";
41
+ thoughtData: {
42
+ thoughtNumber: number;
43
+ content: string;
44
+ revision: number | null;
45
+ branch: string | null;
46
+ };
47
+ patternResult?: object; // When pattern dispatches
48
+ status: "success" | "limit_reached";
49
+ sessionContext: {
50
+ sessionId: string;
51
+ totalThoughts: number;
52
+ remainingThoughts: number;
53
+ recentThoughts: Array<{
54
+ number: number;
55
+ preview: string; // First 50 chars
56
+ }>;
57
+ };
58
+ }
59
+ ```
60
+
61
+ ---
62
+
63
+ ### mental_model
64
+
65
+ ```typescript
66
+ {
67
+ toolOperation: "mental_model";
68
+ modelName: string;
69
+ problem: string;
70
+ steps: string[];
71
+ reasoning: string;
72
+ conclusion: string;
73
+ sessionContext: {
74
+ sessionId: string;
75
+ totalModels: number;
76
+ recentModels: string[]; // Last 3 model names
77
+ };
78
+ }
79
+ ```
80
+
81
+ ---
82
+
83
+ ### debugging_approach
84
+
85
+ ```typescript
86
+ {
87
+ toolOperation: "debugging_approach";
88
+ approachName: string;
89
+ issue: string;
90
+ steps: string[];
91
+ findings: string;
92
+ resolution: string;
93
+ prevention?: string;
94
+ sessionContext: {
95
+ sessionId: string;
96
+ totalSessions: number;
97
+ recentSessions: Array<{
98
+ approach: string;
99
+ issue: string;
100
+ }>;
101
+ };
102
+ }
103
+ ```
104
+
105
+ ---
106
+
107
+ ## Collaborative Operations
108
+
109
+ ### collaborative_reasoning
110
+
111
+ ```typescript
112
+ {
113
+ toolOperation: "collaborative_reasoning";
114
+ topic: string;
115
+ participants: string[];
116
+ perspectives: Array<{
117
+ participant: string;
118
+ viewpoint: string;
119
+ keyPoints: string[];
120
+ confidence: number;
121
+ reasoning: string;
122
+ }>;
123
+ conflicts: string[];
124
+ consensus: {
125
+ agreedPoints: string[];
126
+ unresolved: string[];
127
+ };
128
+ convergenceScore: number; // 0-1
129
+ round: number;
130
+ nextRoundNeeded: boolean;
131
+ sessionContext: {
132
+ sessionId: string;
133
+ };
134
+ }
135
+ ```
136
+
137
+ ---
138
+
139
+ ### decision_framework
140
+
141
+ ```typescript
142
+ {
143
+ toolOperation: "decision_framework";
144
+ framework: string;
145
+ decision: string;
146
+ options: Array<{
147
+ name: string;
148
+ description: string;
149
+ }>;
150
+ criteria: Array<{
151
+ name: string;
152
+ weight: number;
153
+ }>;
154
+ evaluations: Array<{
155
+ option: string;
156
+ scores: Record<string, number>;
157
+ total?: number;
158
+ }>;
159
+ recommended: string;
160
+ confidence: number; // 0-1, from score variance
161
+ rationale: string;
162
+ tradeOffs?: string;
163
+ nextSteps?: string[];
164
+ sessionContext: {
165
+ sessionId: string;
166
+ };
167
+ }
168
+ ```
169
+
170
+ ---
171
+
172
+ ## Analysis Operations
173
+
174
+ ### statistical_reasoning
175
+
176
+ **Descriptive Mode:**
177
+ ```typescript
178
+ {
179
+ toolOperation: "statistical_reasoning";
180
+ mode: "descriptive";
181
+ data: number[];
182
+ results: {
183
+ mean: number;
184
+ variance: number;
185
+ stddev: number;
186
+ min: number;
187
+ max: number;
188
+ n: number;
189
+ };
190
+ interpretation: string;
191
+ sessionContext: { sessionId: string };
192
+ }
193
+ ```
194
+
195
+ **Bayesian Mode:**
196
+ ```typescript
197
+ {
198
+ toolOperation: "statistical_reasoning";
199
+ mode: "bayesian";
200
+ prior: Record<string, number>;
201
+ likelihood: Record<string, number>;
202
+ posterior: Record<string, number>;
203
+ evidence: number;
204
+ interpretation: string;
205
+ sessionContext: { sessionId: string };
206
+ }
207
+ ```
208
+
209
+ ---
210
+
211
+ ### simulation
212
+
213
+ ```typescript
214
+ {
215
+ toolOperation: "simulation";
216
+ type: string;
217
+ initialState: Record<string, number>;
218
+ steps: number;
219
+ trajectory: Array<Record<string, number>>;
220
+ finalState: Record<string, number>;
221
+ trends: Record<string, number>; // Delta from initial
222
+ equilibrium: boolean;
223
+ sessionContext: { sessionId: string };
224
+ }
225
+ ```
226
+
227
+ ---
228
+
229
+ ### optimization
230
+
231
+ ```typescript
232
+ {
233
+ toolOperation: "optimization";
234
+ type: string;
235
+ variables: string[];
236
+ objective: "minimize" | "maximize";
237
+ bestDecisionVector: number[];
238
+ bestObjective: number;
239
+ iterations: number;
240
+ constraintsSatisfied: boolean;
241
+ sensitivityAnalysis?: Array<{
242
+ variable: string;
243
+ impact: number;
244
+ }>;
245
+ sessionContext: { sessionId: string };
246
+ }
247
+ ```
248
+
249
+ ---
250
+
251
+ ## Metagame Operations
252
+
253
+ ### ooda_loop
254
+
255
+ ```typescript
256
+ {
257
+ toolOperation: "ooda_loop";
258
+ action: "start" | "continue" | "advance";
259
+ currentPhase: "observe" | "orient" | "decide" | "act";
260
+ loopNumber: number;
261
+ nodes: Array<{
262
+ phase: string;
263
+ content: string;
264
+ timestamp: string;
265
+ }>;
266
+ hypotheses?: Record<string, {
267
+ text: string;
268
+ status: "proposed" | "testing" | "validated" | "invalidated";
269
+ }>;
270
+ metrics: {
271
+ completedLoops: number;
272
+ avgLoopTimeMs: number;
273
+ evidenceQuality: number;
274
+ learningRate: number;
275
+ };
276
+ phaseChecklist: Record<string, string[]>;
277
+ recommendedNextPhase: string;
278
+ sessionContext: { sessionId: string };
279
+ }
280
+ ```
281
+
282
+ ---
283
+
284
+ ### ulysses_protocol
285
+
286
+ ```typescript
287
+ {
288
+ toolOperation: "ulysses_protocol";
289
+ action: "start" | "continue" | "advance" | "decide" | "export";
290
+ currentPhase: "reconnaissance" | "planning" | "implementation" | "validation" | "ship_or_abort";
291
+ gates: Array<{
292
+ phase: string;
293
+ status: "locked" | "open" | "passed" | "failed";
294
+ entryCriteria: string[];
295
+ exitCriteria: string[];
296
+ entryMet: string[];
297
+ exitMet: string[];
298
+ }>;
299
+ nodes: Array<{
300
+ phase: string;
301
+ content: string;
302
+ timestamp: string;
303
+ escalated?: boolean;
304
+ }>;
305
+ metrics: {
306
+ gatesPassed: number;
307
+ iteration: number;
308
+ confidence: number;
309
+ scopeDrift: number;
310
+ };
311
+ constraints: {
312
+ timeboxMs: number;
313
+ maxIterations: number;
314
+ minConfidence: number;
315
+ maxScopeDrift: number;
316
+ };
317
+ finalDecision?: {
318
+ decision: "ship" | "abort" | "pivot";
319
+ rationale: string;
320
+ timestamp: string;
321
+ };
322
+ gateStatus?: string; // When advance fails
323
+ requiredEvidence?: string[]; // What's needed to pass
324
+ sessionContext: { sessionId: string };
325
+ }
326
+ ```
327
+
328
+ ---
329
+
330
+ ## Pattern Operations
331
+
332
+ ### tree_of_thought
333
+
334
+ ```typescript
335
+ {
336
+ toolOperation: "tree_of_thought";
337
+ pattern: "tree";
338
+ depth: number;
339
+ breadth: number;
340
+ branches: Array<{
341
+ id: string;
342
+ content: string;
343
+ score: number;
344
+ depth: number;
345
+ }>;
346
+ evaluations: Array<{
347
+ branchId: string;
348
+ score: number;
349
+ reasoning: string;
350
+ }>;
351
+ selectedPath: string[];
352
+ sessionContext: { sessionId: string };
353
+ }
354
+ ```
355
+
356
+ ---
357
+
358
+ ### beam_search
359
+
360
+ ```typescript
361
+ {
362
+ toolOperation: "beam_search";
363
+ pattern: "beam";
364
+ beamWidth: number;
365
+ candidates: string[];
366
+ scores: number[];
367
+ iterations: number;
368
+ currentGeneration: number;
369
+ sessionContext: { sessionId: string };
370
+ }
371
+ ```
372
+
373
+ ---
374
+
375
+ ### mcts
376
+
377
+ ```typescript
378
+ {
379
+ toolOperation: "mcts";
380
+ pattern: "mcts";
381
+ tree: {
382
+ root: {
383
+ visits: number;
384
+ value: number;
385
+ children: any[];
386
+ };
387
+ };
388
+ bestAction: string;
389
+ explorationConstant: number; // Default Math.SQRT2
390
+ sessionContext: { sessionId: string };
391
+ }
392
+ ```
393
+
394
+ ---
395
+
396
+ ## Notebook Operations
397
+
398
+ ### notebook_create
399
+
400
+ ```typescript
401
+ {
402
+ toolOperation: "notebook_create";
403
+ notebookId: string;
404
+ title: string;
405
+ metadata: {
406
+ createdFor: string;
407
+ enableTypescript: boolean;
408
+ tags: string[];
409
+ version: string;
410
+ };
411
+ cells: Array<{
412
+ id: string;
413
+ type: "markdown" | "code";
414
+ source: string;
415
+ language?: string;
416
+ }>;
417
+ sessionContext: { sessionId: string };
418
+ }
419
+ ```
420
+
421
+ ---
422
+
423
+ ### notebook_run_cell
424
+
425
+ ```typescript
426
+ {
427
+ toolOperation: "notebook_run_cell";
428
+ notebookId: string;
429
+ cellId: string;
430
+ executed: boolean;
431
+ outputs: Array<{
432
+ type: "stdout" | "stderr" | "result";
433
+ text: string;
434
+ }>;
435
+ status: "success" | "error" | "timeout";
436
+ error?: string;
437
+ analysis?: {
438
+ outputCategories: string[];
439
+ codeMetrics: object;
440
+ errorClassification?: string;
441
+ };
442
+ sessionContext: { sessionId: string };
443
+ }
444
+ ```
445
+
446
+ ---
447
+
448
+ ## Session Context Structure
449
+
450
+ The `sessionContext` object provides session metadata:
451
+
452
+ ```typescript
453
+ {
454
+ sessionId: string; // "conversation" for skills
455
+ stats?: {
456
+ thoughtCount: number;
457
+ totalOperations: number;
458
+ isActive: boolean;
459
+ stores?: Record<string, number>; // Per-type counts
460
+ };
461
+ kpis?: Array<{
462
+ name: string;
463
+ value: number;
464
+ label: string;
465
+ target: number;
466
+ direction: "up" | "down";
467
+ timestamp: string;
468
+ }>;
469
+
470
+ // Operation-specific context
471
+ totalThoughts?: number;
472
+ remainingThoughts?: number;
473
+ recentThoughts?: Array<{number: number, preview: string}>;
474
+
475
+ totalModels?: number;
476
+ recentModels?: string[];
477
+
478
+ totalSessions?: number;
479
+ recentSessions?: Array<{approach: string, issue: string}>;
480
+ }
481
+ ```
482
+
483
+ ---
484
+
485
+ ## Complete Type Reference
486
+
487
+ For full TypeScript type definitions, see the MCP source:
488
+ - `/Users/giangbv/Desktop/INTERN/clearthought-temp/clearthought-onepointfive/src/types/index.ts`
489
+ - `/Users/giangbv/Desktop/INTERN/clearthought-temp/clearthought-onepointfive/src/types/reasoning-patterns/`
490
+
491
+ ---
492
+
493
+ **Reference:** Clear Thought MCP v0.2.1
494
+ **Last Updated:** 2026-04-05