@techwavedev/agi-agent-kit 1.1.7 → 1.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/CHANGELOG.md +142 -1
  2. package/README.md +195 -15
  3. package/bin/init.js +154 -5
  4. package/package.json +6 -3
  5. package/templates/base/AGENTS.md +54 -23
  6. package/templates/base/README.md +327 -0
  7. package/templates/base/directives/memory_integration.md +95 -0
  8. package/templates/base/execution/memory_manager.py +309 -0
  9. package/templates/base/execution/session_boot.py +218 -0
  10. package/templates/base/execution/session_init.py +320 -0
  11. package/templates/base/requirements.txt +45 -6
  12. package/templates/base/skill-creator/SKILL_skillcreator.md +3 -3
  13. package/templates/skills/knowledge/design-md/README.md +0 -0
  14. package/templates/skills/knowledge/design-md/SKILL.md +0 -0
  15. package/templates/skills/knowledge/design-md/examples/DESIGN.md +0 -0
  16. package/templates/skills/knowledge/intelligent-routing/SKILL.md +237 -164
  17. package/templates/skills/knowledge/notebooklm-rag/SKILL.md +216 -0
  18. package/templates/skills/knowledge/notebooklm-rag/requirements.txt +9 -0
  19. package/templates/skills/knowledge/notebooklm-rag/scripts/ask_question.py +237 -0
  20. package/templates/skills/knowledge/notebooklm-rag/scripts/auth_manager.py +307 -0
  21. package/templates/skills/knowledge/notebooklm-rag/scripts/browser_utils.py +101 -0
  22. package/templates/skills/knowledge/notebooklm-rag/scripts/cleanup_manager.py +87 -0
  23. package/templates/skills/knowledge/notebooklm-rag/scripts/config.py +45 -0
  24. package/templates/skills/knowledge/notebooklm-rag/scripts/notebook_manager.py +334 -0
  25. package/templates/skills/knowledge/notebooklm-rag/scripts/run.py +92 -0
  26. package/templates/skills/knowledge/notebooklm-rag/scripts/setup_environment.py +68 -0
  27. package/templates/skills/knowledge/parallel-agents/SKILL.md +345 -73
  28. package/templates/skills/knowledge/plugin-discovery/SKILL.md +581 -0
  29. package/templates/skills/knowledge/plugin-discovery/scripts/platform_setup.py +1083 -0
  30. package/templates/skills/knowledge/react-components/README.md +0 -0
  31. package/templates/skills/knowledge/react-components/SKILL.md +0 -0
  32. package/templates/skills/knowledge/react-components/examples/gold-standard-card.tsx +0 -0
  33. package/templates/skills/knowledge/react-components/package-lock.json +0 -0
  34. package/templates/skills/knowledge/react-components/package.json +0 -0
  35. package/templates/skills/knowledge/react-components/resources/architecture-checklist.md +0 -0
  36. package/templates/skills/knowledge/react-components/resources/component-template.tsx +0 -0
  37. package/templates/skills/knowledge/react-components/resources/stitch-api-reference.md +0 -0
  38. package/templates/skills/knowledge/react-components/resources/style-guide.json +0 -0
  39. package/templates/skills/knowledge/react-components/scripts/validate.js +0 -0
  40. package/templates/skills/knowledge/self-update/SKILL.md +0 -0
  41. package/templates/skills/knowledge/self-update/scripts/update_kit.py +0 -0
  42. package/templates/skills/knowledge/stitch-loop/README.md +0 -0
  43. package/templates/skills/knowledge/stitch-loop/SKILL.md +3 -3
  44. package/templates/skills/knowledge/stitch-loop/examples/SITE.md +0 -0
  45. package/templates/skills/knowledge/stitch-loop/examples/next-prompt.md +0 -0
  46. package/templates/skills/knowledge/stitch-loop/resources/baton-schema.md +0 -0
  47. package/templates/skills/knowledge/stitch-loop/resources/site-template.md +0 -0
  48. package/templates/skills/stitch-loop/SKILL.md +3 -3
  49. package/templates/skills/core/qdrant-memory/scripts/__pycache__/embedding_utils.cpython-314.pyc +0 -0
  50. package/templates/skills/core/qdrant-memory/scripts/__pycache__/init_collection.cpython-314.pyc +0 -0
  51. package/templates/skills/knowledge/SKILLS_CATALOG.md +0 -796
  52. package/templates/skills/knowledge/jira/scripts/__pycache__/jira_client.cpython-314.pyc +0 -0
  53. package/templates/skills/knowledge/notebooklm-mcp/SKILL.md +0 -71
  54. package/templates/skills/knowledge/notebooklm-mcp/assets/example_asset.txt +0 -24
  55. package/templates/skills/knowledge/notebooklm-mcp/references/api_reference.md +0 -34
  56. package/templates/skills/knowledge/notebooklm-mcp/scripts/example.py +0 -19
