Skip to content

About

Inventory, export, and safely merge learned skills across Hermes Agent profiles

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

 
 

Repository files navigation

hermes-my-skills

An independent, third-party CLI for preserving skills learned inside Hermes Agent profiles. It inventories evidence-backed skills, exports complete skill directories, and safely merges selected variants into another profile.

This project is not affiliated with or endorsed by Nous Research.

Provenance classes

Class Evidence Included by default?
agent-created The skill or Hermes usage metadata is marked created_by: agent Yes
ledger-created The curator ledger records an agent/curator create event Yes
ledger-modified The curator ledger records agent/curator changes but no creation event Yes
official-learned A bundled/official skill has Hermes learning evidence Yes
hub-learned A hub-installed skill has Hermes learning evidence Yes
local-unmanaged Local package with no recognized Hermes provenance No; opt in

agent-created is marker-based, not proof of original authorship. ledger-created is stronger historical evidence when the ledger is intact. A curator-only modification counts as learned because it changed the local skill package; filter provenance if that is not desired.

Imported provenance is intentionally stable: imported_provenance records the source package's class and remains the reported class if the target agent later patches the skill. Subsequent local actions remain available in the target profile's curator ledger; they do not rewrite the skill's origin classification.

Install

From PyPI after release:

pipx install hermes-my-skills

From a checkout:

uv tool install .

No Hermes Python internals are imported and there are no runtime dependencies.

Usage

List evidence-backed skills in the default profile:

hermes-my-skills list

List all profiles:

hermes-my-skills list --profiles all

Select only skills carrying the agent-created marker:

hermes-my-skills list --profiles researcher --provenance agent-created

--provenance local-unmanaged automatically opts into unmanaged packages. The equivalent broad-preservation switch is --include-unmanaged.

Export full skill directories and preserve divergent profile variants:

hermes-my-skills export learned-skills.tar.gz --profiles all --include-archived

Import into another profile. Conflicts are skipped by default:

hermes-my-skills import learned-skills.tar.gz --target-profile researcher

Prefer one source profile when a skill differs across profiles:

hermes-my-skills import learned-skills.tar.gz \
  --target-profile researcher \
  --prefer-profile builder

Replace conflicts only when explicitly requested. Existing copies are backed up first:

hermes-my-skills import learned-skills.tar.gz \
  --target-profile researcher \
  --conflict replace

An archived incoming variant never replaces or downgrades an active target skill; it is reported as a skipped conflict.

Profile discovery

Resolution order:

  1. --home PATH / --hermes-home PATH
  2. HERMES_HOME
  3. %LOCALAPPDATA%/hermes on Windows
  4. ~/.hermes on Linux and macOS

The default profile is the Hermes home itself. Named profiles are under profiles/<name>. Dot-directories such as profiles/.deleted are ignored. Profile names retain their case for case-sensitive filesystems.

Profiles created before .bundled_manifest cannot always distinguish an unmodified official package from other unmanaged local packages. Pass --hermes-repo PATH to compare against a Hermes Agent source checkout when that distinction matters.

Safety and privacy

Packages contain only selected skill directories, their support files, and a manifest. They do not include:

  • API keys or authentication files
  • sessions or conversation history
  • memories or user profiles
  • cron jobs
  • model/provider configuration
  • profile identity or unrelated state

Imports verify content hashes, reject malformed manifests, duplicate names, name mismatches, path traversal, links, devices, and oversized archives. Replacement requires --conflict replace and writes a backup beneath the target profile first.

Symlinked files are excluded from exports so a link cannot pull an arbitrary external file into a package.

Development

python -m pip install -e ".[dev]"
pytest
ruff check .
python -m build

CI runs on Windows, Linux, and macOS.

On Windows, skill trees whose absolute paths exceed the legacy 260-character limit require the operating-system LongPathsEnabled policy. The tool does not truncate, rename, or silently omit paths that the host filesystem cannot open.

Compatibility

The tool reads stable on-disk conventions used by Hermes Agent:

  • skills/**/SKILL.md
  • skills/.usage.json
  • skills/.curator_ledger.jsonl
  • skills/.bundled_manifest
  • skills/.hub/lock.json
  • profiles/<name>/skills/

It intentionally does not import private Hermes modules. Format changes can therefore be handled in this project without patching a user's Hermes installation.

License

MIT. The defensive archive routines are derived from MIT-licensed Hermes Agent code; see THIRD_PARTY_NOTICES.md.

About

Inventory, export, and safely merge learned skills across Hermes Agent profiles

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages