All plugins

hermes-share

Share one or several sessions as a redacted, revocable secret GitHub gist with /share, and import a shared bundle back with /share import. A bundle is up to three kinds of file in one gist, every one of them rendered by the public hermes sessions export CLI: the importable jsonl, a readable Markdown transcript, and a standalone HTML page per session. The preview lists every session with its redaction counts and file sizes; nothing is uploaded until /share confirm. Credentials become non-reusable sentinels (never a head/tail mask), home paths become ~, and the account and host names are replaced; redaction cannot be switched off. /share import reads a gist or file, detects the format from content (Hermes export, Claude Code transcript, Codex rollout), shows what is inside, and imports only on /share import confirm. Disclosure — reads the sessions you name through hermes sessions export and the session index through hermes_state, and uploads them only after /share confirm as a secret (unlisted, not private) GitHub gist through your existing gh login; imports download over HTTPS only (8 MB cap) and are never executed; on chat platforms /share covers only the calling chat's session and its own gists, and import is off, until the owner turns on allow_gateway_selectors / allow_gateway_import.

Sahil-SS98Toolsv0.2.1Updated 1 day ago

About

Share one or several sessions as a redacted, revocable secret GitHub gist with /share, and import a shared bundle back with /share import. A bundle is up to three kinds of file in one gist, every one of them rendered by the public hermes sessions export CLI: the importable jsonl, a readable Markdown transcript, and a standalone HTML page per session. The preview lists every session with its redaction counts and file sizes; nothing is uploaded until /share confirm. Credentials become non-reusable sentinels (never a head/tail mask), home paths become ~, and the account and host names are replaced; redaction cannot be switched off. /share import reads a gist or file, detects the format from content (Hermes export, Claude Code transcript, Codex rollout), shows what is inside, and imports only on /share import confirm. Disclosure — reads the sessions you name through hermes sessions export and the session index through hermes_state, and uploads them only after /share confirm as a secret (unlisted, not private) GitHub gist through your existing gh login; imports download over HTTPS only (8 MB cap) and are never executed; on chat platforms /share covers only the calling chat's session and its own gists, and import is off, until the owner turns on allow_gateway_selectors / allow_gateway_import.

hermes-share

Share one or several Hermes sessions as a redacted, revocable link — and import a shared bundle
back into another Hermes, without a full profile export.

/share                        share this session
/share <id|title> [...]       share the named sessions (up to 12)
/share --last N               share the N most recent sessions
/share --format md|jsonl|both which files the gist carries (default: both)
/share confirm                upload the preview as a SECRET gist
/share cancel                 delete the preview and forget it
/share list                   gists this profile has shared
/share import <gist|file>     read a shared bundle and show what is inside
/share import confirm         import it into this Hermes
/unshare [id|last]            delete a shared gist and mark it revoked

Nothing is uploaded until you type the confirm command, and redaction has no off switch.

Requirements

  • ctx.redact_text() in the host. Redaction goes through the plugin API; there is deliberately
    no fallback that imports agent.redact. On a Hermes without it, /share refuses and names the
    missing seam instead of uploading anything. The core PR for that seam is
    feat/plugin-redact-text; it is not merged at the time of writing, so this plugin is not
    installable from the catalog yet (see RELEASE.md).
  • gh, signed in (gh auth login). The plugin never reads or stores a token.
  • Hermes-to-Hermes import additionally needs hermes sessions import --from hermes, which is
    open upstream PR NousResearch/hermes-agent#87988.
    It is feature-detected from hermes sessions import --help; without it the Hermes part of an
    import refuses by name and every other source still works.

What a bundle is

Up to three kinds of file in one secret gist:

FilePurpose
hermes-sessions-<stamp>.jsonlthe importable record, one session per line, exactly the shape hermes sessions export writes
hermes-sessions-<stamp>.mdthe readable transcript
hermes-sessions-<stamp>-<id>.htmlthe standalone HTML page, one per session

Every file comes from the public hermes sessions export CLI — the HTML included, which the CLI
renders itself (one call per session; it is the one format that refuses -). --format narrows the
set: jsonl, md, html, both (jsonl+md), all (the default), or a comma-separated list such as
--format md,html.

What is redacted

Every string in every message goes through the host's strongest scrubber, then two more passes:

  1. Credentials become non-reusable sentinels — «redacted:sk-…», «redacted:ghp_…»,
    «redacted-secret», Bearer ***. Not the head/tail mask a terminal can afford: ten readable
    characters of a key are fine on your own screen and not fine in a document that leaves the
    machine.
  2. Home paths — /home/<user> and /Users/<user> become ~.
  3. Identity — your account name and host names become <redacted>.

The gist description is redacted with the same passes, and the preview reports how many of each.

Preview

/share - preview ready, nothing uploaded

  sessions   2
  share-a-0001              4 msg    6 secret mark(s)  Deploy notes
  share-b-0002              2 msg    3 secret mark(s)  Second session

  redacted   9 secret mark(s), 2 home path(s), 2 account/host name(s)
  files      hermes-sessions-20261107-011530.jsonl, hermes-sessions-20261107-011530.md (4.1 KB total)
  gist desc  Hermes sessions: Deploy notes, Second session (2)

Next: /share confirm   uploads it as a SECRET gist (unlisted, not private)
      /share cancel    deletes the preview and forgets it

