omkx 0.1.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.
Files changed (41) hide show
  1. package/.kiro/agents/atlas.json +30 -0
  2. package/.kiro/agents/ghost-explorer.json +22 -0
  3. package/.kiro/agents/ghost-junior.json +21 -0
  4. package/.kiro/agents/ghost-librarian.json +23 -0
  5. package/.kiro/agents/ghost-looker.json +15 -0
  6. package/.kiro/agents/ghost-metis.json +22 -0
  7. package/.kiro/agents/ghost-momus.json +22 -0
  8. package/.kiro/agents/ghost-oracle.json +22 -0
  9. package/.kiro/agents/prometheus.json +30 -0
  10. package/.kiro/agents/sisyphus.json +26 -0
  11. package/.kiro/hooks/agent-spawn.sh +50 -0
  12. package/.kiro/hooks/pre-tool-use.sh +30 -0
  13. package/.kiro/hooks/prometheus-read-guard.sh +21 -0
  14. package/.kiro/hooks/prometheus-write-guard.sh +22 -0
  15. package/.kiro/notepads/.gitkeep +0 -0
  16. package/.kiro/plans/.gitkeep +0 -0
  17. package/.kiro/prompts/atlas.md +142 -0
  18. package/.kiro/prompts/ghost-explorer.md +105 -0
  19. package/.kiro/prompts/ghost-junior.md +116 -0
  20. package/.kiro/prompts/ghost-librarian.md +99 -0
  21. package/.kiro/prompts/ghost-looker.md +97 -0
  22. package/.kiro/prompts/ghost-metis.md +116 -0
  23. package/.kiro/prompts/ghost-momus.md +103 -0
  24. package/.kiro/prompts/ghost-oracle.md +102 -0
  25. package/.kiro/prompts/prometheus.md +136 -0
  26. package/.kiro/prompts/sisyphus.md +119 -0
  27. package/.kiro/settings/mcp.json +8 -0
  28. package/.kiro/skills/code-review/SKILL.md +59 -0
  29. package/.kiro/skills/debugging/SKILL.md +83 -0
  30. package/.kiro/skills/frontend-ux/SKILL.md +54 -0
  31. package/.kiro/skills/git-operations/SKILL.md +36 -0
  32. package/.kiro/skills/programming/SKILL.md +53 -0
  33. package/.kiro/steering/omkx/architecture.md +166 -0
  34. package/.kiro/steering/omkx/conventions.md +64 -0
  35. package/.kiro/steering/omkx/plan-format.md +97 -0
  36. package/.kiro/steering/omkx/product.md +66 -0
  37. package/LICENSE +21 -0
  38. package/README.md +337 -0
  39. package/bin/cli.mjs +360 -0
  40. package/install.sh +117 -0
  41. package/package.json +14 -0