@@ -0,0 +1,581 @@
1
+ ---
2
+ name: plugin-discovery
3
+ description: Platform-adaptive plugin and extension auto-discovery. Detects the runtime environment (Claude Code, Gemini, Opencode, Kiro) and recommends or installs relevant plugins, extensions, MCP servers, and marketplace integrations. Use when setting up a project, onboarding, or when the user asks about available tools/plugins.
4
+ version: 1.1.0
5
+ ---
6
+
7
+ # Plugin & Extension Auto-Discovery
8
+
9
+ > Detect the runtime platform and surface the best available extensions
10
+
11
+ ## Quick Start — One-Shot Setup
12
+
13
+ Run the setup wizard to auto-detect your platform and configure everything:
14
+
15
+ ```bash
16
+ # Interactive (asks one confirmation question)
17
+ python3 skills/plugin-discovery/scripts/platform_setup.py --project-dir .
18
+
19
+ # Auto-apply everything
20
+ python3 skills/plugin-discovery/scripts/platform_setup.py --project-dir . --auto
21
+
22
+ # Preview without changes
23
+ python3 skills/plugin-discovery/scripts/platform_setup.py --project-dir . --dry-run
24
+
25
+ # JSON output (for agent consumption)
26
+ python3 skills/plugin-discovery/scripts/platform_setup.py --project-dir . --json
27
+ ```
28
+
29
+ > **Trigger**: Also available via `/setup` workflow command.
30
+
31
+ ## Overview
32
+
33
+ This skill provides platform-aware auto-discovery of plugins, extensions, MCP servers, and marketplace integrations. It detects which AI coding environment is active and recommends the most relevant tools for the current project.
34
+
35
+ ## Supported Platforms
36
+
37
+ | Platform | Extension System | Discovery Mechanism |
38
+ | ------------------------ | ---------------------------------- | ---------------------------------------- |
39
+ | **Claude Code** | Plugins + Skills + Subagents + MCP | `/plugin`, `/agents`, `marketplace.json` |
40
+ | **Gemini / Antigravity** | Skills + MCP | `skills/`, `GEMINI.md`, MCP config |
41
+ | **Opencode** | Skills + MCP | `skills/`, `OPENCODE.md`, MCP config |
42
+ | **Kiro** | Powers + Hooks + Agents | `powers/`, hooks system |
43
+ | **VS Code / Cursor** | Extensions + MCP | Extension marketplace, MCP config |
44
+
45
+ ---
46
+
47
+ ## Platform Detection
48
+
49
+ ### How to Detect
50
+
51
+ | Signal | Platform |
52
+ | ---------------------------------------------------- | -------------------- |
53
+ | `Task` tool available, `/agents`, `/plugin` commands | **Claude Code** |
54
+ | `GEMINI.md` loaded, Google model family | **Gemini** |
55
+ | `OPENCODE.md` loaded | **Opencode** |
56
+ | Kiro-specific context, `powers/` directory | **Kiro** |
57
+ | VS Code extension host, Cursor markers | **VS Code / Cursor** |
58
+
59
+ ### Detection Flow
60
+
61
+ ```
62
+ 1. Check for Claude Code signals (Task tool, /plugin command)
63
+ → If found: Claude Code mode
64
+
65
+ 2. Check for loaded memory files
66
+ → GEMINI.md: Gemini mode
67
+ → OPENCODE.md: Opencode mode
68
+
69
+ 3. Check for Kiro signals
70
+ → powers/ directory, kiro-specific context: Kiro mode
71
+
72
+ 4. Fallback: Generic mode (skills-only)
73
+ ```
74
+
75
+ ---
76
+
77
+ ## Claude Code: Plugin Discovery
78
+
79
+ ### Official Marketplace
80
+
81
+ Claude Code provides an official marketplace with pre-built plugins. To set up:
82
+
83
+ ```bash
84
+ # Add the official Anthropic marketplace
85
+ /plugin marketplace add anthropics/claude-code
86
+ ```
87
+
88
+ ### Recommended Plugins by Project Type
89
+
90
+ #### All Projects
91
+
92
+ | Plugin | What It Does | Install |
93
+ | ------------------- | --------------------------------- | ---------------------------------------------------------- |
94
+ | `commit-commands` | Git commit workflows, PR creation | `/plugin install commit-commands@anthropics-claude-code` |
95
+ | `pr-review-toolkit` | Specialized PR review agents | `/plugin install pr-review-toolkit@anthropics-claude-code` |
96
+
97
+ #### JavaScript / TypeScript Projects
98
+
99
+ | Plugin | What It Does | Install |
100
+ | ---------------- | ------------------------------------ | ------------------------------------------------------- |
101
+ | `typescript-lsp` | Type errors, diagnostics, navigation | `/plugin install typescript-lsp@anthropics-claude-code` |
102
+
103
+ #### Python Projects
104
+
105
+ | Plugin | What It Does | Install |
106
+ | ------------- | --------------------------------- | ---------------------------------------------------- |
107
+ | `pyright-lsp` | Python type checking, diagnostics | `/plugin install pyright-lsp@anthropics-claude-code` |
108
+
109
+ #### Rust Projects
110
+
111
+ | Plugin | What It Does | Install |
112
+ | ------------------- | ---------------------------- | ---------------------------------------------------------- |
113
+ | `rust-analyzer-lsp` | Rust diagnostics, navigation | `/plugin install rust-analyzer-lsp@anthropics-claude-code` |
114
+
115
+ #### Go Projects
116
+
117
+ | Plugin | What It Does | Install |
118
+ | ----------- | -------------------------- | -------------------------------------------------- |
119
+ | `gopls-lsp` | Go diagnostics, navigation | `/plugin install gopls-lsp@anthropics-claude-code` |
120
+
121
+ #### With External Services
122
+
123
+ | Plugin | What It Does | Install |
124
+ | ---------- | ------------------------- | ------------------------------------------------- |
125
+ | `github` | GitHub issues, PRs, repos | `/plugin install github@anthropics-claude-code` |
126
+ | `linear` | Issue tracking | `/plugin install linear@anthropics-claude-code` |
127
+ | `slack` | Slack messaging | `/plugin install slack@anthropics-claude-code` |
128
+ | `sentry` | Error monitoring | `/plugin install sentry@anthropics-claude-code` |
129
+ | `vercel` | Deployment | `/plugin install vercel@anthropics-claude-code` |
130
+ | `firebase` | Firebase services | `/plugin install firebase@anthropics-claude-code` |
131
+ | `figma` | Design integration | `/plugin install figma@anthropics-claude-code` |
132
+
133
+ ### Custom Marketplaces
134
+
135
+ Teams can create their own plugin marketplaces:
136
+
137
+ ```bash
138
+ # Add from GitHub
139
+ /plugin marketplace add your-org/your-marketplace
140
+
141
+ # Add from other Git hosts
142
+ /plugin marketplace add https://gitlab.com/your-org/plugins.git
143
+
144
+ # Add from local path
145
+ /plugin marketplace add /path/to/marketplace
146
+ ```
147
+
148
+ ### Managing Plugins
149
+
150
+ ```bash
151
+ # List installed plugins
152
+ /plugin
153
+
154
+ # Disable a plugin
155
+ /plugin disable plugin-name@marketplace-name
156
+
157
+ # Enable a plugin
158
+ /plugin enable plugin-name@marketplace-name
159
+
160
+ # Uninstall a plugin
161
+ /plugin uninstall plugin-name@marketplace-name
162
+
163
+ # Update all marketplaces
164
+ /plugin marketplace update
165
+ ```
166
+
167
+ ### Plugin Scopes
168
+
169
+ | Scope | Who Sees It | Where Stored |
170
+ | ------------------ | ------------------------ | ----------------------- |
171
+ | **User** (default) | Only you, all projects | `~/.claude/` |
172
+ | **Project** | All collaborators | `.claude/settings.json` |
173
+ | **Local** | Only you, this repo only | Local config |
174
+
175
+ ```bash
176
+ # Install for all collaborators
177
+ /plugin install commit-commands@anthropics-claude-code --scope project
178
+ ```
179
+
180
+ ---
181
+
182
+ ## Claude Code: Subagent & Skill Discovery
183
+
184
+ ### Discovering Available Subagents
185
+
186
+ ```bash
187
+ # Open the subagent management UI
188
+ /agents
189
+ ```
190
+
191
+ This shows:
192
+
193
+ - Built-in subagents (Explore, Plan, General-purpose)
194
+ - User-level agents (`~/.claude/agents/`)
195
+ - Project-level agents (`.claude/agents/`)
196
+ - Plugin-provided agents
197
+
198
+ ### Discovering Available Skills
199
+
200
+ Skills are auto-discovered from:
201
+
202
+ - `~/.claude/skills/` — User-level skills
203
+ - `.claude/skills/` — Project-level skills
204
+ - Plugin skills — From installed plugins
205
+ - Nested directories — `packages/*/. claude/skills/`
206
+
207
+ ### Claude Code Feature Checklist
208
+
209
+ When setting up a Claude Code project, recommend enabling:
210
+
211
+ ```markdown
212
+ ## Claude Code Setup Checklist
213
+
214
+ - [ ] **Marketplace**: `/plugin marketplace add anthropics/claude-code`
215
+ - [ ] **LSP Plugin**: Install language-specific LSP for auto-diagnostics
216
+ - [ ] **Agent Teams**: `{ "env": { "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" } }`
217
+ - [ ] **MCP Servers**: Configure relevant MCP servers in `.claude/settings.json`
218
+ - [ ] **Project Skills**: Set up `.claude/skills/` for project-specific workflows
219
+ - [ ] **Hooks**: Configure quality gates (lint, test, security on file save)
220
+ ```
221
+
222
+ ---
223
+
224
+ ## Gemini / Antigravity: Extension Discovery
225
+
226
+ ### Available Extensions
227
+
228
+ On Gemini, extensions come from:
229
+
230
+ 1. **Antigravity Skills** (`skills/`) — Project skills with `SKILL.md`
231
+ 2. **MCP Servers** — Configured in project settings
232
+ 3. **Execution Scripts** (`execution/`) — Python scripts for deterministic tasks
233
+
234
+ ### Discovery Command
235
+
236
+ The user can discover available skills by:
237
+
238
+ ```bash
239
+ # List all skills
240
+ python3 skill-creator/scripts/update_catalog.py --skills-dir skills/
241
+
242
+ # View the catalog
243
+ cat skills/SKILLS_CATALOG.md
244
+ ```
245
+
246
+ ### MCP Server Discovery
247
+
248
+ Check configured MCP servers:
249
+
250
+ ```bash
251
+ # Gemini: check Claude desktop config
252
+ cat ~/.config/claude/claude_desktop_config.json 2>/dev/null
253
+
254
+ # Or project-level MCP config
255
+ cat mcp_config.json 2>/dev/null
256
+ ```
257
+
258
+ ---
259
+
260
+ ## Opencode: Extension Discovery
261
+
262
+ ### Available Extensions
263
+
264
+ On Opencode, extensions come from:
265
+
266
+ 1. **Antigravity Skills** (`skills/`) — Same as Gemini
267
+ 2. **MCP Servers** — Configured in opencode settings
268
+ 3. **Providers** — Model providers configured in opencode
269
+
270
+ ### Discovery
271
+
272
+ ```bash
273
+ # opencode config
274
+ cat ~/.config/opencode/config.json 2>/dev/null
275
+ ```
276
+
277
+ ---
278
+
279
+ ## Kiro: Powers Discovery
280
+
281
+ > Kiro uses **Powers** — unified bundles of MCP tools + steering knowledge + hooks that load dynamically based on context keywords. Available in Kiro IDE 0.7+.
282
+
283
+ ### What Kiro Powers Are
284
+
285
+ Powers are Kiro's extension system. Unlike traditional MCP setups that load all tools upfront (causing context rot), Powers activate **on-demand** when the conversation mentions relevant keywords. A Power bundles:
286
+
287
+ 1. **`POWER.md`** — Entry point with frontmatter (activation keywords) + onboarding steps + steering instructions
288
+ 2. **`mcp.json`** — MCP server configuration for tool integrations (optional)
289
+ 3. **`steering/`** — Workflow-specific guidance files loaded on-demand (optional)
290
+
291
+ ### How to Detect Kiro
292
+
293
+ | Signal | Confidence |
294
+ | ------------------------------------ | ---------- |
295
+ | `.kiro/` directory in workspace | ✅ High |
296
+ | `POWER.md` files in project | ✅ High |
297
+ | Kiro-specific hooks (`.kiro/hooks/`) | ✅ High |
298
+ | Kiro agent context markers | ✅ High |
299
+
300
+ ### Power Structure
301
+
302
+ ```
303
+ power-name/
304
+ ├── POWER.md # Metadata, onboarding, steering mappings (required)
305
+ ├── mcp.json # MCP server configuration (optional)
306
+ └── steering/ # Workflow-specific guidance (optional)
307
+ ├── workflow-a.md
308
+ ├── workflow-b.md
309
+ └── patterns.md
310
+ ```
311
+
312
+ ### POWER.md Anatomy
313
+
314
+ The `POWER.md` has two parts: **frontmatter** (when to activate) and **body** (instructions).
315
+
316
+ #### Frontmatter: Keywords-Based Activation
317
+
318
+ ```yaml
319
+ ---
320
+ name: "supabase"
321
+ displayName: "Supabase with local CLI"
322
+ description: "Build fullstack applications with Supabase's Postgres database, auth, storage, and real-time subscriptions"
323
+ keywords:
324
+ [
325
+ "database",
326
+ "postgres",
327
+ "auth",
328
+ "storage",
329
+ "realtime",
330
+ "backend",
331
+ "supabase",
332
+ "rls",
333
+ ]
334
+ ---
335
+ ```
336
+
337
+ When someone says "Let's set up the database," Kiro detects "database" in the keywords and activates the Supabase power — loading its MCP tools and `POWER.md` steering into context. Other powers deactivate to save context.
338
+
339
+ #### Onboarding Section (runs once)
340
+
341
+ ```markdown
342
+ # Onboarding
343
+
344
+ ## Step 1: Validate tools work
345
+
346
+ - **Docker Desktop**: Verify with `docker --version`
347
+ - **Supabase CLI**: Verify with `supabase --version`
348
+
349
+ ## Step 2: Add hooks
350
+
351
+ Add a hook to `.kiro/hooks/review-advisors.kiro.hook`
352
+ ```
353
+
354
+ #### Steering Section (maps workflows to files)
355
+
356
+ **Simple approach** — all guidance in `POWER.md`:
357
+
358
+ ```markdown
359
+ # Best Practices
360
+
361
+ ## Database Schema Design
362
+
363
+ - Use UUIDs for primary keys
364
+ - Always add timestamps
365
+ - Enable RLS on all tables with user data
366
+ ```
367
+
368
+ **Advanced approach** — separate steering files:
369
+
370
+ ```markdown
371
+ # When to Load Steering Files
372
+
373
+ - Setting up a database → `database-setup-workflow.md`
374
+ - Creating RLS policies → `supabase-database-rls-policies.md`
375
+ - Creating PostgreSQL functions → `supabase-database-functions.md`
376
+ - Working with Edge Functions → `supabase-edge-functions.md`
377
+ ```
378
+
379
+ ### MCP Server Configuration (mcp.json)
380
+
381
+ ```json
382
+ {
383
+ "mcpServers": {
384
+ "supabase-local": {
385
+ "command": "npx",
386
+ "args": ["-y", "@supabase/mcp-server-supabase"],
387
+ "env": {
388
+ "SUPABASE_URL": "${SUPABASE_URL}",
389
+ "SUPABASE_ANON_KEY": "${SUPABASE_ANON_KEY}"
390
+ }
391
+ }
392
+ }
393
+ }
394
+ ```
395
+
396
+ Kiro auto-namespaces server names to avoid conflicts (e.g., `supabase-local` → `power-supabase-supabase-local`).
397
+
398
+ ### Kiro Hooks System
399
+
400
+ Powers can install hooks into `.kiro/hooks/`. Hooks are JSON files that define automated behaviors:
401
+
402
+ ```json
403
+ {
404
+ "enabled": true,
405
+ "name": "Review Database Performance & Security",
406
+ "description": "Verify database follows performance/security best practices",
407
+ "version": "1",
408
+ "when": { "type": "userTriggered" },
409
+ "then": {
410
+ "type": "askAgent",
411
+ "prompt": "Execute `get_advisors` via MCP to check for performance and security concerns"
412
+ }
413
+ }
414
+ ```
415
+
416
+ ### Kiro Autonomous Agent
417
+
418
+ Kiro also has an **autonomous agent** that works at the team level:
419
+
420
+ - **Runs in isolated sandbox environments** — opens PRs for review
421
+ - **Maintains context** across tasks, repos, and pull requests
422
+ - **Learns from code reviews** — adapts to team patterns over time
423
+ - **Works across repos** — coordinates multi-repo changes into related PRs
424
+ - **Protects focus time** — handles routine fixes, follow-ups, status updates
425
+
426
+ > The autonomous agent is complementary to Powers. Powers provide the expertise, the autonomous agent provides the execution.
427
+
428
+ ### Available Kiro Powers (Curated Partners)
429
+
430
+ | Power | Category | What It Does |
431
+ | ------------- | -------------- | --------------------------------- |
432
+ | **Figma** | Design | Design to code |
433
+ | **Supabase** | Backend | Database, auth, storage, realtime |
434
+ | **Stripe** | Payments | Payment integration |
435
+ | **Neon** | Database | Serverless Postgres |
436
+ | **Netlify** | Deployment | Web app deployment |
437
+ | **Postman** | API Testing | API testing and docs |
438
+ | **Strands** | Agent Dev | Build agents |
439
+ | **Datadog** | Observability | Monitoring & observability |
440
+ | **Dynatrace** | Observability | APM & monitoring |
441
+ | **AWS CDK** | Infrastructure | AWS IaC with CDK/CloudFormation |
442
+ | **Terraform** | Infrastructure | Multi-cloud IaC |
443
+ | **Aurora** | Database | AWS Aurora PostgreSQL/DSQL |
444
+
445
+ ### Installing Powers
446
+
447
+ ```
448
+ # From the Kiro IDE Powers panel:
449
+ 1. Open Powers panel → Browse curated powers
450
+ 2. Click "Install" on any power
451
+
452
+ # From GitHub:
453
+ 1. Powers panel → "Add power from GitHub"
454
+ 2. Enter repository URL
455
+
456
+ # From local directory:
457
+ 1. Powers panel → "Add power from Local Path"
458
+ 2. Select your power directory
459
+ ```
460
+
461
+ ### Kiro Setup Checklist
462
+
463
+ ```markdown
464
+ ## Kiro Setup Checklist
465
+
466
+ - [ ] **Install essential Powers**: Figma, Supabase/Neon, deployment tool
467
+ - [ ] **Configure hooks**: Quality gates in `.kiro/hooks/`
468
+ - [ ] **Set up autonomous agent**: For team-level async task execution
469
+ - [ ] **Create project-specific powers**: Package team patterns as Powers
470
+ - [ ] **Share powers**: Push to GitHub for team-wide access
471
+ ```
472
+
473
+ ---
474
+
475
+ ## Antigravity ↔ Kiro Powers: Mapping Guide
476
+
477
+ Our Antigravity skills can be adapted to Kiro Powers with minimal changes:
478
+
479
+ | Antigravity | Kiro Powers | Mapping Notes |
480
+ | -------------------- | --------------------------------------- | ----------------------------------------------------------- |
481
+ | `SKILL.md` | `POWER.md` | Rename + adjust frontmatter (add `keywords`, `displayName`) |
482
+ | `skills/skill-name/` | `power-name/` | Same directory structure |
483
+ | `references/` | `steering/` | Rename directory |
484
+ | `scripts/` | Keep as `scripts/` or integrate via MCP | Scripts stay or wrap in MCP |
485
+ | `SKILLS_CATALOG.md` | Kiro Powers panel | Kiro handles discovery natively |
486
+ | `.agent/agents/` | Kiro agents | Different agent system |
487
+ | `execution/` | Wrap as MCP tools | Kiro prefers MCP for tool access |
488
+ | `GEMINI.md` rules | `.kiro/settings` + hooks | Different configuration approach |
489
+
490
+ ### Converting a Skill to a Power
491
+
492
+ ```bash
493
+ # Example: Convert webcrawler skill to Kiro Power
494
+ mkdir power-webcrawler
495
+ cp skills/webcrawler/SKILL.md power-webcrawler/POWER.md
496
+ # Edit POWER.md frontmatter:
497
+ # Add: keywords: ["scrape", "crawl", "website", "docs", "harvest"]
498
+ # Add: displayName: "Web Crawler"
499
+ # Move references/ → steering/
500
+ cp -r skills/webcrawler/references/ power-webcrawler/steering/ 2>/dev/null
501
+ # If skill uses MCP, create mcp.json
502
+ ```
503
+
504
+ ---
505
+
506
+ ## Auto-Discovery Workflow
507
+
508
+ When this skill is activated (manually or via `/plugin-discovery`):
509
+
510
+ ### Step 1: Detect Platform
511
+
512
+ ```
513
+ Detecting runtime environment...
514
+ → Platform: [Claude Code / Gemini / Opencode / Kiro / Other]
515
+ → Features: [list available features]
516
+ ```
517
+
518
+ ### Step 2: Scan Project
519
+
520
+ ```
521
+ Scanning project for technology stack...
522
+ → Languages: [TypeScript, Python, etc.]
523
+ → Frameworks: [Next.js, Express, etc.]
524
+ → Services: [GitHub, Linear, etc.]
525
+ ```
526
+
527
+ ### Step 3: Recommend Extensions
528
+
529
+ Based on platform + project stack, recommend the most relevant extensions:
530
+
531
+ ```markdown
532
+ ## 📦 Recommended Extensions for Your Setup
533
+
534
+ ### Must-Have
535
+
536
+ - [Extension 1]: [Why it helps for your project]
537
+ - [Extension 2]: [Why it helps for your project]
538
+
539
+ ### Nice-to-Have
540
+
541
+ - [Extension 3]: [Benefit]
542
+ - [Extension 4]: [Benefit]
543
+
544
+ ### Install Commands
545
+
546
+ [Platform-specific install commands]
547
+ ```
548
+
549
+ ### Step 4: Offer to Install
550
+
551
+ ```
552
+ Would you like me to install the recommended extensions? (y/n)
553
+ ```
554
+
555
+ ---
556
+
557
+ ## Cross-Platform Compatibility Map
558
+
559
+ | Feature | Claude Code | Gemini | Opencode | Kiro |
560
+ | ----------------------- | -------------------- | -------------- | -------------- | --------------------------- |
561
+ | **Plugins/Marketplace** | ✅ `/plugin` | ❌ | ❌ | ✅ Powers panel |
562
+ | **Skills/Powers** | ✅ `.claude/skills/` | ✅ `skills/` | ✅ `skills/` | ✅ `POWER.md` |
563
+ | **Subagents** | ✅ `.claude/agents/` | ⚠️ Personas | ⚠️ Personas | ✅ Agents |
564
+ | **Agent Teams** | ✅ Experimental | ❌ | ❌ | ✅ Autonomous Agent (async) |
565
+ | **MCP Servers** | ✅ Native | ✅ Via config | ✅ Via config | ✅ Dynamic via Powers |
566
+ | **Dynamic MCP Loading** | ❌ All upfront | ❌ All upfront | ❌ All upfront | ✅ On-demand per Power |
567
+ | **LSP Integration** | ✅ Plugins | ❌ | ❌ | ✅ Native |
568
+ | **Hooks** | ✅ Native | ❌ | ❌ | ✅ `.kiro/hooks/` |
569
+ | **Persistent Memory** | ✅ Agent memory | ⚠️ KI system | ⚠️ Limited | ✅ Cross-task learning |
570
+ | **Cross-Repo Tasks** | ❌ | ❌ | ❌ | ✅ Autonomous Agent |
571
+
572
+ ---
573
+
574
+ ## Best Practices
575
+
576
+ 1. **Detect first, recommend second** — Always detect platform before suggesting extensions
577
+ 2. **Project-aware recommendations** — Recommend based on the actual tech stack, not generic lists
578
+ 3. **Don't over-install** — Recommend only what's relevant to the current project
579
+ 4. **Respect scopes** — Use project scope for team tools, user scope for personal preferences
580
+ 5. **Proactive but not pushy** — Suggest once per session, don't repeat
581
+ 6. **Cross-platform awareness** — When a skill exists as both Antigravity SKILL.md and Kiro POWER.md, use the native format for the detected platform