agentsys 5.0.2 → 5.1.0
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/.claude-plugin/marketplace.json +21 -14
- package/.claude-plugin/plugin.json +1 -1
- package/AGENTS.md +2 -1
- package/CHANGELOG.md +24 -1
- package/README.md +7 -6
- package/adapters/codex/skills/agnix/SKILL.md +0 -1
- package/adapters/codex/skills/audit-project/SKILL.md +0 -1
- package/adapters/codex/skills/audit-project-agents/SKILL.md +0 -1
- package/adapters/codex/skills/audit-project-github/SKILL.md +0 -1
- package/adapters/codex/skills/consult/SKILL.md +133 -59
- package/adapters/codex/skills/debate/SKILL.md +214 -0
- package/adapters/codex/skills/delivery-approval/SKILL.md +0 -1
- package/adapters/codex/skills/deslop/SKILL.md +0 -1
- package/adapters/codex/skills/drift-detect/SKILL.md +0 -1
- package/adapters/codex/skills/enhance/SKILL.md +0 -1
- package/adapters/codex/skills/learn/SKILL.md +0 -1
- package/adapters/codex/skills/next-task/SKILL.md +0 -1
- package/adapters/codex/skills/perf/SKILL.md +0 -1
- package/adapters/codex/skills/repo-map/SKILL.md +0 -1
- package/adapters/codex/skills/ship/SKILL.md +0 -1
- package/adapters/codex/skills/ship-ci-review-loop/SKILL.md +0 -1
- package/adapters/codex/skills/ship-deployment/SKILL.md +0 -1
- package/adapters/codex/skills/ship-error-handling/SKILL.md +0 -1
- package/adapters/codex/skills/sync-docs/SKILL.md +0 -1
- package/adapters/opencode/agents/agent-enhancer.md +0 -1
- package/adapters/opencode/agents/agnix-agent.md +0 -1
- package/adapters/opencode/agents/ci-fixer.md +0 -1
- package/adapters/opencode/agents/ci-monitor.md +0 -1
- package/adapters/opencode/agents/claudemd-enhancer.md +0 -1
- package/adapters/opencode/agents/consult-agent.md +123 -31
- package/adapters/opencode/agents/cross-file-enhancer.md +0 -1
- package/adapters/opencode/agents/debate-orchestrator.md +169 -0
- package/adapters/opencode/agents/delivery-validator.md +0 -1
- package/adapters/opencode/agents/deslop-agent.md +0 -1
- package/adapters/opencode/agents/docs-enhancer.md +0 -1
- package/adapters/opencode/agents/exploration-agent.md +0 -1
- package/adapters/opencode/agents/hooks-enhancer.md +0 -1
- package/adapters/opencode/agents/implementation-agent.md +0 -1
- package/adapters/opencode/agents/learn-agent.md +0 -1
- package/adapters/opencode/agents/map-validator.md +0 -1
- package/adapters/opencode/agents/perf-analyzer.md +0 -1
- package/adapters/opencode/agents/perf-code-paths.md +0 -1
- package/adapters/opencode/agents/perf-investigation-logger.md +0 -1
- package/adapters/opencode/agents/perf-orchestrator.md +0 -1
- package/adapters/opencode/agents/perf-theory-gatherer.md +0 -1
- package/adapters/opencode/agents/perf-theory-tester.md +0 -1
- package/adapters/opencode/agents/plan-synthesizer.md +0 -1
- package/adapters/opencode/agents/planning-agent.md +0 -1
- package/adapters/opencode/agents/plugin-enhancer.md +0 -1
- package/adapters/opencode/agents/prompt-enhancer.md +0 -1
- package/adapters/opencode/agents/simple-fixer.md +0 -1
- package/adapters/opencode/agents/skills-enhancer.md +0 -1
- package/adapters/opencode/agents/sync-docs-agent.md +0 -1
- package/adapters/opencode/agents/task-discoverer.md +0 -1
- package/adapters/opencode/agents/test-coverage-checker.md +0 -1
- package/adapters/opencode/agents/worktree-manager.md +0 -1
- package/adapters/opencode/commands/agnix.md +0 -1
- package/adapters/opencode/commands/audit-project-agents.md +0 -1
- package/adapters/opencode/commands/audit-project-github.md +0 -1
- package/adapters/opencode/commands/audit-project.md +0 -1
- package/adapters/opencode/commands/consult.md +134 -59
- package/adapters/opencode/commands/debate.md +224 -0
- package/adapters/opencode/commands/delivery-approval.md +0 -1
- package/adapters/opencode/commands/deslop.md +0 -1
- package/adapters/opencode/commands/drift-detect.md +0 -1
- package/adapters/opencode/commands/enhance.md +0 -1
- package/adapters/opencode/commands/learn.md +0 -1
- package/adapters/opencode/commands/next-task.md +0 -1
- package/adapters/opencode/commands/perf.md +0 -1
- package/adapters/opencode/commands/repo-map.md +0 -1
- package/adapters/opencode/commands/ship-ci-review-loop.md +0 -1
- package/adapters/opencode/commands/ship-deployment.md +0 -1
- package/adapters/opencode/commands/ship-error-handling.md +0 -1
- package/adapters/opencode/commands/ship.md +0 -1
- package/adapters/opencode/commands/sync-docs.md +0 -1
- package/adapters/opencode/skills/agnix/SKILL.md +1 -2
- package/adapters/opencode/skills/consult/SKILL.md +41 -27
- package/adapters/opencode/skills/debate/SKILL.md +245 -0
- package/adapters/opencode/skills/deslop/SKILL.md +1 -2
- package/adapters/opencode/skills/discover-tasks/SKILL.md +1 -2
- package/adapters/opencode/skills/drift-analysis/SKILL.md +1 -2
- package/adapters/opencode/skills/enhance-agent-prompts/SKILL.md +1 -2
- package/adapters/opencode/skills/enhance-claude-memory/SKILL.md +1 -2
- package/adapters/opencode/skills/enhance-cross-file/SKILL.md +1 -2
- package/adapters/opencode/skills/enhance-docs/SKILL.md +1 -2
- package/adapters/opencode/skills/enhance-hooks/SKILL.md +1 -2
- package/adapters/opencode/skills/enhance-orchestrator/SKILL.md +1 -2
- package/adapters/opencode/skills/enhance-plugins/SKILL.md +1 -2
- package/adapters/opencode/skills/enhance-prompts/SKILL.md +1 -2
- package/adapters/opencode/skills/enhance-skills/SKILL.md +1 -2
- package/adapters/opencode/skills/learn/SKILL.md +1 -2
- package/adapters/opencode/skills/orchestrate-review/SKILL.md +0 -1
- package/adapters/opencode/skills/perf-analyzer/SKILL.md +1 -2
- package/adapters/opencode/skills/perf-baseline-manager/SKILL.md +1 -2
- package/adapters/opencode/skills/perf-benchmarker/SKILL.md +1 -2
- package/adapters/opencode/skills/perf-code-paths/SKILL.md +1 -2
- package/adapters/opencode/skills/perf-investigation-logger/SKILL.md +1 -2
- package/adapters/opencode/skills/perf-profiler/SKILL.md +1 -2
- package/adapters/opencode/skills/perf-theory-gatherer/SKILL.md +1 -2
- package/adapters/opencode/skills/perf-theory-tester/SKILL.md +1 -2
- package/adapters/opencode/skills/repo-mapping/SKILL.md +1 -2
- package/adapters/opencode/skills/sync-docs/SKILL.md +1 -2
- package/adapters/opencode/skills/validate-delivery/SKILL.md +1 -2
- package/lib/adapter-transforms.js +24 -4
- package/package.json +1 -1
- package/plugins/agnix/.claude-plugin/plugin.json +1 -1
- package/plugins/agnix/skills/agnix/SKILL.md +1 -1
- package/plugins/audit-project/.claude-plugin/plugin.json +1 -1
- package/plugins/audit-project/lib/adapter-transforms.js +24 -4
- package/plugins/consult/.claude-plugin/plugin.json +1 -1
- package/plugins/consult/agents/consult-agent.md +123 -30
- package/plugins/consult/commands/consult.md +136 -60
- package/plugins/consult/skills/consult/SKILL.md +39 -24
- package/plugins/debate/.claude-plugin/plugin.json +21 -0
- package/plugins/debate/agents/debate-orchestrator.md +175 -0
- package/plugins/debate/commands/debate.md +221 -0
- package/plugins/debate/lib/adapter-transforms.js +298 -0
- package/plugins/debate/lib/collectors/codebase.js +392 -0
- package/plugins/debate/lib/collectors/docs-patterns.js +713 -0
- package/plugins/debate/lib/collectors/documentation.js +219 -0
- package/plugins/debate/lib/collectors/github.js +330 -0
- package/plugins/debate/lib/collectors/index.js +126 -0
- package/plugins/debate/lib/config/index.js +14 -0
- package/plugins/debate/lib/cross-platform/index.js +539 -0
- package/plugins/debate/lib/discovery/index.js +352 -0
- package/plugins/debate/lib/drift-detect/collectors.js +37 -0
- package/plugins/debate/lib/enhance/agent-analyzer.js +421 -0
- package/plugins/debate/lib/enhance/agent-patterns.js +571 -0
- package/plugins/debate/lib/enhance/auto-suppression.js +622 -0
- package/plugins/debate/lib/enhance/benchmark.js +417 -0
- package/plugins/debate/lib/enhance/cross-file-analyzer.js +930 -0
- package/plugins/debate/lib/enhance/cross-file-patterns.js +370 -0
- package/plugins/debate/lib/enhance/docs-analyzer.js +325 -0
- package/plugins/debate/lib/enhance/docs-patterns.js +671 -0
- package/plugins/debate/lib/enhance/fixer.js +721 -0
- package/plugins/debate/lib/enhance/hook-analyzer.js +135 -0
- package/plugins/debate/lib/enhance/hook-patterns.js +40 -0
- package/plugins/debate/lib/enhance/index.js +127 -0
- package/plugins/debate/lib/enhance/plugin-analyzer.js +402 -0
- package/plugins/debate/lib/enhance/plugin-patterns.js +326 -0
- package/plugins/debate/lib/enhance/projectmemory-analyzer.js +551 -0
- package/plugins/debate/lib/enhance/projectmemory-patterns.js +617 -0
- package/plugins/debate/lib/enhance/prompt-analyzer.js +457 -0
- package/plugins/debate/lib/enhance/prompt-patterns.js +1484 -0
- package/plugins/debate/lib/enhance/reporter.js +1348 -0
- package/plugins/debate/lib/enhance/security-patterns.js +284 -0
- package/plugins/debate/lib/enhance/skill-analyzer.js +182 -0
- package/plugins/debate/lib/enhance/skill-patterns.js +147 -0
- package/plugins/debate/lib/enhance/suppression.js +352 -0
- package/plugins/debate/lib/enhance/tool-patterns.js +373 -0
- package/plugins/debate/lib/index.js +270 -0
- package/plugins/debate/lib/patterns/cli-enhancers.js +611 -0
- package/plugins/debate/lib/patterns/pipeline.js +948 -0
- package/plugins/debate/lib/patterns/review-patterns.js +558 -0
- package/plugins/debate/lib/patterns/slop-analyzers.js +2305 -0
- package/plugins/debate/lib/patterns/slop-patterns.js +1187 -0
- package/plugins/debate/lib/perf/analyzer/index.js +22 -0
- package/plugins/debate/lib/perf/argument-parser.js +105 -0
- package/plugins/debate/lib/perf/baseline-comparator.js +50 -0
- package/plugins/debate/lib/perf/baseline-store.js +127 -0
- package/plugins/debate/lib/perf/benchmark-runner.js +404 -0
- package/plugins/debate/lib/perf/breaking-point-finder.js +52 -0
- package/plugins/debate/lib/perf/breaking-point-runner.js +60 -0
- package/plugins/debate/lib/perf/checkpoint.js +123 -0
- package/plugins/debate/lib/perf/code-paths.js +86 -0
- package/plugins/debate/lib/perf/consolidation.js +37 -0
- package/plugins/debate/lib/perf/constraint-runner.js +71 -0
- package/plugins/debate/lib/perf/experiment-runner.js +32 -0
- package/plugins/debate/lib/perf/index.js +41 -0
- package/plugins/debate/lib/perf/investigation-state.js +874 -0
- package/plugins/debate/lib/perf/optimization-runner.js +79 -0
- package/plugins/debate/lib/perf/profilers/go.js +22 -0
- package/plugins/debate/lib/perf/profilers/index.js +46 -0
- package/plugins/debate/lib/perf/profilers/java.js +23 -0
- package/plugins/debate/lib/perf/profilers/node.js +27 -0
- package/plugins/debate/lib/perf/profilers/python.js +23 -0
- package/plugins/debate/lib/perf/profilers/rust.js +23 -0
- package/plugins/debate/lib/perf/profiling-runner.js +75 -0
- package/plugins/debate/lib/perf/schemas.js +140 -0
- package/plugins/debate/lib/platform/detect-platform.js +413 -0
- package/plugins/debate/lib/platform/detection-configs.js +93 -0
- package/plugins/debate/lib/platform/state-dir.js +132 -0
- package/plugins/debate/lib/platform/verify-tools.js +182 -0
- package/plugins/debate/lib/repo-map/cache.js +152 -0
- package/plugins/debate/lib/repo-map/concurrency.js +29 -0
- package/plugins/debate/lib/repo-map/index.js +222 -0
- package/plugins/debate/lib/repo-map/installer.js +212 -0
- package/plugins/debate/lib/repo-map/queries/go.js +27 -0
- package/plugins/debate/lib/repo-map/queries/index.js +100 -0
- package/plugins/debate/lib/repo-map/queries/java.js +38 -0
- package/plugins/debate/lib/repo-map/queries/javascript.js +55 -0
- package/plugins/debate/lib/repo-map/queries/python.js +24 -0
- package/plugins/debate/lib/repo-map/queries/rust.js +73 -0
- package/plugins/debate/lib/repo-map/queries/typescript.js +38 -0
- package/plugins/debate/lib/repo-map/runner.js +1364 -0
- package/plugins/debate/lib/repo-map/updater.js +562 -0
- package/plugins/debate/lib/repo-map/usage-analyzer.js +407 -0
- package/plugins/debate/lib/schemas/plugin-manifest.schema.json +57 -0
- package/plugins/debate/lib/schemas/validator.js +247 -0
- package/plugins/debate/lib/sources/custom-handler.js +199 -0
- package/plugins/debate/lib/sources/policy-questions.js +246 -0
- package/plugins/debate/lib/sources/source-cache.js +165 -0
- package/plugins/debate/lib/state/workflow-state.js +576 -0
- package/plugins/debate/lib/types/agent-frontmatter.d.ts +134 -0
- package/plugins/debate/lib/types/command-frontmatter.d.ts +107 -0
- package/plugins/debate/lib/types/hook-frontmatter.d.ts +115 -0
- package/plugins/debate/lib/types/index.d.ts +84 -0
- package/plugins/debate/lib/types/plugin-manifest.d.ts +102 -0
- package/plugins/debate/lib/types/skill-frontmatter.d.ts +89 -0
- package/plugins/debate/lib/utils/atomic-write.js +94 -0
- package/plugins/debate/lib/utils/cache-manager.js +159 -0
- package/plugins/debate/lib/utils/command-parser.js +0 -0
- package/plugins/debate/lib/utils/context-optimizer.js +300 -0
- package/plugins/debate/lib/utils/deprecation.js +37 -0
- package/plugins/debate/lib/utils/shell-escape.js +88 -0
- package/plugins/debate/lib/utils/state-helpers.js +61 -0
- package/plugins/debate/skills/debate/SKILL.md +264 -0
- package/plugins/deslop/.claude-plugin/plugin.json +1 -1
- package/plugins/deslop/lib/adapter-transforms.js +24 -4
- package/plugins/deslop/skills/deslop/SKILL.md +1 -1
- package/plugins/drift-detect/.claude-plugin/plugin.json +1 -1
- package/plugins/drift-detect/lib/adapter-transforms.js +24 -4
- package/plugins/drift-detect/skills/drift-analysis/SKILL.md +1 -1
- package/plugins/enhance/.claude-plugin/plugin.json +1 -1
- package/plugins/enhance/lib/adapter-transforms.js +24 -4
- package/plugins/enhance/skills/enhance-agent-prompts/SKILL.md +1 -1
- package/plugins/enhance/skills/enhance-claude-memory/SKILL.md +1 -1
- package/plugins/enhance/skills/enhance-cross-file/SKILL.md +1 -1
- package/plugins/enhance/skills/enhance-docs/SKILL.md +1 -1
- package/plugins/enhance/skills/enhance-hooks/SKILL.md +1 -1
- package/plugins/enhance/skills/enhance-orchestrator/SKILL.md +1 -1
- package/plugins/enhance/skills/enhance-plugins/SKILL.md +1 -1
- package/plugins/enhance/skills/enhance-prompts/SKILL.md +1 -1
- package/plugins/enhance/skills/enhance-skills/SKILL.md +1 -1
- package/plugins/learn/.claude-plugin/plugin.json +1 -1
- package/plugins/learn/agents/learn-agent.md +1 -1
- package/plugins/learn/lib/adapter-transforms.js +24 -4
- package/plugins/learn/skills/learn/SKILL.md +1 -1
- package/plugins/next-task/.claude-plugin/plugin.json +1 -1
- package/plugins/next-task/agents/exploration-agent.md +1 -1
- package/plugins/next-task/lib/adapter-transforms.js +24 -4
- package/plugins/next-task/skills/discover-tasks/SKILL.md +1 -1
- package/plugins/next-task/skills/validate-delivery/SKILL.md +1 -1
- package/plugins/perf/.claude-plugin/plugin.json +1 -1
- package/plugins/perf/lib/adapter-transforms.js +24 -4
- package/plugins/perf/skills/perf-analyzer/SKILL.md +1 -1
- package/plugins/perf/skills/perf-baseline-manager/SKILL.md +1 -1
- package/plugins/perf/skills/perf-benchmarker/SKILL.md +1 -1
- package/plugins/perf/skills/perf-code-paths/SKILL.md +1 -1
- package/plugins/perf/skills/perf-investigation-logger/SKILL.md +1 -1
- package/plugins/perf/skills/perf-profiler/SKILL.md +1 -1
- package/plugins/perf/skills/perf-theory-gatherer/SKILL.md +1 -1
- package/plugins/perf/skills/perf-theory-tester/SKILL.md +1 -1
- package/plugins/repo-map/.claude-plugin/plugin.json +1 -1
- package/plugins/repo-map/lib/adapter-transforms.js +24 -4
- package/plugins/ship/.claude-plugin/plugin.json +1 -1
- package/plugins/ship/lib/adapter-transforms.js +24 -4
- package/plugins/sync-docs/.claude-plugin/plugin.json +1 -1
- package/plugins/sync-docs/lib/adapter-transforms.js +24 -4
- package/plugins/sync-docs/skills/sync-docs/SKILL.md +1 -1
- package/scripts/gen-adapters.js +6 -7
- package/scripts/generate-docs.js +4 -2
- package/scripts/plugins.txt +1 -0
- package/site/content.json +6 -6
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
<!-- AUTO-GENERATED by scripts/gen-adapters.js - DO NOT EDIT -->
|
|
2
1
|
---
|
|
3
2
|
name: consult
|
|
4
3
|
description: "Cross-tool AI consultation. Use when user asks to 'consult gemini', 'ask codex', 'get second opinion', 'cross-check with claude', 'consult another AI', 'ask opencode', 'copilot opinion', or wants a second opinion from a different AI tool."
|
|
5
|
-
version: 5.0
|
|
4
|
+
version: 5.1.0
|
|
6
5
|
argument-hint: "[question] [--tool] [--effort] [--model] [--context] [--continue]"
|
|
7
6
|
---
|
|
8
7
|
|
|
@@ -67,37 +66,41 @@ Command: gemini -p "QUESTION" --output-format json -m "MODEL"
|
|
|
67
66
|
Session resume: --resume "SESSION_ID"
|
|
68
67
|
```
|
|
69
68
|
|
|
70
|
-
Models: gemini-2.5-flash, gemini-2.5-pro, gemini-3-flash
|
|
69
|
+
Models: gemini-2.5-flash, gemini-2.5-pro, gemini-3-flash, gemini-3-pro
|
|
71
70
|
|
|
72
71
|
| Effort | Model |
|
|
73
72
|
|--------|-------|
|
|
74
73
|
| low | gemini-2.5-flash |
|
|
75
|
-
| medium | gemini-
|
|
76
|
-
| high | gemini-3-
|
|
77
|
-
| max | gemini-3-pro
|
|
74
|
+
| medium | gemini-3-flash |
|
|
75
|
+
| high | gemini-3-pro |
|
|
76
|
+
| max | gemini-3-pro |
|
|
78
77
|
|
|
79
78
|
**Parse output**: `JSON.parse(stdout).response`
|
|
79
|
+
**Session ID**: `JSON.parse(stdout).session_id`
|
|
80
80
|
**Continuable**: Yes (via `--resume`)
|
|
81
81
|
|
|
82
82
|
### Codex
|
|
83
83
|
|
|
84
84
|
```
|
|
85
|
-
Command: codex
|
|
86
|
-
Session resume: codex resume
|
|
85
|
+
Command: codex exec "QUESTION" --json -m "MODEL" -c model_reasoning_effort="LEVEL"
|
|
86
|
+
Session resume: codex exec resume SESSION_ID "QUESTION" --json
|
|
87
|
+
Session resume (latest): codex exec resume --last "QUESTION" --json
|
|
87
88
|
```
|
|
88
89
|
|
|
89
|
-
|
|
90
|
+
Note: `codex exec` is the non-interactive/headless mode. There is no `-q` flag. The TUI mode is `codex` (no subcommand).
|
|
91
|
+
|
|
92
|
+
Models: gpt-5.3-codex-spark, gpt-5-codex, gpt-5.1-codex, gpt-5.2-codex, gpt-5.3-codex, gpt-5.1-codex-max
|
|
90
93
|
|
|
91
94
|
| Effort | Model | Reasoning |
|
|
92
95
|
|--------|-------|-----------|
|
|
93
|
-
| low | gpt-5.
|
|
96
|
+
| low | gpt-5.3-codex-spark | low |
|
|
94
97
|
| medium | gpt-5.2-codex | medium |
|
|
95
98
|
| high | gpt-5.3-codex | high |
|
|
96
99
|
| max | gpt-5.3-codex | xhigh |
|
|
97
100
|
|
|
98
101
|
**Parse output**: `JSON.parse(stdout).message` or raw text
|
|
99
102
|
**Session ID**: Codex prints a resume hint at session end (e.g., `codex resume SESSION_ID`). Extract the session ID from stdout or from `JSON.parse(stdout).session_id` if available.
|
|
100
|
-
**Continuable**: Yes
|
|
103
|
+
**Continuable**: Yes. Sessions are stored as JSONL rollout files at `~/.codex/sessions/`. Non-interactive resume uses `codex exec resume SESSION_ID "follow-up prompt" --json`. Use `--last` instead of a session ID to resume the most recent session.
|
|
101
104
|
|
|
102
105
|
### OpenCode
|
|
103
106
|
|
|
@@ -162,7 +165,7 @@ Use the command template from the provider's configuration section. Substitute Q
|
|
|
162
165
|
|
|
163
166
|
If continuing a session:
|
|
164
167
|
- **Claude or Gemini**: append `--resume SESSION_ID` to the command.
|
|
165
|
-
- **Codex**:
|
|
168
|
+
- **Codex**: use `codex exec resume SESSION_ID "QUESTION" --json` instead of the standard command. Use `--last` instead of a session ID for the most recent session.
|
|
166
169
|
- **OpenCode**: append `--session SESSION_ID` to the command. If no session_id is saved, use `--continue` instead (resumes most recent session).
|
|
167
170
|
If OpenCode at max effort: append `--thinking`.
|
|
168
171
|
|
|
@@ -180,7 +183,7 @@ User-provided question text MUST NOT be interpolated into shell command strings.
|
|
|
180
183
|
1. **Write the question** to a temporary file using the Write tool (e.g., `{AI_STATE_DIR}/consult/question.tmp`)
|
|
181
184
|
|
|
182
185
|
Platform state directory:
|
|
183
|
-
- Claude Code: `.
|
|
186
|
+
- Claude Code: `.claude/`
|
|
184
187
|
- OpenCode: `.opencode/`
|
|
185
188
|
- Codex CLI: `.codex/`
|
|
186
189
|
2. **Build the command** using the temp file as input instead of inline text:
|
|
@@ -191,8 +194,9 @@ User-provided question text MUST NOT be interpolated into shell command strings.
|
|
|
191
194
|
| Claude (resume) | `claude -p - --output-format json --model "MODEL" --max-turns TURNS --allowedTools "Read,Glob,Grep" --resume "SESSION_ID" < "{AI_STATE_DIR}/consult/question.tmp"` |
|
|
192
195
|
| Gemini | `gemini -p - --output-format json -m "MODEL" < "{AI_STATE_DIR}/consult/question.tmp"` |
|
|
193
196
|
| Gemini (resume) | `gemini -p - --output-format json -m "MODEL" --resume "SESSION_ID" < "{AI_STATE_DIR}/consult/question.tmp"` |
|
|
194
|
-
| Codex | `codex
|
|
195
|
-
| Codex (
|
|
197
|
+
| Codex | `codex exec "$(cat "{AI_STATE_DIR}/consult/question.tmp")" --json -m "MODEL" -c model_reasoning_effort="LEVEL"` (Codex exec lacks stdin mode -- cat reads from platform-controlled path, not user input) |
|
|
198
|
+
| Codex (resume) | `codex exec resume SESSION_ID "$(cat "{AI_STATE_DIR}/consult/question.tmp")" --json -m "MODEL"` |
|
|
199
|
+
| Codex (resume latest) | `codex exec resume --last "$(cat "{AI_STATE_DIR}/consult/question.tmp")" --json -m "MODEL"` |
|
|
196
200
|
| OpenCode | `opencode run - --format json --model "MODEL" --variant "VARIANT" < "{AI_STATE_DIR}/consult/question.tmp"` |
|
|
197
201
|
| OpenCode (resume by ID) | `opencode run - --format json --model "MODEL" --variant "VARIANT" --session "SESSION_ID" < "{AI_STATE_DIR}/consult/question.tmp"` |
|
|
198
202
|
| OpenCode (resume latest) | `opencode run - --format json --model "MODEL" --variant "VARIANT" --continue < "{AI_STATE_DIR}/consult/question.tmp"` |
|
|
@@ -230,7 +234,7 @@ After successful consultation, save to `{AI_STATE_DIR}/consult/last-session.json
|
|
|
230
234
|
```
|
|
231
235
|
|
|
232
236
|
`AI_STATE_DIR` uses the platform state directory:
|
|
233
|
-
- Claude Code: `.
|
|
237
|
+
- Claude Code: `.claude/`
|
|
234
238
|
- OpenCode: `.opencode/`
|
|
235
239
|
- Codex CLI: `.codex/`
|
|
236
240
|
|
|
@@ -245,16 +249,26 @@ If session file not found, warn and proceed as fresh consultation.
|
|
|
245
249
|
|
|
246
250
|
## Output Sanitization
|
|
247
251
|
|
|
248
|
-
Before
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
252
|
+
Before including any consulted tool's response in the output, scan the response text and redact matches for these patterns:
|
|
253
|
+
|
|
254
|
+
| Pattern | Description | Replacement |
|
|
255
|
+
|---------|-------------|-------------|
|
|
256
|
+
| `sk-[a-zA-Z0-9_-]{20,}` | Anthropic API keys | `[REDACTED_API_KEY]` |
|
|
257
|
+
| `sk-proj-[a-zA-Z0-9_-]{20,}` | OpenAI project keys | `[REDACTED_API_KEY]` |
|
|
258
|
+
| `sk-ant-[a-zA-Z0-9_-]{20,}` | Anthropic API keys (ant prefix) | `[REDACTED_API_KEY]` |
|
|
259
|
+
| `AIza[a-zA-Z0-9_-]{30,}` | Google API keys | `[REDACTED_API_KEY]` |
|
|
260
|
+
| `ghp_[a-zA-Z0-9]{36,}` | GitHub personal access tokens | `[REDACTED_TOKEN]` |
|
|
261
|
+
| `gho_[a-zA-Z0-9]{36,}` | GitHub OAuth tokens | `[REDACTED_TOKEN]` |
|
|
262
|
+
| `github_pat_[a-zA-Z0-9_]{20,}` | GitHub fine-grained PATs | `[REDACTED_TOKEN]` |
|
|
263
|
+
| `ANTHROPIC_API_KEY=[^\s]+` | Key assignment in env output | `ANTHROPIC_API_KEY=[REDACTED]` |
|
|
264
|
+
| `OPENAI_API_KEY=[^\s]+` | Key assignment in env output | `OPENAI_API_KEY=[REDACTED]` |
|
|
265
|
+
| `GOOGLE_API_KEY=[^\s]+` | Key assignment in env output | `GOOGLE_API_KEY=[REDACTED]` |
|
|
266
|
+
| `GEMINI_API_KEY=[^\s]+` | Key assignment in env output | `GEMINI_API_KEY=[REDACTED]` |
|
|
267
|
+
| `AKIA[A-Z0-9]{16}` | AWS access keys | `[REDACTED_AWS_KEY]` |
|
|
268
|
+
| `ASIA[A-Z0-9]{16}` | AWS session tokens | `[REDACTED_AWS_KEY]` |
|
|
269
|
+
| `Bearer [a-zA-Z0-9_-]{20,}` | Authorization headers | `Bearer [REDACTED]` |
|
|
270
|
+
|
|
271
|
+
Apply redaction to the full response text before inserting into the result JSON. If any redaction occurs, append a note: `[WARN] Sensitive tokens were redacted from the response.`
|
|
258
272
|
|
|
259
273
|
## Output Format
|
|
260
274
|
|
|
@@ -263,7 +277,7 @@ Return a plain JSON object to stdout (no markers or wrappers):
|
|
|
263
277
|
```json
|
|
264
278
|
{
|
|
265
279
|
"tool": "gemini",
|
|
266
|
-
"model": "gemini-3-pro
|
|
280
|
+
"model": "gemini-3-pro",
|
|
267
281
|
"effort": "high",
|
|
268
282
|
"duration_ms": 12300,
|
|
269
283
|
"response": "The AI's response text here...",
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: debate
|
|
3
|
+
description: "Structured AI debate templates and synthesis. Use when orchestrating multi-round debates between AI tools, 'debate topic', 'argue about', 'stress test idea', 'devil advocate'."
|
|
4
|
+
version: 5.1.0
|
|
5
|
+
argument-hint: "[topic] [--proposer=tool] [--challenger=tool] [--rounds=N] [--effort=level]"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
> **OpenCode Note**: Invoke agents using `@agent-name` syntax.
|
|
9
|
+
> Available agents: task-discoverer, exploration-agent, planning-agent,
|
|
10
|
+
> implementation-agent, deslop-agent, delivery-validator, sync-docs-agent, consult-agent
|
|
11
|
+
> Example: `@exploration-agent analyze the codebase`
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# debate
|
|
15
|
+
|
|
16
|
+
Prompt templates, context assembly rules, and synthesis format for structured multi-round debates between AI tools.
|
|
17
|
+
|
|
18
|
+
## Arguments
|
|
19
|
+
|
|
20
|
+
Parse from `$ARGUMENTS`:
|
|
21
|
+
- **topic**: The debate question/topic (required)
|
|
22
|
+
- **--proposer**: Tool for the proposer role (claude, gemini, codex, opencode, copilot)
|
|
23
|
+
- **--challenger**: Tool for the challenger role (must differ from proposer)
|
|
24
|
+
- **--rounds**: Number of back-and-forth rounds (1-5, default: 2)
|
|
25
|
+
- **--effort**: Thinking effort applied to all tool invocations (low, medium, high, max)
|
|
26
|
+
- **--model-proposer**: Specific model for proposer (optional)
|
|
27
|
+
- **--model-challenger**: Specific model for challenger (optional)
|
|
28
|
+
|
|
29
|
+
## Universal Rules
|
|
30
|
+
|
|
31
|
+
ALL participants (proposer AND challenger) MUST support claims with specific evidence (file path, code pattern, benchmark, or documented behavior). Unsupported claims from either side will be flagged by the other participant and noted in the verdict. This applies to every round.
|
|
32
|
+
|
|
33
|
+
## Prompt Templates
|
|
34
|
+
|
|
35
|
+
### Round 1: Proposer Opening
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
You are participating in a structured debate as the PROPOSER.
|
|
39
|
+
|
|
40
|
+
Topic: {topic}
|
|
41
|
+
|
|
42
|
+
Your job: Analyze this topic thoroughly and present your position. Take a clear stance. Do not hedge excessively.
|
|
43
|
+
|
|
44
|
+
You MUST support each claim with specific evidence (file path, code pattern, benchmark, or documented behavior). Unsupported claims will be challenged. "I think" or "generally speaking" without evidence is not acceptable.
|
|
45
|
+
|
|
46
|
+
Provide your analysis:
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Round 1: Challenger Response
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
You are participating in a structured debate as the CHALLENGER.
|
|
53
|
+
|
|
54
|
+
Topic: {topic}
|
|
55
|
+
|
|
56
|
+
The PROPOSER ({proposer_tool}) argued:
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
{proposer_round1_response}
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
Your job: Find weaknesses, blind spots, and flaws in the proposer's argument. You MUST identify at least one genuine flaw or overlooked consideration before agreeing on anything. Propose concrete alternatives where you disagree.
|
|
63
|
+
|
|
64
|
+
Rules:
|
|
65
|
+
- Do NOT say "great point" or validate the proposer's reasoning before critiquing it
|
|
66
|
+
- Lead with what's WRONG or MISSING, then acknowledge what's right
|
|
67
|
+
- If you genuinely agree on a point, explain what RISK remains despite the agreement
|
|
68
|
+
- Propose at least one concrete alternative approach
|
|
69
|
+
- You MUST address at least these categories: correctness, security implications, and developer experience
|
|
70
|
+
- Do NOT agree with ANY claim unless you can cite specific evidence (file path, code pattern, or documented behavior) that supports the agreement. Unsupported agreement is not allowed.
|
|
71
|
+
- If the proposer makes a claim without evidence, call it out: "This claim is unsupported."
|
|
72
|
+
|
|
73
|
+
Provide your challenge:
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Round 2+: Proposer Defense
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
You are the PROPOSER in round {round} of a structured debate.
|
|
80
|
+
|
|
81
|
+
Topic: {topic}
|
|
82
|
+
|
|
83
|
+
{context_summary}
|
|
84
|
+
|
|
85
|
+
The CHALLENGER ({challenger_tool}) raised these points in round {previous_round}:
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
{challenger_previous_response}
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
Your job: Address each challenge directly. For each point:
|
|
92
|
+
- If they're right, concede explicitly and explain how your position evolves
|
|
93
|
+
- If they're wrong, explain why with specific evidence (file path, code pattern, benchmark, or documented behavior)
|
|
94
|
+
- If it's a tradeoff, acknowledge the tradeoff and explain why you still favor your approach with evidence
|
|
95
|
+
|
|
96
|
+
Every claim you make -- whether concession, rebuttal, or new argument -- MUST cite specific evidence. The challenger will reject unsupported claims.
|
|
97
|
+
|
|
98
|
+
Do NOT simply restate your original position. Your response must show you engaged with the specific challenges raised.
|
|
99
|
+
|
|
100
|
+
Provide your defense:
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
### Round 2+: Challenger Follow-up
|
|
104
|
+
|
|
105
|
+
*(JavaScript reference - not executable in OpenCode)*
|
|
106
|
+
|
|
107
|
+
## Context Assembly
|
|
108
|
+
|
|
109
|
+
### Rounds 1-2: Full context
|
|
110
|
+
|
|
111
|
+
Include the full text of all prior exchanges in the prompt. Context is small enough (typically under 5000 tokens total).
|
|
112
|
+
|
|
113
|
+
Format for context block:
|
|
114
|
+
```
|
|
115
|
+
Previous exchanges:
|
|
116
|
+
|
|
117
|
+
Round 1 - Proposer ({proposer_tool}):
|
|
118
|
+
{full response}
|
|
119
|
+
|
|
120
|
+
Round 1 - Challenger ({challenger_tool}):
|
|
121
|
+
{full response}
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
### Round 3+: Summarized context
|
|
125
|
+
|
|
126
|
+
For rounds 3 and beyond, replace full exchange text from rounds 1 through N-2 with a summary. Only include the most recent round's responses in full.
|
|
127
|
+
|
|
128
|
+
Format:
|
|
129
|
+
```
|
|
130
|
+
Summary of rounds 1-{N-2}:
|
|
131
|
+
{summary of key positions, agreements, and open disagreements}
|
|
132
|
+
|
|
133
|
+
Round {N-1} - Proposer ({proposer_tool}):
|
|
134
|
+
{full response}
|
|
135
|
+
|
|
136
|
+
Round {N-1} - Challenger ({challenger_tool}):
|
|
137
|
+
{full response}
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
The orchestrator agent (opus) generates the summary. Target: 500-800 tokens. MUST preserve:
|
|
141
|
+
- Each side's core position
|
|
142
|
+
- All concessions (verbatim quotes, not paraphrased)
|
|
143
|
+
- All evidence citations that support agreements
|
|
144
|
+
- Points of disagreement (unresolved)
|
|
145
|
+
- Any contradictions between rounds (e.g., proposer concedes in round 1 but walks it back in round 2 -- note both explicitly)
|
|
146
|
+
|
|
147
|
+
## Synthesis Format
|
|
148
|
+
|
|
149
|
+
After all rounds complete, the orchestrator produces this structured output:
|
|
150
|
+
|
|
151
|
+
```
|
|
152
|
+
## Debate Summary
|
|
153
|
+
|
|
154
|
+
**Topic**: {topic}
|
|
155
|
+
**Proposer**: {proposer_tool} ({proposer_model})
|
|
156
|
+
**Challenger**: {challenger_tool} ({challenger_model})
|
|
157
|
+
**Rounds**: {rounds_completed}
|
|
158
|
+
**Rigor**: Structured perspective comparison (prompt-enforced adversarial rules, no deterministic verification)
|
|
159
|
+
|
|
160
|
+
### Verdict
|
|
161
|
+
|
|
162
|
+
{winner_tool} had the stronger argument because: {specific reasoning citing debate evidence}
|
|
163
|
+
|
|
164
|
+
### Debate Quality
|
|
165
|
+
|
|
166
|
+
Rate the debate on these dimensions:
|
|
167
|
+
- **Genuine disagreement**: Did the challenger maintain independent positions, or converge toward the proposer? (high/medium/low)
|
|
168
|
+
- **Evidence quality**: Did both sides cite specific examples, or argue from generalities? (high/medium/low)
|
|
169
|
+
- **Challenge depth**: Were the challenges substantive, or surface-level? (high/medium/low)
|
|
170
|
+
|
|
171
|
+
### Key Agreements
|
|
172
|
+
- {agreed point 1} (evidence: {what supports this agreement})
|
|
173
|
+
- {agreed point 2} (evidence: {what supports this agreement})
|
|
174
|
+
|
|
175
|
+
### Key Disagreements
|
|
176
|
+
- {point}: {proposer_tool} argues {X}, {challenger_tool} argues {Y}
|
|
177
|
+
|
|
178
|
+
### Unresolved Questions
|
|
179
|
+
- {question that neither side adequately addressed}
|
|
180
|
+
|
|
181
|
+
### Recommendation
|
|
182
|
+
{Orchestrator's recommendation - must pick a direction, not "both have merit"}
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
**Synthesis rules:**
|
|
186
|
+
- The verdict MUST pick a side. "Both approaches have merit" is NOT acceptable.
|
|
187
|
+
- Cite specific arguments from the debate as evidence for the verdict.
|
|
188
|
+
- The recommendation must be actionable - what should the user DO based on this debate.
|
|
189
|
+
- Unresolved questions highlight where the debate fell short, not where both sides are "equally valid."
|
|
190
|
+
|
|
191
|
+
## State File Schema
|
|
192
|
+
|
|
193
|
+
Save to `{AI_STATE_DIR}/debate/last-debate.json`:
|
|
194
|
+
|
|
195
|
+
```json
|
|
196
|
+
{
|
|
197
|
+
"id": "debate-{ISO timestamp}-{4 char random hex}",
|
|
198
|
+
"topic": "original topic text",
|
|
199
|
+
"proposer": {"tool": "claude", "model": "opus"},
|
|
200
|
+
"challenger": {"tool": "gemini", "model": "gemini-3-pro"},
|
|
201
|
+
"effort": "high",
|
|
202
|
+
"rounds_completed": 2,
|
|
203
|
+
"max_rounds": 2,
|
|
204
|
+
"status": "completed",
|
|
205
|
+
"exchanges": [
|
|
206
|
+
{"round": 1, "role": "proposer", "tool": "claude", "response": "...", "duration_ms": 8500},
|
|
207
|
+
{"round": 1, "role": "challenger", "tool": "gemini", "response": "...", "duration_ms": 12000},
|
|
208
|
+
{"round": 2, "role": "proposer", "tool": "claude", "response": "...", "duration_ms": 9200},
|
|
209
|
+
{"round": 2, "role": "challenger", "tool": "gemini", "response": "...", "duration_ms": 11000}
|
|
210
|
+
],
|
|
211
|
+
"verdict": {
|
|
212
|
+
"winner": "claude",
|
|
213
|
+
"reasoning": "...",
|
|
214
|
+
"agreements": ["..."],
|
|
215
|
+
"disagreements": ["..."],
|
|
216
|
+
"recommendation": "..."
|
|
217
|
+
},
|
|
218
|
+
"timestamp": "{ISO 8601 timestamp}"
|
|
219
|
+
}
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
Platform state directory:
|
|
223
|
+
- Claude Code: `.claude/`
|
|
224
|
+
- OpenCode: `.opencode/`
|
|
225
|
+
- Codex CLI: `.codex/`
|
|
226
|
+
|
|
227
|
+
## Error Handling
|
|
228
|
+
|
|
229
|
+
| Error | Action |
|
|
230
|
+
|-------|--------|
|
|
231
|
+
| Proposer fails round 1 | Abort debate. Cannot proceed without opening position. |
|
|
232
|
+
| Challenger fails round 1 | Show proposer's position with note: "[WARN] Challenger failed. Showing proposer's uncontested position." |
|
|
233
|
+
| Any tool fails mid-debate | Synthesize from completed rounds. Note incomplete round in output. |
|
|
234
|
+
| All rounds timeout | "[ERROR] Debate failed: all tool invocations timed out." |
|
|
235
|
+
|
|
236
|
+
## Consult Skill Integration
|
|
237
|
+
|
|
238
|
+
Each tool invocation uses the existing `consult` skill from the consult plugin. The orchestrator invokes it as:
|
|
239
|
+
|
|
240
|
+
```
|
|
241
|
+
Skill: consult
|
|
242
|
+
Args: "{debate prompt with context}" --tool={tool} --effort={effort} --model={model}
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
The consult skill handles: provider command building, safe question passing (temp file), output parsing, and secret redaction. The debate skill does NOT duplicate this logic.
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
<!-- AUTO-GENERATED by scripts/gen-adapters.js - DO NOT EDIT -->
|
|
2
1
|
---
|
|
3
2
|
name: deslop
|
|
4
3
|
description: "Use when user wants to clean AI slop from code. Use for cleanup, remove debug statements, find ghost code, repo hygiene."
|
|
5
|
-
version: 5.0
|
|
4
|
+
version: 5.1.0
|
|
6
5
|
argument-hint: "[report|apply] [--scope=all|diff|path] [--thoroughness=quick|normal|deep]"
|
|
7
6
|
---
|
|
8
7
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
<!-- AUTO-GENERATED by scripts/gen-adapters.js - DO NOT EDIT -->
|
|
2
1
|
---
|
|
3
2
|
name: discover-tasks
|
|
4
3
|
description: "Use when user asks to \"discover tasks\", \"find next task\", or \"prioritize issues\". Discovers and ranks tasks from GitHub, GitLab, local files, and custom sources."
|
|
5
|
-
version: 5.0
|
|
4
|
+
version: 5.1.0
|
|
6
5
|
---
|
|
7
6
|
|
|
8
7
|
# discover-tasks
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
<!-- AUTO-GENERATED by scripts/gen-adapters.js - DO NOT EDIT -->
|
|
2
1
|
---
|
|
3
2
|
name: drift-analysis
|
|
4
3
|
description: Use when the user asks about plan drift, reality check, comparing docs to code, project state analysis, roadmap alignment, implementation gaps, or needs guidance on identifying discrepancies between documented plans and actual implementation state.
|
|
5
|
-
version: 5.0
|
|
4
|
+
version: 5.1.0
|
|
6
5
|
---
|
|
7
6
|
|
|
8
7
|
# Drift Analysis
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
<!-- AUTO-GENERATED by scripts/gen-adapters.js - DO NOT EDIT -->
|
|
2
1
|
---
|
|
3
2
|
name: enhance-agent-prompts
|
|
4
3
|
description: "Use when improving agent prompts, frontmatter, and tool restrictions."
|
|
5
|
-
version: 5.0
|
|
4
|
+
version: 5.1.0
|
|
6
5
|
argument-hint: "[path] [--fix] [--verbose]"
|
|
7
6
|
---
|
|
8
7
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
<!-- AUTO-GENERATED by scripts/gen-adapters.js - DO NOT EDIT -->
|
|
2
1
|
---
|
|
3
2
|
name: enhance-claude-memory
|
|
4
3
|
description: "Use when improving CLAUDE.md or AGENTS.md project memory files."
|
|
5
|
-
version: 5.0
|
|
4
|
+
version: 5.1.0
|
|
6
5
|
---
|
|
7
6
|
|
|
8
7
|
> **OpenCode Note**: Invoke agents using `@agent-name` syntax.
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
<!-- AUTO-GENERATED by scripts/gen-adapters.js - DO NOT EDIT -->
|
|
2
1
|
---
|
|
3
2
|
name: enhance-cross-file
|
|
4
3
|
description: "Use when checking cross-file consistency: tools vs frontmatter, agent references, duplicate rules, contradictions."
|
|
5
|
-
version: 5.0
|
|
4
|
+
version: 5.1.0
|
|
6
5
|
argument-hint: "[path]"
|
|
7
6
|
---
|
|
8
7
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
<!-- AUTO-GENERATED by scripts/gen-adapters.js - DO NOT EDIT -->
|
|
2
1
|
---
|
|
3
2
|
name: enhance-docs
|
|
4
3
|
description: "Use when improving documentation structure, accuracy, and RAG readiness."
|
|
5
|
-
version: 5.0
|
|
4
|
+
version: 5.1.0
|
|
6
5
|
argument-hint: "[path] [--fix] [--ai]"
|
|
7
6
|
---
|
|
8
7
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
<!-- AUTO-GENERATED by scripts/gen-adapters.js - DO NOT EDIT -->
|
|
2
1
|
---
|
|
3
2
|
name: enhance-orchestrator
|
|
4
3
|
description: "Use when coordinating multiple enhancers for /enhance command. Runs analyzers in parallel and produces unified report."
|
|
5
|
-
version: 5.0
|
|
4
|
+
version: 5.1.0
|
|
6
5
|
argument-hint: "[path] [--apply] [--focus=TYPE]"
|
|
7
6
|
---
|
|
8
7
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
<!-- AUTO-GENERATED by scripts/gen-adapters.js - DO NOT EDIT -->
|
|
2
1
|
---
|
|
3
2
|
name: enhance-plugins
|
|
4
3
|
description: "Use when analyzing plugin structures, MCP tools, and plugin security patterns."
|
|
5
|
-
version: 5.0
|
|
4
|
+
version: 5.1.0
|
|
6
5
|
argument-hint: "[path] [--fix]"
|
|
7
6
|
---
|
|
8
7
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
<!-- AUTO-GENERATED by scripts/gen-adapters.js - DO NOT EDIT -->
|
|
2
1
|
---
|
|
3
2
|
name: enhance-prompts
|
|
4
3
|
description: "Use when improving general prompts for structure, examples, and constraints."
|
|
5
|
-
version: 5.0
|
|
4
|
+
version: 5.1.0
|
|
6
5
|
argument-hint: "[path] [--fix]"
|
|
7
6
|
---
|
|
8
7
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
<!-- AUTO-GENERATED by scripts/gen-adapters.js - DO NOT EDIT -->
|
|
2
1
|
---
|
|
3
2
|
name: learn
|
|
4
3
|
description: "Research any topic online and create learning guides. Use when user asks to 'learn about', 'research topic', 'create learning guide', 'build knowledge base', or 'study subject'."
|
|
5
|
-
version: 5.0
|
|
4
|
+
version: 5.1.0
|
|
6
5
|
argument-hint: "[topic] [--depth=brief|medium|deep]"
|
|
7
6
|
---
|
|
8
7
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
<!-- AUTO-GENERATED by scripts/gen-adapters.js - DO NOT EDIT -->
|
|
2
1
|
---
|
|
3
2
|
name: orchestrate-review
|
|
4
3
|
description: "Use when user asks to \"deep review the code\", \"thorough code review\", \"multi-pass review\", or when orchestrating the Phase 9 review loop. Provides review pass definitions (code quality, security, performance, test coverage), signal detection patterns, and iteration algorithms."
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
<!-- AUTO-GENERATED by scripts/gen-adapters.js - DO NOT EDIT -->
|
|
2
1
|
---
|
|
3
2
|
name: perf-baseline-manager
|
|
4
3
|
description: "Use when managing perf baselines, consolidating results, or comparing versions. Ensures one baseline JSON per version."
|
|
5
|
-
version: 5.0
|
|
4
|
+
version: 5.1.0
|
|
6
5
|
---
|
|
7
6
|
|
|
8
7
|
# perf-baseline-manager
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
<!-- AUTO-GENERATED by scripts/gen-adapters.js - DO NOT EDIT -->
|
|
2
1
|
---
|
|
3
2
|
name: perf-benchmarker
|
|
4
3
|
description: "Use when running performance benchmarks, establishing baselines, or validating regressions with sequential runs. Enforces 60s minimum runs (30s only for binary search) and no parallel benchmarks."
|
|
5
|
-
version: 5.0
|
|
4
|
+
version: 5.1.0
|
|
6
5
|
argument-hint: "[command] [duration]"
|
|
7
6
|
---
|
|
8
7
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
<!-- AUTO-GENERATED by scripts/gen-adapters.js - DO NOT EDIT -->
|
|
2
1
|
---
|
|
3
2
|
name: perf-profiler
|
|
4
3
|
description: "Use when profiling CPU/memory hot paths, generating flame graphs, or capturing JFR/perf evidence."
|
|
5
|
-
version: 5.0
|
|
4
|
+
version: 5.1.0
|
|
6
5
|
argument-hint: "[tool] [command]"
|
|
7
6
|
---
|
|
8
7
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
<!-- AUTO-GENERATED by scripts/gen-adapters.js - DO NOT EDIT -->
|
|
2
1
|
---
|
|
3
2
|
name: perf-theory-gatherer
|
|
4
3
|
description: "Use when generating performance hypotheses backed by git history and code evidence."
|
|
5
|
-
version: 5.0
|
|
4
|
+
version: 5.1.0
|
|
6
5
|
---
|
|
7
6
|
|
|
8
7
|
# perf-theory-gatherer
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
<!-- AUTO-GENERATED by scripts/gen-adapters.js - DO NOT EDIT -->
|
|
2
1
|
---
|
|
3
2
|
name: repo-mapping
|
|
4
3
|
description: "Use when user asks to \"create repo map\", \"generate repo map\", \"update repo map\", \"repo map status\", or \"map symbols/imports\". Builds and validates an AST-based repo map using ast-grep."
|
|
@@ -30,7 +29,7 @@ Build and maintain a cached AST-based map of repository symbols and imports usin
|
|
|
30
29
|
|
|
31
30
|
Repo map is stored in the platform state directory:
|
|
32
31
|
|
|
33
|
-
- Claude Code: `.
|
|
32
|
+
- Claude Code: `.claude/repo-map.json`
|
|
34
33
|
- OpenCode: `.opencode/repo-map.json`
|
|
35
34
|
- Codex CLI: `.codex/repo-map.json`
|
|
36
35
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
<!-- AUTO-GENERATED by scripts/gen-adapters.js - DO NOT EDIT -->
|
|
2
1
|
---
|
|
3
2
|
name: sync-docs
|
|
4
3
|
description: "Sync documentation with code. Use when user asks to update docs, check docs, fix stale documentation, update changelog, or after code changes."
|
|
5
|
-
version: 5.0
|
|
4
|
+
version: 5.1.0
|
|
6
5
|
argument-hint: "[report|apply] [--scope=all|recent|before-pr] [--include-undocumented]"
|
|
7
6
|
allowed-tools: Bash(git:*), Read, Grep, Glob
|
|
8
7
|
---
|