diff --git a/.hermes/INSTALL.md b/.hermes/INSTALL.md new file mode 100644 index 0000000000..2ae3638eb9 --- /dev/null +++ b/.hermes/INSTALL.md @@ -0,0 +1,86 @@ +# Installing Superpowers for Hermes Agent + +Enable superpowers skills in [Hermes Agent](https://github.com/NousResearch/hermes-agent) via the built-in skills system. + +## Prerequisites + +- Hermes Agent installed (`pip install hermes-agent` or from source) +- Git + +## Installation + +**Option A — Symlink (recommended, auto-updates with `git pull`):** + +```bash +git clone https://github.com/obra/superpowers.git ~/.hermes/superpowers +ln -s ~/.hermes/superpowers/skills/* ~/.hermes/skills/ +``` + +**Windows (PowerShell):** +```powershell +git clone https://github.com/obra/superpowers.git "$env:USERPROFILE\.hermes\superpowers" +Get-ChildItem "$env:USERPROFILE\.hermes\superpowers\skills" -Directory | ForEach-Object { + cmd /c mklink /J "$env:USERPROFILE\.hermes\skills\$($_.Name)" $_.FullName +} +``` + +**Option B — Copy (standalone, no git dependency after install):** + +```bash +git clone https://github.com/obra/superpowers.git /tmp/superpowers +cp -r /tmp/superpowers/skills/* ~/.hermes/skills/ +rm -rf /tmp/superpowers +``` + +## Verify + +```bash +hermes skills list +``` + +You should see superpowers skills alongside the built-in ones (e.g. `test-driven-development`, `brainstorming`, `writing-plans`). + +Load any skill in a chat session: + +``` +/skill test-driven-development +``` + +## Updating + +If you used the symlink method: + +```bash +cd ~/.hermes/superpowers && git pull +``` + +Skills update instantly through the symlinks. + +## Uninstalling + +```bash +# Remove symlinks +for skill in ~/.hermes/skills/*; do + [ -L "$skill" ] && readlink "$skill" | grep -q superpowers && rm "$skill" +done + +# Optionally delete the clone +rm -rf ~/.hermes/superpowers +``` + +## How it works + +Hermes Agent loads skills from `~/.hermes/skills/`. Each skill is a directory +with a `SKILL.md` file (YAML frontmatter + markdown body) — the same format +Superpowers uses natively. No conversion or adapter needed. + +Skills are loaded on demand via `/skill ` in the CLI, or automatically +when the agent detects a matching task pattern. Hermes also supports skill +preloading via `hermes -s test-driven-development` for session-wide activation. + +## Compatibility + +Hermes Agent has built-in equivalents for several Superpowers skills. +Installing Superpowers will add its versions alongside the built-ins. +If both exist, you can load either by name — Superpowers skills will +appear in `hermes skills list` just like any other skill.