claude-flow-novice 1.5.2 → 1.5.4

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 (138) hide show
  1. package/.claude/agents/SPARSE_LANGUAGE_FINDINGS.md +991 -0
  2. package/.claude/agents/architecture/system-architect.md +3 -44
  3. package/.claude/agents/benchmarking-tests/test-agent-code-heavy.md +747 -0
  4. package/.claude/agents/benchmarking-tests/test-agent-metadata.md +181 -0
  5. package/.claude/agents/benchmarking-tests/test-agent-minimal.md +67 -0
  6. package/.claude/agents/data/ml/data-ml-model.md +5 -119
  7. package/.claude/agents/development/backend/dev-backend-api.md +4 -115
  8. package/.claude/agents/devops/ci-cd/ops-cicd-github.md +4 -114
  9. package/.claude/agents/documentation/api-docs/docs-api-openapi.md +4 -113
  10. package/.claude/agents/github/multi-repo-swarm.md +1 -28
  11. package/.claude/agents/github/pr-manager.md +1 -29
  12. package/.claude/agents/github/project-board-sync.md +1 -32
  13. package/.claude/agents/github/release-manager.md +1 -32
  14. package/.claude/agents/github/release-swarm.md +1 -33
  15. package/.claude/agents/github/repo-architect.md +1 -34
  16. package/.claude/agents/github/swarm-issue.md +1 -26
  17. package/.claude/agents/github/swarm-pr.md +1 -30
  18. package/.claude/agents/github/sync-coordinator.md +1 -30
  19. package/.claude/agents/github/workflow-automation.md +1 -31
  20. package/.claude/agents/neural/neural-pattern-agent.md +2 -50
  21. package/.claude/agents/specialized/CODER_AGENT_GUIDELINES.md +1245 -0
  22. package/.claude/agents/specialized/mobile/spec-mobile-react-native.md +6 -142
  23. package/.claude/agents/sublinear/consciousness-evolution-agent.md +2 -18
  24. package/.claude/agents/sublinear/matrix-solver-agent.md +2 -16
  25. package/.claude/agents/sublinear/nanosecond-scheduler-agent.md +2 -19
  26. package/.claude/agents/sublinear/pagerank-agent.md +2 -19
  27. package/.claude/agents/sublinear/phi-calculator-agent.md +2 -19
  28. package/.claude/agents/sublinear/psycho-symbolic-agent.md +2 -19
  29. package/.claude/agents/sublinear/sublinear.md +2 -1
  30. package/.claude/agents/sublinear/temporal-advantage-agent.md +2 -16
  31. package/.claude/agents/testing/e2e/playwright-agent.md +7 -0
  32. package/.claude-flow-novice/.claude/agents/SPARSE_LANGUAGE_FINDINGS.md +991 -0
  33. package/.claude-flow-novice/.claude/agents/architecture/system-architect.md +3 -44
  34. package/.claude-flow-novice/.claude/agents/benchmarking-tests/test-agent-code-heavy.md +747 -0
  35. package/.claude-flow-novice/.claude/agents/benchmarking-tests/test-agent-metadata.md +181 -0
  36. package/.claude-flow-novice/.claude/agents/benchmarking-tests/test-agent-minimal.md +67 -0
  37. package/.claude-flow-novice/.claude/agents/data/ml/data-ml-model.md +5 -119
  38. package/.claude-flow-novice/.claude/agents/development/backend/dev-backend-api.md +4 -115
  39. package/.claude-flow-novice/.claude/agents/devops/ci-cd/ops-cicd-github.md +4 -114
  40. package/.claude-flow-novice/.claude/agents/documentation/api-docs/docs-api-openapi.md +4 -113
  41. package/.claude-flow-novice/.claude/agents/github/multi-repo-swarm.md +1 -28
  42. package/.claude-flow-novice/.claude/agents/github/pr-manager.md +1 -29
  43. package/.claude-flow-novice/.claude/agents/github/project-board-sync.md +1 -32
  44. package/.claude-flow-novice/.claude/agents/github/release-manager.md +1 -32
  45. package/.claude-flow-novice/.claude/agents/github/release-swarm.md +1 -33
  46. package/.claude-flow-novice/.claude/agents/github/repo-architect.md +1 -34
  47. package/.claude-flow-novice/.claude/agents/github/swarm-issue.md +1 -26
  48. package/.claude-flow-novice/.claude/agents/github/swarm-pr.md +1 -30
  49. package/.claude-flow-novice/.claude/agents/github/sync-coordinator.md +1 -30
  50. package/.claude-flow-novice/.claude/agents/github/workflow-automation.md +1 -31
  51. package/.claude-flow-novice/.claude/agents/neural/neural-pattern-agent.md +2 -50
  52. package/.claude-flow-novice/.claude/agents/specialized/CODER_AGENT_GUIDELINES.md +1245 -0
  53. package/.claude-flow-novice/.claude/agents/specialized/mobile/spec-mobile-react-native.md +6 -142
  54. package/.claude-flow-novice/.claude/agents/sublinear/consciousness-evolution-agent.md +2 -18
  55. package/.claude-flow-novice/.claude/agents/sublinear/matrix-solver-agent.md +2 -16
  56. package/.claude-flow-novice/.claude/agents/sublinear/nanosecond-scheduler-agent.md +2 -19
  57. package/.claude-flow-novice/.claude/agents/sublinear/pagerank-agent.md +2 -19
  58. package/.claude-flow-novice/.claude/agents/sublinear/phi-calculator-agent.md +2 -19
  59. package/.claude-flow-novice/.claude/agents/sublinear/psycho-symbolic-agent.md +2 -19
  60. package/.claude-flow-novice/.claude/agents/sublinear/sublinear.md +2 -1
  61. package/.claude-flow-novice/.claude/agents/sublinear/temporal-advantage-agent.md +2 -16
  62. package/.claude-flow-novice/.claude/agents/testing/e2e/playwright-agent.md +7 -0
  63. package/.claude-flow-novice/dist/src/cli/simple-commands/init/CLAUDE.md +188 -0
  64. package/.claude-flow-novice/dist/src/cli/simple-commands/init/claude-flow-universal +81 -0
  65. package/.claude-flow-novice/dist/src/cli/simple-commands/init/claude-flow.bat +18 -0
  66. package/.claude-flow-novice/dist/src/cli/simple-commands/init/claude-flow.ps1 +24 -0
  67. package/.claude-flow-novice/dist/src/cli/simple-commands/init/claude-md.js +982 -0
  68. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/analysis/bottleneck-detect.md +162 -0
  69. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/automation/auto-agent.md +122 -0
  70. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/coordination/swarm-init.md +85 -0
  71. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/github/github-swarm.md +121 -0
  72. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/helpers/standard-checkpoint-hooks.sh +179 -0
  73. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/notification.md +113 -0
  74. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/post-command.md +116 -0
  75. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/post-edit.md +117 -0
  76. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/post-task.md +112 -0
  77. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/pre-command.md +113 -0
  78. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/pre-edit.md +113 -0
  79. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/pre-search.md +112 -0
  80. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/pre-task.md +111 -0
  81. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/session-end.md +118 -0
  82. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/session-restore.md +118 -0
  83. package/.claude-flow-novice/dist/src/cli/simple-commands/init/commands/hooks/session-start.md +117 -0
  84. package/.claude-flow-novice/dist/src/cli/simple-commands/init/coordination-md.js +340 -0
  85. package/.claude-flow-novice/dist/src/cli/simple-commands/init/coordination.md +16 -0
  86. package/.claude-flow-novice/dist/src/cli/simple-commands/init/enhanced-templates.js +2347 -0
  87. package/.claude-flow-novice/dist/src/cli/simple-commands/init/github-safe-enhanced.js +331 -0
  88. package/.claude-flow-novice/dist/src/cli/simple-commands/init/github-safe.js +106 -0
  89. package/.claude-flow-novice/dist/src/cli/simple-commands/init/index.js +1896 -0
  90. package/.claude-flow-novice/dist/src/cli/simple-commands/init/memory-bank-md.js +259 -0
  91. package/.claude-flow-novice/dist/src/cli/simple-commands/init/memory-bank.md +16 -0
  92. package/.claude-flow-novice/dist/src/cli/simple-commands/init/readme-files.js +72 -0
  93. package/.claude-flow-novice/dist/src/cli/simple-commands/init/safe-hook-patterns.js +430 -0
  94. package/.claude-flow-novice/dist/src/cli/simple-commands/init/settings.json +109 -0
  95. package/.claude-flow-novice/dist/src/cli/simple-commands/init/settings.json.enhanced +35 -0
  96. package/.claude-flow-novice/dist/src/cli/simple-commands/init/sparc-modes.js +1401 -0
  97. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/CLAUDE.md +188 -0
  98. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/claude-flow-universal +81 -0
  99. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/claude-flow.bat +18 -0
  100. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/claude-flow.ps1 +24 -0
  101. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/claude-md.js +982 -0
  102. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/analysis/bottleneck-detect.md +162 -0
  103. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/automation/auto-agent.md +122 -0
  104. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/coordination/swarm-init.md +85 -0
  105. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/github/github-swarm.md +121 -0
  106. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/helpers/standard-checkpoint-hooks.sh +179 -0
  107. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/notification.md +113 -0
  108. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/post-command.md +116 -0
  109. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/post-edit.md +117 -0
  110. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/post-task.md +112 -0
  111. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/pre-command.md +113 -0
  112. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/pre-edit.md +113 -0
  113. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/pre-search.md +112 -0
  114. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/pre-task.md +111 -0
  115. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/session-end.md +118 -0
  116. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/session-restore.md +118 -0
  117. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/commands/hooks/session-start.md +117 -0
  118. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/coordination-md.js +340 -0
  119. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/coordination.md +16 -0
  120. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/enhanced-templates.js +2347 -0
  121. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/github-safe-enhanced.js +331 -0
  122. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/github-safe.js +106 -0
  123. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/memory-bank-md.js +259 -0
  124. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/memory-bank.md +16 -0
  125. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/readme-files.js +72 -0
  126. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/safe-hook-patterns.js +430 -0
  127. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/settings.json +109 -0
  128. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/settings.json.enhanced +35 -0
  129. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/sparc-modes.js +1401 -0
  130. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/verification-claude-md.js +432 -0
  131. package/.claude-flow-novice/dist/src/cli/simple-commands/init/verification-claude-md.js +432 -0
  132. package/.claude-flow-novice/dist/src/cli/simple-commands/init.js +4 -0
  133. package/.claude-flow-novice/dist/src/slash-commands/benchmark-prompts.js +281 -0
  134. package/CLAUDE.md +1927 -127
  135. package/package.json +3 -3
  136. package/src/cli/simple-commands/init/index.js +39 -4
  137. package/src/cli/simple-commands/init/templates/CLAUDE.md +8 -10
  138. package/src/slash-commands/benchmark-prompts.js +281 -0
