Skip to content

Link Omarchy agent skills into Hermes - #8611

Merged
dhh merged 2 commits into
omacom:hermes-agentfrom
smfworks:feat/hermes-skill-symlinks
Aug 30, 2026
Merged

dhh merged 2 commits into
omacom:hermes-agentfrom
smfworks:feat/hermes-skill-symlinks

Conversation

@smfworks

Copy link
Copy Markdown
Contributor

Why

Omarchy already symlinks omarchy and diagnose-crash into Claude, Codex, Pi, Antigravity, and ~/.agents/skills. Hermes was missing, so Hermes agents on Omarchy never picked up the shipped skill for editing ~/.config/hypr, shell.json, or themes.

What

  • omarchy-provision-user also links into ~/.hermes/skills and every existing ~/.hermes/profiles/*/skills (does not create Hermes profiles)
  • Migration 1787843905.sh for current installs
  • test/shell.d/provision-user-test.sh covers default Hermes home plus a pre-existing profile
  • Manual AI chapter and docs/file-layout.md updated

Test plan

  • bash test/shell.d/provision-user-test.sh
  • HOME=$(mktemp -d) bash -euo pipefail migrations/1787843905.sh creates the default-home links

Rollback: remove the migration marker is not needed for a revert; reverting the provision-user loop restores previous harness list. Existing Hermes symlinks are harmless if left in place.

Copilot AI balanced review requested due to automatic review settings August 27, 2026 15:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Hermes to Omarchy’s agent-skill provisioning for new and existing installations.

Changes:

  • Links skills into Hermes home and existing profiles.
  • Adds an upgrade migration and provisioning coverage.
  • Updates developer and user documentation.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
bin/omarchy-provision-user Provisions Hermes skill links.
migrations/1787843905.sh Migrates existing installations.
test/shell.d/provision-user-test.sh Tests Hermes provisioning.
manual/17-ai.md Documents Hermes support.
docs/file-layout.md Updates skill-layout reference.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread migrations/1787843905.sh
Comment on lines +8 to +10
mkdir -p "$HOME/.hermes/skills"

for skill in "$skills_source"/*/; do
Comment thread docs/file-layout.md Outdated
It only does the things `/etc/skel` can't:

- Skill symlinks `~/.{agents,claude,codex,pi/agent}/skills/<name>` →
- Skill symlinks `~/.{agents,claude,codex,pi/agent,hermes}/skills/<name>` (and each `~/.hermes/profiles/*/skills/<name>`) →
Comment thread docs/file-layout.md Outdated
Comment on lines +205 to +206
checkout repoints them correctly. Hermes profile dirs are only linked when
they already exist — provision does not create Hermes profiles.
@smfworks

Copy link
Copy Markdown
Contributor Author

Still distinct from #7392.

#7392 links Omarchy skills into ~/.hermes/skills only. This PR also links existing ~/.hermes/profiles/*/skills (does not create profiles), with a migration and tests.

If #7392 takes the profile loop, this can close as well.

envosloth added a commit to Signal-Six/omarchy that referenced this pull request Aug 29, 2026
Folds in the existing-profile loop from omacom#8611: provision-user and the
Hermes migration symlink shipped skills into each existing
~/.hermes/profiles/<name>/skills without creating profiles, with test
and doc coverage.
James (SMF Works) and others added 2 commits August 29, 2026 15:26
Hermes was missing from the provision-user symlink list that already
covers Claude, Codex, Pi, Antigravity, and ~/.agents. Add ~/.hermes/skills
plus existing ~/.hermes/profiles/*/skills. Migration for current installs.
The provision-user suite never ran the one-shot migration. Cover default-home
links, a pre-existing profile, idempotency, and a missing skill source.
Document ~/.gemini/config/skills and stop wrapping that bullet.
@smfworks
smfworks force-pushed the feat/hermes-skill-symlinks branch from 8d99dce to e482977 Compare August 29, 2026 19:31
@smfworks

Copy link
Copy Markdown
Contributor Author

Addressed the Copilot nits:

  • test/shell.d/hermes-skills-migration-test.sh runs the one-shot migration against a fake HOME (default home, pre-existing james profile, idempotency, missing skill source). Removing the profile loop or the default-home ln -sfn fails it.
  • docs/file-layout.md now lists Antigravity (~/.gemini/config/skills) and that bullet is a single line.

Rebased onto current quattro. Keeping this PR open per omarchybot on #7469; #7392 has the same loop if it lands first.

@omarchybot
omarchybot changed the base branch from quattro to hermes-agent August 30, 2026 08:28
omarchybot pushed a commit that referenced this pull request Aug 30, 2026
Catches the branch up on 94 commits so what lands here is reviewed against
current quattro, and so #8611 contributes its own five files rather than
dragging a partial catch-up in behind it.
@omarchybot
omarchybot changed the base branch from hermes-agent to quattro August 30, 2026 10:13
@omarchybot
omarchybot changed the base branch from quattro to hermes-agent August 30, 2026 10:13
@dhh
dhh merged commit a041e9a into omacom:hermes-agent Aug 30, 2026
@emirb emirb added this to the 4.5 milestone Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants