openhermes 4.1.0 → 4.9.2

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 (99) hide show
  1. package/CONTEXT.md +9 -0
  2. package/ETHOS.md +6 -3
  3. package/LICENSE +21 -21
  4. package/README.md +120 -79
  5. package/bootstrap.ts +284 -41
  6. package/harness/agents/oh-browser.md +97 -0
  7. package/harness/agents/oh-builder.md +78 -0
  8. package/harness/agents/oh-facade.md +75 -0
  9. package/harness/agents/oh-fusion.md +45 -0
  10. package/harness/agents/oh-gauntlet.md +71 -0
  11. package/harness/agents/oh-grill.md +71 -0
  12. package/harness/agents/oh-investigate.md +60 -0
  13. package/harness/agents/oh-manifest.md +95 -0
  14. package/harness/agents/oh-plan-review.md +40 -0
  15. package/harness/agents/oh-planner.md +50 -0
  16. package/harness/agents/oh-refactor.md +37 -0
  17. package/harness/agents/oh-retro.md +46 -0
  18. package/harness/agents/oh-review.md +85 -0
  19. package/harness/agents/oh-security.md +83 -0
  20. package/harness/agents/oh-ship.md +76 -0
  21. package/harness/agents/oh-skill-craft.md +38 -0
  22. package/harness/agents/openhermes.md +106 -62
  23. package/harness/codex/AUTOPILOT.md +178 -0
  24. package/harness/codex/CHARTER.md +81 -0
  25. package/harness/commands/oh-doctor.md +193 -14
  26. package/harness/commands/oh-log.md +18 -0
  27. package/harness/instructions/SHELL.md +76 -0
  28. package/harness/skills/oh-ascii/DEEP.md +292 -0
  29. package/harness/skills/oh-ascii/SKILL.md +31 -0
  30. package/harness/skills/oh-ascii/scripts/check_ascii_alignment.py +596 -0
  31. package/harness/skills/oh-browser/DEEP.md +54 -0
  32. package/harness/skills/oh-browser/SKILL.md +30 -0
  33. package/harness/skills/oh-builder/DEEP.md +63 -0
  34. package/harness/skills/oh-builder/SKILL.md +16 -89
  35. package/harness/skills/oh-expert/DEEP.md +85 -0
  36. package/harness/skills/oh-expert/SKILL.md +19 -106
  37. package/harness/skills/oh-facade/DEEP.md +182 -0
  38. package/harness/skills/oh-facade/SKILL.md +34 -0
  39. package/harness/skills/oh-freeze/DEEP.md +18 -0
  40. package/harness/skills/oh-freeze/SKILL.md +15 -15
  41. package/harness/skills/oh-full-output/DEEP.md +25 -0
  42. package/harness/skills/oh-full-output/SKILL.md +28 -0
  43. package/harness/skills/oh-fusion/DEEP.md +120 -0
  44. package/harness/skills/oh-fusion/SKILL.md +36 -0
  45. package/harness/skills/oh-gauntlet/DEEP.md +77 -0
  46. package/harness/skills/oh-gauntlet/SKILL.md +17 -105
  47. package/harness/skills/oh-grill/DEEP.md +51 -0
  48. package/harness/skills/oh-grill/SKILL.md +16 -63
  49. package/harness/skills/oh-guard/DEEP.md +19 -0
  50. package/harness/skills/oh-guard/SKILL.md +15 -20
  51. package/harness/skills/oh-handoff/DEEP.md +48 -0
  52. package/harness/skills/oh-handoff/SKILL.md +18 -19
  53. package/harness/skills/oh-health/DEEP.md +74 -0
  54. package/harness/skills/oh-health/SKILL.md +17 -76
  55. package/harness/skills/oh-init/DEEP.md +85 -0
  56. package/harness/skills/oh-init/SKILL.md +17 -197
  57. package/harness/skills/oh-investigate/DEEP.md +171 -0
  58. package/harness/skills/oh-investigate/SKILL.md +18 -61
  59. package/harness/skills/oh-issue/DEEP.md +21 -0
  60. package/harness/skills/oh-issue/SKILL.md +16 -23
  61. package/harness/skills/oh-learn/DEEP.md +44 -0
  62. package/harness/skills/oh-learn/SKILL.md +17 -79
  63. package/harness/skills/oh-manifest/DEEP.md +92 -0
  64. package/harness/skills/oh-manifest/SKILL.md +15 -107
  65. package/harness/skills/oh-plan-review/DEEP.md +90 -0
  66. package/harness/skills/oh-plan-review/SKILL.md +19 -114
  67. package/harness/skills/oh-planner/DEEP.md +172 -0
  68. package/harness/skills/oh-planner/SKILL.md +16 -143
  69. package/harness/skills/oh-prd/DEEP.md +45 -0
  70. package/harness/skills/oh-prd/SKILL.md +15 -22
  71. package/harness/skills/oh-refactor/DEEP.md +122 -0
  72. package/harness/skills/oh-refactor/SKILL.md +33 -0
  73. package/harness/skills/oh-retro/DEEP.md +26 -0
  74. package/harness/skills/oh-retro/SKILL.md +17 -20
  75. package/harness/skills/oh-review/DEEP.md +87 -0
  76. package/harness/skills/oh-review/SKILL.md +17 -96
  77. package/harness/skills/oh-security/DEEP.md +83 -0
  78. package/harness/skills/oh-security/SKILL.md +18 -96
  79. package/harness/skills/oh-ship/DEEP.md +141 -0
  80. package/harness/skills/oh-ship/SKILL.md +18 -26
  81. package/harness/skills/oh-skill-craft/DEEP.md +369 -0
  82. package/harness/skills/oh-skill-craft/SKILL.md +20 -93
  83. package/harness/skills/oh-skills-link/DEEP.md +16 -0
  84. package/harness/skills/oh-skills-link/SKILL.md +15 -16
  85. package/harness/skills/oh-skills-list/DEEP.md +20 -0
  86. package/harness/skills/oh-skills-list/SKILL.md +14 -18
  87. package/harness/skills/oh-triage/DEEP.md +23 -0
  88. package/harness/skills/oh-triage/SKILL.md +15 -20
  89. package/harness/skills/oh-worktree/DEEP.md +169 -0
  90. package/harness/skills/oh-worktree/SKILL.md +32 -0
  91. package/lib/harness-resolver.ts +10 -12
  92. package/package.json +9 -4
  93. package/scripts/count-tokens.mjs +158 -0
  94. package/scripts/oh-doctor.ps1 +342 -0
  95. package/harness/codex/CONSTITUTION.md +0 -70
  96. package/harness/codex/ROUTING.md +0 -127
  97. package/harness/instructions/RUNTIME.md +0 -55
  98. package/harness/skills/oh-caveman/SKILL.md +0 -33
  99. package/lib/logger.ts +0 -69