@@ -0,0 +1,281 @@
1
+ const path = require('path');
2
+ const { AgentBenchmarkSystem } = require('../../benchmark/agent-benchmarking/index');
3
+
4
+ /**
5
+ * Benchmark agent prompt formats
6
+ *
7
+ * @command /benchmark-prompts
8
+ * @description Run automated benchmarks comparing different agent prompt formatting styles
9
+ * @example /benchmark-prompts run
10
+ * @example /benchmark-prompts run --rounds 5 --parallel
11
+ * @example /benchmark-prompts analyze
12
+ * @example /benchmark-prompts report markdown
13
+ */
14
+ async function benchmarkPrompts(args) {
15
+ const system = new AgentBenchmarkSystem();
16
+
17
+ const command = args[0] || 'help';
18
+
19
+ try {
20
+ switch (command) {
21
+ case 'run':
22
+ return await runBenchmark(system, args);
23
+
24
+ case 'test':
25
+ return await testFormat(system, args);
26
+
27
+ case 'analyze':
28
+ return await analyzeBenchmark(system);
29
+
30
+ case 'report':
31
+ return await generateReport(system, args);
32
+
33
+ case 'compare':
34
+ return await compareBenchmark(system);
35
+
36
+ case 'list':
37
+ return await listBenchmarks(system);
38
+
39
+ case 'reset':
40
+ return await resetBenchmarks(system);
41
+
42
+ case 'help':
43
+ default:
44
+ return showHelp();
45
+ }
46
+ } catch (error) {
47
+ console.error(`\nāŒ Error: ${error.message}\n`);
48
+ if (args.includes('--verbose')) {
49
+ console.error(error.stack);
50
+ }
51
+ return { success: false, error: error.message };
52
+ }
53
+ }
54
+
55
+ async function runBenchmark(system, args) {
56
+ console.log('\nšŸŽÆ Running Agent Prompt Format Benchmark\n');
57
+
58
+ const options = {
59
+ rounds: 3,
60
+ parallel: false,
61
+ verbose: false,
62
+ scenarios: null
63
+ };
64
+
65
+ // Parse options
66
+ for (let i = 1; i < args.length; i++) {
67
+ const arg = args[i];
68
+ if (arg === '--rounds' && args[i + 1]) {
69
+ options.rounds = parseInt(args[i + 1]);
70
+ i++;
71
+ } else if (arg === '--parallel') {
72
+ options.parallel = true;
73
+ } else if (arg === '--verbose') {
74
+ options.verbose = true;
75
+ } else if (arg === '--scenarios' && args[i + 1]) {
76
+ options.scenarios = args[i + 1];
77
+ i++;
78
+ }
79
+ }
80
+
81
+ console.log('Configuration:');
82
+ console.log(` Rounds: ${options.rounds}`);
83
+ console.log(` Parallel: ${options.parallel ? 'Yes' : 'No'}`);
84
+ console.log(` Scenarios: ${options.scenarios || 'All'}\n`);
85
+
86
+ const result = await system.run(options);
87
+
88
+ console.log('\nāœ… Benchmark complete!');
89
+ console.log('\nNext steps:');
90
+ console.log(' /benchmark-prompts analyze - View statistical analysis');
91
+ console.log(' /benchmark-prompts report - Generate detailed reports');
92
+ console.log(' /benchmark-prompts compare - Interactive comparison\n');
93
+
94
+ return { success: true, result };
95
+ }
96
+
97
+ async function testFormat(system, args) {
98
+ const format = args[1];
99
+ if (!format || !['minimal', 'metadata', 'code-heavy'].includes(format)) {
100
+ console.error('\nāŒ Invalid format. Use: minimal, metadata, or code-heavy\n');
101
+ return { success: false };
102
+ }
103
+
104
+ console.log(`\n🧪 Testing ${format} format\n`);
105
+
106
+ // Run benchmark with only specified format
107
+ const options = {
108
+ rounds: parseInt(args[2]) || 3,
109
+ parallel: false,
110
+ verbose: args.includes('--verbose')
111
+ };
112
+
113
+ // This would need modification to support single format testing
114
+ console.log('Note: Currently runs all formats. Single format testing coming soon.\n');
115
+
116
+ const result = await system.run(options);
117
+ return { success: true, result };
118
+ }
119
+
120
+ async function analyzeBenchmark(system) {
121
+ console.log('\nšŸ“Š Analyzing Benchmark Results\n');
122
+
123
+ const result = await system.analyze();
124
+
125
+ if (!result) {
126
+ return { success: false };
127
+ }
128
+
129
+ console.log('\nāœ… Analysis complete\n');
130
+ return { success: true, result };
131
+ }
132
+
133
+ async function generateReport(system, args) {
134
+ const format = args[1] || 'all';
135
+
136
+ if (!['all', 'markdown', 'csv', 'json'].includes(format)) {
137
+ console.error('\nāŒ Invalid format. Use: all, markdown, csv, or json\n');
138
+ return { success: false };
139
+ }
140
+
141
+ console.log(`\nšŸ“„ Generating ${format} report(s)\n`);
142
+
143
+ const result = await system.generateReport(format);
144
+
145
+ if (!result) {
146
+ return { success: false };
147
+ }
148
+
149
+ console.log('\nāœ… Report generation complete\n');
150
+ return { success: true, result };
151
+ }
152
+
153
+ async function compareBenchmark(system) {
154
+ console.log('\nšŸ“Š Interactive Benchmark Comparison\n');
155
+
156
+ // Load and analyze latest results
157
+ const result = await system.analyze();
158
+
159
+ if (!result) {
160
+ return { success: false };
161
+ }
162
+
163
+ const { results, analysis } = result;
164
+
165
+ // Print comparison table
166
+ console.log('Format Comparison:');
167
+ console.log('─'.repeat(80));
168
+ console.log('Format'.padEnd(15) + 'Quality'.padEnd(15) + 'Speed'.padEnd(15) + 'Consistency'.padEnd(15) + 'Success');
169
+ console.log('─'.repeat(80));
170
+
171
+ for (const [formatName, formatData] of Object.entries(results.formats)) {
172
+ const agg = formatData.aggregated;
173
+ console.log(
174
+ formatName.padEnd(15) +
175
+ `${agg.overallQuality.toFixed(1)}%`.padEnd(15) +
176
+ `${agg.overallResponseTime.toFixed(0)}ms`.padEnd(15) +
177
+ `${agg.overallConsistency.toFixed(1)}%`.padEnd(15) +
178
+ `${agg.successRate.toFixed(1)}%`
179
+ );
180
+ }
181
+ console.log('─'.repeat(80));
182
+
183
+ console.log('\nšŸ† Winner: ' + results.summary.winner.toUpperCase());
184
+ console.log('\nRecommendations:');
185
+ for (const rec of results.summary.recommendation) {
186
+ console.log(` • ${rec}`);
187
+ }
188
+ console.log('');
189
+
190
+ return { success: true, results, analysis };
191
+ }
192
+
193
+ async function listBenchmarks(system) {
194
+ console.log('\nšŸ“‚ Benchmark Results\n');
195
+ await system.listResults();
196
+ console.log('');
197
+ return { success: true };
198
+ }
199
+
200
+ async function resetBenchmarks(system) {
201
+ console.log('\nāš ļø This will delete all benchmark results.\n');
202
+
203
+ // In interactive mode, would ask for confirmation
204
+ // For now, proceeding with reset
205
+
206
+ await system.reset();
207
+ console.log('');
208
+ return { success: true };
209
+ }
210
+
211
+ function showHelp() {
212
+ console.log(`
213
+ ╔════════════════════════════════════════════════════════════════════════════╗
214
+ ā•‘ Agent Prompt Format Benchmark System ā•‘
215
+ ā•šā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•
216
+
217
+ Compare different agent prompt formatting styles:
218
+ • Minimal Format - Simple frontmatter only
219
+ • Metadata Format - Full configuration with hooks and capabilities
220
+ • Code-Heavy Format - Extensive code examples
221
+
222
+ COMMANDS:
223
+ /benchmark-prompts run [options] Run full benchmark suite
224
+ /benchmark-prompts test <format> Test specific format
225
+ /benchmark-prompts analyze Analyze collected results
226
+ /benchmark-prompts report [format] Generate reports (all|markdown|csv|json)
227
+ /benchmark-prompts compare Interactive comparison view
228
+ /benchmark-prompts list List all benchmark results
229
+ /benchmark-prompts reset Clear all benchmark data
230
+
231
+ OPTIONS:
232
+ --rounds <n> Number of test rounds (default: 3)
233
+ --parallel Run tests in parallel
234
+ --scenarios <list> Comma-separated scenario IDs to test
235
+ --verbose Detailed output
236
+ --export Export results
237
+
238
+ EXAMPLES:
239
+ /benchmark-prompts run
240
+ /benchmark-prompts run --rounds 5 --parallel
241
+ /benchmark-prompts test minimal --verbose
242
+ /benchmark-prompts analyze
243
+ /benchmark-prompts report markdown
244
+ /benchmark-prompts compare
245
+
246
+ TEST SCENARIOS:
247
+ • simple-code-analysis - Basic algorithm optimization
248
+ • memory-leak-detection - Memory leak identification
249
+ • database-query-optimization - Query performance optimization
250
+ • caching-strategy - Cache architecture design
251
+ • resource-allocation - Resource calculation
252
+ • async-pattern-optimization - Async code optimization
253
+ • algorithm-complexity-reduction - Algorithm improvement
254
+ • load-testing-strategy - Load test planning
255
+ • bottleneck-identification - Performance bottleneck analysis
256
+ • scalability-architecture - Scalability design
257
+
258
+ BENCHMARK METRICS:
259
+ • Quality Score - Completeness, accuracy, relevance, clarity
260
+ • Response Time - Total time to generate response
261
+ • Consistency - Variance across multiple rounds
262
+ • Success Rate - Percentage of successful completions
263
+
264
+ For more information, see: /benchmark/agent-benchmarking/README.md
265
+ `);
266
+
267
+ return { success: true };
268
+ }
269
+
270
+ module.exports = {
271
+ command: 'benchmark-prompts',
272
+ description: 'Run automated benchmarks comparing agent prompt formats',
273
+ handler: benchmarkPrompts,
274
+ examples: [
275
+ '/benchmark-prompts run',
276
+ '/benchmark-prompts run --rounds 5 --parallel',
277
+ '/benchmark-prompts analyze',
278
+ '/benchmark-prompts report markdown',
279
+ '/benchmark-prompts compare'
280
+ ]
281
+ };