@ekkos/cli 0.2.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/dist/cache/LocalSessionStore.d.ts +129 -0
- package/dist/cache/LocalSessionStore.js +688 -0
- package/dist/cache/capture.d.ts +26 -0
- package/dist/cache/capture.js +461 -0
- package/dist/cache/index.d.ts +7 -0
- package/dist/cache/index.js +23 -0
- package/dist/cache/types.d.ts +147 -0
- package/dist/cache/types.js +40 -0
- package/dist/commands/init.d.ts +9 -0
- package/dist/commands/init.js +478 -0
- package/dist/commands/run.d.ts +12 -0
- package/dist/commands/run.js +829 -0
- package/dist/commands/setup.d.ts +6 -0
- package/dist/commands/setup.js +658 -0
- package/dist/commands/status.d.ts +1 -0
- package/dist/commands/status.js +109 -0
- package/dist/commands/test.d.ts +1 -0
- package/dist/commands/test.js +157 -0
- package/dist/deploy/agents.d.ts +15 -0
- package/dist/deploy/agents.js +72 -0
- package/dist/deploy/hooks.d.ts +16 -0
- package/dist/deploy/hooks.js +121 -0
- package/dist/deploy/index.d.ts +7 -0
- package/dist/deploy/index.js +24 -0
- package/dist/deploy/instructions.d.ts +12 -0
- package/dist/deploy/instructions.js +36 -0
- package/dist/deploy/mcp.d.ts +19 -0
- package/dist/deploy/mcp.js +109 -0
- package/dist/deploy/plugins.d.ts +19 -0
- package/dist/deploy/plugins.js +62 -0
- package/dist/deploy/settings.d.ts +8 -0
- package/dist/deploy/settings.js +84 -0
- package/dist/deploy/skills.d.ts +19 -0
- package/dist/deploy/skills.js +60 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +71 -0
- package/dist/restore/RestoreOrchestrator.d.ts +48 -0
- package/dist/restore/RestoreOrchestrator.js +481 -0
- package/dist/restore/index.d.ts +4 -0
- package/dist/restore/index.js +20 -0
- package/dist/utils/platform.d.ts +29 -0
- package/dist/utils/platform.js +65 -0
- package/dist/utils/session-words.json +119 -0
- package/dist/utils/state.d.ts +57 -0
- package/dist/utils/state.js +186 -0
- package/dist/utils/templates.d.ts +24 -0
- package/dist/utils/templates.js +118 -0
- package/package.json +48 -0
- package/templates/CLAUDE.md +287 -0
- package/templates/README.md +378 -0
- package/templates/agents/README.md +182 -0
- package/templates/agents/code-reviewer.md +166 -0
- package/templates/agents/debug-detective.md +169 -0
- package/templates/agents/ekkOS_Vercel.md +99 -0
- package/templates/agents/extension-manager.md +229 -0
- package/templates/agents/git-companion.md +185 -0
- package/templates/agents/github-test-agent.md +321 -0
- package/templates/agents/railway-manager.md +179 -0
- package/templates/claude-plugins/PHASE2_COMPLETION.md +346 -0
- package/templates/claude-plugins/PLUGIN_PROPOSALS.md +1776 -0
- package/templates/claude-plugins/README.md +587 -0
- package/templates/claude-plugins/agents/code-reviewer.json +14 -0
- package/templates/claude-plugins/agents/debug-detective.json +15 -0
- package/templates/claude-plugins/agents/git-companion.json +14 -0
- package/templates/claude-plugins/blog-manager/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins/blog-manager/commands/blog.md +691 -0
- package/templates/claude-plugins/golden-loop-monitor/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins/golden-loop-monitor/commands/loop-status.md +434 -0
- package/templates/claude-plugins/learning-tracker/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins/learning-tracker/commands/my-patterns.md +282 -0
- package/templates/claude-plugins/memory-lens/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins/memory-lens/commands/memory-search.md +181 -0
- package/templates/claude-plugins/pattern-coach/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins/pattern-coach/commands/forge.md +365 -0
- package/templates/claude-plugins/project-schema-validator/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins/project-schema-validator/commands/validate-schema.md +582 -0
- package/templates/claude-plugins-admin/AGENT_TEAM_PROPOSALS.md +819 -0
- package/templates/claude-plugins-admin/README.md +446 -0
- package/templates/claude-plugins-admin/autonomous-admin-agent/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins-admin/autonomous-admin-agent/commands/agent.md +595 -0
- package/templates/claude-plugins-admin/backend-agent/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins-admin/backend-agent/commands/backend.md +798 -0
- package/templates/claude-plugins-admin/deploy-guardian/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins-admin/deploy-guardian/commands/deploy.md +554 -0
- package/templates/claude-plugins-admin/frontend-agent/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins-admin/frontend-agent/commands/frontend.md +881 -0
- package/templates/claude-plugins-admin/mcp-server-manager/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins-admin/mcp-server-manager/commands/mcp.md +85 -0
- package/templates/claude-plugins-admin/memory-system-monitor/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins-admin/memory-system-monitor/commands/memory-health.md +569 -0
- package/templates/claude-plugins-admin/qa-agent/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins-admin/qa-agent/commands/qa.md +863 -0
- package/templates/claude-plugins-admin/tech-lead-agent/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins-admin/tech-lead-agent/commands/lead.md +732 -0
- package/templates/commands/continue.md +47 -0
- package/templates/cursor-hooks/after-agent-response.sh +117 -0
- package/templates/cursor-hooks/before-submit-prompt.sh +419 -0
- package/templates/cursor-hooks/hooks.json +20 -0
- package/templates/cursor-hooks/lib/contract.sh +320 -0
- package/templates/cursor-hooks/stop.sh +75 -0
- package/templates/cursor-rules/ekkos-memory.md +187 -0
- package/templates/hooks/assistant-response.sh +96 -0
- package/templates/hooks/hooks.json +28 -0
- package/templates/hooks/lib/contract.sh +320 -0
- package/templates/hooks/lib/state.sh +158 -0
- package/templates/hooks/session-start.ps1 +41 -0
- package/templates/hooks/session-start.sh +318 -0
- package/templates/hooks/stop.ps1 +16 -0
- package/templates/hooks/stop.sh +989 -0
- package/templates/hooks/user-prompt-submit.ps1 +174 -0
- package/templates/hooks/user-prompt-submit.sh +587 -0
- package/templates/hooks-node/lib/state.js +187 -0
- package/templates/hooks-node/stop.js +416 -0
- package/templates/hooks-node/user-prompt-submit.js +337 -0
- package/templates/plan-template.md +306 -0
- package/templates/rules/00-hooks-contract.mdc +89 -0
- package/templates/rules/30-ekkos-core.mdc +188 -0
- package/templates/rules/31-ekkos-messages.mdc +78 -0
- package/templates/skills/continue/SKILL.md +169 -0
- package/templates/skills/ekkOS_Deep_Recall/Skill.md +282 -0
- package/templates/skills/ekkOS_Learn/Skill.md +265 -0
- package/templates/skills/ekkOS_Memory_First/Skill.md +206 -0
- package/templates/skills/ekkOS_Plan_Assist/Skill.md +302 -0
- package/templates/skills/ekkOS_Preferences/Skill.md +247 -0
- package/templates/skills/ekkOS_Reflect/Skill.md +257 -0
- package/templates/skills/ekkOS_Safety/Skill.md +265 -0
- package/templates/skills/ekkOS_Schema/Skill.md +251 -0
- package/templates/skills/ekkOS_Summary/Skill.md +257 -0
- package/templates/skills/ekkOS_Vault/Skill.md +287 -0
- package/templates/skills/permissions/Skill.md +322 -0
- package/templates/spec-template.md +159 -0
- package/templates/windsurf-hooks/before-submit-prompt.sh +238 -0
- package/templates/windsurf-hooks/hooks.json +10 -0
- package/templates/windsurf-hooks/lib/contract.sh +320 -0
- package/templates/windsurf-rules/ekkos-memory.md +129 -0
|
@@ -0,0 +1,446 @@
|
|
|
1
|
+
# ekkOS Admin Agents
|
|
2
|
+
|
|
3
|
+
**INTERNAL USE ONLY** - AI agent team for building and managing ekkOS infrastructure.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
This directory contains specialized AI agents that act as your dev team members. Each agent is an expert in a specific domain and can autonomously handle complex tasks.
|
|
8
|
+
|
|
9
|
+
## 🎯 The AI Dev Team
|
|
10
|
+
|
|
11
|
+
### Orchestrator
|
|
12
|
+
- **Tech Lead Agent** (`/lead`) - Manages project, creates plans, assigns tasks, reviews work, coordinates releases
|
|
13
|
+
|
|
14
|
+
### Core Development (70% coverage)
|
|
15
|
+
- **Frontend Agent** (`/frontend`) - React, Next.js, TypeScript, Tailwind CSS
|
|
16
|
+
- **Backend Agent** (`/backend`) - APIs, database schemas, Supabase, RLS
|
|
17
|
+
|
|
18
|
+
### Quality & Operations (90% coverage)
|
|
19
|
+
- **QA Agent** (`/qa`) - Testing, coverage, quality assurance
|
|
20
|
+
- **DevOps Agent** (via existing plugins) - Deploy Guardian, Memory Monitor, MCP Manager
|
|
21
|
+
|
|
22
|
+
### 24/7 Monitoring
|
|
23
|
+
- **Autonomous Admin Agent** (`/agent`) - Monitors infrastructure 24/7, intelligently uses other agents
|
|
24
|
+
|
|
25
|
+
### Infrastructure Management (via existing plugins)
|
|
26
|
+
- **Deploy Guardian** (`/deploy`) - Vercel & Railway deployment safety
|
|
27
|
+
- **Memory System Monitor** (`/memory-health`) - 11-layer memory health
|
|
28
|
+
- **MCP Server Manager** (`/mcp`) - MCP server operations (api.ekkos.dev)
|
|
29
|
+
|
|
30
|
+
## 🔒 Security Notice
|
|
31
|
+
|
|
32
|
+
**INTERNAL USE ONLY - ekkOS Team**
|
|
33
|
+
|
|
34
|
+
These agents are NOT bundled in the user-facing extension. They access ekkOS infrastructure and must remain separate to prevent any risk of admin data leaking to users.
|
|
35
|
+
|
|
36
|
+
## Quick Start
|
|
37
|
+
|
|
38
|
+
### Deploy Admin Agents
|
|
39
|
+
|
|
40
|
+
**Option 1: Run deployment script (recommended)**
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
# From repo root
|
|
44
|
+
./scripts/deploy-admin-agents.sh
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
**Option 2: Manual copy**
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
# Copy admin plugins directly
|
|
51
|
+
cp -r /Volumes/MacMiniPort/DEV/EKKOS/extensions/ekkos-connect/templates/claude-plugins-admin/* \
|
|
52
|
+
~/.claude/plugins/ekkos-admin/
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
This installs all 8 agents to `~/.claude/plugins/ekkos-admin/`
|
|
56
|
+
|
|
57
|
+
### Using Agents
|
|
58
|
+
|
|
59
|
+
#### 1. Tech Lead - Project Management
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
# Create implementation plan
|
|
63
|
+
/lead plan "Add Teams collaboration feature"
|
|
64
|
+
|
|
65
|
+
# Assign tasks to specialized agents
|
|
66
|
+
/lead assign all
|
|
67
|
+
|
|
68
|
+
# Review completed work
|
|
69
|
+
/lead review all
|
|
70
|
+
|
|
71
|
+
# Plan release
|
|
72
|
+
/lead release plan
|
|
73
|
+
|
|
74
|
+
# Check project status
|
|
75
|
+
/lead status
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
**When to use:** Complex features, multi-component work, releases
|
|
79
|
+
|
|
80
|
+
#### 2. Frontend Agent - UI Development
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
# Build new component/page
|
|
84
|
+
/frontend build "Teams dashboard page"
|
|
85
|
+
|
|
86
|
+
# Fix UI bugs
|
|
87
|
+
/frontend fix "Teams list not paginating"
|
|
88
|
+
|
|
89
|
+
# Optimize performance
|
|
90
|
+
/frontend optimize "Dashboard page"
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
**When to use:** React components, pages, UI logic
|
|
94
|
+
|
|
95
|
+
#### 3. Backend Agent - API & Database
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
# Design database schema
|
|
99
|
+
/backend schema "Teams with members and roles"
|
|
100
|
+
|
|
101
|
+
# Build REST API
|
|
102
|
+
/backend api "Teams CRUD operations"
|
|
103
|
+
|
|
104
|
+
# Fix backend issues
|
|
105
|
+
/backend fix "Add rate limiting to Teams API"
|
|
106
|
+
|
|
107
|
+
# Optimize queries
|
|
108
|
+
/backend optimize "Pattern search query"
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
**When to use:** Database design, API endpoints, server-side logic
|
|
112
|
+
|
|
113
|
+
#### 4. QA Agent - Testing
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
# Write comprehensive tests
|
|
117
|
+
/qa write "Teams API endpoints"
|
|
118
|
+
|
|
119
|
+
# Run tests with coverage
|
|
120
|
+
/qa test --coverage
|
|
121
|
+
|
|
122
|
+
# Regression testing
|
|
123
|
+
/qa regression
|
|
124
|
+
|
|
125
|
+
# E2E testing
|
|
126
|
+
/qa e2e "Create team and invite member"
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
**When to use:** After building features, before deployments
|
|
130
|
+
|
|
131
|
+
#### 5. Autonomous Agent - 24/7 Monitoring
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
# Start autonomous monitoring
|
|
135
|
+
/agent start
|
|
136
|
+
|
|
137
|
+
# Check agent status
|
|
138
|
+
/agent status
|
|
139
|
+
|
|
140
|
+
# View agent activity log
|
|
141
|
+
/agent logs
|
|
142
|
+
|
|
143
|
+
# Configure agent behavior
|
|
144
|
+
/agent config
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
**When to use:** Set it and forget it - runs continuously
|
|
148
|
+
|
|
149
|
+
#### 6. Deploy Guardian
|
|
150
|
+
|
|
151
|
+
```bash
|
|
152
|
+
# Check deployments before pushing
|
|
153
|
+
/deploy check --all-vercel
|
|
154
|
+
|
|
155
|
+
# Execute deployment
|
|
156
|
+
/deploy execute apps/memory --env production
|
|
157
|
+
|
|
158
|
+
# Monitor post-deployment
|
|
159
|
+
/deploy monitor apps/memory
|
|
160
|
+
|
|
161
|
+
# Rollback if needed
|
|
162
|
+
/deploy rollback apps/memory
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
**When to use:** Before every deployment, incident response
|
|
166
|
+
|
|
167
|
+
#### 7. Memory System Monitor
|
|
168
|
+
|
|
169
|
+
```bash
|
|
170
|
+
# Check memory health
|
|
171
|
+
/memory-health
|
|
172
|
+
|
|
173
|
+
# Optimize memory layers
|
|
174
|
+
/memory-optimize --layer 4
|
|
175
|
+
|
|
176
|
+
# Check data integrity
|
|
177
|
+
/memory-integrity
|
|
178
|
+
|
|
179
|
+
# Export/import memory
|
|
180
|
+
/memory-export
|
|
181
|
+
/memory-import data.json
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
**When to use:** Daily health checks, performance issues
|
|
185
|
+
|
|
186
|
+
#### 8. MCP Server Manager
|
|
187
|
+
|
|
188
|
+
```bash
|
|
189
|
+
# Check MCP server health
|
|
190
|
+
/mcp status
|
|
191
|
+
|
|
192
|
+
# Test all 31 tools
|
|
193
|
+
/mcp test-tools
|
|
194
|
+
|
|
195
|
+
# Restart server
|
|
196
|
+
/mcp restart
|
|
197
|
+
|
|
198
|
+
# Debug specific tool
|
|
199
|
+
/mcp debug ekkOS_Search
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
**When to use:** MCP tool issues, monitoring
|
|
203
|
+
|
|
204
|
+
## Complete Workflow Example
|
|
205
|
+
|
|
206
|
+
### Building a New Feature: Teams Collaboration
|
|
207
|
+
|
|
208
|
+
```bash
|
|
209
|
+
# 1. Tech Lead creates plan
|
|
210
|
+
/lead plan "Add Teams collaboration feature"
|
|
211
|
+
|
|
212
|
+
# Output: 7 tasks created
|
|
213
|
+
# Task 1: Database schema (Backend Agent)
|
|
214
|
+
# Task 2: API endpoints (Backend Agent)
|
|
215
|
+
# Task 3: Teams dashboard (Frontend Agent)
|
|
216
|
+
# Task 4: Team settings (Frontend Agent)
|
|
217
|
+
# Task 5: Security audit (Security Agent)
|
|
218
|
+
# Task 6: Test suite (QA Agent)
|
|
219
|
+
# Task 7: Documentation (Docs Agent)
|
|
220
|
+
|
|
221
|
+
# 2. Assign and execute
|
|
222
|
+
/lead assign all
|
|
223
|
+
|
|
224
|
+
# Agents work in parallel:
|
|
225
|
+
# - Backend Agent creates schema + API (4 hours)
|
|
226
|
+
# - Frontend Agent builds UI components (4 hours, parallel)
|
|
227
|
+
# - QA Agent writes tests (3 hours)
|
|
228
|
+
# - Security Agent audits (2 hours)
|
|
229
|
+
|
|
230
|
+
# 3. Review work
|
|
231
|
+
/lead review all
|
|
232
|
+
|
|
233
|
+
# Output: 1 critical issue (missing rate limiting)
|
|
234
|
+
|
|
235
|
+
# 4. Fix issues
|
|
236
|
+
/backend fix "Add rate limiting to Teams API"
|
|
237
|
+
|
|
238
|
+
# 5. Final review
|
|
239
|
+
/lead review all
|
|
240
|
+
# Output: All checks passed ✅
|
|
241
|
+
|
|
242
|
+
# 6. Deploy
|
|
243
|
+
/deploy check apps/web
|
|
244
|
+
/deploy execute apps/web --env production
|
|
245
|
+
|
|
246
|
+
# 7. Monitor
|
|
247
|
+
/agent status
|
|
248
|
+
# Autonomous agent monitors deployment automatically
|
|
249
|
+
|
|
250
|
+
# Total time: ~14 hours with parallelization
|
|
251
|
+
# Manual time estimate: ~40 hours (65% time savings)
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
## Agent Coordination
|
|
255
|
+
|
|
256
|
+
Agents coordinate through the Tech Lead:
|
|
257
|
+
|
|
258
|
+
```
|
|
259
|
+
User Request
|
|
260
|
+
↓
|
|
261
|
+
Tech Lead (orchestrator)
|
|
262
|
+
├─→ Backend Agent ────┐
|
|
263
|
+
├─→ Frontend Agent ────┤
|
|
264
|
+
├─→ QA Agent ────┤─→ Parallel Execution
|
|
265
|
+
├─→ Security Agent ────┤
|
|
266
|
+
└─→ DevOps Agent ────┘
|
|
267
|
+
↓
|
|
268
|
+
Review & Deploy
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
## Cost Analysis
|
|
272
|
+
|
|
273
|
+
### vs Hiring Team
|
|
274
|
+
|
|
275
|
+
| Role | Annual Salary | Agent Cost | Savings |
|
|
276
|
+
|------|---------------|------------|---------|
|
|
277
|
+
| Tech Lead | $180,000 | $0 | $180,000 |
|
|
278
|
+
| Frontend Dev | $150,000 | $0 | $150,000 |
|
|
279
|
+
| Backend Dev | $150,000 | $0 | $150,000 |
|
|
280
|
+
| QA Engineer | $130,000 | $0 | $130,000 |
|
|
281
|
+
| DevOps Engineer | $160,000 | $0 | $160,000 |
|
|
282
|
+
| **Total** | **$770,000/year** | **~$15,000/year** | **$755,000/year** |
|
|
283
|
+
|
|
284
|
+
*Agent costs: ~$0.03/1K tokens, ~500M tokens/year at full scale*
|
|
285
|
+
|
|
286
|
+
### Coverage
|
|
287
|
+
|
|
288
|
+
- **Phase 1** (Tech Lead + Frontend + Backend): **70% coverage**
|
|
289
|
+
- **Phase 2** (+ QA + DevOps): **90% coverage**
|
|
290
|
+
- **Phase 3** (+ Docs + Security + Data): **100% coverage**
|
|
291
|
+
|
|
292
|
+
## MCP Tools Used
|
|
293
|
+
|
|
294
|
+
All agents leverage the 31 ekkOS MCP tools:
|
|
295
|
+
|
|
296
|
+
- `ekkOS_Search` - Find past solutions
|
|
297
|
+
- `ekkOS_Forge` - Save new patterns
|
|
298
|
+
- `ekkOS_Context` - Get relevant context
|
|
299
|
+
- `ekkOS_Plan` - Create task plans
|
|
300
|
+
- `ekkOS_IndexSchema` - Work with database schemas
|
|
301
|
+
- `ekkOS_Codebase` - Search project code
|
|
302
|
+
- All specialized tools (see CLAUDE.md)
|
|
303
|
+
|
|
304
|
+
## Best Practices
|
|
305
|
+
|
|
306
|
+
### 1. Let Tech Lead Coordinate
|
|
307
|
+
|
|
308
|
+
**Good:**
|
|
309
|
+
```bash
|
|
310
|
+
/lead plan "Add feature"
|
|
311
|
+
/lead assign all
|
|
312
|
+
/lead review all
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
**Not ideal:**
|
|
316
|
+
```bash
|
|
317
|
+
/frontend build "component"
|
|
318
|
+
/backend api "endpoint"
|
|
319
|
+
/qa test "feature"
|
|
320
|
+
# Manual coordination required
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
### 2. Start Autonomous Agent Early
|
|
324
|
+
|
|
325
|
+
```bash
|
|
326
|
+
# Set it up once
|
|
327
|
+
/agent start --background
|
|
328
|
+
|
|
329
|
+
# It handles:
|
|
330
|
+
# - Routine health checks
|
|
331
|
+
# - Pre-deployment verification
|
|
332
|
+
# - Issue detection
|
|
333
|
+
# - Preventive maintenance
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
### 3. Review Before Deploy
|
|
337
|
+
|
|
338
|
+
**Always:**
|
|
339
|
+
```bash
|
|
340
|
+
/lead review all # Review all changes
|
|
341
|
+
/deploy check apps/web # Pre-deployment check
|
|
342
|
+
/deploy execute apps/web --env production
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
### 4. Trust the Agents
|
|
346
|
+
|
|
347
|
+
Agents are trained on ekkOS patterns:
|
|
348
|
+
- Follow established conventions
|
|
349
|
+
- Maintain high code quality
|
|
350
|
+
- Ensure security and performance
|
|
351
|
+
- Test thoroughly
|
|
352
|
+
|
|
353
|
+
## Troubleshooting
|
|
354
|
+
|
|
355
|
+
### Agent Not Responding
|
|
356
|
+
|
|
357
|
+
**Problem:** Agent command not recognized
|
|
358
|
+
**Fix:** Ensure plugins deployed: `ekkOS: Deploy Admin Agents to Claude Code`
|
|
359
|
+
|
|
360
|
+
### Agents Making Wrong Decisions
|
|
361
|
+
|
|
362
|
+
**Problem:** Agent implementing wrong pattern
|
|
363
|
+
**Check:** Review agent's reasoning in output
|
|
364
|
+
**Fix:** Provide clearer instructions or correct via `/lead review`
|
|
365
|
+
|
|
366
|
+
### Coordination Issues
|
|
367
|
+
|
|
368
|
+
**Problem:** Agents working on conflicting changes
|
|
369
|
+
**Solution:** Use Tech Lead to coordinate: `/lead plan` then `/lead assign`
|
|
370
|
+
|
|
371
|
+
## Security
|
|
372
|
+
|
|
373
|
+
**IMPORTANT:** Admin agents are for ekkOS team only!
|
|
374
|
+
|
|
375
|
+
- ✅ Access to ekkOS infrastructure (Vercel, Railway, Supabase)
|
|
376
|
+
- ✅ Can deploy to production
|
|
377
|
+
- ✅ Can modify database schemas
|
|
378
|
+
- ❌ NOT for user deployment
|
|
379
|
+
- ❌ NOT in public extension
|
|
380
|
+
|
|
381
|
+
User-facing plugins are in `templates/claude-plugins/`
|
|
382
|
+
|
|
383
|
+
## File Structure
|
|
384
|
+
|
|
385
|
+
```
|
|
386
|
+
claude-plugins-admin/
|
|
387
|
+
├── README.md (this file)
|
|
388
|
+
├── AGENT_TEAM_PROPOSALS.md (full architecture doc)
|
|
389
|
+
│
|
|
390
|
+
├── tech-lead-agent/
|
|
391
|
+
│ ├── .claude-plugin/plugin.json
|
|
392
|
+
│ └── commands/lead.md
|
|
393
|
+
│
|
|
394
|
+
├── frontend-agent/
|
|
395
|
+
│ ├── .claude-plugin/plugin.json
|
|
396
|
+
│ └── commands/frontend.md
|
|
397
|
+
│
|
|
398
|
+
├── backend-agent/
|
|
399
|
+
│ ├── .claude-plugin/plugin.json
|
|
400
|
+
│ └── commands/backend.md
|
|
401
|
+
│
|
|
402
|
+
├── qa-agent/
|
|
403
|
+
│ ├── .claude-plugin/plugin.json
|
|
404
|
+
│ └── commands/qa.md
|
|
405
|
+
│
|
|
406
|
+
├── autonomous-admin-agent/
|
|
407
|
+
│ ├── .claude-plugin/plugin.json
|
|
408
|
+
│ └── commands/agent.md
|
|
409
|
+
│
|
|
410
|
+
├── deploy-guardian/
|
|
411
|
+
│ ├── .claude-plugin/plugin.json
|
|
412
|
+
│ └── commands/deploy.md
|
|
413
|
+
│
|
|
414
|
+
├── memory-system-monitor/
|
|
415
|
+
│ ├── .claude-plugin/plugin.json
|
|
416
|
+
│ └── commands/memory-health.md
|
|
417
|
+
│
|
|
418
|
+
└── mcp-server-manager/
|
|
419
|
+
├── .claude-plugin/plugin.json
|
|
420
|
+
└── commands/mcp.md
|
|
421
|
+
```
|
|
422
|
+
|
|
423
|
+
## Next Steps
|
|
424
|
+
|
|
425
|
+
1. **Deploy agents:**
|
|
426
|
+
- Run command: `ekkOS: Deploy Admin Agents to Claude Code`
|
|
427
|
+
|
|
428
|
+
2. **Test with simple task:**
|
|
429
|
+
- `/lead plan "Fix typo in README"`
|
|
430
|
+
|
|
431
|
+
3. **Build feature:**
|
|
432
|
+
- `/lead plan "Your feature"`
|
|
433
|
+
- `/lead assign all`
|
|
434
|
+
|
|
435
|
+
4. **Start autonomous monitoring:**
|
|
436
|
+
- `/agent start --background`
|
|
437
|
+
|
|
438
|
+
## Documentation
|
|
439
|
+
|
|
440
|
+
- Full architecture: `AGENT_TEAM_PROPOSALS.md`
|
|
441
|
+
- User plugins: `../claude-plugins/README.md`
|
|
442
|
+
- ekkOS docs: https://docs.ekkos.dev
|
|
443
|
+
|
|
444
|
+
---
|
|
445
|
+
|
|
446
|
+
**Your AI Dev Team. Build 10x faster.** 🚀
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ekkos-admin-autonomous-agent",
|
|
3
|
+
"description": "ADMIN ONLY: Autonomous agent that monitors ekkOS infrastructure 24/7 and intelligently uses admin plugins to maintain system health.",
|
|
4
|
+
"author": {
|
|
5
|
+
"name": "ekkOS Internal",
|
|
6
|
+
"email": "dev@ekkos.dev"
|
|
7
|
+
}
|
|
8
|
+
}
|