package/CONTEXT.md CHANGED
@@ -8,6 +8,15 @@
8
8
  **Instruction** — Markdown loaded through `AGENTS.md` or `opencode.json` instructions.
9
9
  **Bootstrap** — The first-message context injected by the OpenHermes plugin.
10
10
 
11
+ ### Confidence Gate Terms
12
+ **Confidence Gate** — Phase 0.5 protocol in the autopilot loop that evaluates signal strength before routing. Bounded to 1 conversational exchange max.
13
+ **Confidence Level** — One of HIGH, MEDIUM, LOW, derived from signal axis evaluation.
14
+ **Transparent Gate** — HIGH confidence behavior: zero conversational overhead, proceed directly to Auto-Classify.
15
+ **Echo Gate** — MEDIUM confidence behavior: one-liner echo to confirm understanding, then classify.
16
+ **Question Gate** — LOW confidence behavior: one targeted question, then classify. Fallback to oh-planner on no answer.
17
+ **1 Exchange** — One user response to one orchestrator prompt. The gate is bounded to exactly 0 (HIGH) or 1 (MEDIUM/LOW) exchanges.
18
+ **Signal** — Evidence in user input used to evaluate confidence across 6 axes (domain vocabulary, deliverable clarity, scope, ambiguity, file reference, domain count).
19
+
11
20
  ## Relationships
12
21
  - OpenHermes contains many Skills, Commands, Agents, and Instructions.
13
22
  - Skills are invoked on demand.
package/ETHOS.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # OpenHermes Ethos
2
2
 
3
- Four immutable principles. Every skill, every command, every session.
3
+ Five immutable principles. Every skill, every command, every session.
4
4
 
5
5
  ## Native First
6
6
  OpenCode-native loading over manual copying or hidden state.
@@ -11,5 +11,8 @@ Every file earns its keep. Prefer markdown when behavior is declarative.
11
11
  ## Skills Over Glue
12
12
  Behavior lives in `SKILL.md`, `commands/*.md`, and `agents/*.md`.
