mindforge-cc 11.2.0 → 11.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mindforge/config.json +3 -2
- package/.mindforge/imported-agents.jsonl +154 -0
- package/CHANGELOG.md +80 -1
- package/MINDFORGE.md +5 -5
- package/README.md +1 -1
- package/bin/autonomous/mesh-self-healer.js +101 -28
- package/bin/browser/regression-writer.js +45 -3
- package/bin/browser/session-manager.js +21 -17
- package/bin/engine/logic-drift-detector.js +14 -6
- package/bin/engine/logic-validator.js +155 -25
- package/bin/engine/orbital-guardian.js +56 -10
- package/bin/engine/reason-source-aligner.js +19 -6
- package/bin/engine/remediation-engine.js +1 -1
- package/bin/engine/self-corrective-synthesizer.js +1 -1
- package/bin/engine/sre-manager.js +33 -6
- package/bin/governance/policy-engine.js +17 -4
- package/bin/governance/ztai-archiver.js +74 -9
- package/bin/governance/ztai-manager.js +3 -3
- package/bin/installer-core.js +126 -3
- package/bin/memory/eis-client.js +45 -4
- package/bin/memory/vector-hub.js +32 -0
- package/bin/review/finding-synthesizer.js +35 -6
- package/bin/security/trust-boundaries.js +96 -4
- package/bin/security/trust-gate-hook.js +13 -3
- package/bin/skill-registry.js +31 -20
- package/bin/spawn-agent.js +80 -1
- package/bin/sre/shadow-mirror.js +90 -40
- package/bin/utils/append-queue.js +12 -0
- package/bin/utils/file-io.js +4 -45
- package/bin/utils/version-check.js +21 -5
- package/bin/wizard/theme.js +4 -3
- package/package.json +3 -1
- package/subagents/.claude-plugin/marketplace.json +93 -0
- package/subagents/categories/01-core-development/.claude-plugin/plugin.json +24 -0
- package/subagents/categories/01-core-development/README.md +146 -0
- package/subagents/categories/01-core-development/api-designer-cc.md +237 -0
- package/subagents/categories/01-core-development/backend-developer.md +222 -0
- package/subagents/categories/01-core-development/design-bridge.md +129 -0
- package/subagents/categories/01-core-development/electron-pro.md +240 -0
- package/subagents/categories/01-core-development/frontend-developer.md +133 -0
- package/subagents/categories/01-core-development/fullstack-developer.md +235 -0
- package/subagents/categories/01-core-development/graphql-architect.md +238 -0
- package/subagents/categories/01-core-development/microservices-architect.md +239 -0
- package/subagents/categories/01-core-development/mobile-developer.md +283 -0
- package/subagents/categories/01-core-development/ui-designer.md +174 -0
- package/subagents/categories/01-core-development/websocket-engineer.md +150 -0
- package/subagents/categories/02-language-specialists/.claude-plugin/plugin.json +43 -0
- package/subagents/categories/02-language-specialists/README.md +245 -0
- package/subagents/categories/02-language-specialists/angular-architect.md +287 -0
- package/subagents/categories/02-language-specialists/cpp-pro.md +277 -0
- package/subagents/categories/02-language-specialists/csharp-developer.md +287 -0
- package/subagents/categories/02-language-specialists/django-developer.md +287 -0
- package/subagents/categories/02-language-specialists/dotnet-core-expert.md +287 -0
- package/subagents/categories/02-language-specialists/dotnet-framework-48-expert.md +306 -0
- package/subagents/categories/02-language-specialists/elixir-expert.md +311 -0
- package/subagents/categories/02-language-specialists/expo-react-native-expert.md +268 -0
- package/subagents/categories/02-language-specialists/fastapi-developer.md +287 -0
- package/subagents/categories/02-language-specialists/flutter-expert.md +287 -0
- package/subagents/categories/02-language-specialists/golang-pro.md +277 -0
- package/subagents/categories/02-language-specialists/java-architect.md +287 -0
- package/subagents/categories/02-language-specialists/javascript-pro.md +277 -0
- package/subagents/categories/02-language-specialists/kotlin-specialist.md +287 -0
- package/subagents/categories/02-language-specialists/laravel-specialist.md +287 -0
- package/subagents/categories/02-language-specialists/nextjs-developer.md +287 -0
- package/subagents/categories/02-language-specialists/node-specialist.md +124 -0
- package/subagents/categories/02-language-specialists/php-pro.md +287 -0
- package/subagents/categories/02-language-specialists/powershell-51-expert.md +59 -0
- package/subagents/categories/02-language-specialists/powershell-7-expert.md +57 -0
- package/subagents/categories/02-language-specialists/python-pro.md +277 -0
- package/subagents/categories/02-language-specialists/rails-expert.md +358 -0
- package/subagents/categories/02-language-specialists/react-specialist-cc.md +287 -0
- package/subagents/categories/02-language-specialists/rust-engineer.md +287 -0
- package/subagents/categories/02-language-specialists/spring-boot-engineer.md +287 -0
- package/subagents/categories/02-language-specialists/sql-pro.md +287 -0
- package/subagents/categories/02-language-specialists/swift-expert.md +287 -0
- package/subagents/categories/02-language-specialists/symfony-specialist.md +354 -0
- package/subagents/categories/02-language-specialists/typescript-pro.md +277 -0
- package/subagents/categories/02-language-specialists/vue-expert.md +287 -0
- package/subagents/categories/03-infrastructure/.claude-plugin/plugin.json +29 -0
- package/subagents/categories/03-infrastructure/README.md +170 -0
- package/subagents/categories/03-infrastructure/azure-infra-engineer.md +53 -0
- package/subagents/categories/03-infrastructure/cloud-architect-cc.md +277 -0
- package/subagents/categories/03-infrastructure/database-administrator.md +287 -0
- package/subagents/categories/03-infrastructure/deployment-engineer.md +287 -0
- package/subagents/categories/03-infrastructure/devops-engineer-cc.md +287 -0
- package/subagents/categories/03-infrastructure/devops-incident-responder.md +287 -0
- package/subagents/categories/03-infrastructure/docker-expert.md +278 -0
- package/subagents/categories/03-infrastructure/incident-responder.md +287 -0
- package/subagents/categories/03-infrastructure/kubernetes-specialist.md +287 -0
- package/subagents/categories/03-infrastructure/network-engineer.md +287 -0
- package/subagents/categories/03-infrastructure/platform-engineer-cc.md +287 -0
- package/subagents/categories/03-infrastructure/security-engineer.md +277 -0
- package/subagents/categories/03-infrastructure/sre-engineer.md +287 -0
- package/subagents/categories/03-infrastructure/terraform-engineer.md +287 -0
- package/subagents/categories/03-infrastructure/terragrunt-expert.md +307 -0
- package/subagents/categories/03-infrastructure/windows-infra-admin.md +52 -0
- package/subagents/categories/04-quality-security/.claude-plugin/plugin.json +30 -0
- package/subagents/categories/04-quality-security/README.md +175 -0
- package/subagents/categories/04-quality-security/accessibility-tester-cc.md +277 -0
- package/subagents/categories/04-quality-security/ad-security-reviewer.md +56 -0
- package/subagents/categories/04-quality-security/ai-writing-auditor.md +77 -0
- package/subagents/categories/04-quality-security/architect-reviewer.md +287 -0
- package/subagents/categories/04-quality-security/chaos-engineer-cc.md +277 -0
- package/subagents/categories/04-quality-security/code-reviewer.md +287 -0
- package/subagents/categories/04-quality-security/compliance-auditor-cc.md +277 -0
- package/subagents/categories/04-quality-security/debugger-cc.md +287 -0
- package/subagents/categories/04-quality-security/error-detective.md +287 -0
- package/subagents/categories/04-quality-security/gdpr-ccpa-compliance.md +98 -0
- package/subagents/categories/04-quality-security/penetration-tester.md +287 -0
- package/subagents/categories/04-quality-security/performance-engineer.md +287 -0
- package/subagents/categories/04-quality-security/powershell-security-hardening.md +54 -0
- package/subagents/categories/04-quality-security/qa-expert.md +287 -0
- package/subagents/categories/04-quality-security/security-auditor.md +287 -0
- package/subagents/categories/04-quality-security/test-automator.md +287 -0
- package/subagents/categories/04-quality-security/ui-ux-tester.md +234 -0
- package/subagents/categories/05-data-ai/.claude-plugin/plugin.json +26 -0
- package/subagents/categories/05-data-ai/README.md +153 -0
- package/subagents/categories/05-data-ai/ai-engineer.md +287 -0
- package/subagents/categories/05-data-ai/data-analyst.md +277 -0
- package/subagents/categories/05-data-ai/data-engineer-cc.md +287 -0
- package/subagents/categories/05-data-ai/data-scientist.md +287 -0
- package/subagents/categories/05-data-ai/database-optimizer.md +287 -0
- package/subagents/categories/05-data-ai/llm-architect.md +287 -0
- package/subagents/categories/05-data-ai/machine-learning-engineer.md +277 -0
- package/subagents/categories/05-data-ai/ml-engineer-cc.md +287 -0
- package/subagents/categories/05-data-ai/mlops-engineer.md +287 -0
- package/subagents/categories/05-data-ai/nlp-engineer.md +287 -0
- package/subagents/categories/05-data-ai/postgres-pro.md +287 -0
- package/subagents/categories/05-data-ai/prompt-engineer-cc.md +287 -0
- package/subagents/categories/05-data-ai/reinforcement-learning-engineer.md +277 -0
- package/subagents/categories/06-developer-experience/.claude-plugin/plugin.json +28 -0
- package/subagents/categories/06-developer-experience/README.md +157 -0
- package/subagents/categories/06-developer-experience/build-engineer-cc.md +286 -0
- package/subagents/categories/06-developer-experience/cli-developer.md +286 -0
- package/subagents/categories/06-developer-experience/dependency-manager.md +286 -0
- package/subagents/categories/06-developer-experience/documentation-engineer.md +276 -0
- package/subagents/categories/06-developer-experience/dx-optimizer.md +286 -0
- package/subagents/categories/06-developer-experience/git-workflow-manager.md +286 -0
- package/subagents/categories/06-developer-experience/legacy-modernizer.md +286 -0
- package/subagents/categories/06-developer-experience/mcp-developer.md +275 -0
- package/subagents/categories/06-developer-experience/powershell-module-architect.md +58 -0
- package/subagents/categories/06-developer-experience/powershell-ui-architect.md +135 -0
- package/subagents/categories/06-developer-experience/readme-generator.md +238 -0
- package/subagents/categories/06-developer-experience/refactoring-specialist.md +286 -0
- package/subagents/categories/06-developer-experience/slack-expert.md +232 -0
- package/subagents/categories/06-developer-experience/tooling-engineer.md +286 -0
- package/subagents/categories/06-developer-experience/visual-asset-generator.md +34 -0
- package/subagents/categories/07-specialized-domains/.claude-plugin/plugin.json +27 -0
- package/subagents/categories/07-specialized-domains/README.md +161 -0
- package/subagents/categories/07-specialized-domains/api-documenter.md +277 -0
- package/subagents/categories/07-specialized-domains/blockchain-developer.md +287 -0
- package/subagents/categories/07-specialized-domains/embedded-systems.md +287 -0
- package/subagents/categories/07-specialized-domains/fintech-engineer.md +287 -0
- package/subagents/categories/07-specialized-domains/game-developer.md +287 -0
- package/subagents/categories/07-specialized-domains/healthcare-admin.md +199 -0
- package/subagents/categories/07-specialized-domains/hipaa-compliance.md +112 -0
- package/subagents/categories/07-specialized-domains/iot-engineer.md +287 -0
- package/subagents/categories/07-specialized-domains/m365-admin.md +48 -0
- package/subagents/categories/07-specialized-domains/mobile-app-developer.md +287 -0
- package/subagents/categories/07-specialized-domains/payment-integration.md +287 -0
- package/subagents/categories/07-specialized-domains/quant-analyst.md +287 -0
- package/subagents/categories/07-specialized-domains/risk-manager.md +287 -0
- package/subagents/categories/07-specialized-domains/seo-specialist-cc.md +184 -0
- package/subagents/categories/08-business-product/.claude-plugin/plugin.json +29 -0
- package/subagents/categories/08-business-product/README.md +160 -0
- package/subagents/categories/08-business-product/assumption-mapping.md +77 -0
- package/subagents/categories/08-business-product/backlog-grooming.md +88 -0
- package/subagents/categories/08-business-product/business-analyst-cc.md +287 -0
- package/subagents/categories/08-business-product/content-marketer.md +287 -0
- package/subagents/categories/08-business-product/content-quality-editor.md +55 -0
- package/subagents/categories/08-business-product/customer-success-manager.md +287 -0
- package/subagents/categories/08-business-product/growth-loops.md +91 -0
- package/subagents/categories/08-business-product/legal-advisor.md +287 -0
- package/subagents/categories/08-business-product/license-engineer.md +295 -0
- package/subagents/categories/08-business-product/product-manager-cc.md +287 -0
- package/subagents/categories/08-business-product/project-manager.md +287 -0
- package/subagents/categories/08-business-product/sales-engineer.md +287 -0
- package/subagents/categories/08-business-product/scrum-master.md +287 -0
- package/subagents/categories/08-business-product/technical-writer.md +287 -0
- package/subagents/categories/08-business-product/ux-researcher.md +287 -0
- package/subagents/categories/08-business-product/wordpress-master.md +316 -0
- package/subagents/categories/09-meta-orchestration/.claude-plugin/plugin.json +24 -0
- package/subagents/categories/09-meta-orchestration/README.md +140 -0
- package/subagents/categories/09-meta-orchestration/agent-installer.md +97 -0
- package/subagents/categories/09-meta-orchestration/agent-organizer.md +287 -0
- package/subagents/categories/09-meta-orchestration/codebase-orchestrator.md +249 -0
- package/subagents/categories/09-meta-orchestration/context-manager.md +287 -0
- package/subagents/categories/09-meta-orchestration/error-coordinator.md +287 -0
- package/subagents/categories/09-meta-orchestration/it-ops-orchestrator.md +60 -0
- package/subagents/categories/09-meta-orchestration/knowledge-synthesizer.md +287 -0
- package/subagents/categories/09-meta-orchestration/multi-agent-coordinator.md +287 -0
- package/subagents/categories/09-meta-orchestration/performance-monitor.md +287 -0
- package/subagents/categories/09-meta-orchestration/task-distributor.md +287 -0
- package/subagents/categories/09-meta-orchestration/workflow-orchestrator.md +287 -0
- package/subagents/categories/10-research-analysis/.claude-plugin/plugin.json +24 -0
- package/subagents/categories/10-research-analysis/README.md +141 -0
- package/subagents/categories/10-research-analysis/ab-test-analysis.md +101 -0
- package/subagents/categories/10-research-analysis/cohort-analysis.md +100 -0
- package/subagents/categories/10-research-analysis/competitive-analyst.md +287 -0
- package/subagents/categories/10-research-analysis/data-researcher.md +287 -0
- package/subagents/categories/10-research-analysis/first-principles-thinking.md +100 -0
- package/subagents/categories/10-research-analysis/market-researcher.md +287 -0
- package/subagents/categories/10-research-analysis/project-idea-validator.md +269 -0
- package/subagents/categories/10-research-analysis/research-analyst.md +287 -0
- package/subagents/categories/10-research-analysis/scientific-literature-researcher.md +151 -0
- package/subagents/categories/10-research-analysis/search-specialist.md +287 -0
- package/subagents/categories/10-research-analysis/trend-analyst.md +287 -0
- package/subagents/tools/subagent-catalog/README.md +58 -0
- package/subagents/tools/subagent-catalog/config.sh +94 -0
- package/subagents/tools/subagent-catalog/fetch.md +82 -0
- package/subagents/tools/subagent-catalog/invalidate.md +47 -0
- package/subagents/tools/subagent-catalog/list.md +54 -0
- package/subagents/tools/subagent-catalog/search.md +58 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: fetch
|
|
3
|
+
description: "Fetch full subagent definition from catalog. Use when user wants to get, download, view, or use a specific subagent."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Subagent Catalog - Fetch
|
|
7
|
+
|
|
8
|
+
Get the full definition of a specific agent.
|
|
9
|
+
|
|
10
|
+
## Input: $ARGUMENTS
|
|
11
|
+
|
|
12
|
+
Accepts: agent name, path, or GitHub URL.
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
/subagent-catalog:fetch code-reviewer
|
|
18
|
+
|
|
19
|
+
## code-reviewer
|
|
20
|
+
|
|
21
|
+
**Category**: Quality & Security
|
|
22
|
+
**Tools**: Read, Write, Edit, Bash, Glob, Grep
|
|
23
|
+
|
|
24
|
+
Expert code reviewer specializing in code quality, security vulnerabilities...
|
|
25
|
+
|
|
26
|
+
[full definition follows]
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
**What now?**
|
|
30
|
+
- save to ~/.claude/agents/code-reviewer.md
|
|
31
|
+
- customize for this project
|
|
32
|
+
- spawn as Task subagent
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Instructions
|
|
36
|
+
|
|
37
|
+
### Progress checklist
|
|
38
|
+
|
|
39
|
+
Copy and track:
|
|
40
|
+
- [ ] Step 1: Resolve agent path from catalog
|
|
41
|
+
- [ ] Step 2: Fetch full definition
|
|
42
|
+
- [ ] Step 3: Display and offer options
|
|
43
|
+
|
|
44
|
+
### Step 1: Resolve path
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
source ~/.claude/commands/subagent-catalog/config.sh
|
|
48
|
+
subagent_catalog_ensure_cache
|
|
49
|
+
|
|
50
|
+
# find the agent (use -F for literal match)
|
|
51
|
+
grep -iF "{{NAME}}" "$SUBAGENT_CATALOG_CACHE_FILE"
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Extract path from: `[**name**](path)`
|
|
55
|
+
|
|
56
|
+
### Step 2: Fetch definition
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
tmp_file=$(mktemp)
|
|
60
|
+
if curl -sf "$SUBAGENT_CATALOG_REPO_URL/{{PATH}}" -o "$tmp_file"; then
|
|
61
|
+
cat "$tmp_file"
|
|
62
|
+
rm -f "$tmp_file"
|
|
63
|
+
else
|
|
64
|
+
rm -f "$tmp_file"
|
|
65
|
+
subagent_catalog_log_error "failed to fetch. try /subagent-catalog:search first"
|
|
66
|
+
fi
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### Step 3: Display and offer options
|
|
70
|
+
|
|
71
|
+
Show the definition with frontmatter parsed, then offer:
|
|
72
|
+
1. save locally (`~/.claude/agents/<name>.md`)
|
|
73
|
+
2. customize for project
|
|
74
|
+
3. spawn as Task
|
|
75
|
+
|
|
76
|
+
### Error handling
|
|
77
|
+
|
|
78
|
+
| error | suggestion |
|
|
79
|
+
|-------|------------|
|
|
80
|
+
| not found | run `/subagent-catalog:search <partial>` |
|
|
81
|
+
| multiple matches | list them, ask user to specify |
|
|
82
|
+
| network error | check connection, retry |
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: invalidate
|
|
3
|
+
description: "Invalidate the subagent-catalog cache. Use when results seem stale or user explicitly asks to refresh or clear cache."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Subagent Catalog - Invalidate
|
|
7
|
+
|
|
8
|
+
Force-refresh the cached catalog by deleting the local cache file. The next `search` or `fetch` call will pull fresh data from the repository.
|
|
9
|
+
|
|
10
|
+
## Input: $ARGUMENTS
|
|
11
|
+
|
|
12
|
+
No arguments required. Optional: pass `--fetch` to immediately refresh after invalidation.
|
|
13
|
+
|
|
14
|
+
## Instructions
|
|
15
|
+
|
|
16
|
+
### Step 1: Source config
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
source ~/.claude/commands/subagent-catalog/config.sh
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### Step 2: Invalidate (and optionally refresh)
|
|
23
|
+
|
|
24
|
+
**Invalidate only** (default):
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
subagent_catalog_invalidate_cache
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
**Invalidate and refresh** (if `$ARGUMENTS` contains `--fetch` or user explicitly asks to refresh):
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
subagent_catalog_invalidate_cache
|
|
34
|
+
subagent_catalog_refresh_cache
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Step 3: Confirm
|
|
38
|
+
|
|
39
|
+
Report the result:
|
|
40
|
+
- If invalidated only: "cache invalidated. next search/fetch will pull fresh data."
|
|
41
|
+
- If refreshed: "cache invalidated and refreshed with latest catalog."
|
|
42
|
+
|
|
43
|
+
### When to use
|
|
44
|
+
|
|
45
|
+
- After the upstream repo has been updated with new subagents
|
|
46
|
+
- If you suspect the cache is corrupted
|
|
47
|
+
- To troubleshoot stale results
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: list
|
|
3
|
+
description: "List all categories and agents in the subagent catalog. Use when user wants to see everything available or browse the full catalog."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Subagent Catalog - List
|
|
7
|
+
|
|
8
|
+
Browse all available categories and agents from the MindForge subagents catalog.
|
|
9
|
+
|
|
10
|
+
## Input: $ARGUMENTS
|
|
11
|
+
|
|
12
|
+
No arguments required.
|
|
13
|
+
|
|
14
|
+
## Instructions
|
|
15
|
+
|
|
16
|
+
### Step 1: Ensure cache is fresh
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
source ~/.claude/commands/subagent-catalog/config.sh
|
|
20
|
+
subagent_catalog_ensure_cache
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Step 2: Extract and display categories
|
|
24
|
+
|
|
25
|
+
Parse the catalog and display all categories with their agents:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
# extract category headers and agent entries
|
|
29
|
+
grep -E "^### \[|^\- \[\*\*" "$SUBAGENT_CATALOG_CACHE_FILE"
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Step 3: Format output
|
|
33
|
+
|
|
34
|
+
Display as a scannable list:
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
## Subagent Catalog
|
|
38
|
+
|
|
39
|
+
### 01. Core Development
|
|
40
|
+
api-designer, backend-developer, frontend-developer, fullstack-developer, ...
|
|
41
|
+
|
|
42
|
+
### 02. Language Specialists
|
|
43
|
+
typescript-pro, python-pro, rust-engineer, golang-pro, ...
|
|
44
|
+
|
|
45
|
+
### 03. Infrastructure
|
|
46
|
+
cloud-architect, devops-engineer, kubernetes-specialist, terraform-engineer, ...
|
|
47
|
+
|
|
48
|
+
[...continue for all 10 categories...]
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Tips
|
|
52
|
+
|
|
53
|
+
- use `/subagent-catalog:search <query>` to filter by keyword
|
|
54
|
+
- use `/subagent-catalog:fetch <name>` to get full definition
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: search
|
|
3
|
+
description: "Search the MindForge subagents catalog. Use when user wants to find, discover, or browse available subagents by name, category, or capability."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Subagent Catalog - Search
|
|
7
|
+
|
|
8
|
+
Find agents by name, description, or category.
|
|
9
|
+
|
|
10
|
+
## Input: $ARGUMENTS
|
|
11
|
+
|
|
12
|
+
## Example output
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
## Results for "kubernetes"
|
|
16
|
+
|
|
17
|
+
| Agent | Description |
|
|
18
|
+
|-------|-------------|
|
|
19
|
+
| [kubernetes-specialist](https://github.com/sairam0424/MindForge/blob/develop/subagents/categories/03-infrastructure/kubernetes-specialist.md) | Container orchestration master |
|
|
20
|
+
| [devops-engineer](https://github.com/sairam0424/MindForge/blob/develop/subagents/categories/03-infrastructure/devops-engineer.md) | CI/CD and automation expert |
|
|
21
|
+
|
|
22
|
+
→ use `/subagent-catalog:fetch <name>` to get full definition
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Instructions
|
|
26
|
+
|
|
27
|
+
### Step 1: Get catalog
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
source ~/.claude/commands/subagent-catalog/config.sh
|
|
31
|
+
subagent_catalog_ensure_cache
|
|
32
|
+
cat "$SUBAGENT_CATALOG_CACHE_FILE"
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Step 2: Match and return
|
|
36
|
+
|
|
37
|
+
Search the catalog content for matches (case-insensitive substring):
|
|
38
|
+
- agent names
|
|
39
|
+
- descriptions
|
|
40
|
+
- category names
|
|
41
|
+
|
|
42
|
+
Format each match as a table row with GitHub link.
|
|
43
|
+
|
|
44
|
+
### Step 3: Handle edge cases
|
|
45
|
+
|
|
46
|
+
- **no results**: suggest related terms or `/subagent-catalog:list`
|
|
47
|
+
- **too many results**: ask user to narrow the query
|
|
48
|
+
- **category match**: show all agents in that category
|
|
49
|
+
|
|
50
|
+
## Query examples
|
|
51
|
+
|
|
52
|
+
| query | matches |
|
|
53
|
+
|-------|---------|
|
|
54
|
+
| `kubernetes` | kubernetes-specialist, devops-engineer |
|
|
55
|
+
| `security` | security-engineer, security-auditor, penetration-tester |
|
|
56
|
+
| `python` | python-pro, django-developer |
|
|
57
|
+
| `review` | code-reviewer, architect-reviewer |
|
|
58
|
+
| `infrastructure` | entire category 03 |
|