pantheon-opencode 1.0.7 → 1.1.1-beta.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/AGENTS.md +1 -1
- package/README.md +98 -318
- package/bin/pantheon-init.mjs +1 -1
- package/opencode.json +13 -5
- package/package.json +2 -2
- package/scripts/install/opencode.mjs +10 -2
- package/scripts/install/venv.mjs +24 -8
- package/scripts/validate-routing.mjs +1 -1
- package/src/agents/README.md +26 -0
- package/src/instructions/agent-return-format.instructions.md +45 -0
- package/src/instructions/memory-protocol.instructions.md +52 -0
- package/src/instructions/zeus-council-synthesis.instructions.md +245 -26
- package/src/plugin.ts +38 -0
- package/src/routing.yml +254 -295
- package/src/skills/README.md +88 -164
package/src/skills/README.md
CHANGED
|
@@ -4,177 +4,110 @@
|
|
|
4
4
|
|
|
5
5
|
Skills are reference modules loaded on demand by agents. Each skill provides domain-specific knowledge — architecture patterns, security checklists, optimization strategies, and implementation guides. Agents load skills when their task matches the skill's description, keeping context focused and token-efficient.
|
|
6
6
|
|
|
7
|
-
There are **
|
|
7
|
+
There are **21 skills** divided into **5 domains**.
|
|
8
8
|
|
|
9
9
|
## Skills by Domain
|
|
10
10
|
|
|
11
11
|
### Domain 1: Orchestration & Workflow
|
|
12
12
|
|
|
13
|
-
1. **agent-coordination** — `
|
|
14
|
-
-
|
|
15
|
-
- Used by: Zeus
|
|
13
|
+
1. **agent-coordination** — `agent-coordination/SKILL.md`
|
|
14
|
+
- Multi-agent orchestration with model routing, category delegation, and sprint management.
|
|
15
|
+
- Used by: Zeus
|
|
16
16
|
|
|
17
|
-
2. **artifact-management** — `
|
|
18
|
-
-
|
|
19
|
-
- Used by: Zeus, Mnemosyne
|
|
20
|
-
|
|
21
|
-
3. **memory-bank** — `skills/memory-bank/SKILL.md`
|
|
22
|
-
- Complete guide to Pantheon memory bank — structure, rules, optimization, session→active-context graduation, and compression strategies.
|
|
23
|
-
- Used by: Mnemosyne, All agents
|
|
24
|
-
|
|
25
|
-
- Audit a repository for token waste — find redundant context files, measure baseline, and recommend optimizations.
|
|
26
|
-
- Used by: Mnemosyne, Zeus
|
|
27
|
-
|
|
28
|
-
- Load prompts from external files with path expansion so prompt content stays version-controlled and reusable.
|
|
29
|
-
- Used by: All agents
|
|
30
|
-
|
|
31
|
-
### Domain 2: AI & Machine Learning
|
|
17
|
+
2. **artifact-management** — `artifact-management/SKILL.md`
|
|
18
|
+
- Structured artifact trail for feature implementations — plans, implementations, reviews, and decisions.
|
|
19
|
+
- Used by: Zeus, Mnemosyne, Iris
|
|
32
20
|
|
|
33
|
-
|
|
34
|
-
-
|
|
35
|
-
- Used by: Hephaestus
|
|
21
|
+
3. **auto-continue** — `auto-continue/SKILL.md`
|
|
22
|
+
- Auto-continue through todos with idle detection and safety gates for multi-step orchestration.
|
|
23
|
+
- Used by: Zeus, Apollo, Hephaestus, Nyx, Gaia
|
|
36
24
|
|
|
37
|
-
|
|
38
|
-
-
|
|
39
|
-
- Used by:
|
|
25
|
+
4. **context-compression** — `context-compression/SKILL.md`
|
|
26
|
+
- Level 2 — Pantheon-native context compression with priority scoring, semantic summarization, budget allocation, and cross-references.
|
|
27
|
+
- Used by: Zeus, Mnemosyne, Themis
|
|
40
28
|
|
|
41
|
-
|
|
42
|
-
-
|
|
43
|
-
- Used by:
|
|
29
|
+
5. **memory-bank** — `memory-bank/SKILL.md`
|
|
30
|
+
- Memory bank rules, structure, and optimization — complete guide to Pantheon memory management.
|
|
31
|
+
- Used by: Mnemosyne, Athena
|
|
44
32
|
|
|
45
|
-
|
|
46
|
-
-
|
|
33
|
+
6. **orchestration-workflow** — `orchestration-workflow/SKILL.md`
|
|
34
|
+
- Practical step-by-step walkthrough for orchestrating features end-to-end using the multi-agent system, from planning through deployment.
|
|
35
|
+
- Used by: Zeus
|
|
47
36
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
### Domain 3: Backend Development
|
|
37
|
+
7. **session-goal** — `session-goal/SKILL.md`
|
|
38
|
+
- Pin session objectives to prevent scope creep across long multi-agent sessions.
|
|
39
|
+
- Used by: Zeus, Mnemosyne
|
|
52
40
|
|
|
53
|
-
|
|
54
|
-
- Async FastAPI endpoint design, dependency injection, service/repository pattern, Pydantic validation, error handling middleware, rate limiting, background tasks, file uploads, WebSocket support, and Gemini integration.
|
|
55
|
-
- Used by: Hermes
|
|
41
|
+
### Domain 2: Development Tools
|
|
56
42
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
43
|
+
8. **clonedeps** — `clonedeps/SKILL.md`
|
|
44
|
+
- Clones dependency source locally so agents can inspect library internals, understand behavior, and debug integration issues.
|
|
45
|
+
- Used by: Hermes, Hephaestus
|
|
60
46
|
|
|
61
|
-
|
|
47
|
+
9. **git-workflow-and-versioning** — `git-workflow-and-versioning/SKILL.md`
|
|
48
|
+
- Atomic commits, conventional commits, trunk-based development workflow.
|
|
49
|
+
- Used by: Hermes, Prometheus, Iris
|
|
62
50
|
|
|
63
|
-
|
|
64
|
-
-
|
|
65
|
-
- Used by: Aphrodite
|
|
51
|
+
10. **incremental-implementation** — `incremental-implementation/SKILL.md`
|
|
52
|
+
- Implement in thin vertical slices — one commit per task, testable, rollback-safe.
|
|
53
|
+
- Used by: Zeus, Hermes, Aphrodite, Demeter, Prometheus, Talos
|
|
66
54
|
|
|
67
|
-
|
|
68
|
-
-
|
|
69
|
-
- Used by:
|
|
55
|
+
11. **loop-engineering** — `loop-engineering/SKILL.md`
|
|
56
|
+
- Iterative refinement pattern for complex problems — solve, review, improve, repeat in controlled cycles.
|
|
57
|
+
- Used by: All agents
|
|
70
58
|
|
|
71
|
-
|
|
59
|
+
12. **reflect** — `reflect/SKILL.md`
|
|
60
|
+
- Turns repeated workflow friction into reusable skills, agents, or configuration improvements.
|
|
61
|
+
- Used by: All agents
|
|
72
62
|
|
|
73
|
-
|
|
74
|
-
-
|
|
75
|
-
- Used by:
|
|
63
|
+
13. **simplify** — `simplify/SKILL.md`
|
|
64
|
+
- Behavior-preserving code simplification for readability, maintainability, and reduced complexity.
|
|
65
|
+
- Used by: All agents
|
|
76
66
|
|
|
77
|
-
|
|
78
|
-
-
|
|
79
|
-
- Used by:
|
|
67
|
+
14. **worktrees** — `worktrees/SKILL.md`
|
|
68
|
+
- Git worktrees as safe, isolated coding lanes for risky or parallel work without affecting the main workspace.
|
|
69
|
+
- Used by: All agents
|
|
80
70
|
|
|
81
|
-
### Domain
|
|
71
|
+
### Domain 3: Quality & Security
|
|
82
72
|
|
|
83
|
-
|
|
84
|
-
- Systematic code review
|
|
73
|
+
15. **code-review-checklist** — `code-review-checklist/SKILL.md`
|
|
74
|
+
- Systematic code review with quality gates, security audit, and parallel checks for structured feedback.
|
|
85
75
|
- Used by: Themis
|
|
86
76
|
|
|
87
|
-
|
|
88
|
-
-
|
|
89
|
-
- Used by: Themis,
|
|
90
|
-
|
|
91
|
-
20. **tdd-with-agents** — `skills/tdd-with-agents/SKILL.md`
|
|
92
|
-
- TDD lifecycle enforcement (RED → GREEN → REFACTOR), test-first development across all layers, advanced testing patterns (E2E, load, mutation, contract, visual regression), coverage thresholds (>80%).
|
|
93
|
-
- Used by: Hermes, Aphrodite, Demeter, Themis
|
|
94
|
-
|
|
95
|
-
21. **docker-best-practices** — `skills/docker-best-practices/SKILL.md`
|
|
96
|
-
- Multi-stage Docker builds, layer caching optimization, .dockerignore patterns, non-root user execution, health check configuration, GPU container setup (CUDA), memory and CPU limits, secrets management (Docker secrets, not env vars), and docker-compose patterns for dev/prod parity.
|
|
97
|
-
- Used by: Prometheus
|
|
98
|
-
|
|
99
|
-
22. **mcp-server-development** — `skills/mcp-server-development/SKILL.md`
|
|
100
|
-
- Model Context Protocol (MCP) architecture, server creation with FastMCP/ Python SDK, tool definition and registration, resource exposure, prompt templates, transport layer configuration (stdio, SSE), authentication, error handling, and testing MCP servers.
|
|
101
|
-
- Used by: Hephaestus, Prometheus, Nyx
|
|
102
|
-
|
|
103
|
-
23. **agent-observability** — `skills/agent-observability/SKILL.md`
|
|
104
|
-
- OpenTelemetry instrumentation (traces, metrics, logs), LangSmith integration for LLM call tracing, Prometheus metric exposition, Grafana dashboard design, cost tracking per agent/feature, token usage attribution, structured JSON logging with correlation IDs, and alerting rules.
|
|
105
|
-
- Used by: Nyx, Prometheus
|
|
77
|
+
16. **security-hardening** — `security-hardening/SKILL.md`
|
|
78
|
+
- Security gate — OWASP, SAST, secrets detection, MCP hardening, dependency audit.
|
|
79
|
+
- Used by: Themis, Nyx
|
|
106
80
|
|
|
107
|
-
|
|
108
|
-
-
|
|
109
|
-
- Used by: Demeter,
|
|
81
|
+
17. **tdd-with-agents** — `tdd-with-agents/SKILL.md`
|
|
82
|
+
- TDD enforcement with RED→GREEN→REFACTOR cycle and advanced testing patterns across all layers.
|
|
83
|
+
- Used by: Hermes, Aphrodite, Demeter, Themis, Hephaestus
|
|
110
84
|
|
|
111
|
-
### Domain
|
|
85
|
+
### Domain 4: Planning
|
|
112
86
|
|
|
113
|
-
|
|
114
|
-
-
|
|
115
|
-
- Used by: Gaia
|
|
116
|
-
|
|
117
|
-
26. **internet-search** — `skills/internet-search/SKILL.md`
|
|
118
|
-
- Web research methodology with source trust hierarchy (official docs > academic > community), structured API patterns for general web (DuckDuckGo, Wikipedia, Jina Reader), tech community (Stack Overflow, Hacker News, Reddit, Dev.to), official vendor docs, academic databases (Semantic Scholar, CrossRef, arXiv), GitHub search, package registries, and remote sensing data sources. All sources free, no API key required.
|
|
119
|
-
- Used by: Athena, Apollo, Gaia, Zeus
|
|
120
|
-
|
|
121
|
-
27. **prompt-improver** — `skills/prompt-improver/SKILL.md`
|
|
122
|
-
- Prompt analysis and optimization: clarity and specificity evaluation, context window management, output format specification, NLU optimization for intent/entity extraction, chain-of-thought prompting, token efficiency, few-shot example selection, and systematic prompt testing.
|
|
123
|
-
- Used by: All agents
|
|
124
|
-
|
|
125
|
-
28. **interview** — `skills/interview/SKILL.md`
|
|
126
|
-
- Turn a rough idea into a structured spec through a short Q&A interview. Ask 3–5 targeted questions one at a time, then produce a complete markdown spec with goals, requirements, constraints, and open questions.
|
|
127
|
-
- Used by: Athena, Zeus
|
|
128
|
-
- Domain: Planning
|
|
129
|
-
|
|
130
|
-
29. **session-goal** — `skills/session-goal/SKILL.md`
|
|
131
|
-
- Pin a session objective so all todos, delegation decisions, and verification steps stay aligned with a single stated goal. Prevents scope creep and drift across long multi-agent sessions.
|
|
132
|
-
- Used by: Zeus, Athena
|
|
133
|
-
- Domain: Orchestration
|
|
134
|
-
|
|
135
|
-
30. **auto-continue** — `skills/auto-continue/SKILL.md`
|
|
136
|
-
- Safe auto-continue pattern for multi-step orchestration — how to automatically work through todo lists without unnecessary interruptions while always stopping at mandatory safety gates (plan approval, phase review, git commit).
|
|
137
|
-
- Used by: Zeus, Hermes, Aphrodite, Demeter
|
|
138
|
-
- Domain: Orchestration
|
|
139
|
-
|
|
140
|
-
31. **metis-gap-analysis** — `skills/metis-gap-analysis/SKILL.md`
|
|
141
|
-
- Pre-plan gap analysis — catch hidden intentions, ambiguities, missing acceptance criteria, AI slop patterns, and edge cases before the plan is delivered to the user.
|
|
142
|
-
- Used by: Athena, Zeus
|
|
143
|
-
- Domain: Planning
|
|
144
|
-
|
|
145
|
-
32. **codemap** — `skills/codemap/SKILL.md`
|
|
146
|
-
- Hierarchical codebase map generation — directory trees, entry points, module relationships and dependency analysis.
|
|
87
|
+
18. **codemap** — `codemap/SKILL.md`
|
|
88
|
+
- Generates hierarchical repository maps so agents understand codebase structure without re-reading every file.
|
|
147
89
|
- Used by: Apollo, Zeus
|
|
148
90
|
|
|
149
|
-
|
|
150
|
-
-
|
|
151
|
-
- Used by: Athena
|
|
152
|
-
- Domain: Planning
|
|
153
|
-
|
|
154
|
-
34. **handoff** — `skills/handoff/SKILL.md`
|
|
155
|
-
- Generate structured session handoff for continuing work in a new session. Captures current state, what was done, what remains, decisions, and relevant files.
|
|
156
|
-
- Used by: All agents
|
|
157
|
-
- Domain: Orchestration
|
|
91
|
+
19. **spec-driven-development** — `spec-driven-development/SKILL.md`
|
|
92
|
+
- Define requirements via spec-first before any code — PRD, edge cases, acceptance criteria.
|
|
93
|
+
- Used by: Athena
|
|
158
94
|
|
|
159
|
-
|
|
160
|
-
-
|
|
161
|
-
- Used by:
|
|
162
|
-
- Domain: Orchestration
|
|
95
|
+
20. **verification-planning** — `verification-planning/SKILL.md`
|
|
96
|
+
- Plans an evidence path before non-trivial changes, ensuring changes are testable and verifiable.
|
|
97
|
+
- Used by: Athena, Zeus
|
|
163
98
|
|
|
164
|
-
|
|
165
|
-
- Used by: All agents
|
|
166
|
-
- Domain: Utilities
|
|
99
|
+
### Domain 5: Frontend Development
|
|
167
100
|
|
|
168
|
-
|
|
169
|
-
-
|
|
170
|
-
-
|
|
101
|
+
21. **visual-review-pipeline** — `visual-review-pipeline/SKILL.md`
|
|
102
|
+
- Automated visual review pipeline — Playwright screenshots, self-analysis, fix loop, escalation.
|
|
103
|
+
- Used by: Aphrodite
|
|
171
104
|
|
|
172
105
|
## Skills File Structure
|
|
173
106
|
|
|
174
107
|
Each skill follows a consistent layout:
|
|
175
108
|
|
|
176
109
|
```
|
|
177
|
-
skills/[skill-name]/
|
|
110
|
+
src/skills/[skill-name]/
|
|
178
111
|
├── SKILL.md — main reference document (YAML frontmatter + content)
|
|
179
112
|
├── scripts/ — optional helper scripts (if any)
|
|
180
113
|
└── examples/ — optional example files, templates, or configs (if any)
|
|
@@ -194,36 +127,27 @@ The `SKILL.md` file contains YAML frontmatter with `name`, `description`, and pl
|
|
|
194
127
|
|
|
195
128
|
| # | Skill Name | Domain | Used By |
|
|
196
129
|
|---|------------|--------|---------|
|
|
197
|
-
| 1 | agent-coordination | Orchestration & Workflow | Zeus
|
|
198
|
-
| 2 | artifact-management | Orchestration & Workflow | Zeus, Mnemosyne |
|
|
199
|
-
| 3 |
|
|
200
|
-
|
|
|
201
|
-
|
|
|
202
|
-
|
|
|
203
|
-
|
|
|
204
|
-
|
|
205
|
-
|
|
|
206
|
-
|
|
|
207
|
-
|
|
|
208
|
-
|
|
|
209
|
-
|
|
|
210
|
-
|
|
|
211
|
-
|
|
|
212
|
-
|
|
|
213
|
-
|
|
|
214
|
-
|
|
|
215
|
-
|
|
|
216
|
-
|
|
|
217
|
-
|
|
|
218
|
-
| 27 | agent-observability | Infrastructure & DevOps | Nyx, Prometheus |
|
|
219
|
-
| 28 | remote-sensing-analysis | Domain Specialists | Gaia |
|
|
220
|
-
| 29 | internet-search | Domain Specialists | Athena, Apollo, Gaia, Zeus |
|
|
221
|
-
| 30 | prompt-improver | Domain Specialists | All agents |
|
|
222
|
-
| 31 | interview | Planning | Athena, Zeus |
|
|
223
|
-
| 32 | metis-gap-analysis | Planning | Athena, Zeus |
|
|
224
|
-
| 33 | codemap | Planning | Apollo, Zeus |
|
|
225
|
-
| 34 | init-deep | Planning | Athena, Prometheus |
|
|
226
|
-
| 35 | handoff | Utilities | All agents |
|
|
130
|
+
| 1 | agent-coordination | Orchestration & Workflow | Zeus |
|
|
131
|
+
| 2 | artifact-management | Orchestration & Workflow | Zeus, Mnemosyne, Iris |
|
|
132
|
+
| 3 | auto-continue | Orchestration & Workflow | Zeus, Apollo, Hephaestus, Nyx, Gaia |
|
|
133
|
+
| 4 | context-compression | Orchestration & Workflow | Zeus, Mnemosyne, Themis |
|
|
134
|
+
| 5 | memory-bank | Orchestration & Workflow | Mnemosyne, Athena |
|
|
135
|
+
| 6 | orchestration-workflow | Orchestration & Workflow | Zeus |
|
|
136
|
+
| 7 | session-goal | Orchestration & Workflow | Zeus, Mnemosyne |
|
|
137
|
+
| 8 | clonedeps | Development Tools | Hermes, Hephaestus |
|
|
138
|
+
| 9 | git-workflow-and-versioning | Development Tools | Hermes, Prometheus, Iris |
|
|
139
|
+
| 10 | incremental-implementation | Development Tools | Zeus, Hermes, Aphrodite, Demeter, Prometheus, Talos |
|
|
140
|
+
| 11 | loop-engineering | Development Tools | All agents |
|
|
141
|
+
| 12 | reflect | Development Tools | All agents |
|
|
142
|
+
| 13 | simplify | Development Tools | All agents |
|
|
143
|
+
| 14 | worktrees | Development Tools | All agents |
|
|
144
|
+
| 15 | code-review-checklist | Quality & Security | Themis |
|
|
145
|
+
| 16 | security-hardening | Quality & Security | Themis, Nyx |
|
|
146
|
+
| 17 | tdd-with-agents | Quality & Security | Hermes, Aphrodite, Demeter, Themis, Hephaestus |
|
|
147
|
+
| 18 | codemap | Planning | Apollo, Zeus |
|
|
148
|
+
| 19 | spec-driven-development | Planning | Athena |
|
|
149
|
+
| 20 | verification-planning | Planning | Athena, Zeus |
|
|
150
|
+
| 21 | visual-review-pipeline | Frontend Development | Aphrodite |
|
|
227
151
|
|
|
228
152
|
---
|
|
229
153
|
|