13
13
 
14
- ## Delegate Hard Work
15
- Subagents for substantive work. Main context orchestrates and verifies.
14
+ ## Always Delegate Never Execute
15
+ OpenHermes orchestrates and reports. Sub-agents execute. OpenHermes never writes code, runs tests, or touches files directly.
16
+
17
+ ## Closed Loop
18
+ Auto-classify. Auto-route. Auto-execute. Only stop for blockers. No dead ends, no asking permission, no wasted cycles.
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 nathwn12
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.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 nathwn12
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.
package/README.md CHANGED
@@ -1,106 +1,141 @@
1
1
  <p align="center">
2
- <h1 align="center">&#9764; OpenHermes</h1>
3
- <p align="center"><i>Plan. Build. Ship. One plugin.</i></p>
2
+ <h1 align="center">⟳ OpenHermes</h1>
3
+ <p align="center"><b>Pragmatic. Task-focused. Concise.</b><br>
4
+ <i>The AI orchestrator that never stalls — it classifies, delegates, and routes.</i></p>
4
5
  </p>
5
6
 
6
7
  <p align="center">
7
8
  <a href="https://www.npmjs.com/package/openhermes"><img src="https://img.shields.io/npm/v/openhermes?style=for-the-badge&label=version&color=FFD700" alt="npm version"></a>
8
9
  <a href="https://github.com/nathwn12/openhermes/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-green?style=for-the-badge" alt="License: MIT"></a>
9
10
  <a href="https://opencode.ai"><img src="https://img.shields.io/badge/runs%20on-OpenCode-6366f1?style=for-the-badge" alt="Runs on OpenCode"></a>
11
+ <a href="https://github.com/nathwn12/openhermes"><img src="https://img.shields.io/badge/⭐%20star%20on-GitHub-181717?style=for-the-badge" alt="Star on GitHub"></a>
10
12
  </p>
11
13
 
12
14
  ---
13
15
 
14
- OpenHermes is an OpenCode plugin that gives your agent a complete skill system out of the box. Add one line to `opencode.json`, get 25 skills, a primary orchestrator, and a shared operating model.
16
+ **AI coding assistants stall.** They ask permission. They lose context mid-session. They wait for you to unstick them.
17
+
18
+ OpenHermes doesn't.
19
+
20
+ Drop it into OpenCode. Get a closed-loop pipeline: auto-classify every request, delegate to specialists, route results automatically. No "can I?", no "shall I?", no "what next?" — just concise execution until the job is done.
15
21
 
16
22
  ```json
17
23
  { "plugin": ["openhermes@git+https://github.com/nathwn12/openhermes.git"] }
18
24
  ```
19
25
 
20
- No setup. No file copying. No extra dependencies.
26
+ To install from `dev` (latest features, may be unstable):
27
+
28
+ ```json
29
+ { "plugin": ["openhermes@git+https://github.com/nathwn12/openhermes.git#dev"] }
30
+ ```
21
31
 
22
32
  ---
23
33
 
24
- ## What you get
34
+ ## One sentence. Nine steps.
25
35
 
26
- ### Seven core skills
36
+ Add the plugin. Restart. Type:
27
37
 
28
- | Skill | What it does |
29
- |---|---|
30
- | **oh-planner** | Brainstorm, analyze architecture, run strategy reviews, auto-decide 90% of questions with gstack decision principles. Produces a consumable plan artifact. |
31
- | **oh-builder** | Prototype, TDD red-green-refactor, design interfaces in parallel sub-agents, implement from plan. Vertical tracer bullets, one test at a time. |
32
- | **oh-manifest** | Full build loop: planner → builder → verify → loop until done or a real blocker is surfaced. Auto-resolves intermediate questions; only interrupts you for genuine blockers. |
33
- | **oh-gauntlet** | Multi-axis testing gauntlet: unit tests, dual-axis review (Standards + Spec in parallel sub-agents), edge case sweep, QA tier, canary post-deploy. |
38
+ > *"Plan a CLI tool for managing dotfiles."*
34
39
 
35
- These seven form a pipeline: **think plan → build → test → ship → secure → monitor**. Each produces artifacts the next consumes.
40
+ You see output. Behind the scenes, this runs:
36
41
 
