@aiwg/cli 0.0.0-bootstrap.0 → 2026.7.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -1
- package/bin/aiwg.mjs +349 -0
- package/dist/src/a2a/agent-card.js +145 -0
- package/dist/src/a2a/client.js +411 -0
- package/dist/src/a2a/hitl-cli.js +171 -0
- package/dist/src/a2a/hitl-driver.js +370 -0
- package/dist/src/a2a/hitl.js +181 -0
- package/dist/src/a2a/http.js +193 -0
- package/dist/src/a2a/jcs.js +128 -0
- package/dist/src/a2a/jws.js +187 -0
- package/dist/src/a2a/types.js +24 -0
- package/dist/src/a2a/webhook.js +240 -0
- package/dist/src/activity-log/cli.js +348 -0
- package/dist/src/activity-log/parser.js +81 -0
- package/dist/src/activity-log/types.js +50 -0
- package/dist/src/agents/agent-deployer.js +367 -0
- package/dist/src/agents/agent-packager.js +271 -0
- package/dist/src/agents/agent-validator.js +271 -0
- package/dist/src/agents/grounding/knowledge-base.js +161 -0
- package/dist/src/agents/grounding/types.js +12 -0
- package/dist/src/agents/index.js +10 -0
- package/dist/src/agents/packaged-agent-inventory.js +75 -0
- package/dist/src/agents/types.js +7 -0
- package/dist/src/api/index.d.ts +10 -0
- package/dist/src/api/index.js +10 -0
- package/dist/src/artifacts/address-parser.js +73 -0
- package/dist/src/artifacts/audit/cli.js +183 -0
- package/dist/src/artifacts/audit/drift.js +122 -0
- package/dist/src/artifacts/audit/types.js +12 -0
- package/dist/src/artifacts/backends/graphology-backend.js +160 -0
- package/dist/src/artifacts/backends/json-backend.js +129 -0
- package/dist/src/artifacts/backends/sqlite-backend.js +199 -0
- package/dist/src/artifacts/browser-export.js +622 -0
- package/dist/src/artifacts/capability-resolver.js +94 -0
- package/dist/src/artifacts/checksum-manifest.js +91 -0
- package/dist/src/artifacts/citation-parser.js +162 -0
- package/dist/src/artifacts/cli.js +1462 -0
- package/dist/src/artifacts/corpus-tools/citation-densify.js +311 -0
- package/dist/src/artifacts/corpus-tools/cli.js +393 -0
- package/dist/src/artifacts/corpus-tools/corpus-graph.js +225 -0
- package/dist/src/artifacts/corpus-tools/curator.js +186 -0
- package/dist/src/artifacts/corpus-tools/discovery-log.js +70 -0
- package/dist/src/artifacts/corpus-tools/funder-network.js +141 -0
- package/dist/src/artifacts/corpus-tools/induction-audit.js +233 -0
- package/dist/src/artifacts/corpus-tools/integrity-scan.js +202 -0
- package/dist/src/artifacts/corpus-tools/profile-communities.js +166 -0
- package/dist/src/artifacts/corpus-tools/profile-edges.js +72 -0
- package/dist/src/artifacts/corpus-tools/profile-embed.js +113 -0
- package/dist/src/artifacts/corpus-tools/profile-generate-fm.js +167 -0
- package/dist/src/artifacts/corpus-tools/profile-generate.js +181 -0
- package/dist/src/artifacts/corpus-tools/profile-metrics.js +98 -0
- package/dist/src/artifacts/corpus-tools/profile-status.js +86 -0
- package/dist/src/artifacts/corpus-tools/profile-temporal.js +139 -0
- package/dist/src/artifacts/corpus-tools/radar-init.js +93 -0
- package/dist/src/artifacts/corpus-tools/radar-report.js +118 -0
- package/dist/src/artifacts/corpus-tools/radar-shared.js +189 -0
- package/dist/src/artifacts/corpus-tools/radar-status.js +68 -0
- package/dist/src/artifacts/corpus-tools/sidecar-lint.js +233 -0
- package/dist/src/artifacts/corpus-tools/sidecar-repair.js +277 -0
- package/dist/src/artifacts/corpus-tools/snapshot.js +591 -0
- package/dist/src/artifacts/corpus-tools/source-types.js +164 -0
- package/dist/src/artifacts/corpus-tools/vision-extract.js +243 -0
- package/dist/src/artifacts/corpus-views/build.js +126 -0
- package/dist/src/artifacts/corpus-views/corpus-config.js +124 -0
- package/dist/src/artifacts/corpus-views/ref-parser.js +437 -0
- package/dist/src/artifacts/corpus-views/renderers.js +353 -0
- package/dist/src/artifacts/corpus-views/taxonomies.js +131 -0
- package/dist/src/artifacts/dep-graph.js +173 -0
- package/dist/src/artifacts/discover-facets.js +375 -0
- package/dist/src/artifacts/embedding-index.js +354 -0
- package/dist/src/artifacts/enrichment/cli.js +240 -0
- package/dist/src/artifacts/enrichment/prompt.js +47 -0
- package/dist/src/artifacts/enrichment/store.js +90 -0
- package/dist/src/artifacts/enrichment/types.js +12 -0
- package/dist/src/artifacts/fortemi-core-query-adapter.js +475 -0
- package/dist/src/artifacts/fortemi-core-sync.js +251 -0
- package/dist/src/artifacts/fortemi-shard-export.js +44 -0
- package/dist/src/artifacts/fulltext.js +108 -0
- package/dist/src/artifacts/graph-backend.js +51 -0
- package/dist/src/artifacts/graph-query.js +247 -0
- package/dist/src/artifacts/hybrid-query.js +225 -0
- package/dist/src/artifacts/index-builder.js +1089 -0
- package/dist/src/artifacts/index-reader.js +112 -0
- package/dist/src/artifacts/index-status.js +193 -0
- package/dist/src/artifacts/legacy-index-migration.js +169 -0
- package/dist/src/artifacts/move.js +154 -0
- package/dist/src/artifacts/operational-state.js +239 -0
- package/dist/src/artifacts/prebuilt-build-lock.js +49 -0
- package/dist/src/artifacts/query-engine.js +1955 -0
- package/dist/src/artifacts/source-graph.js +529 -0
- package/dist/src/artifacts/stats.js +169 -0
- package/dist/src/artifacts/types.js +606 -0
- package/dist/src/artifacts/views/cli.js +293 -0
- package/dist/src/artifacts/views/definition.js +170 -0
- package/dist/src/artifacts/views/store.js +149 -0
- package/dist/src/artifacts/views/types.js +8 -0
- package/dist/src/artifacts/watcher.js +255 -0
- package/dist/src/catalog/builtin-models.json +636 -0
- package/dist/src/catalog/cli.js +228 -0
- package/dist/src/catalog/cli.mjs +289 -0
- package/dist/src/catalog/index.js +15 -0
- package/dist/src/catalog/loader.js +217 -0
- package/dist/src/catalog/loader.mjs +251 -0
- package/dist/src/catalog/sources.json +41 -0
- package/dist/src/catalog/types.js +8 -0
- package/dist/src/channel/manager.mjs +504 -0
- package/dist/src/cli/agent-spawn.js +178 -0
- package/dist/src/cli/cli-extension-loader.js +245 -0
- package/dist/src/cli/command-log.js +275 -0
- package/dist/src/cli/config-loader.js +232 -0
- package/dist/src/cli/env.js +82 -0
- package/dist/src/cli/errors.js +150 -0
- package/dist/src/cli/find-package-root.js +40 -0
- package/dist/src/cli/git-hooks.js +250 -0
- package/dist/src/cli/handlers/agentcard.js +206 -0
- package/dist/src/cli/handlers/artifacts.js +76 -0
- package/dist/src/cli/handlers/best-practices-audit.js +280 -0
- package/dist/src/cli/handlers/cockpit.js +137 -0
- package/dist/src/cli/handlers/command-log.js +37 -0
- package/dist/src/cli/handlers/daemon.js +59 -0
- package/dist/src/cli/handlers/diagnose.js +300 -0
- package/dist/src/cli/handlers/execution-mode.js +105 -0
- package/dist/src/cli/handlers/feedback.js +341 -0
- package/dist/src/cli/handlers/help.js +147 -0
- package/dist/src/cli/handlers/index.js +302 -0
- package/dist/src/cli/handlers/init.js +179 -0
- package/dist/src/cli/handlers/install.js +129 -0
- package/dist/src/cli/handlers/issues.js +46 -0
- package/dist/src/cli/handlers/lint.js +42 -0
- package/dist/src/cli/handlers/local-executor.js +315 -0
- package/dist/src/cli/handlers/marketplace.js +168 -0
- package/dist/src/cli/handlers/mc.js +1010 -0
- package/dist/src/cli/handlers/models.js +352 -0
- package/dist/src/cli/handlers/packages.js +155 -0
- package/dist/src/cli/handlers/ralph-launcher.js +717 -0
- package/dist/src/cli/handlers/ralph.js +575 -0
- package/dist/src/cli/handlers/refresh.js +432 -0
- package/dist/src/cli/handlers/regenerate.js +336 -0
- package/dist/src/cli/handlers/repo-access.js +109 -0
- package/dist/src/cli/handlers/run.js +165 -0
- package/dist/src/cli/handlers/runtime-info.js +301 -0
- package/dist/src/cli/handlers/sandbox.js +197 -0
- package/dist/src/cli/handlers/scaffolding.js +149 -0
- package/dist/src/cli/handlers/script-runner.js +121 -0
- package/dist/src/cli/handlers/sdlc-accelerate.js +148 -0
- package/dist/src/cli/handlers/serve.js +1835 -0
- package/dist/src/cli/handlers/session.js +348 -0
- package/dist/src/cli/handlers/setup.js +440 -0
- package/dist/src/cli/handlers/skill-lint.js +367 -0
- package/dist/src/cli/handlers/skill-usage.js +74 -0
- package/dist/src/cli/handlers/steward.js +567 -0
- package/dist/src/cli/handlers/subcommands.js +1702 -0
- package/dist/src/cli/handlers/team.js +337 -0
- package/dist/src/cli/handlers/types.js +11 -0
- package/dist/src/cli/handlers/use.js +2772 -0
- package/dist/src/cli/handlers/utilities.js +703 -0
- package/dist/src/cli/handlers/version.js +134 -0
- package/dist/src/cli/handlers/workspace-context.js +93 -0
- package/dist/src/cli/handlers/workspace.js +126 -0
- package/dist/src/cli/help-generator.js +178 -0
- package/dist/src/cli/hooks/builtin/activity-log-hook.js +126 -0
- package/dist/src/cli/hooks/executor.js +96 -0
- package/dist/src/cli/hooks/index.js +15 -0
- package/dist/src/cli/hooks/registry.js +143 -0
- package/dist/src/cli/hooks/types.js +13 -0
- package/dist/src/cli/log.js +492 -0
- package/dist/src/cli/project-isolation/detect.js +70 -0
- package/dist/src/cli/project-isolation/index.js +7 -0
- package/dist/src/cli/project-isolation/signals.js +17 -0
- package/dist/src/cli/project-isolation/warning.js +102 -0
- package/dist/src/cli/prompt-utils.js +155 -0
- package/dist/src/cli/provider-deployment-plan.js +126 -0
- package/dist/src/cli/provider-resolution.js +119 -0
- package/dist/src/cli/router.js +305 -0
- package/dist/src/cli/scope-resolver.js +392 -0
- package/dist/src/cli/skill-usage.js +616 -0
- package/dist/src/cli/ui.js +224 -0
- package/dist/src/cli/watch-service.js +203 -0
- package/dist/src/cli/workflow-orchestrator.js +478 -0
- package/dist/src/cli/workspace-signals.js +321 -0
- package/dist/src/community/footer.js +14 -0
- package/dist/src/community/links.js +123 -0
- package/dist/src/community/milestones.js +46 -0
- package/dist/src/community/nudge-policy.js +93 -0
- package/dist/src/config/aiwg-config.js +883 -0
- package/dist/src/config/cli.js +703 -0
- package/dist/src/config/gitignore.js +156 -0
- package/dist/src/config/project-artifacts.js +76 -0
- package/dist/src/config/user-config.js +428 -0
- package/dist/src/config/user-registry.js +127 -0
- package/dist/src/config/workspace.js +276 -0
- package/dist/src/contributors/detect.js +39 -0
- package/dist/src/contributors/discover.js +172 -0
- package/dist/src/contributors/heuristic.js +186 -0
- package/dist/src/contributors/index.js +11 -0
- package/dist/src/contributors/types.js +13 -0
- package/dist/src/contributors/validation.js +116 -0
- package/dist/src/data/community.schema.json +43 -0
- package/dist/src/data/community.yaml +16 -0
- package/dist/src/extensions/capability-index.js +270 -0
- package/dist/src/extensions/claude-hooks-installer.js +268 -0
- package/dist/src/extensions/commands/definitions.js +3485 -0
- package/dist/src/extensions/deployment-registration.js +463 -0
- package/dist/src/extensions/index.js +22 -0
- package/dist/src/extensions/loader.js +132 -0
- package/dist/src/extensions/managed-marker.js +100 -0
- package/dist/src/extensions/manifest.js +196 -0
- package/dist/src/extensions/project-local-activity.js +114 -0
- package/dist/src/extensions/project-local-discovery.js +261 -0
- package/dist/src/extensions/project-local-doctor.js +281 -0
- package/dist/src/extensions/project-local-gitignore.js +176 -0
- package/dist/src/extensions/project-local-paths.js +121 -0
- package/dist/src/extensions/project-local-promote.js +218 -0
- package/dist/src/extensions/project-local-remove.js +373 -0
- package/dist/src/extensions/project-local-scaffold.js +252 -0
- package/dist/src/extensions/project-quickref.js +291 -0
- package/dist/src/extensions/registry.js +368 -0
- package/dist/src/extensions/shadow-resolver.js +271 -0
- package/dist/src/extensions/types.js +86 -0
- package/dist/src/extensions/upstream-registry.js +195 -0
- package/dist/src/extensions/validation.js +631 -0
- package/dist/src/features/catalog.js +88 -0
- package/dist/src/features/cli.js +197 -0
- package/dist/src/features/installer.js +57 -0
- package/dist/src/features/paths.js +14 -0
- package/dist/src/features/runtime.js +21 -0
- package/dist/src/features/status.js +134 -0
- package/dist/src/hooks/laziness-detection.js +532 -0
- package/dist/src/intake/git-history-analyzer.js +486 -0
- package/dist/src/intake/index.js +9 -0
- package/dist/src/issues/cli.js +327 -0
- package/dist/src/issues/index.js +5 -0
- package/dist/src/issues/live.js +154 -0
- package/dist/src/issues/local.js +666 -0
- package/dist/src/issues/sync.js +143 -0
- package/dist/src/issues/types.js +2 -0
- package/dist/src/issues/workflows.js +164 -0
- package/dist/src/kb/cli.js +173 -0
- package/dist/src/lint/cli.js +171 -0
- package/dist/src/lint/loader.js +225 -0
- package/dist/src/lint/reporters.js +141 -0
- package/dist/src/lint/runner.js +364 -0
- package/dist/src/lint/types.js +10 -0
- package/dist/src/marketplace/cache.js +110 -0
- package/dist/src/marketplace/identifier.js +63 -0
- package/dist/src/marketplace/registry.js +36 -0
- package/dist/src/marketplace/sources/clawhub.js +53 -0
- package/dist/src/marketplace/sources/git.js +45 -0
- package/dist/src/marketplace/types.js +9 -0
- package/dist/src/mcp/adapters/codex-runtime.js +224 -0
- package/dist/src/mcp/cli.mjs +1197 -0
- package/dist/src/mcp/elicitation.mjs +149 -0
- package/dist/src/mcp/helpers.mjs +287 -0
- package/dist/src/mcp/index.mjs +11 -0
- package/dist/src/mcp/profiles.js +263 -0
- package/dist/src/mcp/profiles.mjs +360 -0
- package/dist/src/mcp/registry.js +376 -0
- package/dist/src/mcp/registry.mjs +387 -0
- package/dist/src/mcp/server.mjs +633 -0
- package/dist/src/mcp/test-simple.mjs +271 -0
- package/dist/src/mcp/tools/command-run.mjs +101 -0
- package/dist/src/mcp/tools/discovery.mjs +291 -0
- package/dist/src/mcp/tools/interaction.mjs +87 -0
- package/dist/src/mcp/tools/orchestration.mjs +320 -0
- package/dist/src/mcp/tools/subsystems.mjs +640 -0
- package/dist/src/memory/cli.js +166 -0
- package/dist/src/memory/project-registry.js +282 -0
- package/dist/src/metrics/artifact-metrics.js +184 -0
- package/dist/src/metrics/context-budget.js +174 -0
- package/dist/src/metrics/token-counter.js +133 -0
- package/dist/src/models/config-loader.js +228 -0
- package/dist/src/models/index.js +22 -0
- package/dist/src/models/model-capabilities.v1.json +120 -0
- package/dist/src/models/model-catalog.v1.json +96 -0
- package/dist/src/models/model-discovery.js +521 -0
- package/dist/src/models/provider-models.js +73 -0
- package/dist/src/models/provider-policy.js +273 -0
- package/dist/src/models/resolver.js +245 -0
- package/dist/src/models/router.js +70 -0
- package/dist/src/models/types.js +8 -0
- package/dist/src/models/wrapper-deployment.js +178 -0
- package/dist/src/models/wrapper-route.js +54 -0
- package/dist/src/ops/cli.js +268 -0
- package/dist/src/ops/registry.js +623 -0
- package/dist/src/packages/adapters/clawhub.js +113 -0
- package/dist/src/packages/adapters/git.js +153 -0
- package/dist/src/packages/adapters/gitea.js +93 -0
- package/dist/src/packages/adapters/github.js +69 -0
- package/dist/src/packages/adapters/local-cache.js +89 -0
- package/dist/src/packages/package-registry.js +143 -0
- package/dist/src/packages/registry.js +238 -0
- package/dist/src/packages/types.js +11 -0
- package/dist/src/plugin/cross-framework-ops.js +475 -0
- package/dist/src/plugin/framework-config-loader.js +235 -0
- package/dist/src/plugin/framework-detector.js +186 -0
- package/dist/src/plugin/framework-isolator.js +341 -0
- package/dist/src/plugin/framework-migration.js +371 -0
- package/dist/src/plugin/metadata-validator.js +906 -0
- package/dist/src/plugin/plugin-installer.js +436 -0
- package/dist/src/plugin/plugin-status.js +369 -0
- package/dist/src/plugin/plugin-uninstaller.js +473 -0
- package/dist/src/plugin/registry-validator.js +344 -0
- package/dist/src/plugin/skill-command-translator.js +415 -0
- package/dist/src/plugin/workspace-creator.js +189 -0
- package/dist/src/plugin/workspace-migrator.js +821 -0
- package/dist/src/policy/authorization.js +390 -0
- package/dist/src/policy/repo-access.js +215 -0
- package/dist/src/provenance/cli.js +16 -0
- package/dist/src/providers/capability-matrix.js +300 -0
- package/dist/src/providers/capability-matrix.yaml +514 -0
- package/dist/src/providers/provider-definitions.js +977 -0
- package/dist/src/providers/provider-definitions.mjs +159 -0
- package/dist/src/providers/provider-inventory.js +169 -0
- package/dist/src/quality/feedback-ab.js +174 -0
- package/dist/src/quality/feedback-collector.js +176 -0
- package/dist/src/quality/feedback-tracker.js +123 -0
- package/dist/src/quality/patterns/adr.json +24 -0
- package/dist/src/quality/patterns/sad.json +24 -0
- package/dist/src/quality/patterns/test-plan.json +24 -0
- package/dist/src/quality/patterns/use-case.json +24 -0
- package/dist/src/quality/scoring.js +157 -0
- package/dist/src/reflections/cli.js +15 -0
- package/dist/src/release/plan.js +139 -0
- package/dist/src/research/cache/manager.js +227 -0
- package/dist/src/research/clients/arxiv.js +156 -0
- package/dist/src/research/clients/base.js +197 -0
- package/dist/src/research/clients/crossref.js +112 -0
- package/dist/src/research/clients/semantic-scholar.js +126 -0
- package/dist/src/research/clients/unpaywall.js +87 -0
- package/dist/src/research/index.js +14 -0
- package/dist/src/research/query-cli.js +336 -0
- package/dist/src/research/services/acquisition.js +313 -0
- package/dist/src/research/services/archival.js +225 -0
- package/dist/src/research/services/citation.js +279 -0
- package/dist/src/research/services/discovery.js +243 -0
- package/dist/src/research/services/documentation.js +269 -0
- package/dist/src/research/services/index.js +14 -0
- package/dist/src/research/services/provenance.js +279 -0
- package/dist/src/research/services/quality.js +370 -0
- package/dist/src/research/services/types.js +7 -0
- package/dist/src/research/storage-cli.js +20 -0
- package/dist/src/research/types.js +47 -0
- package/dist/src/resources/index.d.ts +2 -0
- package/dist/src/resources/index.js +2 -0
- package/dist/src/resources/web-release.d.ts +89 -0
- package/dist/src/resources/web-release.js +882 -0
- package/dist/src/rlm/cache/cli.js +162 -0
- package/dist/src/rlm/cache/hash.js +35 -0
- package/dist/src/rlm/cache/store.js +170 -0
- package/dist/src/rlm/cache/types.js +8 -0
- package/dist/src/rlm/cli.js +650 -0
- package/dist/src/serve/a2a-terminal-observer.js +120 -0
- package/dist/src/serve/agent-router.js +205 -0
- package/dist/src/serve/dispatch-router.js +171 -0
- package/dist/src/serve/executor-registry.js +715 -0
- package/dist/src/serve/mission-conductor.js +177 -0
- package/dist/src/serve/orchestrator-adapter.js +113 -0
- package/dist/src/serve/orchestrator-override.js +94 -0
- package/dist/src/serve/orchestrator-pty.js +133 -0
- package/dist/src/serve/pty-bridge.js +799 -0
- package/dist/src/serve/sandbox-registry.js +832 -0
- package/dist/src/serve/screen-reader.js +228 -0
- package/dist/src/serve/stack-adapters.js +68 -0
- package/dist/src/serve/telemetry.js +143 -0
- package/dist/src/skills/adapters/clawhub.js +250 -0
- package/dist/src/skills/adapters/local.js +335 -0
- package/dist/src/skills/adapters/openclaw.js +316 -0
- package/dist/src/skills/cli.js +334 -0
- package/dist/src/skills/registry.js +117 -0
- package/dist/src/skills/run.js +259 -0
- package/dist/src/skills/runtime.js +94 -0
- package/dist/src/skills/types.js +10 -0
- package/dist/src/smiths/agentsmith/demo.js +116 -0
- package/dist/src/smiths/agentsmith/examples.js +300 -0
- package/dist/src/smiths/agentsmith/generator.js +503 -0
- package/dist/src/smiths/agentsmith/index.js +11 -0
- package/dist/src/smiths/agentsmith/types.js +8 -0
- package/dist/src/smiths/commandsmith/example.js +220 -0
- package/dist/src/smiths/commandsmith/generator.js +288 -0
- package/dist/src/smiths/commandsmith/index.js +41 -0
- package/dist/src/smiths/commandsmith/templates.js +296 -0
- package/dist/src/smiths/commandsmith/types.js +7 -0
- package/dist/src/smiths/context-pipeline/aiwg-md.js +104 -0
- package/dist/src/smiths/context-pipeline/allowlist.js +195 -0
- package/dist/src/smiths/context-pipeline/claude-hook.js +127 -0
- package/dist/src/smiths/context-pipeline/discovery.js +187 -0
- package/dist/src/smiths/context-pipeline/external-links-section.js +49 -0
- package/dist/src/smiths/context-pipeline/finalization.js +147 -0
- package/dist/src/smiths/context-pipeline/generator.js +477 -0
- package/dist/src/smiths/context-pipeline/index.js +30 -0
- package/dist/src/smiths/context-pipeline/legacy-inject.js +103 -0
- package/dist/src/smiths/context-pipeline/managed-hook.js +95 -0
- package/dist/src/smiths/context-pipeline/overflow.js +212 -0
- package/dist/src/smiths/context-pipeline/parallelism-section.js +94 -0
- package/dist/src/smiths/context-pipeline/provider-policy.js +64 -0
- package/dist/src/smiths/context-pipeline/sanitizer.js +93 -0
- package/dist/src/smiths/context-pipeline/types.js +23 -0
- package/dist/src/smiths/context-pipeline/workspace-context.js +988 -0
- package/dist/src/smiths/hook-bridge/codex-translator.js +129 -0
- package/dist/src/smiths/hook-bridge/copilot-translator.js +64 -0
- package/dist/src/smiths/hook-bridge/factory-translator.js +43 -0
- package/dist/src/smiths/hook-bridge/hermes-translator.js +88 -0
- package/dist/src/smiths/hook-bridge/index.js +79 -0
- package/dist/src/smiths/hook-bridge/loader.js +116 -0
- package/dist/src/smiths/hook-bridge/shim.js +89 -0
- package/dist/src/smiths/hook-bridge/types.js +31 -0
- package/dist/src/smiths/index.js +39 -0
- package/dist/src/smiths/mcpsmith/analyzers/cli-analyzer.js +390 -0
- package/dist/src/smiths/mcpsmith/example.js +119 -0
- package/dist/src/smiths/mcpsmith/generator.js +236 -0
- package/dist/src/smiths/mcpsmith/index.js +17 -0
- package/dist/src/smiths/mcpsmith/types.js +10 -0
- package/dist/src/smiths/platform-paths.js +101 -0
- package/dist/src/smiths/skillsmith/codex-sidecar.js +85 -0
- package/dist/src/smiths/skillsmith/collision-detector.js +249 -0
- package/dist/src/smiths/skillsmith/demo.js +83 -0
- package/dist/src/smiths/skillsmith/examples.js +161 -0
- package/dist/src/smiths/skillsmith/generator.js +316 -0
- package/dist/src/smiths/skillsmith/index.js +12 -0
- package/dist/src/smiths/skillsmith/namespace-adapter.js +180 -0
- package/dist/src/smiths/skillsmith/platform-resolver.js +157 -0
- package/dist/src/smiths/skillsmith/types.js +9 -0
- package/dist/src/smiths/toolsmith/index.js +10 -0
- package/dist/src/smiths/toolsmith/runtime-discovery.mjs +710 -0
- package/dist/src/smiths/toolsmith/types.js +8 -0
- package/dist/src/storage/backends/fortemi.js +227 -0
- package/dist/src/storage/backends/fs.js +134 -0
- package/dist/src/storage/backends/logseq.js +309 -0
- package/dist/src/storage/backends/obsidian.js +233 -0
- package/dist/src/storage/cli.js +468 -0
- package/dist/src/storage/config.js +272 -0
- package/dist/src/storage/index.js +108 -0
- package/dist/src/storage/subsystem-cli.js +201 -0
- package/dist/src/storage/types.js +33 -0
- package/dist/src/testing/corpus/corpus-builder.js +383 -0
- package/dist/src/testing/corpus/ground-truth-manager.js +460 -0
- package/dist/src/testing/corpus/index.js +10 -0
- package/dist/src/testing/fixtures/index.js +9 -0
- package/dist/src/testing/fixtures/test-data-factory.js +472 -0
- package/dist/src/testing/generators/index.js +11 -0
- package/dist/src/testing/generators/test-case-generator.js +393 -0
- package/dist/src/testing/generators/test-code-generator.js +384 -0
- package/dist/src/testing/generators/use-case-parser.js +325 -0
- package/dist/src/testing/index.js +11 -0
- package/dist/src/tracker/capability-protocol.js +118 -0
- package/dist/src/update/checker.mjs +396 -0
- package/dist/src/update/notifier.mjs +235 -0
- package/dist/src/writing/content-diversifier.js +804 -0
- package/dist/src/writing/example-generator.js +959 -0
- package/dist/src/writing/example-templates.js +99 -0
- package/dist/src/writing/pattern-library.js +486 -0
- package/dist/src/writing/patterns/banned-phrases.json +4413 -0
- package/dist/src/writing/patterns/formulaic-structures.json +1300 -0
- package/dist/src/writing/patterns/generic-adjectives.json +1510 -0
- package/dist/src/writing/patterns/hedging-language.json +2096 -0
- package/dist/src/writing/patterns/transition-words.json +1285 -0
- package/dist/src/writing/patterns/weak-verbs.json +1112 -0
- package/dist/src/writing/prompt-optimizer.js +660 -0
- package/dist/src/writing/prompt-templates.js +583 -0
- package/dist/src/writing/scoring-config-loader.js +168 -0
- package/dist/src/writing/validation-engine.js +595 -0
- package/dist/src/writing/validation-rules.js +380 -0
- package/dist/src/writing/voice-analyzer.js +439 -0
- package/dist/src/writing/voice-calibration.js +661 -0
- package/dist/src/writing/voice-profiles.json +588 -0
- package/package.json +64 -9
|
@@ -0,0 +1,3485 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Command Extension Definitions
|
|
3
|
+
*
|
|
4
|
+
* Defines Extension objects for all CLI commands. Maps command handlers to the
|
|
5
|
+
* unified Extension schema for discovery, semantic search, and help generation.
|
|
6
|
+
*
|
|
7
|
+
* @implements @.aiwg/architecture/decisions/ADR-001-unified-extension-system.md
|
|
8
|
+
* @architecture @.aiwg/architecture/unified-extension-schema.md
|
|
9
|
+
* @source @src/cli/handlers/index.ts
|
|
10
|
+
* @tests @test/unit/extensions/commands/definitions.test.ts
|
|
11
|
+
* @issue #42
|
|
12
|
+
*/
|
|
13
|
+
// ============================================
|
|
14
|
+
// Individual Command Definitions
|
|
15
|
+
// ============================================
|
|
16
|
+
// Maintenance Commands
|
|
17
|
+
export const helpCommand = {
|
|
18
|
+
id: 'help',
|
|
19
|
+
type: 'skill',
|
|
20
|
+
name: 'Help',
|
|
21
|
+
description: 'Show all CLI commands, arguments, and usage examples',
|
|
22
|
+
version: '1.0.0',
|
|
23
|
+
capabilities: ['cli', 'help', 'documentation'],
|
|
24
|
+
keywords: ['help', 'usage', 'commands', 'documentation'],
|
|
25
|
+
category: 'maintenance',
|
|
26
|
+
platforms: {
|
|
27
|
+
claude: 'full',
|
|
28
|
+
generic: 'full',
|
|
29
|
+
},
|
|
30
|
+
deployment: {
|
|
31
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
32
|
+
core: true,
|
|
33
|
+
},
|
|
34
|
+
metadata: {
|
|
35
|
+
type: 'skill',
|
|
36
|
+
triggerPhrases: ['help', 'show commands', 'usage', 'what commands are available'],
|
|
37
|
+
commandHint: {
|
|
38
|
+
template: 'utility',
|
|
39
|
+
allowedTools: [],
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
export const versionCommand = {
|
|
44
|
+
id: 'version',
|
|
45
|
+
type: 'skill',
|
|
46
|
+
name: 'Version',
|
|
47
|
+
description: 'Show version and channel information',
|
|
48
|
+
version: '1.0.0',
|
|
49
|
+
capabilities: ['cli', 'version', 'info'],
|
|
50
|
+
keywords: ['version', 'info', 'channel'],
|
|
51
|
+
category: 'maintenance',
|
|
52
|
+
platforms: {
|
|
53
|
+
claude: 'full',
|
|
54
|
+
generic: 'full',
|
|
55
|
+
},
|
|
56
|
+
deployment: {
|
|
57
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
58
|
+
core: true,
|
|
59
|
+
},
|
|
60
|
+
metadata: {
|
|
61
|
+
type: 'skill',
|
|
62
|
+
triggerPhrases: ['version', 'what version', 'show version', 'current version'],
|
|
63
|
+
commandHint: {
|
|
64
|
+
template: 'utility',
|
|
65
|
+
allowedTools: ['Read'],
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
export const doctorCommand = {
|
|
70
|
+
id: 'doctor',
|
|
71
|
+
type: 'skill',
|
|
72
|
+
name: 'Doctor',
|
|
73
|
+
description: 'Check installation health and diagnose issues',
|
|
74
|
+
version: '1.0.0',
|
|
75
|
+
capabilities: ['cli', 'diagnostics', 'health-check'],
|
|
76
|
+
keywords: ['doctor', 'health', 'diagnostics', 'troubleshooting'],
|
|
77
|
+
category: 'maintenance',
|
|
78
|
+
platforms: {
|
|
79
|
+
claude: 'full',
|
|
80
|
+
generic: 'full',
|
|
81
|
+
},
|
|
82
|
+
deployment: {
|
|
83
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
84
|
+
core: true,
|
|
85
|
+
},
|
|
86
|
+
metadata: {
|
|
87
|
+
type: 'skill',
|
|
88
|
+
triggerPhrases: ['doctor', 'check health', 'diagnose', 'troubleshoot installation'],
|
|
89
|
+
commandHint: {
|
|
90
|
+
template: 'utility',
|
|
91
|
+
allowedTools: ['Read', 'Bash'],
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
};
|
|
95
|
+
export const updateCommand = {
|
|
96
|
+
id: 'update',
|
|
97
|
+
type: 'skill',
|
|
98
|
+
name: 'Update',
|
|
99
|
+
description: 'Update AIWG and re-deploy installed frameworks from registry',
|
|
100
|
+
version: '1.0.0',
|
|
101
|
+
capabilities: ['cli', 'update', 'maintenance', 'deploy', 'refresh'],
|
|
102
|
+
keywords: ['update', 'upgrade', 'maintenance', 'refresh', 'redeploy'],
|
|
103
|
+
category: 'maintenance',
|
|
104
|
+
platforms: {
|
|
105
|
+
claude: 'full',
|
|
106
|
+
generic: 'full',
|
|
107
|
+
},
|
|
108
|
+
deployment: {
|
|
109
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
110
|
+
core: true,
|
|
111
|
+
},
|
|
112
|
+
metadata: {
|
|
113
|
+
type: 'skill',
|
|
114
|
+
triggerPhrases: ['update', 'upgrade aiwg', 'update aiwg', 'refresh frameworks'],
|
|
115
|
+
commandHint: {
|
|
116
|
+
template: 'utility',
|
|
117
|
+
allowedTools: ['Bash', 'Read'],
|
|
118
|
+
argumentHint: '[--all] [--dry-run] [--provider <name>] [--skip-check]',
|
|
119
|
+
executionSteps: [
|
|
120
|
+
'Check for npm/git updates',
|
|
121
|
+
'Read .aiwg/frameworks/registry.json',
|
|
122
|
+
'Re-deploy installed frameworks',
|
|
123
|
+
'Report update summary',
|
|
124
|
+
],
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
};
|
|
128
|
+
// Renamed from `refreshCommand` as part of #694 (avoid collision with git sync
|
|
129
|
+
// semantics) and re-linked to `refreshHandler` in #919. Users who type
|
|
130
|
+
// `aiwg sync` still reach this handler via its 'sync' alias and see a
|
|
131
|
+
// deprecation notice.
|
|
132
|
+
export const refreshCommand = {
|
|
133
|
+
id: 'refresh',
|
|
134
|
+
type: 'skill',
|
|
135
|
+
name: 'Refresh',
|
|
136
|
+
description: 'Refresh AIWG to latest version and re-deploy all frameworks to active provider (formerly: sync)',
|
|
137
|
+
version: '1.0.0',
|
|
138
|
+
capabilities: ['cli', 'refresh', 'sync', 'maintenance', 'deploy', 'self-maintenance'],
|
|
139
|
+
keywords: ['refresh', 'sync', 'update', 'redeploy', 'current', 'latest'],
|
|
140
|
+
category: 'maintenance',
|
|
141
|
+
platforms: {
|
|
142
|
+
claude: 'full',
|
|
143
|
+
generic: 'full',
|
|
144
|
+
},
|
|
145
|
+
deployment: {
|
|
146
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
147
|
+
core: true,
|
|
148
|
+
},
|
|
149
|
+
metadata: {
|
|
150
|
+
type: 'skill',
|
|
151
|
+
triggerPhrases: ['sync', 'sync aiwg', 'sync to latest', 'redeploy frameworks'],
|
|
152
|
+
commandHint: {
|
|
153
|
+
template: 'utility',
|
|
154
|
+
allowedTools: ['Bash', 'Read'],
|
|
155
|
+
argumentHint: '[--provider <name>] [--dry-run] [--frameworks <list>] [--channel <stable|next>] [--skip-update] [--quiet]',
|
|
156
|
+
executionSteps: [
|
|
157
|
+
'Detect active provider via runtime-info',
|
|
158
|
+
'Check current version vs latest on channel',
|
|
159
|
+
'Update package if newer available',
|
|
160
|
+
'Re-deploy all installed frameworks to provider',
|
|
161
|
+
'Run doctor health check',
|
|
162
|
+
'Output sync summary',
|
|
163
|
+
],
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
};
|
|
167
|
+
// #1266/#1811 — Regenerate the canonical graph and provider adapters without
|
|
168
|
+
// redeploying frameworks. Narrower than refresh; faster for context-drift fixes.
|
|
169
|
+
export const regenerateCommand = {
|
|
170
|
+
id: 'regenerate',
|
|
171
|
+
type: 'skill',
|
|
172
|
+
name: 'Regenerate Context Files',
|
|
173
|
+
description: 'Regenerate or transactionally adopt WORKSPACE.md, AIWG.md, and provider adapters without redeploying frameworks',
|
|
174
|
+
version: '1.0.0',
|
|
175
|
+
capabilities: ['cli', 'regenerate', 'context', 'maintenance', 'self-maintenance'],
|
|
176
|
+
keywords: ['regenerate', 'context', 'workspace.md', 'aiwg.md', 'agents.md', 'existing-project', 'redeploy-context'],
|
|
177
|
+
category: 'maintenance',
|
|
178
|
+
platforms: {
|
|
179
|
+
claude: 'full',
|
|
180
|
+
generic: 'full',
|
|
181
|
+
},
|
|
182
|
+
deployment: {
|
|
183
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
184
|
+
core: true,
|
|
185
|
+
},
|
|
186
|
+
metadata: {
|
|
187
|
+
type: 'skill',
|
|
188
|
+
triggerPhrases: ['regenerate context', 'extract existing project context', 'refresh WORKSPACE.md', 'rewrite AIWG.md', 'fix context files'],
|
|
189
|
+
commandHint: {
|
|
190
|
+
template: 'utility',
|
|
191
|
+
allowedTools: ['Bash', 'Read', 'Write'],
|
|
192
|
+
argumentHint: '[--workspace|--existing-project|--full-inject] [--provider <name>] [--dry-run|--apply] [--force]',
|
|
193
|
+
executionSteps: [
|
|
194
|
+
'Detect active provider (or accept --provider override)',
|
|
195
|
+
'Select canonical refresh, transactional existing-project extraction, or legacy inline compatibility',
|
|
196
|
+
'Discover deployed artifacts under provider paths',
|
|
197
|
+
'Refresh the managed WORKSPACE.md graph while preserving its operator region',
|
|
198
|
+
'Regenerate AIWG.md and minimal provider startup adapters',
|
|
199
|
+
'Report which files were written, skipped, or backed up',
|
|
200
|
+
],
|
|
201
|
+
},
|
|
202
|
+
},
|
|
203
|
+
};
|
|
204
|
+
export const workspaceContextCommand = {
|
|
205
|
+
id: 'workspace-context',
|
|
206
|
+
type: 'skill',
|
|
207
|
+
name: 'Workspace Context',
|
|
208
|
+
description: 'Audit, migrate, diagnose, and roll back canonical WORKSPACE.md context',
|
|
209
|
+
version: '1.0.0',
|
|
210
|
+
capabilities: ['cli', 'context', 'audit', 'migration', 'rollback'],
|
|
211
|
+
keywords: ['workspace.md', 'context', 'migration', 'provider', 'doctor'],
|
|
212
|
+
category: 'maintenance',
|
|
213
|
+
platforms: { claude: 'full', generic: 'full' },
|
|
214
|
+
deployment: { pathTemplate: '.{platform}/commands/{id}.md', core: true },
|
|
215
|
+
metadata: {
|
|
216
|
+
type: 'skill',
|
|
217
|
+
triggerPhrases: ['audit workspace context', 'migrate context to WORKSPACE.md', 'rollback context migration'],
|
|
218
|
+
commandHint: {
|
|
219
|
+
template: 'utility',
|
|
220
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
221
|
+
argumentHint: 'audit|migrate|rollback|doctor [--dry-run] [--apply] [--json]',
|
|
222
|
+
executionSteps: [
|
|
223
|
+
'Audit provider and nested context sources',
|
|
224
|
+
'Preview deterministic migration output',
|
|
225
|
+
'Apply only when explicitly requested and retain transaction preimages',
|
|
226
|
+
'Run context graph diagnostics or rollback a transaction',
|
|
227
|
+
],
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
};
|
|
231
|
+
// Framework Management Commands
|
|
232
|
+
export const useCommand = {
|
|
233
|
+
id: 'use',
|
|
234
|
+
type: 'skill',
|
|
235
|
+
name: 'Use',
|
|
236
|
+
description: 'Deploy SDLC, marketing, or writing framework (or addon) to workspace',
|
|
237
|
+
version: '1.0.0',
|
|
238
|
+
capabilities: ['cli', 'framework', 'deployment', 'addon'],
|
|
239
|
+
keywords: ['framework', 'install', 'deploy', 'use', 'addon', 'rlm'],
|
|
240
|
+
category: 'framework',
|
|
241
|
+
platforms: {
|
|
242
|
+
claude: 'full',
|
|
243
|
+
copilot: 'full',
|
|
244
|
+
factory: 'full',
|
|
245
|
+
cursor: 'full',
|
|
246
|
+
windsurf: 'full',
|
|
247
|
+
openclaw: 'full',
|
|
248
|
+
generic: 'full',
|
|
249
|
+
},
|
|
250
|
+
deployment: {
|
|
251
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
252
|
+
core: true,
|
|
253
|
+
},
|
|
254
|
+
metadata: {
|
|
255
|
+
type: 'skill',
|
|
256
|
+
triggerPhrases: ['use framework', 'deploy framework', 'install framework', 'use sdlc', 'use addon'],
|
|
257
|
+
commandHint: {
|
|
258
|
+
template: 'orchestration',
|
|
259
|
+
argumentHint: '<framework|addon> [--provider <p>] [--prefix <dir>] [--profile <name>] [--harness-agents <list>]',
|
|
260
|
+
allowedTools: ['Read', 'Write', 'Bash', 'Glob'],
|
|
261
|
+
executionSteps: [
|
|
262
|
+
'Validate framework name',
|
|
263
|
+
'Check dependencies',
|
|
264
|
+
'Deploy framework files',
|
|
265
|
+
'Register in framework registry',
|
|
266
|
+
'Deploy platform-specific adaptations',
|
|
267
|
+
],
|
|
268
|
+
},
|
|
269
|
+
},
|
|
270
|
+
};
|
|
271
|
+
export const modelsCommand = {
|
|
272
|
+
id: 'models',
|
|
273
|
+
type: 'command',
|
|
274
|
+
name: 'Models',
|
|
275
|
+
description: 'Audit, resolve, validate, migrate, and safely update model policy',
|
|
276
|
+
version: '1.0.0',
|
|
277
|
+
capabilities: ['cli', 'models', 'audit', 'configuration'],
|
|
278
|
+
keywords: ['models', 'model policy', 'tier', 'audit', 'resolve', 'migrate'],
|
|
279
|
+
category: 'catalog',
|
|
280
|
+
platforms: { generic: 'full' },
|
|
281
|
+
deployment: { pathTemplate: '.{platform}/commands/{id}.md', core: true },
|
|
282
|
+
metadata: {
|
|
283
|
+
type: 'command',
|
|
284
|
+
template: 'utility',
|
|
285
|
+
argumentHint: '<audit|list|resolve|set-default|set|validate|migrate> [options]',
|
|
286
|
+
allowedTools: ['Read', 'Write', 'Glob'],
|
|
287
|
+
},
|
|
288
|
+
};
|
|
289
|
+
export const cockpitCommand = {
|
|
290
|
+
id: 'cockpit',
|
|
291
|
+
type: 'command',
|
|
292
|
+
name: 'Cockpit',
|
|
293
|
+
description: 'Launch the opt-in AIWG Cockpit control plane',
|
|
294
|
+
version: '1.0.0',
|
|
295
|
+
capabilities: ['cli', 'cockpit', 'control-plane'],
|
|
296
|
+
keywords: ['cockpit', 'control plane', 'operator wall', 'ui'],
|
|
297
|
+
category: 'utility',
|
|
298
|
+
platforms: {
|
|
299
|
+
claude: 'full',
|
|
300
|
+
copilot: 'full',
|
|
301
|
+
factory: 'full',
|
|
302
|
+
cursor: 'full',
|
|
303
|
+
windsurf: 'full',
|
|
304
|
+
openclaw: 'full',
|
|
305
|
+
generic: 'full',
|
|
306
|
+
},
|
|
307
|
+
deployment: {
|
|
308
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
309
|
+
core: true,
|
|
310
|
+
},
|
|
311
|
+
metadata: {
|
|
312
|
+
type: 'command',
|
|
313
|
+
template: 'utility',
|
|
314
|
+
argumentHint: '[--install|--status] [cockpit args...]',
|
|
315
|
+
allowedTools: ['Bash'],
|
|
316
|
+
executionSteps: [
|
|
317
|
+
'Check whether @aiwg/cockpit is installed in the user Cockpit home',
|
|
318
|
+
'Verify the opt-in package version matches the core aiwg package',
|
|
319
|
+
'Launch the Cockpit bridge entrypoint, or show the acquisition command if absent',
|
|
320
|
+
],
|
|
321
|
+
},
|
|
322
|
+
};
|
|
323
|
+
export const listCommand = {
|
|
324
|
+
id: 'list',
|
|
325
|
+
type: 'skill',
|
|
326
|
+
name: 'List',
|
|
327
|
+
description: 'List installed frameworks and addons',
|
|
328
|
+
version: '1.0.0',
|
|
329
|
+
capabilities: ['cli', 'framework', 'query'],
|
|
330
|
+
keywords: ['list', 'frameworks', 'addons', 'installed'],
|
|
331
|
+
category: 'framework',
|
|
332
|
+
platforms: {
|
|
333
|
+
claude: 'full',
|
|
334
|
+
generic: 'full',
|
|
335
|
+
},
|
|
336
|
+
deployment: {
|
|
337
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
338
|
+
core: true,
|
|
339
|
+
},
|
|
340
|
+
metadata: {
|
|
341
|
+
type: 'skill',
|
|
342
|
+
triggerPhrases: ['list frameworks', 'show installed', 'list addons', 'what is installed'],
|
|
343
|
+
commandHint: {
|
|
344
|
+
template: 'utility',
|
|
345
|
+
allowedTools: ['Read'],
|
|
346
|
+
},
|
|
347
|
+
},
|
|
348
|
+
};
|
|
349
|
+
export const removeCommand = {
|
|
350
|
+
id: 'remove',
|
|
351
|
+
type: 'skill',
|
|
352
|
+
name: 'Remove',
|
|
353
|
+
description: 'Remove a framework or addon',
|
|
354
|
+
version: '1.0.0',
|
|
355
|
+
capabilities: ['cli', 'framework', 'uninstall'],
|
|
356
|
+
keywords: ['remove', 'uninstall', 'framework', 'addon'],
|
|
357
|
+
category: 'framework',
|
|
358
|
+
platforms: {
|
|
359
|
+
claude: 'full',
|
|
360
|
+
generic: 'full',
|
|
361
|
+
},
|
|
362
|
+
deployment: {
|
|
363
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
364
|
+
core: true,
|
|
365
|
+
},
|
|
366
|
+
metadata: {
|
|
367
|
+
type: 'skill',
|
|
368
|
+
triggerPhrases: ['remove framework', 'uninstall framework', 'remove addon', 'uninstall addon'],
|
|
369
|
+
commandHint: {
|
|
370
|
+
template: 'orchestration',
|
|
371
|
+
argumentHint: '<id>',
|
|
372
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
373
|
+
},
|
|
374
|
+
},
|
|
375
|
+
};
|
|
376
|
+
export const newBundleCommand = {
|
|
377
|
+
id: 'new-bundle',
|
|
378
|
+
type: 'skill',
|
|
379
|
+
name: 'New Bundle',
|
|
380
|
+
description: 'Scaffold a project-local bundle under the configured AIWG artifact root',
|
|
381
|
+
version: '1.0.0',
|
|
382
|
+
capabilities: ['cli', 'scaffolding', 'project-local'],
|
|
383
|
+
keywords: ['new', 'bundle', 'scaffold', 'project-local', 'extension', 'addon', 'framework', 'plugin', 'provider'],
|
|
384
|
+
category: 'scaffolding',
|
|
385
|
+
platforms: {
|
|
386
|
+
claude: 'full',
|
|
387
|
+
generic: 'full',
|
|
388
|
+
},
|
|
389
|
+
deployment: {
|
|
390
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
391
|
+
core: true,
|
|
392
|
+
},
|
|
393
|
+
metadata: {
|
|
394
|
+
type: 'skill',
|
|
395
|
+
triggerPhrases: ['new bundle', 'scaffold project-local', 'new extension', 'new addon', 'new provider'],
|
|
396
|
+
commandHint: {
|
|
397
|
+
template: 'utility',
|
|
398
|
+
argumentHint: '<name> [--type extension|addon|framework|plugin|provider] [--starter skill|rule|agent|minimal] [--description "..."]',
|
|
399
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
400
|
+
},
|
|
401
|
+
},
|
|
402
|
+
};
|
|
403
|
+
export const quickrefCommand = {
|
|
404
|
+
id: 'quickref',
|
|
405
|
+
type: 'skill',
|
|
406
|
+
name: 'Project Quickref',
|
|
407
|
+
description: 'Generate and deploy an always-visible project quickref from the configured AIWG artifact root',
|
|
408
|
+
version: '1.0.0',
|
|
409
|
+
capabilities: ['cli', 'project-local', 'quickref', 'kernel'],
|
|
410
|
+
keywords: ['project', 'quickref', 'orientation', 'kernel', 'generate', 'deploy'],
|
|
411
|
+
category: 'project',
|
|
412
|
+
platforms: { claude: 'full', generic: 'full' },
|
|
413
|
+
deployment: { pathTemplate: '.{platform}/commands/{id}.md', core: true },
|
|
414
|
+
metadata: {
|
|
415
|
+
type: 'skill',
|
|
416
|
+
triggerPhrases: ['generate project quickref', 'deploy project quickref'],
|
|
417
|
+
commandHint: {
|
|
418
|
+
template: 'utility',
|
|
419
|
+
argumentHint: 'generate|deploy --project [--provider <id>] [--dry-run]',
|
|
420
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
421
|
+
},
|
|
422
|
+
},
|
|
423
|
+
};
|
|
424
|
+
export const promoteCommand = {
|
|
425
|
+
id: 'promote',
|
|
426
|
+
type: 'skill',
|
|
427
|
+
name: 'Promote',
|
|
428
|
+
description: 'Graduate a project-local bundle to upstream or a corpus path',
|
|
429
|
+
version: '1.0.0',
|
|
430
|
+
capabilities: ['cli', 'framework', 'graduate', 'project-local'],
|
|
431
|
+
keywords: ['promote', 'graduate', 'upstream', 'corpus', 'project-local', 'bundle'],
|
|
432
|
+
category: 'framework',
|
|
433
|
+
platforms: {
|
|
434
|
+
claude: 'full',
|
|
435
|
+
generic: 'full',
|
|
436
|
+
},
|
|
437
|
+
deployment: {
|
|
438
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
439
|
+
core: true,
|
|
440
|
+
},
|
|
441
|
+
metadata: {
|
|
442
|
+
type: 'skill',
|
|
443
|
+
triggerPhrases: ['promote bundle', 'graduate to upstream', 'promote project-local'],
|
|
444
|
+
commandHint: {
|
|
445
|
+
template: 'orchestration',
|
|
446
|
+
argumentHint: '<name> [--to upstream|corpus <path>] [--dry-run] [--cleanup] [--force]',
|
|
447
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
448
|
+
},
|
|
449
|
+
},
|
|
450
|
+
};
|
|
451
|
+
export const installCommand = {
|
|
452
|
+
id: 'install',
|
|
453
|
+
type: 'skill',
|
|
454
|
+
name: 'Install Package',
|
|
455
|
+
description: 'Install a framework, addon, or extension from a Git repository',
|
|
456
|
+
version: '1.0.0',
|
|
457
|
+
capabilities: ['cli', 'framework', 'install', 'git'],
|
|
458
|
+
keywords: ['install', 'package', 'git', 'remote', 'addon', 'framework'],
|
|
459
|
+
category: 'framework',
|
|
460
|
+
platforms: {
|
|
461
|
+
claude: 'full',
|
|
462
|
+
generic: 'full',
|
|
463
|
+
},
|
|
464
|
+
deployment: {
|
|
465
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
466
|
+
core: true,
|
|
467
|
+
},
|
|
468
|
+
metadata: {
|
|
469
|
+
type: 'skill',
|
|
470
|
+
triggerPhrases: ['install package', 'install addon from git', 'install remote package'],
|
|
471
|
+
commandHint: {
|
|
472
|
+
template: 'orchestration',
|
|
473
|
+
argumentHint: '<ref>',
|
|
474
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
475
|
+
},
|
|
476
|
+
},
|
|
477
|
+
};
|
|
478
|
+
export const packagesCommand = {
|
|
479
|
+
id: 'packages',
|
|
480
|
+
type: 'skill',
|
|
481
|
+
name: 'Packages',
|
|
482
|
+
description: 'Manage installed remote packages (list, info, remove)',
|
|
483
|
+
version: '1.0.0',
|
|
484
|
+
capabilities: ['cli', 'framework', 'query', 'uninstall'],
|
|
485
|
+
keywords: ['packages', 'list', 'installed', 'remote', 'registry'],
|
|
486
|
+
category: 'framework',
|
|
487
|
+
platforms: {
|
|
488
|
+
claude: 'full',
|
|
489
|
+
generic: 'full',
|
|
490
|
+
},
|
|
491
|
+
deployment: {
|
|
492
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
493
|
+
core: true,
|
|
494
|
+
},
|
|
495
|
+
metadata: {
|
|
496
|
+
type: 'skill',
|
|
497
|
+
triggerPhrases: ['list packages', 'show packages', 'package info', 'remove package'],
|
|
498
|
+
commandHint: {
|
|
499
|
+
template: 'utility',
|
|
500
|
+
argumentHint: '[list|info|remove]',
|
|
501
|
+
allowedTools: ['Read'],
|
|
502
|
+
},
|
|
503
|
+
},
|
|
504
|
+
};
|
|
505
|
+
export const marketplaceCommand = {
|
|
506
|
+
id: 'marketplace',
|
|
507
|
+
type: 'skill',
|
|
508
|
+
name: 'Marketplace',
|
|
509
|
+
description: 'Search and manage marketplace packages (search, list)',
|
|
510
|
+
version: '1.0.0',
|
|
511
|
+
capabilities: ['cli', 'marketplace', 'search', 'discovery'],
|
|
512
|
+
keywords: ['marketplace', 'search', 'packages', 'clawhub', 'openclaw', 'discover'],
|
|
513
|
+
category: 'framework',
|
|
514
|
+
platforms: {
|
|
515
|
+
claude: 'full',
|
|
516
|
+
generic: 'full',
|
|
517
|
+
},
|
|
518
|
+
deployment: {
|
|
519
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
520
|
+
core: true,
|
|
521
|
+
},
|
|
522
|
+
metadata: {
|
|
523
|
+
type: 'skill',
|
|
524
|
+
triggerPhrases: [
|
|
525
|
+
'marketplace search',
|
|
526
|
+
'search marketplace',
|
|
527
|
+
'marketplace list',
|
|
528
|
+
'find packages',
|
|
529
|
+
'discover skills',
|
|
530
|
+
],
|
|
531
|
+
commandHint: {
|
|
532
|
+
template: 'utility',
|
|
533
|
+
argumentHint: '[search|list]',
|
|
534
|
+
allowedTools: ['Read'],
|
|
535
|
+
},
|
|
536
|
+
},
|
|
537
|
+
};
|
|
538
|
+
export const initCommand = {
|
|
539
|
+
id: 'init',
|
|
540
|
+
type: 'skill',
|
|
541
|
+
name: 'Init',
|
|
542
|
+
description: 'Initialise project with .aiwg/aiwg.config (provider registry + scripts)',
|
|
543
|
+
version: '1.0.0',
|
|
544
|
+
capabilities: ['cli', 'project', 'config', 'setup'],
|
|
545
|
+
keywords: ['init', 'setup', 'config', 'providers', 'wizard'],
|
|
546
|
+
category: 'project',
|
|
547
|
+
platforms: {
|
|
548
|
+
claude: 'full',
|
|
549
|
+
generic: 'full',
|
|
550
|
+
},
|
|
551
|
+
deployment: {
|
|
552
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
553
|
+
core: true,
|
|
554
|
+
},
|
|
555
|
+
metadata: {
|
|
556
|
+
type: 'skill',
|
|
557
|
+
triggerPhrases: ['init project', 'setup project config', 'configure providers'],
|
|
558
|
+
commandHint: {
|
|
559
|
+
template: 'utility',
|
|
560
|
+
allowedTools: ['Read', 'Write'],
|
|
561
|
+
},
|
|
562
|
+
},
|
|
563
|
+
};
|
|
564
|
+
export const setupCommand = {
|
|
565
|
+
id: 'setup',
|
|
566
|
+
type: 'skill',
|
|
567
|
+
name: 'Setup',
|
|
568
|
+
description: 'CLI helper for agent-led project setup policy previews and writes',
|
|
569
|
+
version: '1.0.0',
|
|
570
|
+
capabilities: ['cli', 'project', 'config', 'setup', 'issues', 'delivery-policy'],
|
|
571
|
+
keywords: ['setup', 'agent-led setup', 'repo policy', 'tracker', 'delivery', 'signing', 'remotes'],
|
|
572
|
+
category: 'project',
|
|
573
|
+
platforms: {
|
|
574
|
+
claude: 'full',
|
|
575
|
+
generic: 'full',
|
|
576
|
+
},
|
|
577
|
+
deployment: {
|
|
578
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
579
|
+
core: true,
|
|
580
|
+
},
|
|
581
|
+
metadata: {
|
|
582
|
+
type: 'skill',
|
|
583
|
+
triggerPhrases: [
|
|
584
|
+
'setup project',
|
|
585
|
+
'configure repo policy',
|
|
586
|
+
'configure issue tracker',
|
|
587
|
+
'configure delivery policy',
|
|
588
|
+
],
|
|
589
|
+
commandHint: {
|
|
590
|
+
template: 'utility',
|
|
591
|
+
argumentHint: 'project [--yes] [--dry-run] [--target <dir>]',
|
|
592
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
593
|
+
},
|
|
594
|
+
},
|
|
595
|
+
};
|
|
596
|
+
export const issueCommand = {
|
|
597
|
+
id: 'issue',
|
|
598
|
+
type: 'skill',
|
|
599
|
+
name: 'Issue',
|
|
600
|
+
description: 'Manage local project issues under .aiwg/issues/',
|
|
601
|
+
version: '1.0.0',
|
|
602
|
+
capabilities: ['cli', 'project', 'issues', 'local-provider'],
|
|
603
|
+
keywords: ['issue', 'issues', 'local', 'tracker', 'tickets'],
|
|
604
|
+
category: 'project',
|
|
605
|
+
platforms: {
|
|
606
|
+
claude: 'full',
|
|
607
|
+
generic: 'full',
|
|
608
|
+
},
|
|
609
|
+
deployment: {
|
|
610
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
611
|
+
core: true,
|
|
612
|
+
},
|
|
613
|
+
metadata: {
|
|
614
|
+
type: 'skill',
|
|
615
|
+
triggerPhrases: ['local issues', 'issue init', 'issue list', 'issue create'],
|
|
616
|
+
commandHint: {
|
|
617
|
+
template: 'utility',
|
|
618
|
+
argumentHint: '<init|new|list|show|comment|close|index> [--provider local]',
|
|
619
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
620
|
+
},
|
|
621
|
+
},
|
|
622
|
+
};
|
|
623
|
+
export const issueAuditCommand = {
|
|
624
|
+
id: 'issue-audit',
|
|
625
|
+
type: 'skill',
|
|
626
|
+
name: 'Issue Audit',
|
|
627
|
+
description: 'Audit issue backlogs; local provider mode reads .aiwg/issues/',
|
|
628
|
+
version: '1.0.0',
|
|
629
|
+
capabilities: ['cli', 'project', 'issues', 'audit', 'local-provider'],
|
|
630
|
+
keywords: ['issue-audit', 'audit-issues', 'triage', 'backlog', 'local'],
|
|
631
|
+
category: 'project',
|
|
632
|
+
platforms: {
|
|
633
|
+
claude: 'full',
|
|
634
|
+
generic: 'full',
|
|
635
|
+
},
|
|
636
|
+
deployment: {
|
|
637
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
638
|
+
core: true,
|
|
639
|
+
},
|
|
640
|
+
metadata: {
|
|
641
|
+
type: 'skill',
|
|
642
|
+
triggerPhrases: ['issue-audit', 'audit open issues', 'triage issue backlog'],
|
|
643
|
+
commandHint: {
|
|
644
|
+
template: 'utility',
|
|
645
|
+
argumentHint: '[--provider local] [--filter "status:open label:bug"] [--limit N]',
|
|
646
|
+
allowedTools: ['Read', 'Bash'],
|
|
647
|
+
},
|
|
648
|
+
},
|
|
649
|
+
};
|
|
650
|
+
export const addressIssuesCommand = {
|
|
651
|
+
id: 'address-issues',
|
|
652
|
+
type: 'skill',
|
|
653
|
+
name: 'Address Issues',
|
|
654
|
+
description: 'Address selected issues via the address-issues skill (auto-detects the project tracker)',
|
|
655
|
+
version: '1.1.0',
|
|
656
|
+
capabilities: ['project', 'issues', 'agent-loop'],
|
|
657
|
+
keywords: ['address-issues', 'fix issues', 'issue loop'],
|
|
658
|
+
category: 'project',
|
|
659
|
+
platforms: {
|
|
660
|
+
claude: 'full',
|
|
661
|
+
generic: 'full',
|
|
662
|
+
},
|
|
663
|
+
deployment: {
|
|
664
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
665
|
+
core: true,
|
|
666
|
+
},
|
|
667
|
+
metadata: {
|
|
668
|
+
type: 'skill',
|
|
669
|
+
triggerPhrases: ['address issues', 'fix open issues', 'work issue backlog'],
|
|
670
|
+
commandHint: {
|
|
671
|
+
template: 'utility',
|
|
672
|
+
argumentHint: '<issue-id...> [--all-open] [--limit N] [--guidance "..."]',
|
|
673
|
+
allowedTools: ['Read', 'Write', 'Edit', 'Bash'],
|
|
674
|
+
cliDisabled: true,
|
|
675
|
+
},
|
|
676
|
+
},
|
|
677
|
+
};
|
|
678
|
+
export const runCommand = {
|
|
679
|
+
id: 'run',
|
|
680
|
+
type: 'skill',
|
|
681
|
+
name: 'Run Script or Skill',
|
|
682
|
+
description: 'Run a user-defined script from .aiwg/aiwg.config, or execute a script-bearing skill via `aiwg run skill <name>` (#1227)',
|
|
683
|
+
version: '1.1.0',
|
|
684
|
+
capabilities: ['cli', 'utility', 'scripts', 'skills'],
|
|
685
|
+
keywords: ['run', 'script', 'execute', 'npm-run', 'skill'],
|
|
686
|
+
category: 'utility',
|
|
687
|
+
platforms: {
|
|
688
|
+
claude: 'full',
|
|
689
|
+
generic: 'full',
|
|
690
|
+
},
|
|
691
|
+
deployment: {
|
|
692
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
693
|
+
core: true,
|
|
694
|
+
},
|
|
695
|
+
metadata: {
|
|
696
|
+
type: 'skill',
|
|
697
|
+
triggerPhrases: ['run script', 'aiwg run', 'list scripts', 'run skill', 'aiwg run skill'],
|
|
698
|
+
commandHint: {
|
|
699
|
+
template: 'utility',
|
|
700
|
+
argumentHint: '[script-name] | skill <name> [-- <args...>]',
|
|
701
|
+
allowedTools: ['Read', 'Bash'],
|
|
702
|
+
},
|
|
703
|
+
},
|
|
704
|
+
};
|
|
705
|
+
// Project Setup Commands
|
|
706
|
+
export const newCommand = {
|
|
707
|
+
id: 'new',
|
|
708
|
+
type: 'skill',
|
|
709
|
+
name: 'New Project',
|
|
710
|
+
description: 'Scaffold new project with .aiwg/ directory and templates',
|
|
711
|
+
version: '1.0.0',
|
|
712
|
+
capabilities: ['cli', 'project', 'scaffolding'],
|
|
713
|
+
keywords: ['new', 'project', 'create', 'init', 'scaffold'],
|
|
714
|
+
category: 'project',
|
|
715
|
+
platforms: {
|
|
716
|
+
claude: 'full',
|
|
717
|
+
generic: 'full',
|
|
718
|
+
},
|
|
719
|
+
deployment: {
|
|
720
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
721
|
+
core: true,
|
|
722
|
+
},
|
|
723
|
+
metadata: {
|
|
724
|
+
type: 'skill',
|
|
725
|
+
triggerPhrases: ['new project', 'create project', 'init project', 'scaffold project'],
|
|
726
|
+
commandHint: {
|
|
727
|
+
template: 'orchestration',
|
|
728
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
729
|
+
executionSteps: [
|
|
730
|
+
'Create .aiwg/ directory structure',
|
|
731
|
+
'Deploy SDLC templates',
|
|
732
|
+
'Deploy agents',
|
|
733
|
+
'Initialize framework registry',
|
|
734
|
+
],
|
|
735
|
+
},
|
|
736
|
+
},
|
|
737
|
+
};
|
|
738
|
+
// Serve Command
|
|
739
|
+
export const serveCommand = {
|
|
740
|
+
id: 'serve',
|
|
741
|
+
type: 'skill',
|
|
742
|
+
name: 'Serve',
|
|
743
|
+
description: 'Start local HTTP dashboard server with WebSocket PTY bridge',
|
|
744
|
+
version: '1.0.0',
|
|
745
|
+
capabilities: ['cli', 'web', 'dashboard'],
|
|
746
|
+
keywords: ['serve', 'dashboard', 'web', 'server', 'browser'],
|
|
747
|
+
category: 'project',
|
|
748
|
+
platforms: {
|
|
749
|
+
claude: 'full',
|
|
750
|
+
generic: 'full',
|
|
751
|
+
},
|
|
752
|
+
deployment: {
|
|
753
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
754
|
+
core: true,
|
|
755
|
+
},
|
|
756
|
+
metadata: {
|
|
757
|
+
type: 'skill',
|
|
758
|
+
triggerPhrases: ['serve dashboard', 'start server', 'open dashboard', 'aiwg serve'],
|
|
759
|
+
commandHint: {
|
|
760
|
+
template: 'utility',
|
|
761
|
+
argumentHint: '[--port <n>] [--bind <host>] [--no-open] [--read-only]',
|
|
762
|
+
allowedTools: ['Bash'],
|
|
763
|
+
},
|
|
764
|
+
},
|
|
765
|
+
};
|
|
766
|
+
// Local Executor Command (#1181)
|
|
767
|
+
export const localExecutorCommand = {
|
|
768
|
+
id: 'local-executor',
|
|
769
|
+
type: 'skill',
|
|
770
|
+
name: 'Local Executor',
|
|
771
|
+
description: 'Start a no-sandbox host-process executor (isolation:none, Core+HITL conformance) registered with aiwg serve',
|
|
772
|
+
version: '1.0.0',
|
|
773
|
+
capabilities: ['cli', 'executor', 'missions', 'hitl'],
|
|
774
|
+
keywords: ['local-executor', 'executor', 'missions', 'dispatch', 'hitl', 'no-sandbox'],
|
|
775
|
+
category: 'project',
|
|
776
|
+
platforms: {
|
|
777
|
+
claude: 'full',
|
|
778
|
+
generic: 'full',
|
|
779
|
+
},
|
|
780
|
+
deployment: {
|
|
781
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
782
|
+
core: false,
|
|
783
|
+
},
|
|
784
|
+
metadata: {
|
|
785
|
+
type: 'skill',
|
|
786
|
+
triggerPhrases: [
|
|
787
|
+
'local executor',
|
|
788
|
+
'start executor',
|
|
789
|
+
'aiwg local-executor serve',
|
|
790
|
+
'no-sandbox executor',
|
|
791
|
+
],
|
|
792
|
+
commandHint: {
|
|
793
|
+
template: 'utility',
|
|
794
|
+
argumentHint: 'serve [--port <n>] [--bind <host>] [--aiwg-serve <url>] [--max-concurrency <n>] [--executor-id <uuid>]',
|
|
795
|
+
allowedTools: ['Bash'],
|
|
796
|
+
},
|
|
797
|
+
},
|
|
798
|
+
};
|
|
799
|
+
export const localExecutorServeCommand = {
|
|
800
|
+
id: 'local-executor-serve',
|
|
801
|
+
type: 'skill',
|
|
802
|
+
name: 'Local Executor Serve',
|
|
803
|
+
description: 'Serve subcommand for the local executor — boots DaemonSupervisor + ExecutorShim and registers with aiwg serve',
|
|
804
|
+
version: '1.0.0',
|
|
805
|
+
capabilities: ['cli', 'executor', 'serve'],
|
|
806
|
+
keywords: ['local-executor-serve', 'executor', 'serve'],
|
|
807
|
+
category: 'project',
|
|
808
|
+
platforms: {
|
|
809
|
+
claude: 'full',
|
|
810
|
+
generic: 'full',
|
|
811
|
+
},
|
|
812
|
+
deployment: {
|
|
813
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
814
|
+
core: false,
|
|
815
|
+
},
|
|
816
|
+
metadata: {
|
|
817
|
+
type: 'skill',
|
|
818
|
+
triggerPhrases: ['aiwg local-executor serve'],
|
|
819
|
+
commandHint: {
|
|
820
|
+
template: 'utility',
|
|
821
|
+
argumentHint: '[--port <n>] [--bind <host>] [--aiwg-serve <url>] [--max-concurrency <n>]',
|
|
822
|
+
allowedTools: ['Bash'],
|
|
823
|
+
},
|
|
824
|
+
},
|
|
825
|
+
};
|
|
826
|
+
// Diagnose Command (#925)
|
|
827
|
+
export const diagnoseCommand = {
|
|
828
|
+
id: 'diagnose',
|
|
829
|
+
type: 'skill',
|
|
830
|
+
name: 'Diagnose',
|
|
831
|
+
description: 'Produce a shareable support bundle (logs + env + config) for bug reports',
|
|
832
|
+
version: '1.0.0',
|
|
833
|
+
capabilities: ['cli', 'diagnostics', 'troubleshooting', 'support', 'bundle'],
|
|
834
|
+
keywords: ['diagnose', 'troubleshoot', 'bundle', 'support', 'bug-report', 'logs'],
|
|
835
|
+
category: 'maintenance',
|
|
836
|
+
platforms: {
|
|
837
|
+
claude: 'full',
|
|
838
|
+
generic: 'full',
|
|
839
|
+
},
|
|
840
|
+
deployment: {
|
|
841
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
842
|
+
core: true,
|
|
843
|
+
},
|
|
844
|
+
metadata: {
|
|
845
|
+
type: 'skill',
|
|
846
|
+
triggerPhrases: ['diagnose', 'collect logs', 'bug report', 'support bundle', 'what is wrong'],
|
|
847
|
+
commandHint: {
|
|
848
|
+
template: 'utility',
|
|
849
|
+
argumentHint: '[--stdout] [--include-secrets]',
|
|
850
|
+
allowedTools: ['Bash'],
|
|
851
|
+
},
|
|
852
|
+
},
|
|
853
|
+
};
|
|
854
|
+
// Feedback Command (#885)
|
|
855
|
+
export const feedbackCommand = {
|
|
856
|
+
id: 'feedback',
|
|
857
|
+
type: 'skill',
|
|
858
|
+
name: 'Feedback',
|
|
859
|
+
description: 'Submit a bug report, feature request, or doc gap to the AIWG GitHub repo (auto-prefilled with system context)',
|
|
860
|
+
version: '1.0.0',
|
|
861
|
+
capabilities: ['cli', 'feedback', 'bug-report', 'feature-request', 'github-integration'],
|
|
862
|
+
keywords: ['feedback', 'bug', 'report', 'issue', 'feature-request', 'gh', 'github'],
|
|
863
|
+
category: 'maintenance',
|
|
864
|
+
platforms: {
|
|
865
|
+
claude: 'full',
|
|
866
|
+
generic: 'full',
|
|
867
|
+
},
|
|
868
|
+
deployment: {
|
|
869
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
870
|
+
core: true,
|
|
871
|
+
},
|
|
872
|
+
metadata: {
|
|
873
|
+
type: 'skill',
|
|
874
|
+
triggerPhrases: ['report a bug', 'feature request', 'submit feedback', 'file an issue'],
|
|
875
|
+
commandHint: {
|
|
876
|
+
template: 'utility',
|
|
877
|
+
argumentHint: '[--type bug|feature|doc] [--title T --body B] [--no-context]',
|
|
878
|
+
allowedTools: ['Bash'],
|
|
879
|
+
},
|
|
880
|
+
},
|
|
881
|
+
};
|
|
882
|
+
// Session Command (#884)
|
|
883
|
+
export const sessionCommand = {
|
|
884
|
+
id: 'session',
|
|
885
|
+
type: 'skill',
|
|
886
|
+
name: 'Session',
|
|
887
|
+
description: 'Start an agentic session with pre-flight checks (version, doctor, deployment, optional MCP inject) and provider launch',
|
|
888
|
+
version: '1.0.0',
|
|
889
|
+
capabilities: ['cli', 'session', 'pre-flight', 'provider-launch', 'mcp-inject'],
|
|
890
|
+
keywords: ['session', 'start', 'launch', 'pre-flight', 'mcp', 'provider'],
|
|
891
|
+
category: 'project',
|
|
892
|
+
platforms: {
|
|
893
|
+
claude: 'full',
|
|
894
|
+
generic: 'full',
|
|
895
|
+
},
|
|
896
|
+
deployment: {
|
|
897
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
898
|
+
core: true,
|
|
899
|
+
},
|
|
900
|
+
metadata: {
|
|
901
|
+
type: 'skill',
|
|
902
|
+
triggerPhrases: ['start session', 'launch session', 'session mcp', 'agentic session'],
|
|
903
|
+
commandHint: {
|
|
904
|
+
template: 'utility',
|
|
905
|
+
argumentHint: '[mcp] [--provider P] [--no-repair] [--profile name]',
|
|
906
|
+
allowedTools: ['Bash'],
|
|
907
|
+
},
|
|
908
|
+
},
|
|
909
|
+
};
|
|
910
|
+
// Sandbox Management Commands (#917)
|
|
911
|
+
export const sandboxCommand = {
|
|
912
|
+
id: 'sandbox',
|
|
913
|
+
type: 'skill',
|
|
914
|
+
name: 'Sandbox',
|
|
915
|
+
description: 'Sandbox agent management — alias, resolve, and list agent identities',
|
|
916
|
+
version: '1.0.0',
|
|
917
|
+
capabilities: ['cli', 'sandbox', 'agent-identity', 'agent-routing'],
|
|
918
|
+
keywords: ['sandbox', 'alias', 'agent', 'identity', 'resolve', 'logical-name'],
|
|
919
|
+
category: 'project',
|
|
920
|
+
platforms: {
|
|
921
|
+
claude: 'full',
|
|
922
|
+
generic: 'full',
|
|
923
|
+
},
|
|
924
|
+
deployment: {
|
|
925
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
926
|
+
core: true,
|
|
927
|
+
},
|
|
928
|
+
metadata: {
|
|
929
|
+
type: 'skill',
|
|
930
|
+
triggerPhrases: ['sandbox alias', 'alias agent', 'sandbox resolve', 'agent identities'],
|
|
931
|
+
commandHint: {
|
|
932
|
+
template: 'utility',
|
|
933
|
+
argumentHint: 'alias|resolve|identities [options]',
|
|
934
|
+
allowedTools: ['Bash'],
|
|
935
|
+
},
|
|
936
|
+
},
|
|
937
|
+
};
|
|
938
|
+
// Workspace Management Commands
|
|
939
|
+
export const statusCommand = {
|
|
940
|
+
id: 'status',
|
|
941
|
+
type: 'skill',
|
|
942
|
+
name: 'Status',
|
|
943
|
+
description: 'Show workspace health, installed frameworks, and artifacts',
|
|
944
|
+
version: '1.0.0',
|
|
945
|
+
capabilities: ['cli', 'workspace', 'status'],
|
|
946
|
+
keywords: ['status', 'workspace', 'health', 'info'],
|
|
947
|
+
category: 'workspace',
|
|
948
|
+
platforms: {
|
|
949
|
+
claude: 'full',
|
|
950
|
+
generic: 'full',
|
|
951
|
+
},
|
|
952
|
+
deployment: {
|
|
953
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
954
|
+
core: true,
|
|
955
|
+
},
|
|
956
|
+
metadata: {
|
|
957
|
+
type: 'skill',
|
|
958
|
+
triggerPhrases: ['status', 'workspace status', 'show health', 'project status'],
|
|
959
|
+
commandHint: {
|
|
960
|
+
template: 'utility',
|
|
961
|
+
allowedTools: ['Read', 'Bash'],
|
|
962
|
+
},
|
|
963
|
+
},
|
|
964
|
+
};
|
|
965
|
+
export const wizardCommand = {
|
|
966
|
+
id: 'wizard',
|
|
967
|
+
type: 'skill',
|
|
968
|
+
name: 'Onboarding Wizard',
|
|
969
|
+
description: 'Guide first-run provider, project, framework, deploy, and verification steps',
|
|
970
|
+
version: '1.0.0',
|
|
971
|
+
capabilities: ['cli', 'workspace', 'onboarding', 'wizard', 'verification'],
|
|
972
|
+
keywords: ['wizard', 'onboarding', 'first-run', 'setup', 'verify'],
|
|
973
|
+
category: 'workspace',
|
|
974
|
+
platforms: {
|
|
975
|
+
claude: 'full',
|
|
976
|
+
generic: 'full',
|
|
977
|
+
},
|
|
978
|
+
deployment: {
|
|
979
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
980
|
+
core: true,
|
|
981
|
+
},
|
|
982
|
+
metadata: {
|
|
983
|
+
type: 'skill',
|
|
984
|
+
triggerPhrases: ['wizard', 'onboarding wizard', 'first run', 'guided setup'],
|
|
985
|
+
commandHint: {
|
|
986
|
+
template: 'utility',
|
|
987
|
+
argumentHint: '[--goal <text>] [--profile <preset>] [--provider <name>] [--framework <name>] [--non-interactive] [--dry-run] [--json]',
|
|
988
|
+
allowedTools: ['Read', 'Bash'],
|
|
989
|
+
},
|
|
990
|
+
},
|
|
991
|
+
};
|
|
992
|
+
export const migrateWorkspaceCommand = {
|
|
993
|
+
id: 'migrate-workspace',
|
|
994
|
+
type: 'skill',
|
|
995
|
+
name: 'Migrate Workspace',
|
|
996
|
+
description: 'Upgrade .aiwg/ structure to support multi-framework layout',
|
|
997
|
+
version: '1.0.0',
|
|
998
|
+
capabilities: ['cli', 'workspace', 'migration'],
|
|
999
|
+
keywords: ['migrate', 'workspace', 'migration', 'upgrade'],
|
|
1000
|
+
category: 'workspace',
|
|
1001
|
+
platforms: {
|
|
1002
|
+
claude: 'full',
|
|
1003
|
+
generic: 'full',
|
|
1004
|
+
},
|
|
1005
|
+
deployment: {
|
|
1006
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1007
|
+
core: true,
|
|
1008
|
+
},
|
|
1009
|
+
metadata: {
|
|
1010
|
+
type: 'skill',
|
|
1011
|
+
triggerPhrases: ['migrate workspace', 'upgrade workspace', 'migrate aiwg directory'],
|
|
1012
|
+
commandHint: {
|
|
1013
|
+
template: 'orchestration',
|
|
1014
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
1015
|
+
},
|
|
1016
|
+
},
|
|
1017
|
+
};
|
|
1018
|
+
export const rollbackWorkspaceCommand = {
|
|
1019
|
+
id: 'rollback-workspace',
|
|
1020
|
+
type: 'skill',
|
|
1021
|
+
name: 'Rollback Workspace',
|
|
1022
|
+
description: 'Restore workspace to pre-migration state from backup',
|
|
1023
|
+
version: '1.0.0',
|
|
1024
|
+
capabilities: ['cli', 'workspace', 'rollback'],
|
|
1025
|
+
keywords: ['rollback', 'workspace', 'restore', 'backup'],
|
|
1026
|
+
category: 'workspace',
|
|
1027
|
+
platforms: {
|
|
1028
|
+
claude: 'full',
|
|
1029
|
+
generic: 'full',
|
|
1030
|
+
},
|
|
1031
|
+
deployment: {
|
|
1032
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1033
|
+
core: true,
|
|
1034
|
+
},
|
|
1035
|
+
metadata: {
|
|
1036
|
+
type: 'skill',
|
|
1037
|
+
triggerPhrases: ['rollback workspace', 'restore workspace', 'undo migration', 'workspace backup'],
|
|
1038
|
+
commandHint: {
|
|
1039
|
+
template: 'orchestration',
|
|
1040
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
1041
|
+
},
|
|
1042
|
+
},
|
|
1043
|
+
};
|
|
1044
|
+
// MCP Commands
|
|
1045
|
+
export const mcpCommand = {
|
|
1046
|
+
id: 'aiwg-mcp-server',
|
|
1047
|
+
type: 'skill',
|
|
1048
|
+
name: 'AIWG MCP Server',
|
|
1049
|
+
description: 'AIWG MCP server operations (serve, install, add, remove, update, list, inject, info)',
|
|
1050
|
+
version: '1.0.0',
|
|
1051
|
+
capabilities: ['cli', 'mcp', 'server'],
|
|
1052
|
+
keywords: ['mcp', 'server', 'protocol', 'aiwg'],
|
|
1053
|
+
category: 'mcp',
|
|
1054
|
+
platforms: {
|
|
1055
|
+
claude: 'full',
|
|
1056
|
+
generic: 'full',
|
|
1057
|
+
},
|
|
1058
|
+
deployment: {
|
|
1059
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1060
|
+
core: true,
|
|
1061
|
+
},
|
|
1062
|
+
metadata: {
|
|
1063
|
+
type: 'skill',
|
|
1064
|
+
triggerPhrases: ['aiwg mcp', 'aiwg mcp server', 'start aiwg mcp', 'aiwg mcp serve', 'aiwg mcp install'],
|
|
1065
|
+
commandHint: {
|
|
1066
|
+
template: 'orchestration',
|
|
1067
|
+
argumentHint: '<subcommand>',
|
|
1068
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
1069
|
+
},
|
|
1070
|
+
},
|
|
1071
|
+
};
|
|
1072
|
+
// Catalog Commands
|
|
1073
|
+
export const catalogCommand = {
|
|
1074
|
+
id: 'catalog',
|
|
1075
|
+
type: 'skill',
|
|
1076
|
+
name: 'Catalog',
|
|
1077
|
+
description: 'Model catalog operations (list, info, search)',
|
|
1078
|
+
version: '1.0.0',
|
|
1079
|
+
capabilities: ['cli', 'catalog', 'models'],
|
|
1080
|
+
keywords: ['catalog', 'models', 'search', 'info'],
|
|
1081
|
+
category: 'catalog',
|
|
1082
|
+
platforms: {
|
|
1083
|
+
claude: 'full',
|
|
1084
|
+
generic: 'full',
|
|
1085
|
+
},
|
|
1086
|
+
deployment: {
|
|
1087
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1088
|
+
core: true,
|
|
1089
|
+
},
|
|
1090
|
+
metadata: {
|
|
1091
|
+
type: 'skill',
|
|
1092
|
+
triggerPhrases: ['catalog', 'model catalog', 'list models', 'search catalog'],
|
|
1093
|
+
commandHint: {
|
|
1094
|
+
template: 'utility',
|
|
1095
|
+
argumentHint: '<subcommand>',
|
|
1096
|
+
allowedTools: ['Read'],
|
|
1097
|
+
},
|
|
1098
|
+
},
|
|
1099
|
+
};
|
|
1100
|
+
// Skills Commands
|
|
1101
|
+
export const skillsCommand = {
|
|
1102
|
+
id: 'skills',
|
|
1103
|
+
type: 'skill',
|
|
1104
|
+
name: 'Skills Registry',
|
|
1105
|
+
description: 'Skill registry commands (search, info, list, install, publish)',
|
|
1106
|
+
version: '1.0.0',
|
|
1107
|
+
capabilities: ['cli', 'skills', 'registry', 'search', 'install', 'publish'],
|
|
1108
|
+
keywords: ['skills', 'registry', 'search', 'install', 'publish', 'clawhub', 'openclaw'],
|
|
1109
|
+
category: 'catalog',
|
|
1110
|
+
platforms: {
|
|
1111
|
+
claude: 'full',
|
|
1112
|
+
generic: 'full',
|
|
1113
|
+
},
|
|
1114
|
+
deployment: {
|
|
1115
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1116
|
+
core: true,
|
|
1117
|
+
},
|
|
1118
|
+
metadata: {
|
|
1119
|
+
type: 'skill',
|
|
1120
|
+
triggerPhrases: ['skills', 'skills registry', 'search skills', 'install skill', 'publish skill'],
|
|
1121
|
+
commandHint: {
|
|
1122
|
+
template: 'utility',
|
|
1123
|
+
argumentHint: '<subcommand>',
|
|
1124
|
+
allowedTools: ['Read', 'Bash'],
|
|
1125
|
+
},
|
|
1126
|
+
},
|
|
1127
|
+
};
|
|
1128
|
+
// Index Commands
|
|
1129
|
+
export const indexCommand = {
|
|
1130
|
+
id: 'index',
|
|
1131
|
+
type: 'skill',
|
|
1132
|
+
name: 'Artifact Index',
|
|
1133
|
+
description: 'Artifact index commands (build, query, deps, stats)',
|
|
1134
|
+
version: '1.0.0',
|
|
1135
|
+
capabilities: ['cli', 'index', 'artifacts', 'search', 'dependencies'],
|
|
1136
|
+
keywords: ['index', 'artifacts', 'query', 'deps', 'dependencies', 'stats', 'search'],
|
|
1137
|
+
category: 'index',
|
|
1138
|
+
platforms: {
|
|
1139
|
+
claude: 'full',
|
|
1140
|
+
generic: 'full',
|
|
1141
|
+
},
|
|
1142
|
+
deployment: {
|
|
1143
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1144
|
+
core: true,
|
|
1145
|
+
},
|
|
1146
|
+
metadata: {
|
|
1147
|
+
type: 'skill',
|
|
1148
|
+
triggerPhrases: ['index', 'build index', 'query index', 'artifact index', 'index stats'],
|
|
1149
|
+
commandHint: {
|
|
1150
|
+
template: 'utility',
|
|
1151
|
+
argumentHint: '<subcommand> [options]',
|
|
1152
|
+
allowedTools: ['Read', 'Glob', 'Grep'],
|
|
1153
|
+
},
|
|
1154
|
+
},
|
|
1155
|
+
};
|
|
1156
|
+
export const artifactsCommand = {
|
|
1157
|
+
id: 'artifacts',
|
|
1158
|
+
type: 'skill',
|
|
1159
|
+
name: 'Project Artifacts',
|
|
1160
|
+
description: 'Move or inspect the configured project AIWG artifact root',
|
|
1161
|
+
version: '1.0.0',
|
|
1162
|
+
capabilities: ['cli', 'artifacts', 'relocation', 'configuration', 'index'],
|
|
1163
|
+
keywords: ['artifacts', 'aiwg artifacts', 'move .aiwg', 'relocate .aiwg', 'rename .aiwg', 'artifact root', 'AIWG_ARTIFACTS_PATH'],
|
|
1164
|
+
category: 'index',
|
|
1165
|
+
platforms: {
|
|
1166
|
+
claude: 'full',
|
|
1167
|
+
generic: 'full',
|
|
1168
|
+
},
|
|
1169
|
+
deployment: {
|
|
1170
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1171
|
+
core: true,
|
|
1172
|
+
},
|
|
1173
|
+
metadata: {
|
|
1174
|
+
type: 'skill',
|
|
1175
|
+
triggerPhrases: ['move .aiwg', 'relocate .aiwg', 'rename .aiwg', 'move aiwg artifacts', 'artifact root'],
|
|
1176
|
+
commandHint: {
|
|
1177
|
+
template: 'utility',
|
|
1178
|
+
argumentHint: 'move --to <path> [--from <path>] [--dry-run]',
|
|
1179
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
1180
|
+
},
|
|
1181
|
+
},
|
|
1182
|
+
};
|
|
1183
|
+
// Research-corpus tools — radar/freshness subsystem (#1498)
|
|
1184
|
+
export const corpusCommand = {
|
|
1185
|
+
id: 'corpus',
|
|
1186
|
+
type: 'skill',
|
|
1187
|
+
name: 'Research Corpus Tools',
|
|
1188
|
+
description: 'Research-corpus tools (radar-init, radar-status, radar-report)',
|
|
1189
|
+
version: '1.0.0',
|
|
1190
|
+
capabilities: ['cli', 'research', 'corpus', 'radar', 'freshness', 'profiles', 'discovery'],
|
|
1191
|
+
keywords: ['corpus', 'radar', 'freshness', 'staleness', 'radar-init', 'radar-status', 'radar-report', 'profile-status', 'profile-generate', 'profile-metrics', 'profile-temporal', 'profile-communities', 'h-index', 'PageRank', 'CD-index', 'centrality', 'community detection', 'hot streak', 'funder-network', 'funder analytics', 'co-funding', 'novelty bias', 'curator-status', 'curator-init', 'discovery-log', 'PROF-S', 'source tracking', 'discovery provenance', 'stale profiles', 'hub authors', 'refresh cadence', 'GRADE trajectory'],
|
|
1192
|
+
category: 'index',
|
|
1193
|
+
platforms: {
|
|
1194
|
+
claude: 'full',
|
|
1195
|
+
generic: 'full',
|
|
1196
|
+
},
|
|
1197
|
+
deployment: {
|
|
1198
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1199
|
+
core: true,
|
|
1200
|
+
},
|
|
1201
|
+
metadata: {
|
|
1202
|
+
type: 'skill',
|
|
1203
|
+
triggerPhrases: ['radar', 'radar status', 'radar report', 'scaffold radar', 'stale radars', 'corpus freshness', 'stale profiles', 'profile status', 'curator yield', 'discovery source', 'log discovery'],
|
|
1204
|
+
commandHint: {
|
|
1205
|
+
template: 'utility',
|
|
1206
|
+
argumentHint: '<radar-*|profile-*|curator-*|discovery-log|funder-network> [options]',
|
|
1207
|
+
allowedTools: ['Read', 'Glob', 'Grep', 'Write'],
|
|
1208
|
+
},
|
|
1209
|
+
},
|
|
1210
|
+
};
|
|
1211
|
+
export const researchQueryCommand = {
|
|
1212
|
+
id: 'research-query',
|
|
1213
|
+
type: 'skill',
|
|
1214
|
+
name: 'Research Query',
|
|
1215
|
+
description: 'Select local or Fortemi Core-backed research sources for a question',
|
|
1216
|
+
version: '1.0.0',
|
|
1217
|
+
capabilities: ['cli', 'research', 'corpus', 'query', 'citations', 'fortemi-core'],
|
|
1218
|
+
keywords: ['research-query', 'research query', 'corpus query', 'sources-only', 'GRADE', 'REF', 'Fortemi Core'],
|
|
1219
|
+
category: 'index',
|
|
1220
|
+
platforms: { claude: 'full', generic: 'full' },
|
|
1221
|
+
deployment: { pathTemplate: '.{platform}/commands/{id}.md', core: true },
|
|
1222
|
+
metadata: {
|
|
1223
|
+
type: 'skill',
|
|
1224
|
+
triggerPhrases: ['research query', 'query the corpus', 'what does the research say', 'search research'],
|
|
1225
|
+
commandHint: {
|
|
1226
|
+
template: 'utility',
|
|
1227
|
+
argumentHint: '<question> [--backend local|fortemi-core] [--depth quick|thorough] [--sources-only] [--max-sources N] [--json] [--save]',
|
|
1228
|
+
allowedTools: ['Bash', 'Read', 'Write'],
|
|
1229
|
+
executionSteps: [
|
|
1230
|
+
'Parse question and retrieval options',
|
|
1231
|
+
'Load local or Fortemi Core static index records',
|
|
1232
|
+
'Rank research REF/PROF/synthesis sources',
|
|
1233
|
+
'Emit source-selection table or JSON for skill-mediated synthesis',
|
|
1234
|
+
],
|
|
1235
|
+
},
|
|
1236
|
+
},
|
|
1237
|
+
};
|
|
1238
|
+
// Discovery — first-class top-level verb (#1212)
|
|
1239
|
+
//
|
|
1240
|
+
// Discovery is the operator surface for finding AIWG skills, agents, commands,
|
|
1241
|
+
// and rules by capability. It heavily leverages the artifact index machinery
|
|
1242
|
+
// but is exposed as its own top-level command (`aiwg discover`) rather than a
|
|
1243
|
+
// subcommand of `aiwg index` to avoid agentic confusion between the project's
|
|
1244
|
+
// general-purpose graph indices (project / codebase / framework / user-defined)
|
|
1245
|
+
// and the specific AIWG capability-search surface.
|
|
1246
|
+
export const discoverCommand = {
|
|
1247
|
+
id: 'discover',
|
|
1248
|
+
type: 'skill',
|
|
1249
|
+
name: 'Discover',
|
|
1250
|
+
description: 'Find AIWG operational assets by capability — index-driven on-demand discovery',
|
|
1251
|
+
version: '1.0.0',
|
|
1252
|
+
capabilities: ['cli', 'discovery', 'search', 'capability', 'skills'],
|
|
1253
|
+
keywords: ['discover', 'find skill', 'capability', 'search skills', 'what skill does', 'skill for'],
|
|
1254
|
+
category: 'index',
|
|
1255
|
+
platforms: {
|
|
1256
|
+
claude: 'full',
|
|
1257
|
+
generic: 'full',
|
|
1258
|
+
},
|
|
1259
|
+
deployment: {
|
|
1260
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1261
|
+
core: true,
|
|
1262
|
+
},
|
|
1263
|
+
metadata: {
|
|
1264
|
+
type: 'skill',
|
|
1265
|
+
triggerPhrases: [
|
|
1266
|
+
'discover',
|
|
1267
|
+
'find a skill',
|
|
1268
|
+
'find skill for',
|
|
1269
|
+
'what skill handles',
|
|
1270
|
+
'capability search',
|
|
1271
|
+
'aiwg discover',
|
|
1272
|
+
],
|
|
1273
|
+
commandHint: {
|
|
1274
|
+
template: 'utility',
|
|
1275
|
+
argumentHint: '"<phrase>" [--limit N] [--type skill,agent,...] [--json] [--resource-source local|web|auto] [--aiwg-version <exact-or-channel>] [--offline]',
|
|
1276
|
+
allowedTools: ['Read'],
|
|
1277
|
+
},
|
|
1278
|
+
},
|
|
1279
|
+
};
|
|
1280
|
+
// Show: companion to `discover`. Where `discover` ranks candidates,
|
|
1281
|
+
// `show` fetches the full body of one specific artifact (#1218). This
|
|
1282
|
+
// closes the loop so consumers never need to navigate AIWG's storage
|
|
1283
|
+
// paths themselves — the CLI is the access point.
|
|
1284
|
+
export const showCommand = {
|
|
1285
|
+
id: 'show',
|
|
1286
|
+
type: 'skill',
|
|
1287
|
+
name: 'Show',
|
|
1288
|
+
description: 'Print the full text of a specific AIWG skill, agent, command, or rule by name',
|
|
1289
|
+
version: '1.0.0',
|
|
1290
|
+
capabilities: ['cli', 'discovery', 'read', 'capability', 'skills'],
|
|
1291
|
+
keywords: ['show', 'cat', 'read skill', 'print skill', 'get skill content', 'aiwg show'],
|
|
1292
|
+
category: 'index',
|
|
1293
|
+
platforms: {
|
|
1294
|
+
claude: 'full',
|
|
1295
|
+
generic: 'full',
|
|
1296
|
+
},
|
|
1297
|
+
deployment: {
|
|
1298
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1299
|
+
core: true,
|
|
1300
|
+
},
|
|
1301
|
+
metadata: {
|
|
1302
|
+
type: 'skill',
|
|
1303
|
+
triggerPhrases: [
|
|
1304
|
+
'show skill',
|
|
1305
|
+
'print skill',
|
|
1306
|
+
'read skill',
|
|
1307
|
+
'get skill content',
|
|
1308
|
+
'aiwg show',
|
|
1309
|
+
],
|
|
1310
|
+
commandHint: {
|
|
1311
|
+
template: 'utility',
|
|
1312
|
+
argumentHint: '<type> <name> [--json] [--first] [--resource-source local|web|auto] [--aiwg-version <exact-or-channel>] [--offline] # type: skill | agent | command | rule',
|
|
1313
|
+
allowedTools: ['Read'],
|
|
1314
|
+
},
|
|
1315
|
+
},
|
|
1316
|
+
};
|
|
1317
|
+
// Features: list, inspect (and eventually install) AIWG's optional
|
|
1318
|
+
// runtime features — embeddings, sqlite, pty, webserver. (#1219)
|
|
1319
|
+
export const featuresCommand = {
|
|
1320
|
+
id: 'features',
|
|
1321
|
+
type: 'skill',
|
|
1322
|
+
name: 'Features',
|
|
1323
|
+
description: 'List, inspect, and (eventually) install AIWG\'s optional runtime features',
|
|
1324
|
+
version: '1.0.0',
|
|
1325
|
+
capabilities: ['cli', 'maintenance', 'install', 'optional-deps'],
|
|
1326
|
+
keywords: ['features', 'optional', 'install', 'embeddings', 'sqlite', 'pty', 'webserver'],
|
|
1327
|
+
category: 'maintenance',
|
|
1328
|
+
platforms: {
|
|
1329
|
+
claude: 'full',
|
|
1330
|
+
generic: 'full',
|
|
1331
|
+
},
|
|
1332
|
+
deployment: {
|
|
1333
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1334
|
+
core: true,
|
|
1335
|
+
},
|
|
1336
|
+
metadata: {
|
|
1337
|
+
type: 'skill',
|
|
1338
|
+
triggerPhrases: [
|
|
1339
|
+
'aiwg features',
|
|
1340
|
+
'optional features',
|
|
1341
|
+
'install optional',
|
|
1342
|
+
'enable embeddings',
|
|
1343
|
+
],
|
|
1344
|
+
commandHint: {
|
|
1345
|
+
template: 'utility',
|
|
1346
|
+
argumentHint: '[status|info|install|remove] [name] [--json]',
|
|
1347
|
+
allowedTools: ['Read', 'Bash'],
|
|
1348
|
+
},
|
|
1349
|
+
},
|
|
1350
|
+
};
|
|
1351
|
+
// Toolsmith Commands
|
|
1352
|
+
export const runtimeInfoCommand = {
|
|
1353
|
+
id: 'runtime-info',
|
|
1354
|
+
type: 'skill',
|
|
1355
|
+
name: 'Runtime Info',
|
|
1356
|
+
description: 'Display runtime environment, available tools, and capabilities',
|
|
1357
|
+
version: '1.0.0',
|
|
1358
|
+
capabilities: ['cli', 'toolsmith', 'discovery'],
|
|
1359
|
+
keywords: ['runtime', 'info', 'discovery', 'tools'],
|
|
1360
|
+
category: 'toolsmith',
|
|
1361
|
+
platforms: {
|
|
1362
|
+
claude: 'full',
|
|
1363
|
+
generic: 'full',
|
|
1364
|
+
},
|
|
1365
|
+
deployment: {
|
|
1366
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1367
|
+
core: true,
|
|
1368
|
+
},
|
|
1369
|
+
metadata: {
|
|
1370
|
+
type: 'skill',
|
|
1371
|
+
triggerPhrases: ['runtime info', 'show runtime', 'available tools', 'runtime environment'],
|
|
1372
|
+
commandHint: {
|
|
1373
|
+
template: 'utility',
|
|
1374
|
+
allowedTools: ['Read', 'Bash'],
|
|
1375
|
+
},
|
|
1376
|
+
},
|
|
1377
|
+
};
|
|
1378
|
+
export const agentcardCommand = {
|
|
1379
|
+
id: 'agentcard',
|
|
1380
|
+
type: 'skill',
|
|
1381
|
+
name: 'AgentCard',
|
|
1382
|
+
description: 'Fetch and verify an agentic-sandbox AgentCard JWS signature',
|
|
1383
|
+
version: '1.0.0',
|
|
1384
|
+
capabilities: ['cli', 'a2a', 'security'],
|
|
1385
|
+
keywords: ['agentcard', 'a2a', 'jws', 'verify', 'sandbox'],
|
|
1386
|
+
category: 'toolsmith',
|
|
1387
|
+
platforms: {
|
|
1388
|
+
claude: 'full',
|
|
1389
|
+
generic: 'full',
|
|
1390
|
+
},
|
|
1391
|
+
deployment: {
|
|
1392
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1393
|
+
core: true,
|
|
1394
|
+
},
|
|
1395
|
+
metadata: {
|
|
1396
|
+
type: 'skill',
|
|
1397
|
+
triggerPhrases: [
|
|
1398
|
+
'verify agentcard',
|
|
1399
|
+
'fetch agent card',
|
|
1400
|
+
'verify a2a signature',
|
|
1401
|
+
'check executor signature',
|
|
1402
|
+
],
|
|
1403
|
+
commandHint: {
|
|
1404
|
+
template: 'utility',
|
|
1405
|
+
allowedTools: ['Read', 'Bash'],
|
|
1406
|
+
},
|
|
1407
|
+
},
|
|
1408
|
+
};
|
|
1409
|
+
// Utility Commands
|
|
1410
|
+
export const prefillCardsCommand = {
|
|
1411
|
+
id: 'prefill-cards',
|
|
1412
|
+
type: 'skill',
|
|
1413
|
+
name: 'Prefill Cards',
|
|
1414
|
+
description: 'Auto-populate SDLC artifact metadata from team configuration',
|
|
1415
|
+
version: '1.0.0',
|
|
1416
|
+
capabilities: ['cli', 'sdlc', 'automation'],
|
|
1417
|
+
keywords: ['prefill', 'cards', 'sdlc', 'metadata'],
|
|
1418
|
+
category: 'utility',
|
|
1419
|
+
platforms: {
|
|
1420
|
+
claude: 'full',
|
|
1421
|
+
generic: 'full',
|
|
1422
|
+
},
|
|
1423
|
+
deployment: {
|
|
1424
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1425
|
+
core: true,
|
|
1426
|
+
},
|
|
1427
|
+
metadata: {
|
|
1428
|
+
type: 'skill',
|
|
1429
|
+
triggerPhrases: ['prefill cards', 'populate metadata', 'fill sdlc cards', 'auto-populate artifacts'],
|
|
1430
|
+
commandHint: {
|
|
1431
|
+
template: 'transformation',
|
|
1432
|
+
allowedTools: ['Read', 'Write'],
|
|
1433
|
+
},
|
|
1434
|
+
},
|
|
1435
|
+
};
|
|
1436
|
+
export const contributeStartCommand = {
|
|
1437
|
+
id: 'contribute-start',
|
|
1438
|
+
type: 'skill',
|
|
1439
|
+
name: 'Contribute Start',
|
|
1440
|
+
description: 'Initialize contribution with branch, issue tracking, and DCO',
|
|
1441
|
+
version: '1.0.0',
|
|
1442
|
+
capabilities: ['cli', 'contribution', 'workflow'],
|
|
1443
|
+
keywords: ['contribute', 'contribution', 'workflow'],
|
|
1444
|
+
category: 'utility',
|
|
1445
|
+
platforms: {
|
|
1446
|
+
claude: 'full',
|
|
1447
|
+
generic: 'full',
|
|
1448
|
+
},
|
|
1449
|
+
deployment: {
|
|
1450
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1451
|
+
core: true,
|
|
1452
|
+
},
|
|
1453
|
+
metadata: {
|
|
1454
|
+
type: 'skill',
|
|
1455
|
+
triggerPhrases: ['contribute start', 'start contribution', 'new contribution', 'init contribution'],
|
|
1456
|
+
commandHint: {
|
|
1457
|
+
template: 'orchestration',
|
|
1458
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
1459
|
+
},
|
|
1460
|
+
},
|
|
1461
|
+
};
|
|
1462
|
+
export const validateMetadataCommand = {
|
|
1463
|
+
id: 'validate-metadata',
|
|
1464
|
+
type: 'skill',
|
|
1465
|
+
name: 'Validate Metadata',
|
|
1466
|
+
description: 'Validate extension metadata against schema requirements',
|
|
1467
|
+
version: '1.0.0',
|
|
1468
|
+
capabilities: ['cli', 'validation', 'metadata'],
|
|
1469
|
+
keywords: ['validate', 'metadata', 'quality'],
|
|
1470
|
+
category: 'utility',
|
|
1471
|
+
platforms: {
|
|
1472
|
+
claude: 'full',
|
|
1473
|
+
generic: 'full',
|
|
1474
|
+
},
|
|
1475
|
+
deployment: {
|
|
1476
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1477
|
+
core: true,
|
|
1478
|
+
},
|
|
1479
|
+
metadata: {
|
|
1480
|
+
type: 'skill',
|
|
1481
|
+
triggerPhrases: ['validate metadata', 'check metadata', 'validate extensions', 'metadata quality'],
|
|
1482
|
+
commandHint: {
|
|
1483
|
+
template: 'utility',
|
|
1484
|
+
allowedTools: ['Read'],
|
|
1485
|
+
},
|
|
1486
|
+
},
|
|
1487
|
+
};
|
|
1488
|
+
export const skillLintCommand = {
|
|
1489
|
+
id: 'skill-lint',
|
|
1490
|
+
type: 'skill',
|
|
1491
|
+
name: 'Skill Lint',
|
|
1492
|
+
description: 'Score SKILL.md files against a quality rubric (schema, description, discoverability, body)',
|
|
1493
|
+
version: '1.0.0',
|
|
1494
|
+
capabilities: ['cli', 'validation', 'metadata', 'quality'],
|
|
1495
|
+
keywords: ['lint', 'quality', 'skill', 'rubric'],
|
|
1496
|
+
category: 'utility',
|
|
1497
|
+
platforms: {
|
|
1498
|
+
claude: 'full',
|
|
1499
|
+
generic: 'full',
|
|
1500
|
+
},
|
|
1501
|
+
deployment: {
|
|
1502
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1503
|
+
core: true,
|
|
1504
|
+
},
|
|
1505
|
+
metadata: {
|
|
1506
|
+
type: 'skill',
|
|
1507
|
+
triggerPhrases: ['skill lint', 'lint skills', 'score skills', 'skill quality'],
|
|
1508
|
+
commandHint: {
|
|
1509
|
+
template: 'utility',
|
|
1510
|
+
argumentHint: '<path> [--rubric strict|standard|lenient] [--json]',
|
|
1511
|
+
allowedTools: ['Read'],
|
|
1512
|
+
},
|
|
1513
|
+
},
|
|
1514
|
+
};
|
|
1515
|
+
// Plugin Commands
|
|
1516
|
+
export const installPluginCommand = {
|
|
1517
|
+
id: 'install-plugin',
|
|
1518
|
+
type: 'skill',
|
|
1519
|
+
name: 'Install Plugin',
|
|
1520
|
+
description: 'Install Claude Code plugin',
|
|
1521
|
+
version: '1.0.0',
|
|
1522
|
+
capabilities: ['cli', 'plugin', 'install'],
|
|
1523
|
+
keywords: ['install', 'plugin', 'claude'],
|
|
1524
|
+
category: 'plugin',
|
|
1525
|
+
platforms: {
|
|
1526
|
+
claude: 'full',
|
|
1527
|
+
},
|
|
1528
|
+
deployment: {
|
|
1529
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1530
|
+
core: true,
|
|
1531
|
+
},
|
|
1532
|
+
metadata: {
|
|
1533
|
+
type: 'skill',
|
|
1534
|
+
triggerPhrases: ['install plugin', 'add plugin', 'plugin install'],
|
|
1535
|
+
commandHint: {
|
|
1536
|
+
template: 'utility',
|
|
1537
|
+
argumentHint: '<name>',
|
|
1538
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
1539
|
+
},
|
|
1540
|
+
},
|
|
1541
|
+
};
|
|
1542
|
+
export const uninstallPluginCommand = {
|
|
1543
|
+
id: 'uninstall-plugin',
|
|
1544
|
+
type: 'skill',
|
|
1545
|
+
name: 'Uninstall Plugin',
|
|
1546
|
+
description: 'Uninstall Claude Code plugin',
|
|
1547
|
+
version: '1.0.0',
|
|
1548
|
+
capabilities: ['cli', 'plugin', 'uninstall'],
|
|
1549
|
+
keywords: ['uninstall', 'plugin', 'claude'],
|
|
1550
|
+
category: 'plugin',
|
|
1551
|
+
platforms: {
|
|
1552
|
+
claude: 'full',
|
|
1553
|
+
},
|
|
1554
|
+
deployment: {
|
|
1555
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1556
|
+
core: true,
|
|
1557
|
+
},
|
|
1558
|
+
metadata: {
|
|
1559
|
+
type: 'skill',
|
|
1560
|
+
triggerPhrases: ['uninstall plugin', 'remove plugin', 'plugin uninstall'],
|
|
1561
|
+
commandHint: {
|
|
1562
|
+
template: 'utility',
|
|
1563
|
+
argumentHint: '<name>',
|
|
1564
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
1565
|
+
},
|
|
1566
|
+
},
|
|
1567
|
+
};
|
|
1568
|
+
export const pluginStatusCommand = {
|
|
1569
|
+
id: 'plugin-status',
|
|
1570
|
+
type: 'skill',
|
|
1571
|
+
name: 'Plugin Status',
|
|
1572
|
+
description: 'Show Claude Code plugin status',
|
|
1573
|
+
version: '1.0.0',
|
|
1574
|
+
capabilities: ['cli', 'plugin', 'status'],
|
|
1575
|
+
keywords: ['status', 'plugin', 'claude'],
|
|
1576
|
+
category: 'plugin',
|
|
1577
|
+
platforms: {
|
|
1578
|
+
claude: 'full',
|
|
1579
|
+
},
|
|
1580
|
+
deployment: {
|
|
1581
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1582
|
+
core: true,
|
|
1583
|
+
},
|
|
1584
|
+
metadata: {
|
|
1585
|
+
type: 'skill',
|
|
1586
|
+
triggerPhrases: ['plugin status', 'show plugins', 'list plugins'],
|
|
1587
|
+
commandHint: {
|
|
1588
|
+
template: 'utility',
|
|
1589
|
+
allowedTools: ['Read'],
|
|
1590
|
+
},
|
|
1591
|
+
},
|
|
1592
|
+
};
|
|
1593
|
+
export const packagePluginCommand = {
|
|
1594
|
+
id: 'package-plugin',
|
|
1595
|
+
type: 'skill',
|
|
1596
|
+
name: 'Package Plugin',
|
|
1597
|
+
description: 'Bundle plugin for Claude Code marketplace distribution',
|
|
1598
|
+
version: '1.0.0',
|
|
1599
|
+
capabilities: ['cli', 'plugin', 'packaging'],
|
|
1600
|
+
keywords: ['package', 'plugin', 'marketplace'],
|
|
1601
|
+
category: 'plugin',
|
|
1602
|
+
platforms: {
|
|
1603
|
+
claude: 'full',
|
|
1604
|
+
generic: 'full',
|
|
1605
|
+
},
|
|
1606
|
+
deployment: {
|
|
1607
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1608
|
+
core: true,
|
|
1609
|
+
},
|
|
1610
|
+
metadata: {
|
|
1611
|
+
type: 'skill',
|
|
1612
|
+
triggerPhrases: ['package plugin', 'bundle plugin', 'publish plugin'],
|
|
1613
|
+
commandHint: {
|
|
1614
|
+
template: 'orchestration',
|
|
1615
|
+
argumentHint: '<name>',
|
|
1616
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
1617
|
+
},
|
|
1618
|
+
},
|
|
1619
|
+
};
|
|
1620
|
+
export const packageAllPluginsCommand = {
|
|
1621
|
+
id: 'package-all-plugins',
|
|
1622
|
+
type: 'skill',
|
|
1623
|
+
name: 'Package All Plugins',
|
|
1624
|
+
description: 'Bundle all plugins for marketplace in batch operation',
|
|
1625
|
+
version: '1.0.0',
|
|
1626
|
+
capabilities: ['cli', 'plugin', 'packaging'],
|
|
1627
|
+
keywords: ['package', 'plugin', 'marketplace', 'all'],
|
|
1628
|
+
category: 'plugin',
|
|
1629
|
+
platforms: {
|
|
1630
|
+
claude: 'full',
|
|
1631
|
+
generic: 'full',
|
|
1632
|
+
},
|
|
1633
|
+
deployment: {
|
|
1634
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1635
|
+
core: true,
|
|
1636
|
+
},
|
|
1637
|
+
metadata: {
|
|
1638
|
+
type: 'skill',
|
|
1639
|
+
triggerPhrases: ['package all plugins', 'bundle all plugins', 'publish all plugins'],
|
|
1640
|
+
commandHint: {
|
|
1641
|
+
template: 'orchestration',
|
|
1642
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
1643
|
+
},
|
|
1644
|
+
},
|
|
1645
|
+
};
|
|
1646
|
+
// Scaffolding Commands
|
|
1647
|
+
export const addAgentCommand = {
|
|
1648
|
+
id: 'add-agent',
|
|
1649
|
+
type: 'skill',
|
|
1650
|
+
name: 'Add Agent',
|
|
1651
|
+
description: 'Add agent to addon/framework',
|
|
1652
|
+
version: '1.0.0',
|
|
1653
|
+
capabilities: ['cli', 'scaffolding', 'agent'],
|
|
1654
|
+
keywords: ['add', 'agent', 'scaffold', 'create'],
|
|
1655
|
+
category: 'scaffolding',
|
|
1656
|
+
platforms: {
|
|
1657
|
+
claude: 'full',
|
|
1658
|
+
generic: 'full',
|
|
1659
|
+
},
|
|
1660
|
+
deployment: {
|
|
1661
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1662
|
+
core: true,
|
|
1663
|
+
},
|
|
1664
|
+
metadata: {
|
|
1665
|
+
type: 'skill',
|
|
1666
|
+
triggerPhrases: ['add agent', 'create agent', 'scaffold agent', 'new agent'],
|
|
1667
|
+
commandHint: {
|
|
1668
|
+
template: 'orchestration',
|
|
1669
|
+
argumentHint: '<name>',
|
|
1670
|
+
allowedTools: ['Read', 'Write'],
|
|
1671
|
+
},
|
|
1672
|
+
},
|
|
1673
|
+
};
|
|
1674
|
+
export const addCommandCommand = {
|
|
1675
|
+
id: 'add-command',
|
|
1676
|
+
type: 'skill',
|
|
1677
|
+
name: 'Add Command',
|
|
1678
|
+
description: 'Add command to addon/framework',
|
|
1679
|
+
version: '1.0.0',
|
|
1680
|
+
capabilities: ['cli', 'scaffolding', 'command'],
|
|
1681
|
+
keywords: ['add', 'command', 'scaffold', 'create'],
|
|
1682
|
+
category: 'scaffolding',
|
|
1683
|
+
platforms: {
|
|
1684
|
+
claude: 'full',
|
|
1685
|
+
generic: 'full',
|
|
1686
|
+
},
|
|
1687
|
+
deployment: {
|
|
1688
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1689
|
+
core: true,
|
|
1690
|
+
},
|
|
1691
|
+
metadata: {
|
|
1692
|
+
type: 'skill',
|
|
1693
|
+
triggerPhrases: ['add command', 'create command', 'scaffold command', 'new command'],
|
|
1694
|
+
commandHint: {
|
|
1695
|
+
template: 'orchestration',
|
|
1696
|
+
argumentHint: '<name>',
|
|
1697
|
+
allowedTools: ['Read', 'Write'],
|
|
1698
|
+
},
|
|
1699
|
+
},
|
|
1700
|
+
};
|
|
1701
|
+
export const addSkillCommand = {
|
|
1702
|
+
id: 'add-skill',
|
|
1703
|
+
type: 'skill',
|
|
1704
|
+
name: 'Add Skill',
|
|
1705
|
+
description: 'Add skill to addon/framework',
|
|
1706
|
+
version: '1.0.0',
|
|
1707
|
+
capabilities: ['cli', 'scaffolding', 'skill'],
|
|
1708
|
+
keywords: ['add', 'skill', 'scaffold', 'create'],
|
|
1709
|
+
category: 'scaffolding',
|
|
1710
|
+
platforms: {
|
|
1711
|
+
claude: 'full',
|
|
1712
|
+
generic: 'full',
|
|
1713
|
+
},
|
|
1714
|
+
deployment: {
|
|
1715
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1716
|
+
core: true,
|
|
1717
|
+
},
|
|
1718
|
+
metadata: {
|
|
1719
|
+
type: 'skill',
|
|
1720
|
+
triggerPhrases: ['add skill', 'create skill', 'scaffold skill', 'new skill'],
|
|
1721
|
+
commandHint: {
|
|
1722
|
+
template: 'orchestration',
|
|
1723
|
+
argumentHint: '<name>',
|
|
1724
|
+
allowedTools: ['Read', 'Write'],
|
|
1725
|
+
},
|
|
1726
|
+
},
|
|
1727
|
+
};
|
|
1728
|
+
export const addBehaviorCommand = {
|
|
1729
|
+
id: 'add-behavior',
|
|
1730
|
+
type: 'skill',
|
|
1731
|
+
name: 'Add Behavior',
|
|
1732
|
+
description: 'Scaffold a new behavior with BEHAVIOR.md and scripts',
|
|
1733
|
+
version: '1.0.0',
|
|
1734
|
+
capabilities: ['cli', 'scaffolding', 'behavior'],
|
|
1735
|
+
keywords: ['add', 'behavior', 'scaffold', 'create', 'hooks', 'reactive'],
|
|
1736
|
+
category: 'scaffolding',
|
|
1737
|
+
platforms: {
|
|
1738
|
+
claude: 'full',
|
|
1739
|
+
openclaw: 'full',
|
|
1740
|
+
generic: 'full',
|
|
1741
|
+
},
|
|
1742
|
+
deployment: {
|
|
1743
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1744
|
+
core: true,
|
|
1745
|
+
},
|
|
1746
|
+
metadata: {
|
|
1747
|
+
type: 'skill',
|
|
1748
|
+
triggerPhrases: ['add behavior', 'create behavior', 'scaffold behavior', 'new behavior'],
|
|
1749
|
+
commandHint: {
|
|
1750
|
+
template: 'orchestration',
|
|
1751
|
+
argumentHint: '<name>',
|
|
1752
|
+
allowedTools: ['Read', 'Write'],
|
|
1753
|
+
},
|
|
1754
|
+
},
|
|
1755
|
+
};
|
|
1756
|
+
export const addTemplateCommand = {
|
|
1757
|
+
id: 'add-template',
|
|
1758
|
+
type: 'skill',
|
|
1759
|
+
name: 'Add Template',
|
|
1760
|
+
description: 'Add template to addon/framework',
|
|
1761
|
+
version: '1.0.0',
|
|
1762
|
+
capabilities: ['cli', 'scaffolding', 'template'],
|
|
1763
|
+
keywords: ['add', 'template', 'scaffold', 'create'],
|
|
1764
|
+
category: 'scaffolding',
|
|
1765
|
+
platforms: {
|
|
1766
|
+
claude: 'full',
|
|
1767
|
+
generic: 'full',
|
|
1768
|
+
},
|
|
1769
|
+
deployment: {
|
|
1770
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1771
|
+
core: true,
|
|
1772
|
+
},
|
|
1773
|
+
metadata: {
|
|
1774
|
+
type: 'skill',
|
|
1775
|
+
triggerPhrases: ['add template', 'create template', 'scaffold template', 'new template'],
|
|
1776
|
+
commandHint: {
|
|
1777
|
+
template: 'orchestration',
|
|
1778
|
+
argumentHint: '<name>',
|
|
1779
|
+
allowedTools: ['Read', 'Write'],
|
|
1780
|
+
},
|
|
1781
|
+
},
|
|
1782
|
+
};
|
|
1783
|
+
export const scaffoldAddonCommand = {
|
|
1784
|
+
id: 'scaffold-addon',
|
|
1785
|
+
type: 'skill',
|
|
1786
|
+
name: 'Scaffold Addon',
|
|
1787
|
+
description: 'Create new addon package',
|
|
1788
|
+
version: '1.0.0',
|
|
1789
|
+
capabilities: ['cli', 'scaffolding', 'addon'],
|
|
1790
|
+
keywords: ['scaffold', 'addon', 'create', 'package'],
|
|
1791
|
+
category: 'scaffolding',
|
|
1792
|
+
platforms: {
|
|
1793
|
+
claude: 'full',
|
|
1794
|
+
generic: 'full',
|
|
1795
|
+
},
|
|
1796
|
+
deployment: {
|
|
1797
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1798
|
+
core: true,
|
|
1799
|
+
},
|
|
1800
|
+
metadata: {
|
|
1801
|
+
type: 'skill',
|
|
1802
|
+
triggerPhrases: ['scaffold addon', 'create addon', 'new addon package'],
|
|
1803
|
+
commandHint: {
|
|
1804
|
+
template: 'orchestration',
|
|
1805
|
+
argumentHint: '<name>',
|
|
1806
|
+
allowedTools: ['Read', 'Write'],
|
|
1807
|
+
},
|
|
1808
|
+
},
|
|
1809
|
+
};
|
|
1810
|
+
export const scaffoldExtensionCommand = {
|
|
1811
|
+
id: 'scaffold-extension',
|
|
1812
|
+
type: 'skill',
|
|
1813
|
+
name: 'Scaffold Extension',
|
|
1814
|
+
description: 'Create new extension package',
|
|
1815
|
+
version: '1.0.0',
|
|
1816
|
+
capabilities: ['cli', 'scaffolding', 'extension'],
|
|
1817
|
+
keywords: ['scaffold', 'extension', 'create', 'package'],
|
|
1818
|
+
category: 'scaffolding',
|
|
1819
|
+
platforms: {
|
|
1820
|
+
claude: 'full',
|
|
1821
|
+
generic: 'full',
|
|
1822
|
+
},
|
|
1823
|
+
deployment: {
|
|
1824
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1825
|
+
core: true,
|
|
1826
|
+
},
|
|
1827
|
+
metadata: {
|
|
1828
|
+
type: 'skill',
|
|
1829
|
+
triggerPhrases: ['scaffold extension', 'create extension', 'new extension package'],
|
|
1830
|
+
commandHint: {
|
|
1831
|
+
template: 'orchestration',
|
|
1832
|
+
argumentHint: '<name>',
|
|
1833
|
+
allowedTools: ['Read', 'Write'],
|
|
1834
|
+
},
|
|
1835
|
+
},
|
|
1836
|
+
};
|
|
1837
|
+
export const scaffoldFrameworkCommand = {
|
|
1838
|
+
id: 'scaffold-framework',
|
|
1839
|
+
type: 'skill',
|
|
1840
|
+
name: 'Scaffold Framework',
|
|
1841
|
+
description: 'Create new framework package',
|
|
1842
|
+
version: '1.0.0',
|
|
1843
|
+
capabilities: ['cli', 'scaffolding', 'framework'],
|
|
1844
|
+
keywords: ['scaffold', 'framework', 'create', 'package'],
|
|
1845
|
+
category: 'scaffolding',
|
|
1846
|
+
platforms: {
|
|
1847
|
+
claude: 'full',
|
|
1848
|
+
generic: 'full',
|
|
1849
|
+
},
|
|
1850
|
+
deployment: {
|
|
1851
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1852
|
+
core: true,
|
|
1853
|
+
},
|
|
1854
|
+
metadata: {
|
|
1855
|
+
type: 'skill',
|
|
1856
|
+
triggerPhrases: ['scaffold framework', 'create framework', 'new framework package'],
|
|
1857
|
+
commandHint: {
|
|
1858
|
+
template: 'orchestration',
|
|
1859
|
+
argumentHint: '<name>',
|
|
1860
|
+
allowedTools: ['Read', 'Write'],
|
|
1861
|
+
},
|
|
1862
|
+
},
|
|
1863
|
+
};
|
|
1864
|
+
// Ralph Commands
|
|
1865
|
+
export const ralphCommand = {
|
|
1866
|
+
id: 'ralph',
|
|
1867
|
+
type: 'skill',
|
|
1868
|
+
name: 'Ralph',
|
|
1869
|
+
description: 'Start Ralph task execution loop',
|
|
1870
|
+
version: '1.0.0',
|
|
1871
|
+
capabilities: ['cli', 'ralph', 'orchestration'],
|
|
1872
|
+
keywords: ['ralph', 'loop', 'task', 'orchestration'],
|
|
1873
|
+
category: 'ralph',
|
|
1874
|
+
platforms: {
|
|
1875
|
+
claude: 'full',
|
|
1876
|
+
generic: 'full',
|
|
1877
|
+
},
|
|
1878
|
+
deployment: {
|
|
1879
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1880
|
+
core: true,
|
|
1881
|
+
},
|
|
1882
|
+
metadata: {
|
|
1883
|
+
type: 'skill',
|
|
1884
|
+
triggerPhrases: ['ralph', 'start ralph', 'run ralph', 'ralph loop', 'agent loop', 'start task loop'],
|
|
1885
|
+
commandHint: {
|
|
1886
|
+
template: 'orchestration',
|
|
1887
|
+
argumentHint: '<task-description>',
|
|
1888
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
1889
|
+
},
|
|
1890
|
+
},
|
|
1891
|
+
};
|
|
1892
|
+
export const ralphStatusCommand = {
|
|
1893
|
+
id: 'ralph-status',
|
|
1894
|
+
type: 'skill',
|
|
1895
|
+
name: 'Ralph Status',
|
|
1896
|
+
description: 'Show agent loop status',
|
|
1897
|
+
version: '1.0.0',
|
|
1898
|
+
capabilities: ['cli', 'ralph', 'status'],
|
|
1899
|
+
keywords: ['ralph', 'status', 'info'],
|
|
1900
|
+
category: 'ralph',
|
|
1901
|
+
platforms: {
|
|
1902
|
+
claude: 'full',
|
|
1903
|
+
generic: 'full',
|
|
1904
|
+
},
|
|
1905
|
+
deployment: {
|
|
1906
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1907
|
+
core: true,
|
|
1908
|
+
},
|
|
1909
|
+
metadata: {
|
|
1910
|
+
type: 'skill',
|
|
1911
|
+
triggerPhrases: ['ralph status', 'show ralph status', 'loop status'],
|
|
1912
|
+
commandHint: {
|
|
1913
|
+
template: 'utility',
|
|
1914
|
+
allowedTools: ['Read'],
|
|
1915
|
+
},
|
|
1916
|
+
},
|
|
1917
|
+
};
|
|
1918
|
+
export const ralphAbortCommand = {
|
|
1919
|
+
id: 'ralph-abort',
|
|
1920
|
+
type: 'skill',
|
|
1921
|
+
name: 'Ralph Abort',
|
|
1922
|
+
description: 'Abort running agent loop',
|
|
1923
|
+
version: '1.0.0',
|
|
1924
|
+
capabilities: ['cli', 'ralph', 'control'],
|
|
1925
|
+
keywords: ['ralph', 'abort', 'stop', 'cancel'],
|
|
1926
|
+
category: 'ralph',
|
|
1927
|
+
platforms: {
|
|
1928
|
+
claude: 'full',
|
|
1929
|
+
generic: 'full',
|
|
1930
|
+
},
|
|
1931
|
+
deployment: {
|
|
1932
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1933
|
+
core: true,
|
|
1934
|
+
},
|
|
1935
|
+
metadata: {
|
|
1936
|
+
type: 'skill',
|
|
1937
|
+
triggerPhrases: ['ralph abort', 'abort ralph', 'stop ralph', 'cancel ralph'],
|
|
1938
|
+
commandHint: {
|
|
1939
|
+
template: 'utility',
|
|
1940
|
+
allowedTools: ['Read', 'Write'],
|
|
1941
|
+
},
|
|
1942
|
+
},
|
|
1943
|
+
};
|
|
1944
|
+
export const ralphResumeCommand = {
|
|
1945
|
+
id: 'ralph-resume',
|
|
1946
|
+
type: 'skill',
|
|
1947
|
+
name: 'Ralph Resume',
|
|
1948
|
+
description: 'Resume paused agent loop',
|
|
1949
|
+
version: '1.0.0',
|
|
1950
|
+
capabilities: ['cli', 'ralph', 'control'],
|
|
1951
|
+
keywords: ['ralph', 'resume', 'continue'],
|
|
1952
|
+
category: 'ralph',
|
|
1953
|
+
platforms: {
|
|
1954
|
+
claude: 'full',
|
|
1955
|
+
generic: 'full',
|
|
1956
|
+
},
|
|
1957
|
+
deployment: {
|
|
1958
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1959
|
+
core: true,
|
|
1960
|
+
},
|
|
1961
|
+
metadata: {
|
|
1962
|
+
type: 'skill',
|
|
1963
|
+
triggerPhrases: ['ralph resume', 'resume ralph', 'continue ralph', 'unpause ralph'],
|
|
1964
|
+
commandHint: {
|
|
1965
|
+
template: 'utility',
|
|
1966
|
+
allowedTools: ['Read', 'Write'],
|
|
1967
|
+
},
|
|
1968
|
+
},
|
|
1969
|
+
};
|
|
1970
|
+
export const ralphAttachCommand = {
|
|
1971
|
+
id: 'ralph-attach',
|
|
1972
|
+
type: 'skill',
|
|
1973
|
+
name: 'Ralph Attach',
|
|
1974
|
+
description: 'Attach to a running agent loop\'s live output stream. Press Ctrl+C to detach.',
|
|
1975
|
+
version: '1.0.0',
|
|
1976
|
+
capabilities: ['cli', 'ralph', 'control', 'monitoring'],
|
|
1977
|
+
keywords: ['ralph', 'attach', 'follow', 'watch', 'tail', 'output', 'stream'],
|
|
1978
|
+
category: 'ralph',
|
|
1979
|
+
platforms: {
|
|
1980
|
+
claude: 'full',
|
|
1981
|
+
generic: 'full',
|
|
1982
|
+
},
|
|
1983
|
+
deployment: {
|
|
1984
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
1985
|
+
core: true,
|
|
1986
|
+
},
|
|
1987
|
+
metadata: {
|
|
1988
|
+
type: 'skill',
|
|
1989
|
+
triggerPhrases: ['ralph attach', 'attach to ralph', 'follow ralph', 'watch ralph output'],
|
|
1990
|
+
commandHint: {
|
|
1991
|
+
template: 'utility',
|
|
1992
|
+
allowedTools: ['Read'],
|
|
1993
|
+
argumentHint: '[--loop-id <id>]',
|
|
1994
|
+
},
|
|
1995
|
+
},
|
|
1996
|
+
};
|
|
1997
|
+
export const agentLoopExtCommand = {
|
|
1998
|
+
id: 'agent-loop-ext',
|
|
1999
|
+
legacyId: 'ralph-external',
|
|
2000
|
+
type: 'skill',
|
|
2001
|
+
name: 'Agent Loop External',
|
|
2002
|
+
description: 'Crash-resilient external loop with state persistence and CI/CD integration',
|
|
2003
|
+
version: '1.0.0',
|
|
2004
|
+
capabilities: ['cli', 'ralph', 'orchestration', 'external', 'crash-recovery'],
|
|
2005
|
+
keywords: ['ralph', 'external', 'crash', 'recovery', 'persistent', 'background', 'cicd', 'agent-loop'],
|
|
2006
|
+
category: 'ralph',
|
|
2007
|
+
platforms: {
|
|
2008
|
+
claude: 'full',
|
|
2009
|
+
generic: 'full',
|
|
2010
|
+
},
|
|
2011
|
+
deployment: {
|
|
2012
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2013
|
+
core: true,
|
|
2014
|
+
},
|
|
2015
|
+
metadata: {
|
|
2016
|
+
type: 'skill',
|
|
2017
|
+
triggerPhrases: [
|
|
2018
|
+
'agent-loop-ext', 'external agent loop', 'out-of-session loop', 'persistent agent loop',
|
|
2019
|
+
'ralph external', 'external ralph', 'crash-resilient loop', 'persistent ralph',
|
|
2020
|
+
'long-running ralph', 'start background ralph', 'ralph with crash recovery',
|
|
2021
|
+
],
|
|
2022
|
+
commandHint: {
|
|
2023
|
+
template: 'utility',
|
|
2024
|
+
allowedTools: ['Bash', 'Read', 'Write'],
|
|
2025
|
+
argumentHint: '"<objective>" --completion "<criteria>"',
|
|
2026
|
+
},
|
|
2027
|
+
},
|
|
2028
|
+
};
|
|
2029
|
+
export const ralphMemoryCommand = {
|
|
2030
|
+
id: 'ralph-memory',
|
|
2031
|
+
type: 'skill',
|
|
2032
|
+
name: 'Ralph Memory',
|
|
2033
|
+
description: 'Manage Ralph semantic memory entries (list, query, clear)',
|
|
2034
|
+
version: '1.0.0',
|
|
2035
|
+
capabilities: ['cli', 'ralph', 'memory', 'semantic'],
|
|
2036
|
+
keywords: ['ralph', 'memory', 'semantic', 'learning', 'list', 'query'],
|
|
2037
|
+
category: 'ralph',
|
|
2038
|
+
platforms: {
|
|
2039
|
+
claude: 'full',
|
|
2040
|
+
generic: 'full',
|
|
2041
|
+
},
|
|
2042
|
+
deployment: {
|
|
2043
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2044
|
+
core: true,
|
|
2045
|
+
},
|
|
2046
|
+
metadata: {
|
|
2047
|
+
type: 'skill',
|
|
2048
|
+
triggerPhrases: ['ralph memory', 'ralph memories', 'list ralph memory', 'query ralph memory'],
|
|
2049
|
+
commandHint: {
|
|
2050
|
+
template: 'utility',
|
|
2051
|
+
allowedTools: ['Read', 'Write'],
|
|
2052
|
+
argumentHint: '<list|query|clear> [options]',
|
|
2053
|
+
},
|
|
2054
|
+
},
|
|
2055
|
+
};
|
|
2056
|
+
export const ralphConfigCommand = {
|
|
2057
|
+
id: 'ralph-config',
|
|
2058
|
+
type: 'skill',
|
|
2059
|
+
name: 'Ralph Config',
|
|
2060
|
+
description: 'View and configure agent loop settings (show, set, reset, preset)',
|
|
2061
|
+
version: '1.0.0',
|
|
2062
|
+
capabilities: ['cli', 'ralph', 'configuration'],
|
|
2063
|
+
keywords: ['ralph', 'config', 'configuration', 'settings', 'show', 'set', 'reset'],
|
|
2064
|
+
category: 'ralph',
|
|
2065
|
+
platforms: {
|
|
2066
|
+
claude: 'full',
|
|
2067
|
+
generic: 'full',
|
|
2068
|
+
},
|
|
2069
|
+
deployment: {
|
|
2070
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2071
|
+
core: true,
|
|
2072
|
+
},
|
|
2073
|
+
metadata: {
|
|
2074
|
+
type: 'skill',
|
|
2075
|
+
triggerPhrases: ['ralph config', 'configure ralph', 'ralph settings', 'show ralph config'],
|
|
2076
|
+
commandHint: {
|
|
2077
|
+
template: 'utility',
|
|
2078
|
+
allowedTools: ['Read', 'Write'],
|
|
2079
|
+
argumentHint: '<show|set|reset|preset> [key] [value]',
|
|
2080
|
+
},
|
|
2081
|
+
},
|
|
2082
|
+
};
|
|
2083
|
+
// Mission Control Commands
|
|
2084
|
+
export const mcCommand = {
|
|
2085
|
+
id: 'mc',
|
|
2086
|
+
type: 'skill',
|
|
2087
|
+
name: 'Mission Control',
|
|
2088
|
+
description: 'Multi-loop background orchestration dashboard (start, dispatch, status, watch, stop)',
|
|
2089
|
+
version: '1.0.0',
|
|
2090
|
+
capabilities: ['cli', 'orchestration', 'ralph', 'background', 'multi-loop', 'mission-control'],
|
|
2091
|
+
keywords: ['mission', 'control', 'mc', 'background', 'parallel', 'orchestration', 'dispatch', 'monitor'],
|
|
2092
|
+
category: 'orchestration',
|
|
2093
|
+
platforms: {
|
|
2094
|
+
claude: 'full',
|
|
2095
|
+
generic: 'full',
|
|
2096
|
+
},
|
|
2097
|
+
deployment: {
|
|
2098
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2099
|
+
core: true,
|
|
2100
|
+
},
|
|
2101
|
+
metadata: {
|
|
2102
|
+
type: 'skill',
|
|
2103
|
+
triggerPhrases: ['mission control', 'mc', 'start mission control', 'background orchestration', 'mc dispatch'],
|
|
2104
|
+
commandHint: {
|
|
2105
|
+
template: 'orchestration',
|
|
2106
|
+
allowedTools: ['Bash', 'Read', 'Write'],
|
|
2107
|
+
argumentHint: '<subcommand> [options]',
|
|
2108
|
+
executionSteps: [
|
|
2109
|
+
'Parse subcommand (start, dispatch, status, watch, abort, pause, resume, stop, list)',
|
|
2110
|
+
'Route to appropriate subcommand handler',
|
|
2111
|
+
'Read/write session state from .aiwg/ralph-external/mc/',
|
|
2112
|
+
'Display results or status dashboard',
|
|
2113
|
+
],
|
|
2114
|
+
},
|
|
2115
|
+
},
|
|
2116
|
+
};
|
|
2117
|
+
// Steward Commands
|
|
2118
|
+
export const stewardCommand = {
|
|
2119
|
+
id: 'steward',
|
|
2120
|
+
type: 'skill',
|
|
2121
|
+
name: 'Steward',
|
|
2122
|
+
description: 'Provider capability awareness and command routing intelligence (capabilities, find)',
|
|
2123
|
+
version: '1.0.0',
|
|
2124
|
+
capabilities: ['cli', 'maintenance', 'capability-matrix', 'provider-routing', 'diagnostics'],
|
|
2125
|
+
keywords: ['steward', 'capabilities', 'provider', 'routing', 'native', 'emulated', 'feature', 'matrix'],
|
|
2126
|
+
category: 'maintenance',
|
|
2127
|
+
platforms: {
|
|
2128
|
+
claude: 'full',
|
|
2129
|
+
generic: 'full',
|
|
2130
|
+
},
|
|
2131
|
+
deployment: {
|
|
2132
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2133
|
+
core: true,
|
|
2134
|
+
},
|
|
2135
|
+
metadata: {
|
|
2136
|
+
type: 'skill',
|
|
2137
|
+
triggerPhrases: [
|
|
2138
|
+
'steward capabilities',
|
|
2139
|
+
'steward find',
|
|
2140
|
+
'what does my provider support',
|
|
2141
|
+
'does my provider support',
|
|
2142
|
+
'what command should I use',
|
|
2143
|
+
'provider capability',
|
|
2144
|
+
'capability matrix',
|
|
2145
|
+
],
|
|
2146
|
+
commandHint: {
|
|
2147
|
+
template: 'utility',
|
|
2148
|
+
allowedTools: ['Bash', 'Read'],
|
|
2149
|
+
argumentHint: 'capabilities [--provider <p>] [--feature <f>] [--all] | find --capability <c>',
|
|
2150
|
+
executionSteps: [
|
|
2151
|
+
'Read agentic/code/providers/capability-matrix.yaml',
|
|
2152
|
+
'Detect current provider via runtime-info or env heuristics',
|
|
2153
|
+
'Return native vs emulated routing advice for the requested feature/provider',
|
|
2154
|
+
],
|
|
2155
|
+
},
|
|
2156
|
+
},
|
|
2157
|
+
};
|
|
2158
|
+
export const repoAccessCommand = {
|
|
2159
|
+
id: 'repo-access',
|
|
2160
|
+
type: 'skill',
|
|
2161
|
+
name: 'Repo Access',
|
|
2162
|
+
description: 'Resolve workspace members and validate deny-by-default authorization before cross-repo operations',
|
|
2163
|
+
version: '1.0.0',
|
|
2164
|
+
capabilities: ['cli', 'policy', 'repo-access', 'authorization', 'preflight'],
|
|
2165
|
+
keywords: ['repo', 'access', 'manifest', 'authorization', 'permissions', 'preflight', 'handoff'],
|
|
2166
|
+
category: 'utility',
|
|
2167
|
+
platforms: {
|
|
2168
|
+
claude: 'full',
|
|
2169
|
+
generic: 'full',
|
|
2170
|
+
},
|
|
2171
|
+
deployment: {
|
|
2172
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2173
|
+
core: true,
|
|
2174
|
+
},
|
|
2175
|
+
metadata: {
|
|
2176
|
+
type: 'skill',
|
|
2177
|
+
triggerPhrases: [
|
|
2178
|
+
'repo access check',
|
|
2179
|
+
'repo access manifest',
|
|
2180
|
+
'can I edit this repo',
|
|
2181
|
+
'check repo permissions',
|
|
2182
|
+
'preflight repo access',
|
|
2183
|
+
],
|
|
2184
|
+
commandHint: {
|
|
2185
|
+
template: 'utility',
|
|
2186
|
+
allowedTools: ['Bash', 'Read'],
|
|
2187
|
+
argumentHint: 'list | status | explain --path <repo> | check --path <repo> --action <action>',
|
|
2188
|
+
executionSteps: [
|
|
2189
|
+
'Load .aiwg/aiwg.config workspace + repos, with legacy YAML fallback',
|
|
2190
|
+
'Resolve the requested repo/path against manifest entries',
|
|
2191
|
+
'Load the matched member config for delivery, remotes, actor, and signing',
|
|
2192
|
+
'Return member status or ALLOW/DENY with the matching repo and reason',
|
|
2193
|
+
],
|
|
2194
|
+
},
|
|
2195
|
+
},
|
|
2196
|
+
};
|
|
2197
|
+
// Agent Team Commands
|
|
2198
|
+
export const teamCommand = {
|
|
2199
|
+
id: 'team',
|
|
2200
|
+
type: 'skill',
|
|
2201
|
+
name: 'Agent Teams',
|
|
2202
|
+
description: 'Multi-agent team orchestration across all providers (run, list, info)',
|
|
2203
|
+
version: '1.0.0',
|
|
2204
|
+
capabilities: ['cli', 'orchestration', 'agent-teams', 'multi-provider', 'mission-control'],
|
|
2205
|
+
keywords: ['team', 'teams', 'agents', 'multi-agent', 'orchestration', 'provider', 'dispatch'],
|
|
2206
|
+
category: 'orchestration',
|
|
2207
|
+
platforms: {
|
|
2208
|
+
claude: 'full',
|
|
2209
|
+
generic: 'full',
|
|
2210
|
+
},
|
|
2211
|
+
deployment: {
|
|
2212
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2213
|
+
core: true,
|
|
2214
|
+
},
|
|
2215
|
+
metadata: {
|
|
2216
|
+
type: 'skill',
|
|
2217
|
+
triggerPhrases: ['team run', 'team list', 'team info', 'agent team', 'run team', 'list teams'],
|
|
2218
|
+
commandHint: {
|
|
2219
|
+
template: 'orchestration',
|
|
2220
|
+
allowedTools: ['Bash', 'Read', 'Write'],
|
|
2221
|
+
argumentHint: '<subcommand> [options]',
|
|
2222
|
+
executionSteps: [
|
|
2223
|
+
'Parse subcommand (run, list, info)',
|
|
2224
|
+
'Detect provider (native Claude Code vs emulated via aiwg mc)',
|
|
2225
|
+
'Load team definition from .aiwg/teams/ or framework source',
|
|
2226
|
+
'Dispatch natively or emit aiwg mc commands for emulation',
|
|
2227
|
+
],
|
|
2228
|
+
},
|
|
2229
|
+
},
|
|
2230
|
+
};
|
|
2231
|
+
// Cost & Metrics Commands
|
|
2232
|
+
export const costReportCommand = {
|
|
2233
|
+
id: 'cost-report',
|
|
2234
|
+
type: 'skill',
|
|
2235
|
+
name: 'Cost Report',
|
|
2236
|
+
description: 'Generate token cost and spending report for workflows',
|
|
2237
|
+
version: '1.0.0',
|
|
2238
|
+
capabilities: ['cli', 'metrics', 'cost-tracking', 'reporting'],
|
|
2239
|
+
keywords: ['cost', 'report', 'tokens', 'spending', 'budget', 'metrics'],
|
|
2240
|
+
category: 'metrics',
|
|
2241
|
+
platforms: {
|
|
2242
|
+
claude: 'full',
|
|
2243
|
+
generic: 'full',
|
|
2244
|
+
},
|
|
2245
|
+
deployment: {
|
|
2246
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2247
|
+
core: false,
|
|
2248
|
+
},
|
|
2249
|
+
metadata: {
|
|
2250
|
+
type: 'skill',
|
|
2251
|
+
triggerPhrases: ['cost report', 'show costs', 'token spending', 'cost summary', 'budget report'],
|
|
2252
|
+
commandHint: {
|
|
2253
|
+
template: 'utility',
|
|
2254
|
+
allowedTools: ['Read', 'Bash'],
|
|
2255
|
+
cliDisabled: true,
|
|
2256
|
+
},
|
|
2257
|
+
},
|
|
2258
|
+
};
|
|
2259
|
+
export const costHistoryCommand = {
|
|
2260
|
+
id: 'cost-history',
|
|
2261
|
+
type: 'skill',
|
|
2262
|
+
name: 'Cost History',
|
|
2263
|
+
description: 'Show historical cost data across workflow sessions',
|
|
2264
|
+
version: '1.0.0',
|
|
2265
|
+
capabilities: ['cli', 'metrics', 'cost-tracking', 'history'],
|
|
2266
|
+
keywords: ['cost', 'history', 'trends', 'spending', 'budget'],
|
|
2267
|
+
category: 'metrics',
|
|
2268
|
+
platforms: {
|
|
2269
|
+
claude: 'full',
|
|
2270
|
+
generic: 'full',
|
|
2271
|
+
},
|
|
2272
|
+
deployment: {
|
|
2273
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2274
|
+
core: false,
|
|
2275
|
+
},
|
|
2276
|
+
metadata: {
|
|
2277
|
+
type: 'skill',
|
|
2278
|
+
triggerPhrases: ['cost history', 'historical costs', 'spending history', 'cost trends'],
|
|
2279
|
+
commandHint: {
|
|
2280
|
+
template: 'utility',
|
|
2281
|
+
allowedTools: ['Read'],
|
|
2282
|
+
cliDisabled: true,
|
|
2283
|
+
},
|
|
2284
|
+
},
|
|
2285
|
+
};
|
|
2286
|
+
export const metricsTokensCommand = {
|
|
2287
|
+
id: 'metrics-tokens',
|
|
2288
|
+
type: 'skill',
|
|
2289
|
+
name: 'Metrics Tokens',
|
|
2290
|
+
description: 'Analyze token efficiency and compare to MetaGPT baseline',
|
|
2291
|
+
version: '1.0.0',
|
|
2292
|
+
capabilities: ['cli', 'metrics', 'token-efficiency', 'analysis'],
|
|
2293
|
+
keywords: ['metrics', 'tokens', 'efficiency', 'baseline', 'metagpt'],
|
|
2294
|
+
category: 'metrics',
|
|
2295
|
+
platforms: {
|
|
2296
|
+
claude: 'full',
|
|
2297
|
+
generic: 'full',
|
|
2298
|
+
},
|
|
2299
|
+
deployment: {
|
|
2300
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2301
|
+
core: false,
|
|
2302
|
+
},
|
|
2303
|
+
metadata: {
|
|
2304
|
+
type: 'skill',
|
|
2305
|
+
triggerPhrases: ['metrics tokens', 'token efficiency', 'token metrics', 'analyze tokens'],
|
|
2306
|
+
commandHint: {
|
|
2307
|
+
template: 'utility',
|
|
2308
|
+
allowedTools: ['Read', 'Bash'],
|
|
2309
|
+
cliDisabled: true,
|
|
2310
|
+
},
|
|
2311
|
+
},
|
|
2312
|
+
};
|
|
2313
|
+
// Documentation Commands
|
|
2314
|
+
export const docSyncCommand = {
|
|
2315
|
+
id: 'doc-sync',
|
|
2316
|
+
type: 'skill',
|
|
2317
|
+
name: 'Doc Sync',
|
|
2318
|
+
description: 'Synchronize documentation and code to eliminate drift with parallel audit and auto-fix',
|
|
2319
|
+
version: '1.0.0',
|
|
2320
|
+
capabilities: ['cli', 'documentation', 'synchronization', 'audit'],
|
|
2321
|
+
keywords: ['doc-sync', 'documentation', 'sync', 'drift', 'audit', 'reconcile'],
|
|
2322
|
+
category: 'documentation',
|
|
2323
|
+
platforms: {
|
|
2324
|
+
claude: 'full',
|
|
2325
|
+
generic: 'full',
|
|
2326
|
+
},
|
|
2327
|
+
deployment: {
|
|
2328
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2329
|
+
core: false,
|
|
2330
|
+
},
|
|
2331
|
+
metadata: {
|
|
2332
|
+
type: 'skill',
|
|
2333
|
+
triggerPhrases: ['doc sync', 'sync docs', 'documentation sync', 'fix doc drift', 'reconcile docs'],
|
|
2334
|
+
commandHint: {
|
|
2335
|
+
template: 'orchestration',
|
|
2336
|
+
argumentHint: '<direction> [--dry-run --scope <path> --incremental]',
|
|
2337
|
+
allowedTools: ['Task', 'Read', 'Write', 'Bash', 'Glob', 'Grep', 'Edit'],
|
|
2338
|
+
executionSteps: [
|
|
2339
|
+
'Parse direction and options',
|
|
2340
|
+
'Dispatch parallel domain auditors',
|
|
2341
|
+
'Run cross-reference validation',
|
|
2342
|
+
'Generate drift report',
|
|
2343
|
+
'Apply auto-fixes and Ralph refinement',
|
|
2344
|
+
'Validate changes',
|
|
2345
|
+
],
|
|
2346
|
+
cliDisabled: true,
|
|
2347
|
+
},
|
|
2348
|
+
},
|
|
2349
|
+
};
|
|
2350
|
+
export const docConsolidateCommand = {
|
|
2351
|
+
id: 'doc-consolidate',
|
|
2352
|
+
type: 'skill',
|
|
2353
|
+
name: 'Doc Consolidate',
|
|
2354
|
+
description: 'Crawl repository for scattered docs and consolidate into categorized reference index',
|
|
2355
|
+
version: '1.0.0',
|
|
2356
|
+
capabilities: ['cli', 'documentation', 'discovery', 'classification'],
|
|
2357
|
+
keywords: ['doc-consolidate', 'consolidate', 'docs', 'documentation', 'inventory', 'catalog'],
|
|
2358
|
+
category: 'documentation',
|
|
2359
|
+
platforms: {
|
|
2360
|
+
claude: 'full',
|
|
2361
|
+
generic: 'full',
|
|
2362
|
+
},
|
|
2363
|
+
deployment: {
|
|
2364
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2365
|
+
core: false,
|
|
2366
|
+
},
|
|
2367
|
+
metadata: {
|
|
2368
|
+
type: 'skill',
|
|
2369
|
+
triggerPhrases: ['consolidate docs', 'doc consolidate', 'find all docs', 'catalog docs', 'inventory docs', 'doc inventory'],
|
|
2370
|
+
commandHint: {
|
|
2371
|
+
template: 'orchestration',
|
|
2372
|
+
argumentHint: '[--dry-run] [--scope <path>] [--incremental] [--prefix <dir>]',
|
|
2373
|
+
allowedTools: ['Read', 'Write', 'Bash', 'Glob', 'Grep'],
|
|
2374
|
+
executionSteps: [
|
|
2375
|
+
'Discover doc-like files across repository',
|
|
2376
|
+
'Classify each doc by purpose category',
|
|
2377
|
+
'Generate consolidated manifest',
|
|
2378
|
+
'Create stub files with source references',
|
|
2379
|
+
'Write run report and incremental state',
|
|
2380
|
+
],
|
|
2381
|
+
cliDisabled: true,
|
|
2382
|
+
},
|
|
2383
|
+
},
|
|
2384
|
+
};
|
|
2385
|
+
// Lint Commands
|
|
2386
|
+
export const lintCommand = {
|
|
2387
|
+
id: 'lint',
|
|
2388
|
+
type: 'skill',
|
|
2389
|
+
name: 'Lint',
|
|
2390
|
+
description: 'Lint AIWG artifacts against declarative rule sets',
|
|
2391
|
+
version: '1.0.0',
|
|
2392
|
+
capabilities: ['cli', 'lint', 'validation', 'quality'],
|
|
2393
|
+
keywords: ['lint', 'validate', 'check', 'rules', 'quality', 'integrity'],
|
|
2394
|
+
category: 'utility',
|
|
2395
|
+
platforms: {
|
|
2396
|
+
claude: 'full',
|
|
2397
|
+
generic: 'full',
|
|
2398
|
+
},
|
|
2399
|
+
deployment: {
|
|
2400
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2401
|
+
core: false,
|
|
2402
|
+
},
|
|
2403
|
+
metadata: {
|
|
2404
|
+
type: 'skill',
|
|
2405
|
+
triggerPhrases: ['lint', 'lint corpus', 'check research', 'validate artifacts', 'run lint'],
|
|
2406
|
+
commandHint: {
|
|
2407
|
+
template: 'utility',
|
|
2408
|
+
argumentHint: '<target> [--ruleset <name>] [--format full|summary|json] [--ci] [--fail-on error|warn|info] [--list-rulesets] [--list-rules <name>] [--dry-run]',
|
|
2409
|
+
allowedTools: ['Bash', 'Read', 'Glob', 'Grep'],
|
|
2410
|
+
executionSteps: [
|
|
2411
|
+
'Discover available rulesets from installed frameworks',
|
|
2412
|
+
'Auto-detect or select rulesets for target path',
|
|
2413
|
+
'Collect files matching rule glob patterns',
|
|
2414
|
+
'Run checks (frontmatter, references, patterns, cross-refs)',
|
|
2415
|
+
'Report diagnostics with severity and fix suggestions',
|
|
2416
|
+
],
|
|
2417
|
+
},
|
|
2418
|
+
},
|
|
2419
|
+
};
|
|
2420
|
+
// Code Analysis Commands
|
|
2421
|
+
export const cleanupAuditCommand = {
|
|
2422
|
+
id: 'cleanup-audit',
|
|
2423
|
+
type: 'skill',
|
|
2424
|
+
name: 'Cleanup Audit',
|
|
2425
|
+
description: 'Audit codebase for dead code, unused exports, orphaned files, and stale manifests',
|
|
2426
|
+
version: '1.0.0',
|
|
2427
|
+
capabilities: ['cli', 'analysis', 'code-quality', 'dead-code', 'cleanup'],
|
|
2428
|
+
keywords: ['cleanup', 'dead-code', 'unused', 'orphan', 'audit', 'depcheck'],
|
|
2429
|
+
category: 'maintenance',
|
|
2430
|
+
platforms: {
|
|
2431
|
+
claude: 'full',
|
|
2432
|
+
generic: 'full',
|
|
2433
|
+
},
|
|
2434
|
+
deployment: {
|
|
2435
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2436
|
+
core: false,
|
|
2437
|
+
},
|
|
2438
|
+
metadata: {
|
|
2439
|
+
type: 'skill',
|
|
2440
|
+
triggerPhrases: ['cleanup audit', 'dead code audit', 'find dead code', 'orphan files', 'unused exports'],
|
|
2441
|
+
commandHint: {
|
|
2442
|
+
template: 'utility',
|
|
2443
|
+
argumentHint: '[--scope <path>] [--type <exports|files|deps|manifests>] [--json] [--fix] [--dry-run]',
|
|
2444
|
+
allowedTools: ['Bash', 'Read', 'Write', 'Glob', 'Grep'],
|
|
2445
|
+
executionSteps: [
|
|
2446
|
+
'Determine analysis scope',
|
|
2447
|
+
'Analyze unused exports',
|
|
2448
|
+
'Detect orphaned files',
|
|
2449
|
+
'Audit dependencies',
|
|
2450
|
+
'Check manifest entries',
|
|
2451
|
+
'Compile confidence-rated report',
|
|
2452
|
+
],
|
|
2453
|
+
cliDisabled: true,
|
|
2454
|
+
},
|
|
2455
|
+
},
|
|
2456
|
+
};
|
|
2457
|
+
// SDLC Orchestration Commands
|
|
2458
|
+
export const bestPracticesAuditCommand = {
|
|
2459
|
+
id: 'best-practices-audit',
|
|
2460
|
+
type: 'skill',
|
|
2461
|
+
name: 'Best-Practices Audit',
|
|
2462
|
+
description: 'Research-grounded validation of a target against current external best practices, vendor documentation, and practitioner discussion',
|
|
2463
|
+
version: '1.0.0',
|
|
2464
|
+
capabilities: ['cli', 'research', 'validation', 'audit', 'citations'],
|
|
2465
|
+
keywords: ['best-practices-audit', 'audit', 'validate', 'research', 'practices', 'compare'],
|
|
2466
|
+
category: 'research-validation',
|
|
2467
|
+
platforms: {
|
|
2468
|
+
claude: 'full',
|
|
2469
|
+
generic: 'full',
|
|
2470
|
+
},
|
|
2471
|
+
deployment: {
|
|
2472
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2473
|
+
core: false,
|
|
2474
|
+
},
|
|
2475
|
+
metadata: {
|
|
2476
|
+
type: 'skill',
|
|
2477
|
+
triggerPhrases: ['best practices audit', 'audit best practices', 'validate against current practice', 'research-grounded validation'],
|
|
2478
|
+
commandHint: {
|
|
2479
|
+
template: 'orchestration',
|
|
2480
|
+
executedViaSkillRunner: true,
|
|
2481
|
+
argumentHint: '<target> [--focus <area> --standard <name> --depth quick|standard|deep --cite-threshold <N> --dissent --validate --output <path>]',
|
|
2482
|
+
allowedTools: ['Read', 'Write', 'Glob', 'Grep', 'Bash', 'WebFetch', 'WebSearch'],
|
|
2483
|
+
executionSteps: [
|
|
2484
|
+
'Scope target and inventory claims',
|
|
2485
|
+
'Research fan-out via research-complete agents',
|
|
2486
|
+
'Source quality gating (citation-guard, GRADE, recency)',
|
|
2487
|
+
'Comparison and alignment determination',
|
|
2488
|
+
'Report writeup with full citations',
|
|
2489
|
+
],
|
|
2490
|
+
},
|
|
2491
|
+
},
|
|
2492
|
+
};
|
|
2493
|
+
export const sdlcAccelerateCommand = {
|
|
2494
|
+
id: 'sdlc-accelerate',
|
|
2495
|
+
type: 'skill',
|
|
2496
|
+
name: 'SDLC Accelerate',
|
|
2497
|
+
description: 'End-to-end SDLC ramp-up from idea to construction-ready with automated phase transitions',
|
|
2498
|
+
version: '1.0.0',
|
|
2499
|
+
capabilities: ['cli', 'sdlc', 'orchestration', 'pipeline', 'accelerate'],
|
|
2500
|
+
keywords: ['sdlc-accelerate', 'accelerate', 'bootstrap', 'ramp-up', 'construction-ready', 'pipeline'],
|
|
2501
|
+
category: 'sdlc-orchestration',
|
|
2502
|
+
platforms: {
|
|
2503
|
+
claude: 'full',
|
|
2504
|
+
generic: 'full',
|
|
2505
|
+
},
|
|
2506
|
+
deployment: {
|
|
2507
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2508
|
+
core: false,
|
|
2509
|
+
},
|
|
2510
|
+
metadata: {
|
|
2511
|
+
type: 'skill',
|
|
2512
|
+
triggerPhrases: ['sdlc accelerate', 'accelerate sdlc', 'bootstrap project', 'ramp up sdlc', 'construction ready'],
|
|
2513
|
+
commandHint: {
|
|
2514
|
+
template: 'orchestration',
|
|
2515
|
+
executedViaSkillRunner: true,
|
|
2516
|
+
argumentHint: '<description> [--from-codebase <path> --resume --dry-run]',
|
|
2517
|
+
allowedTools: ['Task', 'Read', 'Write', 'Glob', 'TodoWrite'],
|
|
2518
|
+
executionSteps: [
|
|
2519
|
+
'Detect entry point',
|
|
2520
|
+
'Execute intake phase',
|
|
2521
|
+
'Evaluate LOM gate',
|
|
2522
|
+
'Execute elaboration phase',
|
|
2523
|
+
'Evaluate ABM gate',
|
|
2524
|
+
'Execute construction prep',
|
|
2525
|
+
'Generate Construction Ready Brief',
|
|
2526
|
+
],
|
|
2527
|
+
},
|
|
2528
|
+
},
|
|
2529
|
+
};
|
|
2530
|
+
// Reproducibility Commands
|
|
2531
|
+
export const executionModeCommand = {
|
|
2532
|
+
id: 'execution-mode',
|
|
2533
|
+
type: 'skill',
|
|
2534
|
+
name: 'Execution Mode',
|
|
2535
|
+
description: 'Set reproducibility mode for deterministic workflow execution',
|
|
2536
|
+
version: '1.0.0',
|
|
2537
|
+
capabilities: ['cli', 'reproducibility', 'configuration', 'execution-mode'],
|
|
2538
|
+
keywords: ['execution', 'mode', 'strict', 'seeded', 'reproducibility', 'determinism'],
|
|
2539
|
+
category: 'reproducibility',
|
|
2540
|
+
platforms: {
|
|
2541
|
+
claude: 'full',
|
|
2542
|
+
generic: 'full',
|
|
2543
|
+
},
|
|
2544
|
+
deployment: {
|
|
2545
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2546
|
+
core: false,
|
|
2547
|
+
},
|
|
2548
|
+
metadata: {
|
|
2549
|
+
type: 'skill',
|
|
2550
|
+
triggerPhrases: ['execution mode', 'set execution mode', 'reproducibility mode', 'deterministic mode'],
|
|
2551
|
+
commandHint: {
|
|
2552
|
+
template: 'utility',
|
|
2553
|
+
argumentHint: '<mode> [--seed <value>]',
|
|
2554
|
+
allowedTools: ['Read', 'Write'],
|
|
2555
|
+
},
|
|
2556
|
+
},
|
|
2557
|
+
};
|
|
2558
|
+
export const snapshotCommand = {
|
|
2559
|
+
id: 'snapshot',
|
|
2560
|
+
type: 'skill',
|
|
2561
|
+
name: 'Snapshot',
|
|
2562
|
+
description: 'Capture, list, or replay workflow execution snapshots',
|
|
2563
|
+
version: '1.0.0',
|
|
2564
|
+
capabilities: ['cli', 'reproducibility', 'snapshot', 'replay'],
|
|
2565
|
+
keywords: ['snapshot', 'replay', 'capture', 'execution', 'reproducibility'],
|
|
2566
|
+
category: 'reproducibility',
|
|
2567
|
+
platforms: {
|
|
2568
|
+
claude: 'full',
|
|
2569
|
+
generic: 'full',
|
|
2570
|
+
},
|
|
2571
|
+
deployment: {
|
|
2572
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2573
|
+
core: false,
|
|
2574
|
+
},
|
|
2575
|
+
metadata: {
|
|
2576
|
+
type: 'skill',
|
|
2577
|
+
triggerPhrases: ['snapshot', 'capture snapshot', 'list snapshots', 'replay snapshot'],
|
|
2578
|
+
commandHint: {
|
|
2579
|
+
template: 'utility',
|
|
2580
|
+
argumentHint: '<list|show|capture> [options]',
|
|
2581
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
2582
|
+
cliDisabled: true,
|
|
2583
|
+
},
|
|
2584
|
+
},
|
|
2585
|
+
};
|
|
2586
|
+
export const checkpointCommand = {
|
|
2587
|
+
id: 'checkpoint',
|
|
2588
|
+
type: 'skill',
|
|
2589
|
+
name: 'Checkpoint',
|
|
2590
|
+
description: 'Create, list, or restore workflow checkpoints for recovery',
|
|
2591
|
+
version: '1.0.0',
|
|
2592
|
+
capabilities: ['cli', 'reproducibility', 'checkpoint', 'recovery'],
|
|
2593
|
+
keywords: ['checkpoint', 'recovery', 'restore', 'state', 'reproducibility'],
|
|
2594
|
+
category: 'reproducibility',
|
|
2595
|
+
platforms: {
|
|
2596
|
+
claude: 'full',
|
|
2597
|
+
generic: 'full',
|
|
2598
|
+
},
|
|
2599
|
+
deployment: {
|
|
2600
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2601
|
+
core: false,
|
|
2602
|
+
},
|
|
2603
|
+
metadata: {
|
|
2604
|
+
type: 'skill',
|
|
2605
|
+
triggerPhrases: ['checkpoint', 'create checkpoint', 'list checkpoints', 'recover checkpoint'],
|
|
2606
|
+
commandHint: {
|
|
2607
|
+
template: 'utility',
|
|
2608
|
+
argumentHint: '<list|recover|create> [options]',
|
|
2609
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
2610
|
+
cliDisabled: true,
|
|
2611
|
+
},
|
|
2612
|
+
},
|
|
2613
|
+
};
|
|
2614
|
+
export const reproducibilityValidateCommand = {
|
|
2615
|
+
id: 'reproducibility-validate',
|
|
2616
|
+
type: 'skill',
|
|
2617
|
+
name: 'Reproducibility Validate',
|
|
2618
|
+
description: 'Verify workflow outputs match across multiple execution runs',
|
|
2619
|
+
version: '1.0.0',
|
|
2620
|
+
capabilities: ['cli', 'reproducibility', 'validation', 'compliance'],
|
|
2621
|
+
keywords: ['reproducibility', 'validate', 'verify', 'compare', 'compliance'],
|
|
2622
|
+
category: 'reproducibility',
|
|
2623
|
+
platforms: {
|
|
2624
|
+
claude: 'full',
|
|
2625
|
+
generic: 'full',
|
|
2626
|
+
},
|
|
2627
|
+
deployment: {
|
|
2628
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2629
|
+
core: false,
|
|
2630
|
+
},
|
|
2631
|
+
metadata: {
|
|
2632
|
+
type: 'skill',
|
|
2633
|
+
triggerPhrases: ['reproducibility validate', 'validate reproducibility', 'verify reproducibility', 'compare workflow runs'],
|
|
2634
|
+
commandHint: {
|
|
2635
|
+
template: 'utility',
|
|
2636
|
+
argumentHint: '<workflow-id> [--runs <count>] [--threshold <value>]',
|
|
2637
|
+
allowedTools: ['Read', 'Bash'],
|
|
2638
|
+
cliDisabled: true,
|
|
2639
|
+
},
|
|
2640
|
+
},
|
|
2641
|
+
};
|
|
2642
|
+
export const behaviorCommand = {
|
|
2643
|
+
id: 'behavior',
|
|
2644
|
+
type: 'skill',
|
|
2645
|
+
name: 'Behavior',
|
|
2646
|
+
description: 'Manage behavior YAML bundles that bind directives and toolsets to agent types',
|
|
2647
|
+
version: '1.0.0',
|
|
2648
|
+
capabilities: ['cli', 'behavior', 'daemon', 'configuration'],
|
|
2649
|
+
keywords: ['behavior', 'directive', 'toolset', 'daemon', 'ops', 'agent-type'],
|
|
2650
|
+
category: 'daemon',
|
|
2651
|
+
platforms: {
|
|
2652
|
+
claude: 'full',
|
|
2653
|
+
generic: 'full',
|
|
2654
|
+
},
|
|
2655
|
+
deployment: {
|
|
2656
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2657
|
+
core: false,
|
|
2658
|
+
},
|
|
2659
|
+
metadata: {
|
|
2660
|
+
type: 'skill',
|
|
2661
|
+
triggerPhrases: ['behavior', 'list behaviors', 'apply behavior', 'manage behaviors'],
|
|
2662
|
+
commandHint: {
|
|
2663
|
+
template: 'utility',
|
|
2664
|
+
argumentHint: '<list|info|apply|remove> [name] [--to <agent>] [--from <agent>]',
|
|
2665
|
+
allowedTools: ['Read', 'Bash', 'Write'],
|
|
2666
|
+
},
|
|
2667
|
+
},
|
|
2668
|
+
};
|
|
2669
|
+
export const daemonInitCommand = {
|
|
2670
|
+
id: 'daemon-init',
|
|
2671
|
+
type: 'skill',
|
|
2672
|
+
name: 'Daemon Init',
|
|
2673
|
+
description: 'Initialize daemon config from a profile template (default: manager)',
|
|
2674
|
+
version: '1.0.0',
|
|
2675
|
+
capabilities: ['cli', 'daemon', 'configuration', 'scaffolding'],
|
|
2676
|
+
keywords: ['daemon', 'init', 'profile', 'manager', 'orchestrator', 'config'],
|
|
2677
|
+
category: 'daemon',
|
|
2678
|
+
platforms: {
|
|
2679
|
+
claude: 'full',
|
|
2680
|
+
generic: 'full',
|
|
2681
|
+
},
|
|
2682
|
+
deployment: {
|
|
2683
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2684
|
+
core: false,
|
|
2685
|
+
},
|
|
2686
|
+
metadata: {
|
|
2687
|
+
type: 'skill',
|
|
2688
|
+
triggerPhrases: ['daemon init', 'init daemon', 'initialize daemon', 'daemon setup'],
|
|
2689
|
+
commandHint: {
|
|
2690
|
+
template: 'utility',
|
|
2691
|
+
argumentHint: '[profile-name] [--force]',
|
|
2692
|
+
allowedTools: ['Bash', 'Read', 'Write'],
|
|
2693
|
+
},
|
|
2694
|
+
},
|
|
2695
|
+
};
|
|
2696
|
+
// Config Commands
|
|
2697
|
+
export const configCommand = {
|
|
2698
|
+
id: 'config',
|
|
2699
|
+
type: 'skill',
|
|
2700
|
+
name: 'Config',
|
|
2701
|
+
description: 'Manage user-level AIWG configuration (get, set, list, validate, reset, path, edit)',
|
|
2702
|
+
version: '1.0.0',
|
|
2703
|
+
capabilities: ['cli', 'configuration', 'user-config', 'preferences'],
|
|
2704
|
+
keywords: ['config', 'configuration', 'settings', 'preferences', 'get', 'set', 'validate'],
|
|
2705
|
+
category: 'config',
|
|
2706
|
+
platforms: {
|
|
2707
|
+
claude: 'full',
|
|
2708
|
+
generic: 'full',
|
|
2709
|
+
},
|
|
2710
|
+
deployment: {
|
|
2711
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2712
|
+
core: true,
|
|
2713
|
+
},
|
|
2714
|
+
metadata: {
|
|
2715
|
+
type: 'skill',
|
|
2716
|
+
triggerPhrases: ['config', 'aiwg config', 'show config', 'get config', 'set config', 'configuration'],
|
|
2717
|
+
commandHint: {
|
|
2718
|
+
template: 'utility',
|
|
2719
|
+
argumentHint: '<get|set|list|validate|reset|path|edit> [key] [value] [--config-dir <path>]',
|
|
2720
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
2721
|
+
executionSteps: [
|
|
2722
|
+
'Parse subcommand and flags',
|
|
2723
|
+
'Resolve config directory (AIWG_CONFIG → --config-dir → ~/.aiwg → ~/.config/aiwg)',
|
|
2724
|
+
'Execute subcommand operation',
|
|
2725
|
+
'Display results',
|
|
2726
|
+
],
|
|
2727
|
+
},
|
|
2728
|
+
},
|
|
2729
|
+
};
|
|
2730
|
+
// Ops Commands
|
|
2731
|
+
export const opsCommand = {
|
|
2732
|
+
id: 'ops',
|
|
2733
|
+
type: 'skill',
|
|
2734
|
+
name: 'Ops',
|
|
2735
|
+
description: 'Manage ops ecosystem — init workspaces, deploy frameworks, manage multi-repo ops suites',
|
|
2736
|
+
version: '1.0.0',
|
|
2737
|
+
capabilities: ['cli', 'ops', 'infrastructure', 'workspace', 'multi-repo'],
|
|
2738
|
+
keywords: ['ops', 'operations', 'init', 'workspace', 'sysops', 'devops', 'itops'],
|
|
2739
|
+
category: 'ops',
|
|
2740
|
+
platforms: {
|
|
2741
|
+
claude: 'full',
|
|
2742
|
+
generic: 'full',
|
|
2743
|
+
},
|
|
2744
|
+
deployment: {
|
|
2745
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2746
|
+
core: true,
|
|
2747
|
+
},
|
|
2748
|
+
metadata: {
|
|
2749
|
+
type: 'skill',
|
|
2750
|
+
triggerPhrases: ['ops', 'ops init', 'ops status', 'manage ops', 'ops workspace'],
|
|
2751
|
+
commandHint: {
|
|
2752
|
+
template: 'utility',
|
|
2753
|
+
argumentHint: '<init|status|use|list|push> [options]',
|
|
2754
|
+
allowedTools: ['Bash', 'Read', 'Write'],
|
|
2755
|
+
executionSteps: [
|
|
2756
|
+
'Parse subcommand and options',
|
|
2757
|
+
'Resolve ops workspace from registry',
|
|
2758
|
+
'Execute workspace operation',
|
|
2759
|
+
'Update ops registry',
|
|
2760
|
+
'Display results',
|
|
2761
|
+
],
|
|
2762
|
+
},
|
|
2763
|
+
},
|
|
2764
|
+
};
|
|
2765
|
+
// Provenance Subsystem Commands
|
|
2766
|
+
export const provenanceCommand = {
|
|
2767
|
+
id: 'provenance',
|
|
2768
|
+
type: 'skill',
|
|
2769
|
+
name: 'Provenance',
|
|
2770
|
+
description: 'Storage operations on the AIWG provenance subsystem — used by provenance-* skills for W3C PROV records',
|
|
2771
|
+
version: '1.0.0',
|
|
2772
|
+
capabilities: ['cli', 'provenance', 'storage', 'audit', 'w3c-prov'],
|
|
2773
|
+
keywords: ['provenance', 'prov', 'lineage', 'audit'],
|
|
2774
|
+
category: 'utility',
|
|
2775
|
+
platforms: { claude: 'full', generic: 'full' },
|
|
2776
|
+
deployment: { pathTemplate: '.{platform}/commands/{id}.md', core: true },
|
|
2777
|
+
metadata: {
|
|
2778
|
+
type: 'skill',
|
|
2779
|
+
triggerPhrases: ['provenance path', 'list provenance', 'aiwg provenance'],
|
|
2780
|
+
commandHint: {
|
|
2781
|
+
template: 'utility',
|
|
2782
|
+
argumentHint: '<path|list|get|put|delete|append-log> [options]',
|
|
2783
|
+
allowedTools: ['Bash', 'Read'],
|
|
2784
|
+
executionSteps: [
|
|
2785
|
+
'Parse subcommand and arguments',
|
|
2786
|
+
'Resolve storage adapter for provenance subsystem',
|
|
2787
|
+
'Read/write/list/delete/append-log via the adapter',
|
|
2788
|
+
'Print result',
|
|
2789
|
+
],
|
|
2790
|
+
},
|
|
2791
|
+
},
|
|
2792
|
+
};
|
|
2793
|
+
// Research Store Commands
|
|
2794
|
+
export const researchStoreCommand = {
|
|
2795
|
+
id: 'research-store',
|
|
2796
|
+
type: 'skill',
|
|
2797
|
+
name: 'Research Store',
|
|
2798
|
+
description: 'Storage operations on the AIWG research subsystem — corpus pages, source archives, and citation indexes',
|
|
2799
|
+
version: '1.0.0',
|
|
2800
|
+
capabilities: ['cli', 'research', 'corpus', 'storage'],
|
|
2801
|
+
keywords: ['research', 'corpus', 'research-store'],
|
|
2802
|
+
category: 'utility',
|
|
2803
|
+
platforms: { claude: 'full', generic: 'full' },
|
|
2804
|
+
deployment: { pathTemplate: '.{platform}/commands/{id}.md', core: true },
|
|
2805
|
+
metadata: {
|
|
2806
|
+
type: 'skill',
|
|
2807
|
+
triggerPhrases: ['research-store path', 'list research', 'aiwg research-store'],
|
|
2808
|
+
commandHint: {
|
|
2809
|
+
template: 'utility',
|
|
2810
|
+
argumentHint: '<path|list|get|put|delete|append-log> [options]',
|
|
2811
|
+
allowedTools: ['Bash', 'Read'],
|
|
2812
|
+
executionSteps: [
|
|
2813
|
+
'Parse subcommand and arguments',
|
|
2814
|
+
'Resolve storage adapter for research subsystem',
|
|
2815
|
+
'Read/write/list/delete/append-log via the adapter',
|
|
2816
|
+
'Print result',
|
|
2817
|
+
],
|
|
2818
|
+
},
|
|
2819
|
+
},
|
|
2820
|
+
};
|
|
2821
|
+
// Reflections Subsystem Commands
|
|
2822
|
+
export const reflectionsCommand = {
|
|
2823
|
+
id: 'reflections',
|
|
2824
|
+
type: 'skill',
|
|
2825
|
+
name: 'Reflections',
|
|
2826
|
+
description: 'Storage operations on the AIWG reflections subsystem — used by ralph-reflect / reflection-injection',
|
|
2827
|
+
version: '1.0.0',
|
|
2828
|
+
capabilities: ['cli', 'reflections', 'agent-loop', 'storage'],
|
|
2829
|
+
keywords: ['reflections', 'ralph-reflect', 'reflection-injection', 'agent-loop'],
|
|
2830
|
+
category: 'utility',
|
|
2831
|
+
platforms: {
|
|
2832
|
+
claude: 'full',
|
|
2833
|
+
generic: 'full',
|
|
2834
|
+
},
|
|
2835
|
+
deployment: {
|
|
2836
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2837
|
+
core: true,
|
|
2838
|
+
},
|
|
2839
|
+
metadata: {
|
|
2840
|
+
type: 'skill',
|
|
2841
|
+
triggerPhrases: ['where are reflections', 'reflections path', 'list reflections', 'aiwg reflections'],
|
|
2842
|
+
commandHint: {
|
|
2843
|
+
template: 'utility',
|
|
2844
|
+
argumentHint: '<path|list|get|put|delete|append-log> [options]',
|
|
2845
|
+
allowedTools: ['Bash', 'Read'],
|
|
2846
|
+
executionSteps: [
|
|
2847
|
+
'Parse subcommand and arguments',
|
|
2848
|
+
'Resolve storage adapter for reflections subsystem',
|
|
2849
|
+
'Read/write/list/delete/append-log via the adapter',
|
|
2850
|
+
'Print result',
|
|
2851
|
+
],
|
|
2852
|
+
},
|
|
2853
|
+
},
|
|
2854
|
+
};
|
|
2855
|
+
// Memory Subsystem Commands
|
|
2856
|
+
export const memoryCommand = {
|
|
2857
|
+
id: 'memory',
|
|
2858
|
+
type: 'skill',
|
|
2859
|
+
name: 'Memory',
|
|
2860
|
+
description: 'Storage operations on the AIWG memory subsystem, plus user-level project memory registry commands under ~/.aiwg/projects',
|
|
2861
|
+
version: '1.0.0',
|
|
2862
|
+
capabilities: ['cli', 'memory', 'semantic-memory', 'storage', 'pkm', 'project-memory', 'user-registry'],
|
|
2863
|
+
keywords: ['memory', 'semantic-memory', 'project-memory', 'registry', 'reflections', 'pages'],
|
|
2864
|
+
category: 'utility',
|
|
2865
|
+
platforms: {
|
|
2866
|
+
claude: 'full',
|
|
2867
|
+
generic: 'full',
|
|
2868
|
+
},
|
|
2869
|
+
deployment: {
|
|
2870
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2871
|
+
core: true,
|
|
2872
|
+
},
|
|
2873
|
+
metadata: {
|
|
2874
|
+
type: 'skill',
|
|
2875
|
+
triggerPhrases: ['where is memory', 'memory path', 'list memory', 'project memory', 'aiwg memory'],
|
|
2876
|
+
commandHint: {
|
|
2877
|
+
template: 'utility',
|
|
2878
|
+
argumentHint: '<path|list|get|put|delete|append-log|project> [options]',
|
|
2879
|
+
allowedTools: ['Bash', 'Read'],
|
|
2880
|
+
executionSteps: [
|
|
2881
|
+
'Parse subcommand and arguments',
|
|
2882
|
+
'Resolve storage adapter for memory subsystem',
|
|
2883
|
+
'Read/write/list/delete/append-log via the adapter or manage project-memory mappings',
|
|
2884
|
+
'Print result',
|
|
2885
|
+
],
|
|
2886
|
+
},
|
|
2887
|
+
},
|
|
2888
|
+
};
|
|
2889
|
+
// Knowledge Base Commands
|
|
2890
|
+
export const kbCommand = {
|
|
2891
|
+
id: 'kb',
|
|
2892
|
+
type: 'skill',
|
|
2893
|
+
name: 'Knowledge Base',
|
|
2894
|
+
description: 'Storage operations on the AIWG knowledge base — resolve paths, list pages, get/put/delete entries through the configured backend',
|
|
2895
|
+
version: '1.0.0',
|
|
2896
|
+
capabilities: ['cli', 'kb', 'knowledge-base', 'storage', 'pkm'],
|
|
2897
|
+
keywords: ['kb', 'knowledge-base', 'pages', 'entities', 'concepts'],
|
|
2898
|
+
category: 'utility',
|
|
2899
|
+
platforms: {
|
|
2900
|
+
claude: 'full',
|
|
2901
|
+
generic: 'full',
|
|
2902
|
+
},
|
|
2903
|
+
deployment: {
|
|
2904
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2905
|
+
core: true,
|
|
2906
|
+
},
|
|
2907
|
+
metadata: {
|
|
2908
|
+
type: 'skill',
|
|
2909
|
+
triggerPhrases: ['where is the kb', 'kb path', 'list kb pages', 'aiwg kb'],
|
|
2910
|
+
commandHint: {
|
|
2911
|
+
template: 'utility',
|
|
2912
|
+
argumentHint: '<path|list|get|put|delete> [options]',
|
|
2913
|
+
allowedTools: ['Bash', 'Read'],
|
|
2914
|
+
executionSteps: [
|
|
2915
|
+
'Parse subcommand and arguments',
|
|
2916
|
+
'Resolve storage adapter for kb subsystem',
|
|
2917
|
+
'Read/write/list/delete via the adapter',
|
|
2918
|
+
'Print result',
|
|
2919
|
+
],
|
|
2920
|
+
},
|
|
2921
|
+
},
|
|
2922
|
+
};
|
|
2923
|
+
// Activity Log Commands
|
|
2924
|
+
export const activityLogCommand = {
|
|
2925
|
+
id: 'activity-log',
|
|
2926
|
+
type: 'skill',
|
|
2927
|
+
name: 'Activity Log',
|
|
2928
|
+
description: 'Query and manage .aiwg/activity.log — show entries, append new ones, summarize stats',
|
|
2929
|
+
version: '1.0.0',
|
|
2930
|
+
capabilities: ['cli', 'activity-log', 'audit', 'self-maintenance'],
|
|
2931
|
+
keywords: ['activity', 'log', 'audit', 'history', 'timeline'],
|
|
2932
|
+
category: 'utility',
|
|
2933
|
+
platforms: {
|
|
2934
|
+
claude: 'full',
|
|
2935
|
+
generic: 'full',
|
|
2936
|
+
},
|
|
2937
|
+
deployment: {
|
|
2938
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2939
|
+
core: true,
|
|
2940
|
+
},
|
|
2941
|
+
metadata: {
|
|
2942
|
+
type: 'skill',
|
|
2943
|
+
triggerPhrases: ['activity log', 'show activity', 'log this', 'audit timeline'],
|
|
2944
|
+
commandHint: {
|
|
2945
|
+
template: 'utility',
|
|
2946
|
+
argumentHint: '<show|append|stats> [options]',
|
|
2947
|
+
allowedTools: ['Bash', 'Read'],
|
|
2948
|
+
executionSteps: [
|
|
2949
|
+
'Parse subcommand and options',
|
|
2950
|
+
'Resolve storage adapter for activity_log subsystem',
|
|
2951
|
+
'Read or write entries via the adapter',
|
|
2952
|
+
'Format output (newest-first for show, table for stats)',
|
|
2953
|
+
],
|
|
2954
|
+
},
|
|
2955
|
+
},
|
|
2956
|
+
};
|
|
2957
|
+
export const commandLogCommand = {
|
|
2958
|
+
id: 'command-log',
|
|
2959
|
+
type: 'skill',
|
|
2960
|
+
name: 'Command Log',
|
|
2961
|
+
description: 'Report opt-in local CLI command invocation logs with project/global scope summaries and JSON output',
|
|
2962
|
+
version: '1.0.0',
|
|
2963
|
+
capabilities: ['cli', 'command-log', 'telemetry', 'analysis', 'self-maintenance'],
|
|
2964
|
+
keywords: ['command', 'log', 'usage', 'telemetry', 'analysis', 'invocation'],
|
|
2965
|
+
category: 'utility',
|
|
2966
|
+
platforms: {
|
|
2967
|
+
claude: 'full',
|
|
2968
|
+
generic: 'full',
|
|
2969
|
+
},
|
|
2970
|
+
deployment: {
|
|
2971
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
2972
|
+
core: true,
|
|
2973
|
+
},
|
|
2974
|
+
metadata: {
|
|
2975
|
+
type: 'skill',
|
|
2976
|
+
triggerPhrases: ['command log', 'show command usage', 'cli usage analysis', 'which aiwg commands are used'],
|
|
2977
|
+
commandHint: {
|
|
2978
|
+
template: 'utility',
|
|
2979
|
+
argumentHint: '[--json] [--scope project|global|all] [--limit N]',
|
|
2980
|
+
allowedTools: ['Bash', 'Read'],
|
|
2981
|
+
executionSteps: [
|
|
2982
|
+
'Read project and/or global command-log JSONL stores',
|
|
2983
|
+
'Summarize command frequency, failures, and recent invocations',
|
|
2984
|
+
'Print a human report or JSON for automation',
|
|
2985
|
+
],
|
|
2986
|
+
},
|
|
2987
|
+
},
|
|
2988
|
+
};
|
|
2989
|
+
export const skillUsageCommand = {
|
|
2990
|
+
id: 'skill-usage',
|
|
2991
|
+
type: 'skill',
|
|
2992
|
+
name: 'Skill Usage',
|
|
2993
|
+
description: 'Report opt-in local skill, agent, and command utilization with project/global scope summaries and JSON output',
|
|
2994
|
+
version: '1.0.0',
|
|
2995
|
+
capabilities: ['cli', 'skill-usage', 'telemetry', 'analysis', 'self-maintenance'],
|
|
2996
|
+
keywords: ['skill', 'agent', 'usage', 'telemetry', 'analysis', 'heatmap', 'invocation'],
|
|
2997
|
+
category: 'utility',
|
|
2998
|
+
platforms: {
|
|
2999
|
+
claude: 'full',
|
|
3000
|
+
generic: 'full',
|
|
3001
|
+
},
|
|
3002
|
+
deployment: {
|
|
3003
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
3004
|
+
core: true,
|
|
3005
|
+
},
|
|
3006
|
+
metadata: {
|
|
3007
|
+
type: 'skill',
|
|
3008
|
+
triggerPhrases: ['skill usage', 'show skill usage', 'agent usage analysis', 'which aiwg skills are used'],
|
|
3009
|
+
commandHint: {
|
|
3010
|
+
template: 'utility',
|
|
3011
|
+
argumentHint: '[--json] [--scope project|global|all] [--limit N] [--suggest-for "query"] | ingest-transcript <path> --provider claude-code [--project-root <path>] [--dry-run] [--json]',
|
|
3012
|
+
allowedTools: ['Bash', 'Read'],
|
|
3013
|
+
executionSteps: [
|
|
3014
|
+
'Read project and/or global skill-usage JSONL stores',
|
|
3015
|
+
'Optionally parse a targeted Claude Code JSONL transcript for structural skill/agent invocations',
|
|
3016
|
+
'Summarize artifact frequency, recency heatmap, cold spots, failures, actions, and recent usage',
|
|
3017
|
+
'Suggest relevant under-used skills when --suggest-for is provided',
|
|
3018
|
+
'Print a human report or JSON for automation',
|
|
3019
|
+
],
|
|
3020
|
+
},
|
|
3021
|
+
},
|
|
3022
|
+
};
|
|
3023
|
+
// Storage Commands
|
|
3024
|
+
export const storageCommand = {
|
|
3025
|
+
id: 'storage',
|
|
3026
|
+
type: 'skill',
|
|
3027
|
+
name: 'Storage',
|
|
3028
|
+
description: 'Manage AIWG storage adapters — show effective config, list compiled-in backends, round-trip-test a subsystem',
|
|
3029
|
+
version: '1.0.0',
|
|
3030
|
+
capabilities: ['cli', 'storage', 'configuration', 'pkm', 'self-maintenance'],
|
|
3031
|
+
keywords: ['storage', 'backend', 'adapter', 'obsidian', 'logseq', 'notion', 'fortemi', 'pkm'],
|
|
3032
|
+
category: 'utility',
|
|
3033
|
+
platforms: {
|
|
3034
|
+
claude: 'full',
|
|
3035
|
+
generic: 'full',
|
|
3036
|
+
},
|
|
3037
|
+
deployment: {
|
|
3038
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
3039
|
+
core: true,
|
|
3040
|
+
},
|
|
3041
|
+
metadata: {
|
|
3042
|
+
type: 'skill',
|
|
3043
|
+
triggerPhrases: ['storage show', 'storage backends', 'where do my notes go', 'aiwg storage'],
|
|
3044
|
+
commandHint: {
|
|
3045
|
+
template: 'utility',
|
|
3046
|
+
argumentHint: '<show|list-backends|test <subsystem>>',
|
|
3047
|
+
allowedTools: ['Bash', 'Read'],
|
|
3048
|
+
executionSteps: [
|
|
3049
|
+
'Parse subcommand',
|
|
3050
|
+
'Load .aiwg/storage.config (or default to fs)',
|
|
3051
|
+
'Resolve backend per subsystem',
|
|
3052
|
+
'Execute requested operation',
|
|
3053
|
+
'Print results',
|
|
3054
|
+
],
|
|
3055
|
+
},
|
|
3056
|
+
},
|
|
3057
|
+
};
|
|
3058
|
+
// Agentic Tools Commands (RLM support tools)
|
|
3059
|
+
export const chunkCommand = {
|
|
3060
|
+
id: 'chunk',
|
|
3061
|
+
type: 'skill',
|
|
3062
|
+
name: 'Chunk',
|
|
3063
|
+
description: 'Split a file into overlapping chunks for parallel fanout processing',
|
|
3064
|
+
version: '1.0.0',
|
|
3065
|
+
capabilities: ['rlm', 'chunking', 'agentic-tools', 'context-decomposition'],
|
|
3066
|
+
keywords: ['chunk', 'split', 'fanout', 'rlm', 'decompose', 'context'],
|
|
3067
|
+
category: 'agentic-tools',
|
|
3068
|
+
platforms: {
|
|
3069
|
+
claude: 'full',
|
|
3070
|
+
generic: 'full',
|
|
3071
|
+
},
|
|
3072
|
+
deployment: {
|
|
3073
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
3074
|
+
core: false,
|
|
3075
|
+
},
|
|
3076
|
+
metadata: {
|
|
3077
|
+
type: 'skill',
|
|
3078
|
+
triggerPhrases: ['chunk file', 'split file', 'prepare for fanout', 'chunk for rlm'],
|
|
3079
|
+
commandHint: {
|
|
3080
|
+
template: 'utility',
|
|
3081
|
+
argumentHint: '<file> [--size N] [--overlap N] [--format json|text] [--output <dir>]',
|
|
3082
|
+
allowedTools: ['Read', 'Write', 'Bash'],
|
|
3083
|
+
executionSteps: [
|
|
3084
|
+
'Read source file',
|
|
3085
|
+
'Apply chunking strategy (semantic-boundary or fixed-count)',
|
|
3086
|
+
'Write chunk files with overlap',
|
|
3087
|
+
'Output JSON manifest of chunk locations',
|
|
3088
|
+
],
|
|
3089
|
+
},
|
|
3090
|
+
},
|
|
3091
|
+
};
|
|
3092
|
+
export const fanoutCommand = {
|
|
3093
|
+
id: 'fanout',
|
|
3094
|
+
type: 'skill',
|
|
3095
|
+
name: 'Fanout',
|
|
3096
|
+
description: 'Dispatch parallel subagent queries across a chunk manifest',
|
|
3097
|
+
version: '1.0.0',
|
|
3098
|
+
capabilities: ['rlm', 'fanout', 'agentic-tools', 'parallel-search'],
|
|
3099
|
+
keywords: ['fanout', 'parallel', 'search', 'rlm', 'subagent', 'dispatch'],
|
|
3100
|
+
category: 'agentic-tools',
|
|
3101
|
+
platforms: {
|
|
3102
|
+
claude: 'full',
|
|
3103
|
+
generic: 'full',
|
|
3104
|
+
},
|
|
3105
|
+
deployment: {
|
|
3106
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
3107
|
+
core: false,
|
|
3108
|
+
},
|
|
3109
|
+
metadata: {
|
|
3110
|
+
type: 'skill',
|
|
3111
|
+
triggerPhrases: ['fanout search', 'parallel search chunks', 'dispatch across chunks'],
|
|
3112
|
+
commandHint: {
|
|
3113
|
+
template: 'utility',
|
|
3114
|
+
argumentHint: '<query> --chunks <dir|manifest.json> [--parallel N] [--model haiku|sonnet|opus]',
|
|
3115
|
+
allowedTools: ['Read', 'Bash', 'Glob', 'Grep'],
|
|
3116
|
+
executionSteps: [
|
|
3117
|
+
'Read chunk manifest',
|
|
3118
|
+
'Dispatch parallel subagents up to --parallel limit',
|
|
3119
|
+
'Each subagent queries one chunk',
|
|
3120
|
+
'Collect and aggregate results with provenance',
|
|
3121
|
+
],
|
|
3122
|
+
},
|
|
3123
|
+
},
|
|
3124
|
+
};
|
|
3125
|
+
export const rlmPrepCommand = {
|
|
3126
|
+
id: 'rlm-prep',
|
|
3127
|
+
type: 'skill',
|
|
3128
|
+
name: 'RLM Prep',
|
|
3129
|
+
description: 'Prepare source content for RLM processing (chunk + index + manifest)',
|
|
3130
|
+
version: '1.0.0',
|
|
3131
|
+
capabilities: ['rlm', 'prep', 'agentic-tools', 'indexing'],
|
|
3132
|
+
keywords: ['rlm-prep', 'prepare', 'index', 'rlm', 'manifest', 'chunk'],
|
|
3133
|
+
category: 'agentic-tools',
|
|
3134
|
+
platforms: {
|
|
3135
|
+
claude: 'full',
|
|
3136
|
+
generic: 'full',
|
|
3137
|
+
},
|
|
3138
|
+
deployment: {
|
|
3139
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
3140
|
+
core: false,
|
|
3141
|
+
},
|
|
3142
|
+
metadata: {
|
|
3143
|
+
type: 'skill',
|
|
3144
|
+
triggerPhrases: ['prepare for rlm', 'rlm prep', 'index for recursive search'],
|
|
3145
|
+
commandHint: {
|
|
3146
|
+
template: 'utility',
|
|
3147
|
+
argumentHint: '<file|dir> [--output <dir>] [--strategy semantic-boundary|fixed-count|adaptive] [--size N]',
|
|
3148
|
+
allowedTools: ['Read', 'Write', 'Glob', 'Bash'],
|
|
3149
|
+
executionSteps: [
|
|
3150
|
+
'Discover all files in source path',
|
|
3151
|
+
'Apply chunking strategy per file',
|
|
3152
|
+
'Build searchable index',
|
|
3153
|
+
'Write manifest.json with chunk locations and metadata',
|
|
3154
|
+
],
|
|
3155
|
+
},
|
|
3156
|
+
},
|
|
3157
|
+
};
|
|
3158
|
+
export const rlmSearchCommand = {
|
|
3159
|
+
id: 'rlm-search',
|
|
3160
|
+
type: 'skill',
|
|
3161
|
+
name: 'RLM Search',
|
|
3162
|
+
description: 'Full recursive search pipeline: decompose source, fanout query, synthesize results',
|
|
3163
|
+
version: '1.0.0',
|
|
3164
|
+
capabilities: ['rlm', 'search', 'agentic-tools', 'recursive', 'synthesis'],
|
|
3165
|
+
keywords: ['rlm-search', 'recursive', 'search', 'fanout', 'synthesize', 'rlm'],
|
|
3166
|
+
category: 'agentic-tools',
|
|
3167
|
+
platforms: {
|
|
3168
|
+
claude: 'full',
|
|
3169
|
+
generic: 'full',
|
|
3170
|
+
},
|
|
3171
|
+
deployment: {
|
|
3172
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
3173
|
+
core: false,
|
|
3174
|
+
},
|
|
3175
|
+
metadata: {
|
|
3176
|
+
type: 'skill',
|
|
3177
|
+
triggerPhrases: ['rlm search', 'recursive search', 'search large codebase', 'fanout and synthesize'],
|
|
3178
|
+
commandHint: {
|
|
3179
|
+
template: 'utility',
|
|
3180
|
+
argumentHint: '<query> --source <file|dir> [--depth N] [--parallel N] [--budget N]',
|
|
3181
|
+
allowedTools: ['Read', 'Write', 'Glob', 'Grep', 'Bash'],
|
|
3182
|
+
executionSteps: [
|
|
3183
|
+
'Run rlm-prep on source if not already prepped',
|
|
3184
|
+
'Fanout query across all chunks (respecting --parallel)',
|
|
3185
|
+
'If results exceed context: chunk again and recurse',
|
|
3186
|
+
'When synthesis fits in single window: produce final answer',
|
|
3187
|
+
'Output result with provenance and cost summary',
|
|
3188
|
+
],
|
|
3189
|
+
},
|
|
3190
|
+
},
|
|
3191
|
+
};
|
|
3192
|
+
export const rlmStatusCommand = {
|
|
3193
|
+
id: 'rlm-status',
|
|
3194
|
+
type: 'skill',
|
|
3195
|
+
name: 'RLM Status',
|
|
3196
|
+
description: 'Show active RLM task tree, progress, and cost breakdown',
|
|
3197
|
+
version: '1.0.0',
|
|
3198
|
+
capabilities: ['rlm', 'status', 'agentic-tools', 'monitoring'],
|
|
3199
|
+
keywords: ['rlm-status', 'status', 'task-tree', 'progress', 'cost', 'rlm'],
|
|
3200
|
+
category: 'agentic-tools',
|
|
3201
|
+
platforms: {
|
|
3202
|
+
claude: 'full',
|
|
3203
|
+
generic: 'full',
|
|
3204
|
+
},
|
|
3205
|
+
deployment: {
|
|
3206
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
3207
|
+
core: false,
|
|
3208
|
+
},
|
|
3209
|
+
metadata: {
|
|
3210
|
+
type: 'skill',
|
|
3211
|
+
triggerPhrases: ['rlm status', 'show rlm progress', 'rlm task tree', 'rlm cost'],
|
|
3212
|
+
commandHint: {
|
|
3213
|
+
template: 'utility',
|
|
3214
|
+
argumentHint: '[--cost] [--tree] [--json] [--task-id <id>]',
|
|
3215
|
+
allowedTools: ['Read', 'Bash'],
|
|
3216
|
+
executionSteps: [
|
|
3217
|
+
'Read active task tree from .aiwg/ralph/rlm-state.json',
|
|
3218
|
+
'Show progress per node (pending/running/complete/failed)',
|
|
3219
|
+
'Display cost breakdown if --cost flag set',
|
|
3220
|
+
'Output as JSON if --json flag set',
|
|
3221
|
+
],
|
|
3222
|
+
},
|
|
3223
|
+
},
|
|
3224
|
+
};
|
|
3225
|
+
export const rlmCacheCommand = {
|
|
3226
|
+
id: 'rlm-cache',
|
|
3227
|
+
type: 'command',
|
|
3228
|
+
name: 'RLM Cache',
|
|
3229
|
+
description: 'Manage cached RLM results (list, stats, evict, clear) — keyed by index content-hash (#1203)',
|
|
3230
|
+
version: '1.0.0',
|
|
3231
|
+
capabilities: ['rlm', 'cache', 'agentic-tools', 'efficiency'],
|
|
3232
|
+
keywords: ['rlm-cache', 'cache', 'rlm', 'evict', 'list', 'stats'],
|
|
3233
|
+
category: 'agentic-tools',
|
|
3234
|
+
platforms: {
|
|
3235
|
+
claude: 'full',
|
|
3236
|
+
generic: 'full',
|
|
3237
|
+
},
|
|
3238
|
+
deployment: {
|
|
3239
|
+
pathTemplate: '.{platform}/commands/{id}.md',
|
|
3240
|
+
core: false,
|
|
3241
|
+
},
|
|
3242
|
+
metadata: {
|
|
3243
|
+
type: 'command',
|
|
3244
|
+
template: 'utility',
|
|
3245
|
+
argumentHint: '<list|stats|evict|clear> [args]',
|
|
3246
|
+
allowedTools: ['Read', 'Bash'],
|
|
3247
|
+
},
|
|
3248
|
+
};
|
|
3249
|
+
// ============================================
|
|
3250
|
+
// Aggregated Exports
|
|
3251
|
+
// ============================================
|
|
3252
|
+
/**
|
|
3253
|
+
* All command definitions
|
|
3254
|
+
*
|
|
3255
|
+
* Organized by category:
|
|
3256
|
+
* - Maintenance (5): help, version, doctor, update, sync
|
|
3257
|
+
* - Framework (3): use, list, remove
|
|
3258
|
+
* - Project (4): new, init, run, serve
|
|
3259
|
+
* - Workspace (4): status, wizard, migrate-workspace, rollback-workspace
|
|
3260
|
+
* - MCP (1): mcp
|
|
3261
|
+
* - Catalog (1): catalog
|
|
3262
|
+
* - Toolsmith (1): runtime-info
|
|
3263
|
+
* - Utility (3): prefill-cards, contribute-start, validate-metadata
|
|
3264
|
+
* - Plugin (5): install-plugin, uninstall-plugin, plugin-status, package-plugin, package-all-plugins
|
|
3265
|
+
* - Scaffolding (8): add-agent, add-command, add-skill, add-behavior, add-template, scaffold-addon, scaffold-extension, scaffold-framework
|
|
3266
|
+
* - Ralph (8): ralph, ralph-status, ralph-abort, ralph-resume, ralph-attach, agent-loop-ext, ralph-memory, ralph-config
|
|
3267
|
+
* - Mission Control (1): mc
|
|
3268
|
+
* - Metrics (3): cost-report, cost-history, metrics-tokens
|
|
3269
|
+
* - Documentation (1): doc-sync
|
|
3270
|
+
* - Code Analysis (1): cleanup-audit
|
|
3271
|
+
* - SDLC Orchestration (1): sdlc-accelerate
|
|
3272
|
+
* - Index (1): index
|
|
3273
|
+
* - Reproducibility (4): execution-mode, snapshot, checkpoint, reproducibility-validate
|
|
3274
|
+
* - Daemon (2): behavior, daemon-init
|
|
3275
|
+
* - Config (1): config
|
|
3276
|
+
* - Ops (1): ops
|
|
3277
|
+
* - Agentic Tools (5): chunk, fanout, rlm-prep, rlm-search, rlm-status
|
|
3278
|
+
*/
|
|
3279
|
+
export const commandDefinitions = [
|
|
3280
|
+
// Maintenance (7)
|
|
3281
|
+
helpCommand,
|
|
3282
|
+
versionCommand,
|
|
3283
|
+
doctorCommand,
|
|
3284
|
+
updateCommand,
|
|
3285
|
+
refreshCommand,
|
|
3286
|
+
regenerateCommand,
|
|
3287
|
+
workspaceContextCommand,
|
|
3288
|
+
// Framework (6)
|
|
3289
|
+
useCommand,
|
|
3290
|
+
modelsCommand,
|
|
3291
|
+
cockpitCommand,
|
|
3292
|
+
listCommand,
|
|
3293
|
+
removeCommand,
|
|
3294
|
+
promoteCommand,
|
|
3295
|
+
newBundleCommand,
|
|
3296
|
+
quickrefCommand,
|
|
3297
|
+
installCommand,
|
|
3298
|
+
packagesCommand,
|
|
3299
|
+
marketplaceCommand,
|
|
3300
|
+
// Project
|
|
3301
|
+
newCommand,
|
|
3302
|
+
initCommand,
|
|
3303
|
+
setupCommand,
|
|
3304
|
+
issueCommand,
|
|
3305
|
+
issueAuditCommand,
|
|
3306
|
+
addressIssuesCommand,
|
|
3307
|
+
runCommand,
|
|
3308
|
+
serveCommand,
|
|
3309
|
+
localExecutorCommand,
|
|
3310
|
+
localExecutorServeCommand,
|
|
3311
|
+
// Workspace (4)
|
|
3312
|
+
statusCommand,
|
|
3313
|
+
wizardCommand,
|
|
3314
|
+
migrateWorkspaceCommand,
|
|
3315
|
+
rollbackWorkspaceCommand,
|
|
3316
|
+
// MCP (1)
|
|
3317
|
+
mcpCommand,
|
|
3318
|
+
// Catalog (2)
|
|
3319
|
+
catalogCommand,
|
|
3320
|
+
skillsCommand,
|
|
3321
|
+
// Toolsmith (1)
|
|
3322
|
+
runtimeInfoCommand,
|
|
3323
|
+
agentcardCommand,
|
|
3324
|
+
// Utility (5)
|
|
3325
|
+
prefillCardsCommand,
|
|
3326
|
+
contributeStartCommand,
|
|
3327
|
+
validateMetadataCommand,
|
|
3328
|
+
skillLintCommand,
|
|
3329
|
+
repoAccessCommand,
|
|
3330
|
+
// Plugin (5)
|
|
3331
|
+
installPluginCommand,
|
|
3332
|
+
uninstallPluginCommand,
|
|
3333
|
+
pluginStatusCommand,
|
|
3334
|
+
packagePluginCommand,
|
|
3335
|
+
packageAllPluginsCommand,
|
|
3336
|
+
// Scaffolding (8)
|
|
3337
|
+
addAgentCommand,
|
|
3338
|
+
addCommandCommand,
|
|
3339
|
+
addSkillCommand,
|
|
3340
|
+
addBehaviorCommand,
|
|
3341
|
+
addTemplateCommand,
|
|
3342
|
+
scaffoldAddonCommand,
|
|
3343
|
+
scaffoldExtensionCommand,
|
|
3344
|
+
scaffoldFrameworkCommand,
|
|
3345
|
+
// Ralph (8)
|
|
3346
|
+
ralphCommand,
|
|
3347
|
+
ralphStatusCommand,
|
|
3348
|
+
ralphAbortCommand,
|
|
3349
|
+
ralphResumeCommand,
|
|
3350
|
+
ralphAttachCommand,
|
|
3351
|
+
agentLoopExtCommand,
|
|
3352
|
+
ralphMemoryCommand,
|
|
3353
|
+
ralphConfigCommand,
|
|
3354
|
+
// Mission Control (1)
|
|
3355
|
+
mcCommand,
|
|
3356
|
+
// Steward (1)
|
|
3357
|
+
stewardCommand,
|
|
3358
|
+
// Agent Teams (1)
|
|
3359
|
+
teamCommand,
|
|
3360
|
+
// Metrics (3)
|
|
3361
|
+
costReportCommand,
|
|
3362
|
+
costHistoryCommand,
|
|
3363
|
+
metricsTokensCommand,
|
|
3364
|
+
// Documentation (2)
|
|
3365
|
+
docSyncCommand,
|
|
3366
|
+
docConsolidateCommand,
|
|
3367
|
+
// Lint (1)
|
|
3368
|
+
lintCommand,
|
|
3369
|
+
// Code Analysis (1)
|
|
3370
|
+
cleanupAuditCommand,
|
|
3371
|
+
// SDLC Orchestration (1)
|
|
3372
|
+
sdlcAccelerateCommand,
|
|
3373
|
+
// Research Validation (1)
|
|
3374
|
+
bestPracticesAuditCommand,
|
|
3375
|
+
// Index + Discovery
|
|
3376
|
+
indexCommand,
|
|
3377
|
+
artifactsCommand,
|
|
3378
|
+
corpusCommand,
|
|
3379
|
+
researchQueryCommand,
|
|
3380
|
+
discoverCommand,
|
|
3381
|
+
showCommand,
|
|
3382
|
+
// Optional Features (1)
|
|
3383
|
+
featuresCommand,
|
|
3384
|
+
// Reproducibility (4)
|
|
3385
|
+
executionModeCommand,
|
|
3386
|
+
snapshotCommand,
|
|
3387
|
+
checkpointCommand,
|
|
3388
|
+
reproducibilityValidateCommand,
|
|
3389
|
+
// Daemon (2)
|
|
3390
|
+
behaviorCommand,
|
|
3391
|
+
daemonInitCommand,
|
|
3392
|
+
// Config (1)
|
|
3393
|
+
configCommand,
|
|
3394
|
+
// Ops (1)
|
|
3395
|
+
opsCommand,
|
|
3396
|
+
// Storage (1)
|
|
3397
|
+
storageCommand,
|
|
3398
|
+
// Activity Log (1)
|
|
3399
|
+
activityLogCommand,
|
|
3400
|
+
commandLogCommand,
|
|
3401
|
+
skillUsageCommand,
|
|
3402
|
+
// Knowledge Base (1)
|
|
3403
|
+
kbCommand,
|
|
3404
|
+
// Memory subsystem (1)
|
|
3405
|
+
memoryCommand,
|
|
3406
|
+
// Reflections subsystem (1)
|
|
3407
|
+
reflectionsCommand,
|
|
3408
|
+
// Provenance subsystem (1)
|
|
3409
|
+
provenanceCommand,
|
|
3410
|
+
// Research subsystem (1)
|
|
3411
|
+
researchStoreCommand,
|
|
3412
|
+
// Agentic Tools (5) — RLM support tools
|
|
3413
|
+
chunkCommand,
|
|
3414
|
+
fanoutCommand,
|
|
3415
|
+
rlmPrepCommand,
|
|
3416
|
+
rlmSearchCommand,
|
|
3417
|
+
rlmStatusCommand,
|
|
3418
|
+
rlmCacheCommand,
|
|
3419
|
+
// Sandbox management (#917)
|
|
3420
|
+
sandboxCommand,
|
|
3421
|
+
// Diagnose (#925)
|
|
3422
|
+
diagnoseCommand,
|
|
3423
|
+
// Feedback (#885)
|
|
3424
|
+
feedbackCommand,
|
|
3425
|
+
// Session (#884)
|
|
3426
|
+
sessionCommand,
|
|
3427
|
+
];
|
|
3428
|
+
// ============================================
|
|
3429
|
+
// Helper Functions
|
|
3430
|
+
// ============================================
|
|
3431
|
+
/**
|
|
3432
|
+
* Get command definition by ID
|
|
3433
|
+
*
|
|
3434
|
+
* @param id - Command ID
|
|
3435
|
+
* @returns Command definition or undefined
|
|
3436
|
+
*/
|
|
3437
|
+
export function getCommandDefinition(id) {
|
|
3438
|
+
return commandDefinitions.find((cmd) => cmd.id === id);
|
|
3439
|
+
}
|
|
3440
|
+
/**
|
|
3441
|
+
* Get command definitions by category
|
|
3442
|
+
*
|
|
3443
|
+
* @param category - Command category
|
|
3444
|
+
* @returns Array of matching command definitions
|
|
3445
|
+
*/
|
|
3446
|
+
export function getCommandsByCategory(category) {
|
|
3447
|
+
return commandDefinitions.filter((cmd) => cmd.category === category);
|
|
3448
|
+
}
|
|
3449
|
+
/**
|
|
3450
|
+
* Get total command count
|
|
3451
|
+
*
|
|
3452
|
+
* @returns Total number of command definitions
|
|
3453
|
+
*/
|
|
3454
|
+
export function getCommandCount() {
|
|
3455
|
+
return commandDefinitions.length;
|
|
3456
|
+
}
|
|
3457
|
+
/**
|
|
3458
|
+
* Get all command IDs
|
|
3459
|
+
*
|
|
3460
|
+
* @returns Array of command IDs
|
|
3461
|
+
*/
|
|
3462
|
+
export function getCommandIds() {
|
|
3463
|
+
return commandDefinitions.map((cmd) => cmd.id);
|
|
3464
|
+
}
|
|
3465
|
+
/**
|
|
3466
|
+
* Search commands by keyword
|
|
3467
|
+
*
|
|
3468
|
+
* @param keyword - Keyword to search for
|
|
3469
|
+
* @returns Array of matching command definitions
|
|
3470
|
+
*/
|
|
3471
|
+
export function searchCommandsByKeyword(keyword) {
|
|
3472
|
+
const lowercaseKeyword = keyword.toLowerCase();
|
|
3473
|
+
return commandDefinitions.filter((cmd) => cmd.keywords.some((k) => k.toLowerCase().includes(lowercaseKeyword)));
|
|
3474
|
+
}
|
|
3475
|
+
/**
|
|
3476
|
+
* Search commands by capability
|
|
3477
|
+
*
|
|
3478
|
+
* @param capability - Capability to search for
|
|
3479
|
+
* @returns Array of matching command definitions
|
|
3480
|
+
*/
|
|
3481
|
+
export function searchCommandsByCapability(capability) {
|
|
3482
|
+
const lowercaseCapability = capability.toLowerCase();
|
|
3483
|
+
return commandDefinitions.filter((cmd) => cmd.capabilities.some((c) => c.toLowerCase().includes(lowercaseCapability)));
|
|
3484
|
+
}
|
|
3485
|
+
//# sourceMappingURL=definitions.js.map
|