@@ -0,0 +1,166 @@
1
+ # omkx — Architecture & Agent Flows
2
+
3
+ ## System Architecture
4
+
5
+ omkx is a three-tier multi-agent orchestration system:
6
+
7
+ ```
8
+ ┌─────────────────────────────────────────────────────────┐
9
+ │ USER INTERFACE │
10
+ │ (Kiro IDE — agent selection via shortcuts) │
11
+ └──────────┬──────────────┬──────────────┬────────────────┘
12
+ │ ctrl+p │ ctrl+a │ ctrl+e
13
+ ▼ ▼ ▼
14
+ ┌──────────┐ ┌──────────┐ ┌──────────┐
15
+ │PROMETHEUS│ │ ATLAS │ │SISYPHUS │
16
+ │ Planner │ │Executor │ │ Direct │
17
+ └────┬─────┘ └────┬─────┘ └────┬─────┘
18
+ │ │ │
19
+ ▼ ▼ ▼
20
+ ┌─────────────────────────────────────────────────────┐
21
+ │ SUBAGENT ORCHESTRATION │
22
+ │ │
23
+ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
24
+ │ │ METIS │ │ MOMUS │ │ ORACLE │ │
25
+ │ │Pre-plan │ │Validator │ │Advisor │ │
26
+ │ └──────────┘ └──────────┘ └──────────┘ │
27
+ │ │
28
+ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
29
+ │ │EXPLORER │ │LIBRARIAN │ │ JUNIOR │ │
30
+ │ │Codebase │ │Research │ │Implement │ │
31
+ │ └──────────┘ └──────────┘ └──────────┘ │
32
+ │ │
33
+ │ ┌──────────┐ │
34
+ │ │ LOOKER │ │
35
+ │ │ Media │ │
36
+ │ └──────────┘ │
37
+ └─────────────────────────────────────────────────────┘
38
+ ```
39
+
40
+ ## Agent Roles & Delegation Flows
41
+
42
+ ### Prometheus (Planning Flow)
43
+ ```
44
+ User Request
45
+
46
+
47
+ Pre-Analysis ──► ghost-metis (analyze intentions, risks, ambiguities)
48
+
49
+
50
+ Research ──► ghost-explorer (explore codebase)
51
+ │ ──► ghost-librarian (research docs/web)
52
+
53
+
54
+ Interview ──► User (clarify ambiguities)
55
+
56
+
57
+ Plan Generation ──► .kiro/plans/{name}.md
58
+
59
+
60
+ Validation ──► ghost-momus (review for blockers)
61
+
62
+
63
+ Final Plan ──► User (handoff to Atlas)
64
+ ```
65
+
66
+ ### Atlas (Execution Flow)
67
+ ```
68
+ Plan File (.kiro/plans/{name}.md)
69
+
70
+
71
+ Parse Tasks ──► Identify dependencies, agent assignments
72
+
73
+
74
+ Parallel Delegation ──► Task 1 ──► ghost-junior ──► Verify
75
+ │ ──► Task 2 ──► ghost-junior ──► Verify
76
+ │ ──► Task 3 ──► ghost-explorer ──► Verify
77
+
78
+
79
+ Oracle Escalation (on failure) ──► ghost-oracle ──► Re-delegate
80
+
81
+
82
+ Final Verification ──► All acceptance criteria met?
83
+
84
+
85
+ Report ──► User
86
+ ```
87
+
88
+ ### Sisyphus (Direct Task Flow)
89
+ ```
90
+ User Request
91
+
92
+
93
+ Triage
94
+
95
+ ├── Trivial ──► Do it yourself
96
+
97
+ ├── Complex ──► ghost-junior (implement)
98
+
99
+ ├── Research ──► ghost-librarian (research)
100
+
101
+ └── Explore ──► ghost-explorer (explore)
102
+
103
+
104
+ Oracle Escalation (if stuck) ──► ghost-oracle
105
+
106
+
107
+ Report ──► User
108
+ ```
109
+
110
+ ## Notepad System
111
+
112
+ Notepads provide context persistence across agent invocations:
113
+
114
+ ```
115
+ .kiro/notepads/{plan-name}/
116
+ ├── pre-analysis.md # ghost-metis: hidden intentions, risks
117
+ ├── exploration.md # ghost-explorer: codebase findings
118
+ ├── research.md # ghost-librarian: web/doc findings
119
+ ├── plan-review.md # ghost-momus: validation results
120
+ ├── oracle-advice.md # ghost-oracle: recommendations
121
+ ├── verification.md # Atlas: per-task verification
122
+ └── implementation.md # ghost-junior: implementation notes
123
+ ```
124
+
125
+ ### Notepad Protocol
126
+ 1. Prometheus creates the notepad directory when generating a plan
127
+ 2. Each agent writes findings to their designated file
128
+ 3. Atlas reads all notepads for context before executing tasks
129
+ 4. ghost-junior reads notepads for implementation context
130
+ 5. Notepads are persistent — they survive agent session restarts
131
+
132
+ ## Write Restrictions
133
+
134
+ The write restriction system prevents agents from modifying files outside their authority:
135
+
136
+ | Agent | Write Zones |
137
+ |-------|-------------|
138
+ | Prometheus | `.kiro/plans/**`, `.kiro/notepads/**` |
139
+ | Atlas | `.kiro/plans/**`, `.kiro/notepads/**` |
140
+ | Sisyphus | Unrestricted |
141
+ | ghost-explorer | `.kiro/notepads/**` |
142
+ | ghost-metis | `.kiro/notepads/**` |
143
+ | ghost-momus | `.kiro/notepads/**` |
144
+ | ghost-oracle | `.kiro/notepads/**` |
145
+ | ghost-librarian | `.kiro/notepads/**` |
146
+ | ghost-junior | Unrestricted |
147
+ | ghost-looker | No write access |
148
+
149
+ ## Oracle Consultation Pattern
150
+
151
+ The Oracle is consulted only in three scenarios:
152
+
153
+ 1. **Architecture Advice**: Before major design decisions
154
+ 2. **Debugging Escalation**: After 2+ failed implementation attempts
155
+ 3. **Self-Review**: When agents need their output reviewed
156
+
157
+ Oracle always provides exactly ONE recommendation per consultation, tagged with an effort estimate (TRIVIAL/SMALL/MEDIUM/LARGE/XLARGE).
158
+
159
+ ## Hook System
160
+
161
+ Hooks enforce agent behavior at key lifecycle points:
162
+
163
+ - **agentSpawn**: Injected identity reminder + git status context
164
+ - **preToolUse**: Blocks destructive operations on `.kiro/` files
165
+ - **userPromptSubmit**: Identity reinforcement for Atlas
166
+ - **Prometheus guards**: Special read/write hooks enforcing planner-only behavior
@@ -0,0 +1,64 @@
1
+ # omkx — Naming & File Conventions
2
+
3
+ ## Steering Directory
4
+ All omkx steering files live under `.kiro/steering/omkx/`. The directory name `omkx` distinguishes it from other Kiro configurations.
5
+
6
+ ## Plan Files
7
+ - Location: `.kiro/plans/`
8
+ - Naming: `{YYYY-MM-DD}-{short-description}.md`
9
+ - Examples: `2026-06-21-add-auth.md`, `2026-06-21-refactor-api.md`
10
+ - Format: See `plan-format.md` for the full template
11
+
12
+ ## Notepad System
13
+ - Location: `.kiro/notepads/{plan-name}/`
14
+ - Each plan gets its own notepad directory
15
+ - Notepad files persist intermediate agent findings:
16
+ - `pre-analysis.md` — ghost-metis analysis
17
+ - `exploration.md` — ghost-explorer findings
18
+ - `research.md` — ghost-librarian research
19
+ - `plan-review.md` — ghost-momus review
20
+ - `oracle-advice.md` — ghost-oracle consultations
21
+ - `verification.md` — Atlas verification notes
22
+ - `implementation.md` — ghost-junior implementation notes
23
+
24
+ ## Agent Names
25
+ - Main agents: `prometheus`, `atlas`, `sisyphus` (lowercase, no prefix)
26
+ - Subagents: `ghost-` prefix (e.g., `ghost-junior`, `ghost-oracle`)
27
+ - Agent config files: `{name}.json` in `.kiro/agents/`
28
+ - Agent prompt files: `{name}.md` in `.kiro/prompts/`
29
+
30
+ ## Delegation Format
31
+ All delegations from main agents to subagents use the 6-section format:
32
+ 1. Task (name + target agent)
33
+ 2. Context (what the subagent needs to know)
34
+ 3. Objective (specific goal)
35
+ 4. Boundaries (scope limits)
36
+ 5. Output (expected deliverable)
37
+ 6. Success Criteria (verification)
38
+
39
+ ## File References
40
+ - Agent configs reference prompts via `file://../prompts/{name}.md`
41
+ - Agents reference steering via `file://.kiro/steering/omkx/**/*.md`
42
+ - Agents reference skills via `skill://.kiro/skills/**/SKILL.md`
43
+
44
+ ## Write Restrictions
45
+ - Prometheus: `.kiro/plans/**` and `.kiro/notepads/**` only
46
+ - Atlas: `.kiro/plans/**` and `.kiro/notepads/**` only
47
+ - Sisyphus: unrestricted (full user trust)
48
+ - ghost-explorer: `.kiro/notepads/**` only
49
+ - ghost-metis: `.kiro/notepads/**` only
50
+ - ghost-momus: `.kiro/notepads/**` only
51
+ - ghost-oracle: `.kiro/notepads/**` only
52
+ - ghost-librarian: `.kiro/notepads/**` only
53
+ - ghost-junior: unrestricted (full filesystem)
54
+ - ghost-looker: no write access
55
+
56
+ ## Keyboard Shortcuts
57
+ - `ctrl+p` — Prometheus (Planner)
58
+ - `ctrl+a` — Atlas (Plan Executor)
59
+ - `ctrl+e` — Sisyphus (Direct Executor)
60
+
61
+ ## Shell Access
62
+ - All subagents: auto-allow readonly shell commands
63
+ - ghost-junior: full shell access (not auto-allowed)
64
+ - ghost-looker: no shell access
@@ -0,0 +1,97 @@
1
+ # Plan File Format
2
+
3
+ Every plan created by Prometheus must follow this structure.
4
+
5
+ ## Template
6
+
7
+ ```markdown
8
+ # Plan: {Descriptive Title}
9
+
10
+ **Created:** {YYYY-MM-DD}
11
+ **Status:** DRAFT | REVIEWED | IN_PROGRESS | COMPLETE
12
+ **Goal:** {One-sentence description of what this plan achieves}
13
+
14
+ ---
15
+
16
+ ## Context
17
+
18
+ ### What We Know
19
+ {Summary of research findings — from ghost-explorer, ghost-librarian, and user interview}
20
+
21
+ ### Pre-Analysis Summary
22
+ {Key findings from ghost-metis: hidden intentions, risks, ambiguities}
23
+
24
+ ### Constraints
25
+ - {Constraint 1}
26
+ - {Constraint 2}
27
+
28
+ ---
29
+
30
+ ## Tasks
31
+
32
+ ### Task 1: {Task Name}
33
+ **Agent:** {ghost-junior | ghost-explorer | ghost-librarian | ghost-oracle}
34
+ **Depends On:** {none | task number}
35
+ **Description:** {WHAT to do, not HOW}
36
+ **Expected Output:** {files, changes, or results}
37
+ **Verification:** {how Atlas will verify this task}
38
+
39
+ ### Task 2: {Task Name}
40
+ **Agent:** {subagent}
41
+ **Depends On:** {task number}
42
+ **Description:** {WHAT to do}
43
+ **Expected Output:** {deliverable}
44
+ **Verification:** {verification steps}
45
+
46
+ ---
47
+
48
+ ## Acceptance Criteria
49
+
50
+ - [ ] {Criterion 1 — verifiable condition}
51
+ - [ ] {Criterion 2 — verifiable condition}
52
+ - [ ] {Criterion 3 — verifiable condition}
53
+
54
+ ---
55
+
56
+ ## Risks & Mitigations
57
+
58
+ | Risk | Severity | Mitigation |
59
+ |------|----------|------------|
60
+ | {Risk description} | HIGH/MEDIUM/LOW | {How to handle if it occurs} |
61
+
62
+ ---
63
+
64
+ ## Notes
65
+
66
+ {Any additional information for Atlas or future reference}
67
+ ```
68
+
69
+ ## Task Guidelines
70
+
71
+ ### Task Description
72
+ - Describe WHAT needs to be done, never HOW
73
+ - Be specific enough that ghost-junior can implement without questions
74
+ - Include relevant file paths when known
75
+
76
+ ### Agent Assignment
77
+ - `ghost-junior`: Code implementation, file creation, command execution
78
+ - `ghost-explorer`: Codebase exploration and file discovery
79
+ - `ghost-librarian`: Web research and documentation lookup
80
+ - `ghost-oracle`: Architectural decisions and design review
81
+
82
+ ### Dependencies
83
+ - Most tasks should be independent for parallel execution
84
+ - Only add dependencies when output of one task is required by another
85
+ - Avoid long dependency chains
86
+
87
+ ### Verification
88
+ - Each task must have verifiable success criteria
89
+ - Atlas will check these after each task completes
90
+ - Be specific: "File exists at path X" not "Task is done"
91
+ - Include commands to run when applicable
92
+
93
+ ## Acceptance Criteria
94
+ - Must be binary (pass/fail)
95
+ - Must be verifiable without interpretation
96
+ - Cover the complete plan scope
97
+ - Include both functional and non-functional requirements
@@ -0,0 +1,66 @@
1
+ # omkx — Multi-Agent Orchestration for Kiro
2
+
3
+ ## What is omkx?
4
+
5
+ omkx is a multi-agent orchestration system for the Kiro IDE. It brings the battle-tested agent architecture from [oh-my-openagent](https://github.com/seyisulu/oh-my-openagent) (a TypeScript-based multi-agent system) into Kiro's native agent format.
6
+
7
+ ## Agent System
8
+
9
+ omkx provides 10 specialized agents organized into three tiers:
10
+
11
+ ### Main Agents (User-Facing)
12
+ | Agent | Shortcut | Role |
13
+ |-------|----------|------|
14
+ | **Prometheus** | `ctrl+p` | The Planner — gathers info, interviews users, writes structured execution plans |
15
+ | **Atlas** | `ctrl+a` | The Plan Executor — reads plans, delegates to subagents, verifies everything |
16
+ | **Sisyphus** | `ctrl+e` | The Direct Executor — handles ad-hoc user requests by delegating to specialists |
17
+
18
+ ### Subagents (Internal Specialists)
19
+ | Agent | Role |
20
+ |-------|------|
21
+ | **ghost-oracle** | Strategic technical advisor — architecture, debugging, self-review |
22
+ | **ghost-metis** | Pre-planning analyst — finds hidden intentions, risks, ambiguities |
23
+ | **ghost-momus** | Plan validator — reviews plans for blocking issues |
24
+ | **ghost-librarian** | Research specialist — web search, documentation, library evaluation |
25
+ | **ghost-explorer** | Codebase explorer — finds files, maps structure, identifies patterns |
26
+ | **ghost-junior** | Implementation specialist — writes code, creates files, verifies results |
27
+ | **ghost-looker** | Media analyst — analyzes images, PDFs, diagrams |
28
+
29
+ ## Core Philosophy
30
+
31
+ 1. **Plan-First Development**: Prometheus creates detailed plans. Atlas executes them. Never skip planning.
32
+ 2. **Delegation, Not DIY**: Main agents delegate everything to specialists. They never write code themselves.
33
+ 3. **Verification Over Trust**: Atlas verifies every subagent output. Subagents can and do make mistakes.
34
+ 4. **Plan as Sole Handoff**: The plan file on disk is the single source of truth between agents.
35
+ 5. **Parallel by Default**: Independent tasks are executed in parallel for speed.
36
+ 6. **Notepad System**: Intermediate findings are stored in `.kiro/notepads/{plan-name}/` for context persistence.
37
+
38
+ ## File System
39
+
40
+ ```
41
+ .kiro/
42
+ ├── agents/ # Agent JSON configurations
43
+ ├── prompts/ # Agent behavior prompts (markdown)
44
+ ├── hooks/ # Shell hooks for agent lifecycle
45
+ ├── skills/ # Shared skill definitions
46
+ ├── steering/omkx/ # System configuration and conventions
47
+ ├── settings/ # MCP and tool settings
48
+ ├── plans/ # Execution plans (created by Prometheus)
49
+ └── notepads/ # Intermediate agent findings and context
50
+ ```
51
+
52
+ ## Workflow
53
+
54
+ ```
55
+ User → Prometheus (creates plan) → Atlas (executes plan) → Done
56
+
57
+ User → Sisyphus (ad-hoc tasks, no plan needed)
58
+ ```
59
+
60
+ ## Based On
61
+
62
+ omkx converts the agent personalities and workflows from oh-my-openagent into Kiro's native JSON agent format, following the conventions established by oh-my-kiro.
63
+
64
+ ## Version
65
+
66
+ 0.1.0 — Initial release with 10 agents
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 seyisulu
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.