37
- ### Twenty-five skills total
42
+ | # | What fires | What it does |
43
+ |---|---|---|
44
+ | **1** | `AUTOPILOT.md` decision matrix | Multi-step, vague → `PLANNING NEEDED` |
45
+ | **2** | `oh-planner` | Brainstorm mode: architecture, user flow, risks |
46
+ | **3** | `oh-planner` → `oh-grill` | Plan passes → stress-test it |
47
+ | **4** | `oh-grill` → `oh-planner` (revise) | Gaps found → planner revises |
48
+ | **5** | `oh-planner` → `oh-manifest` | Plan solid → enter build loop |
49
+ | **6** | `oh-planner` → `oh-builder` → `oh-gauntlet` | Implement → test → review → loop |
50
+ | **7** | `oh-gauntlet` → `oh-ship` | Tests pass → PR pipeline |
51
+ | **8** | `oh-ship` → `oh-retro` | Shipped → retrospective |
52
+ | **9** | `oh-retro` → `oh-planner` | Ready for the next cycle |
38
53
 
39
- | Skill | Purpose |
40
- |---|---|
41
- | oh-planner, oh-builder, oh-manifest, oh-gauntlet | Core pipeline (above) |
42
- | oh-expert | AI self-diagnosis vocabulary — sycophancy, hallucination type, attention degradation |
43
- | oh-grill | Stress-test plans through Socratic questioning; optionally updates CONTEXT.md, ADRs, and extracts ubiquitous language |
44
- | oh-plan-review | Multi-lens plan review: Engineering, Design, DX, Strategy |
45
- | oh-security | Security audit: secrets archaeology, supply chain, CI/CD, OWASP, STRIDE, LLM security |
46
- | oh-health | Code quality dashboard: wraps tools, composite score, trend tracking |
47
- | oh-investigate | Systematic bug diagnosis |
48
- | oh-handoff | Compact session into structured handoff artifact for another agent |
49
- | oh-skill-craft | Create new skills for the harness (meta-skill) |
50
- | oh-init | Initialize project: scaffold CONTEXT.md, AGENTS.md, ADRs, issue tracker config, triage labels |
51
- | oh-retro | Retrospective after shipping |
52
- | oh-review | Two-axis review (Standards + Spec) in parallel sub-agents + architecture deepening |
53
- | oh-ship | PR, version bump, changelog, post-ship docs sync |
54
- | oh-triage | Issue triage state machine |
55
- | oh-issue | Break plans into vertical-slice issues |
56
- | oh-prd | Write structured PRDs |
57
- | oh-caveman | Ultra-compressed response mode |
58
- | oh-freeze | Restrict file edits to a specific directory |
59
- | oh-learn | Learn patterns from the codebase |
60
- | oh-guard | Safety confirmations for destructive operations |
61
- | oh-skills-link | Verify skills discovery |
62
- | oh-skills-list | List available skills |
63
-
64
- ### One orchestrator agent
65
-
66
- OpenHermes is the default primary agent — a hub-and-spoke commander that delegates to skills, spawns sub-agents for isolated context, and surfaces blockers instead of silently retrying.
67
-
68
- ### One diagnostic command
69
-
70
- `/oh-doctor` — inspect plugin load, skills discovery, command/agent registration, and config safety.
54
+ One sentence. Nine automated steps. Each skill loaded on demand, executed in isolation, routed to the next specialist. **Auto-classify, delegate, route, repeat.** That's the entire model.
71
55
 
72
56
  ---
73
57
 
74
- ## How it works
58
+ ### Four safety layers
59
+
60
+ The loop runs unsupervised because these never turn off:
75
61
 
76
- OpenHermes loads through OpenCode's native plugin system. On install:
62
+ - **🔁 Loop Guard** stops if the same skill fires 5+ times or 8+ hops produce no progress
63
+ - **❓ Question Gate** — never routes into uncertainty; surfaces if input is missing
64
+ - **💬 Confidence Gate** — calibrates whether to skip, echo, or ask before classifying
77
65
 
78
- 1. `config.skills.paths` is pointed at the package-local `harness/skills/` — skills load on demand through the `skill` tool, no preloading
79
- 2. Commands from `harness/commands/` register as slash commands
80
- 3. The agent manifest in `harness/agents/` sets OpenHermes as the primary orchestrator
81
- 4. Instructions from `CONSTITUTION.md`, `RUNTIME.md`, `CONTEXT.md`, and `ETHOS.md` are injected into every session
66
+ ```
67
+ HIGH ──→ classify silently (transparent gate)
68
+ MEDIUM ──→ echo + confirm, then classify
69
+ LOW ──→ ask + classify (defaults to oh-planner)
70
+ ```
82
71
 