Import

/share import https://gist.github.com/<you>/<id>
/share import ~/handover.jsonl

The format is decided from the file's content, never from its name or the URL:

ContentRoute
Hermes jsonl export (id + messages per line)hermes sessions import --from hermes
Claude Code JSONL transcripthermes sessions import --from claude
Codex rollouthermes sessions import --from codex

A gist carries the jsonl and the markdown; only the file that parses as session records is offered,
so the readable copy can never be imported as a transcript. Downloads are capped at 8 MB, use gh
for gists (a secret gist is not a public URL) and HTTPS only otherwise (an http:// URL or a redirect to one is refused), and nothing is executed.

Surfaces

SurfaceShare / unshareImport
classic CLI (hermes)full preview, then confirmallowed
TUI (hermes --tui)same output as the CLIallowed
Desktopsame command dispatchallowed
chat platforms (Discord, Telegram, Slack, …)short preview in chat (counts and titles, never the bundle text), same confirm command, gist URL posted back. Only the calling conversation is shared, and /share list and /unshare see only the gists that conversation created, unless allow_gateway_selectors: trueoff by default: an import writes into this Hermes's store, so it needs allow_gateway_import: true

On a gateway, the profile's session store holds every platform's and every user's sessions, and the
gists go to the owner's GitHub account. So by default a chat can only /share the session it is in (no
<id|title> selectors, no --last N), and can list or delete only gists it created (each ledger row
records the creating conversation). The owner can lift both limits:

plugins:
  entries:
    hermes-share:
      settings:
        allow_gateway_import: true      # default false
        allow_gateway_selectors: true   # default false

Disclosure

  • Reads: the sessions you name, through the public hermes sessions export CLI. The session
    index (ids, titles, recency) is read through hermes_state, which is on the published plugin API
    list.
  • Writes: the bundle and a 50-row ledger under <hermes home>/plugin-data/hermes-share/.
    Ledger rows hold the gist id, url, session ids/titles/counts, file names, timestamps and the
    creating conversation's session key and platform. Previews
    and import downloads are capped at 20 files each; a pending preview expires after 15 minutes.
  • Network: gh gist create and gh gist delete only after you confirm, never with --public;
    gh gist view to read a gist you import; HTTPS only (redirects included) for a public raw URL.
  • Never: uploads before confirm, turns redaction off, reads or stores a GitHub token, imports
    without /share import confirm, or executes anything it downloads.
  • Child processes: gh gets an allowlist (HOME, PATH, GH_CONFIG_DIR, locale, SHELL,
    TMPDIR), and the hermes child gets the same kind of allowlist plus HERMES_HOME — never the
    session's whole environment, which holds every provider key on the machine.

Desktop alternative

For a Desktop session as a long screenshot, HTML, Markdown or PDF with per-turn selection, use
hermes-chat-share from the catalog. It makes no
network calls. This plugin does not duplicate it.

Tests

uv venv --python 3.14
uv pip install --python .venv/bin/python pytest "ruamel.yaml>=0.18"
HERMES_TEST_HOST_BIN=/path/to/hermes/.venv/bin/hermes \
PYTHONPATH=/path/to/hermes-agent-checkout .venv/bin/python -m pytest -q

69 tests against a temporary HOME/HERMES_HOME and a real SessionDB: bundle parsing, sentinel
masking, home and identity scrubbing, content detection for all three formats, the confirm gate (no
child process before it), the #87988 refusal, the gateway consent gate, chat-platform sharing,
ledger bounds, TTLs, /unshare, and one end-to-end export through the real CLI binary.

Licence

MIT.

README from the reviewed commit ae150ff; it updates when the author re-pins.

More by Sahil-SS9

16 plugins by Sahil-SS9 in the catalog.

Sahil-SS9hermes-project-stewardshipDurable project ownership and bounded initiative management for Hermes fleets. Disclosure — a pre_llm_call hook adds a project's saved rules, decisions and facts to turns of bots assigned to that project; objective checks run allowlisted local programs only at autonomy level 3+ and GitHub objectives shell out to your own gh api; it creates and edits Hermes Kanban tasks through Hermes' internal kanban modules (title/body/tenant written directly to kanban.db); onboarding creates Hermes project records in projects.db (archiving a half-provisioned one if setup fails), and binds a board to an existing project only when that project has none and no other project owns the board; it reads the project registries of other Hermes profiles read-only (names and project counts only) to hint where existing projects live during onboarding, keeps its own SQLite DB under <Hermes home>/plugin-data/hermes-dockyard/ plus a provisioning journal and lock under <Hermes home>/dockyard/, and its optional HTTP API (/stewardship/v1, 127.0.0.1) stays closed until you set a bearer token.Communityautomation94Sahil-SS9prompt-optimizerModel-aware prompt rewriting with quality scoring, analytics, and coaching. Disclosure — the default auto mode rewrites every user message of 5+ words through your configured model (one extra LLM call per turn) before the agent sees it.Communitytools34Sahil-SS9toolariaRescues oversized MCP and web tool results before they flood context.Communitytools30Sahil-SS9memlockReasserts pinned standing instructions after context compaction. Disclosure — scope=global pins apply to every session sharing the same HERMES_HOME; memlock_setup.py edits config.yaml and .claude/settings.json (with backups) only when you run it.Communitytools18

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section