Files
hermes-agent/plugin-catalog/commons.yaml
2026-11-22 00:36:57 -08:00

22 lines
2.2 KiB
YAML

name: commons
repo: https://github.com/Chrisyk/hermes-commons
sha: a4b594caad03262a91de9a0f2c18ff5001c1ff9c
description: "One live skill library for every profile on one machine. `hermes commons setup` scans every profile, reports identical, contained and conflicting copies of each skill, proposes a merge plan and changes nothing until you apply it; apply backs up every profile, moves old copies into a backup (never deletes), points each profile's skills.create_dir at the shared folder and verifies every skill still resolves. Each skill create, edit or patch made through Hermes' skill tool is committed to git in the shared folder, labelled with profile and session. Optional consistency settings (`hermes commons config`): `lock shared` points every profile's skills/.locks at one folder so Hermes' own per-skill lock serializes writes across profiles (the default for a new setup; existing installs keep each profile's own lock), and `guard warn|strict` refuses or logs a write based on an old read (off by default; its pre_tool_call/post_tool_call hooks are registered only when it is on). Commands: `hermes commons setup|config|status|check|merge|promote|demote|log|undo|restore` and a read-only `/commons status|check`. Disclosure: reads every profile's config.yaml, skills folders, bundled manifest, hub lock and cron jobs.json. After confirmation it writes the shared skills folder, runs local `git` there (hooks disabled, no prompts, 30 s timeout), sets skills.create_dir and adds commons to plugins.enabled through `hermes config set`, moves replaced skill folders into <hermes home>/commons/backups (these hold copies of config.yaml, kept outside git and outside every skills folder), and rewrites old skill paths in cron prompts only where the new file exists. Optional hourly script-only cron job, created only with `setup --apply --schedule`. No network calls, no credentials stored."
maintainer: Chrisyk
tier: community
category: tools
requires_hermes: ">=0.23.2"
docs_url: https://github.com/Chrisyk/hermes-commons#readme
version: "0.2.1"
title: "Commons"
platforms: [linux, macos]
capabilities:
provides_tools: []
provides_hooks:
- on_skill_lifecycle
- on_session_start
- pre_tool_call
- post_tool_call
provides_middleware: []
requires_env: []