83
- Everything is package-local. Nothing is copied into your global config.
72
+ - **📋 Auto-Handoff** writes a structured session artifact before context switches
84
73
 
85
74
  ---
86
75
 
87
- ## OptiRoute: Smart Auto-Routing Protocol
76
+ ## What you get
77
+
78
+ | Capability | Why it matters |
79
+ |---|---|
80
+ | **Self-driving loop** | Type once. OpenHermes classifies, delegates, and routes — no pauses, no asking permission, no verbosity. |
81
+ | **31 specialist skills** | Planning → building → testing → browser → security → review → shipping → retro. Every dev cycle phase. |
82
+ | **Auto-detected user skills** | Drop a skill in `~/.agents/skills/`. OpenHermes finds it. Same name as a built-in? Your version wins. Survives `npm update`. |
83
+ | **`/oh-doctor`** | Verify plugin load, skill discovery, command registration, config safety. |
84
+ | **`/oh-log`** | Session log — routing hops, skill loads, compaction events. |
85
+ | **Shared operating model** | CHARTER + AUTOPILOT + CONTEXT + ETHOS injected every session. Every interaction grounded in the same rules. |
86
+ | **CORE/DEEP skill format** | Every skill is a two-file system: CORE (SKILL.md) handles 80% of passes in one read. DEEP.md loads on demand for hard cases. |
87
+ | **Plan file storage** | `~/.local/share/opencode/openhermes/plans/`. Survives `npm update`. |
88
88
 
89
- Every skill routes to the next based on outcome pass, fail, or blocker. OptiRoute is a guard layer on top of that graph. Three rules:
89
+ ## 31 skillsthree tiers
90
90
 
91
- **Loop guard.** Tracks routing depth. If the same skill is visited 3+ times in one chain, or 5+ hops pass without measurable progress (new artifact, changed target), routing stops. No infinite loops.
91
+ ### Tier 4 Pipeline orchestrators
92
+ Full multi-phase workflows:
92
93
 
93
- **Question gate.** Before each routing hop, the protocol checks whether the next skill's inputs are satisfied. If the task is underspecified or information is missing, it asks the user instead of routing into uncertainty.
94
+ | Skill | Purpose |
95
+ |---|---|
96
+ | **oh-manifest** | Plan → build → verify → loop until done or blocker |
97
+ | **oh-facade** | Concept → design system → build → audit → iterate (full UI pipeline) |
98
+ | **oh-gauntlet** | Multi-axis testing: unit, integration, edge cases, dual-axis review |
99
+ | **oh-builder** | ALL-arounder builder — prototype, TDD, implement from plan |
100
+ | **oh-ship** | Deploy and PR pipeline: test, bump, changelog, PR, deploy, verify |
94
101
 
95
- **Auto-handoff.** When the loop guard triggers, it writes an OptiRoute report into `plan.md` the routing chain, the trigger threshold, current state, and the blocker. Then it surfaces the blocker and awaits direction.
102
+ ### Tier 3Cross-cutting skills
103
+ Span multiple phases and coordinate other skills:
96
104
 
97
- ```md
98
- OPTIROUTE STOP: 5-hop ceiling reached, no progress
99
- Chain: planner grill planner builder gauntlet planner
100
- See .opencode/plan.md for full report
101
- ```
105
+ | Skill | Purpose |
106
+ |---|---|
107
+ | **oh-browser** | Browser automation via agent-browser CLI. Navigate pages, fill forms, take screenshots, scrape data, test web apps. |
108
+ | **oh-grill** | Stress-test plans through relentless Socratic questioning |
109
+ | **oh-plan-review** | Multi-lens review: Engineering, Design, DX, Strategy |
110
+ | **oh-planner** | Brainstorm, architect, autoplan, decision pipeline |
111
+ | **oh-security** | Audit: secrets, supply chain, CI/CD, OWASP, LLM security |
112
+ | **oh-refactor** | Surgical behavior-preserving refactoring |
113
+ | **oh-review** | Two-axis review (Standards + Spec) in parallel sub-agents |
114
+ | **oh-fusion** | Skill ingestion pipeline: discover → analyze → adapt → fuse → integrate |
115
+ | **oh-retro** | Weekly retrospective — analyze commit history and patterns |
116
+ | **oh-worktree** | Workspace isolation via git worktrees. Detect existing isolation, create isolated workspaces, run project setup, verify clean baseline. |
117
+
118
+ ### Tier 2 — Focused skills
119
+ Single-purpose, one thing well:
102
120
 
103
- No loops. No guessing. No silent death.
121
+ | Skill | Purpose |
122
+ |---|---|
123
+ | **oh-ascii** | Complete ASCII diagramming: design patterns, generation, structural validation |
124
+ | **oh-expert** | AI self-diagnosis: sycophancy, hallucination, attention dynamics |
125
+ | **oh-full-output** | Override truncation, ban placeholders, enforce complete generation |
126
+ | **oh-health** | Code quality dashboard: tools, composite score, trend |
127
+ | **oh-investigate** | Systematic bug diagnosis with root cause investigation |
128
+ | **oh-handoff** | Compact session state → structured handoff document |
129
+ | **oh-skill-craft** | Create new agent skills with frontmatter and bundled resources |
130
+ | **oh-init** | Wire AGENTS.md, domain docs, issue tracker, triage labels |
131
+ | **oh-triage** | Issue triage state machine — classify, prioritise, assign |
132
+ | **oh-issue** | Break a plan/spec/PRD into independently-grabbable issues |
133
+ | **oh-prd** | Conversation → PRD → GitHub issue |
134
+ | **oh-freeze** | Restrict file edits to a specific directory |
135
+ | **oh-learn** | Extract, evolve, promote session learnings as instincts |
136
+ | **oh-guard** | Safety confirmation — warn before destructive operations |
137
+ | **oh-skills-link** | Verify OpenCode discovers the skill directory |
138
+ | **oh-skills-list** | List all available `oh-*` skills |
104
139
 
105
140
  ---
106
141
 
@@ -108,28 +143,34 @@ No loops. No guessing. No silent death.
108
143
 
109
144
  ```
110
145
  openhermes-pkg/
111
- ├── AGENTS.md # Skill/command/agent inventory
112
- ├── CONTEXT.md # Shared language
146
+ ├── AGENTS.md # User-side routing overlay
147
+ ├── CONTEXT.md # Shared domain language
113
148
  ├── ETHOS.md # Operating principles
114
- ├── bootstrap.ts # Plugin loader — registers everything
149
+ ├── bootstrap.ts # Plugin entry — registers everything
115
150
  ├── index.ts # Package entrypoint
151
+ ├── lib/ # harness-resolver.ts
116
152
  ├── harness/
117
- │ ├── agents/ # Agent manifests (OpenHermes)
118
- │ ├── codex/ # CONSTITUTION.md
119
- │ ├── commands/ # Slash command manifests (/oh-doctor)
120
- │ ├── instructions/ # RUNTIME.md
121
- │ └── skills/ # 25 skill SKILL.md files
153
+ │ ├── agents/ # Agent manifests (OpenHermes primary)
154
+ │ ├── codex/ # CHARTER, AUTOPILOT
155
+ │ ├── commands/ # Slash commands (/oh-doctor, /oh-log)
156
+ │ ├── instructions/ # SHELL.md
157
+ │ └── skills/ # 31 skill SKILL.md files (CORE/DEEP format)
122
158
  └── test/
123
159
  ```
124
160
 
161
+ Plan files: `~/.local/share/opencode/openhermes/plans/<project>-plan-<nnn>.md`
162
+
125
163
  ---
126
164
 
127
- ## Inspiration
165
+ ## Get started — 60 seconds
128
166
 
129
- OpenHermes merges high-signal patterns from:
167
+ 1. Add the plugin line to `opencode.json`
168
+ 2. Restart or reload OpenCode
169
+ 3. Run `/oh-doctor` to verify everything loaded
170
+ 4. Type *any* prompt — "plan a feature", "investigate this bug", "refactor this module"
171
+
172
+ The first time you see OpenHermes auto-route to a specialist skill without you asking — you'll feel the loop.
173
+
174
+ ---
130
175
 
131
- - **superpowers**skill loading model (config.skills.paths + bootstrap injection)
132
- - **dictionary-of-ai-coding** — shared vocabulary for agent self-diagnosis
133
- - **skills (mattpocock)** — TDD discipline, write-a-skill meta, design-an-interface parallel sub-agents, dual-axis review
134
- - **gstack** — preamble-tier seniority, artifact-chain pipeline, decision principles
135
- - **opencode-orchestrator** — hub-and-spoke delegation, session pool discipline, pipelined verification
176
+ **Star on [GitHub](https://github.com/nathwn12/openhermes)** bug reports, feature requests, and contributions welcome.