All plugins

pass-secrets

pass (password-store) secret source: resolves secrets from a local, GPG-encrypted, git-tracked password store into environment variables at startup, as a first-class SecretSource beside the built-in Bitwarden and 1Password sources. Disclosure — When enabled, shells out to the local pass binary (10 s per entry) for every .gpg entry under the configured store subdirs and injects each as an env var that by default overrides .env and shell values; when enabled, also adds a ~900-char system-prompt note about secret resolution; registers a pre_gateway_dispatch hook that consumes !secret//secret messages before gateway auth and, only for senders listed in the plugin's chat_allowed_users setting (empty = off), writes the value into the pass store with pass insert -f (a shared/ entry becomes an env var in every agent at next start); no network.

dyiapanis1Toolsv1.1.0Updated 12 days ago

About

pass (password-store) secret source: resolves secrets from a local, GPG-encrypted, git-tracked password store into environment variables at startup, as a first-class SecretSource beside the built-in Bitwarden and 1Password sources. Disclosure — When enabled, shells out to the local pass binary (10 s per entry) for every .gpg entry under the configured store subdirs and injects each as an env var that by default overrides .env and shell values; when enabled, also adds a ~900-char system-prompt note about secret resolution; registers a pre_gateway_dispatch hook that consumes !secret//secret messages before gateway auth and, only for senders listed in the plugin's chat_allowed_users setting (empty = off), writes the value into the pass store with pass insert -f (a shared/ entry becomes an env var in every agent at next start); no network.

pass-secrets

pass (password-store) secret source for Hermes Agent — resolves secrets from your local GPG-encrypted password store into environment variables at startup. Local filesystem, git-tracked, no network dependency, no token expiry.

Why

Hermes ships Bitwarden Secrets Manager and 1Password sources. If your secrets already live in pass — GPG-encrypted, git-backed, fully offline — this lets Hermes read them as a first-class secret source instead of migrating to a hosted vault.

How it works

The plugin registers a SecretSource with the Hermes orchestrator. You fetch; the orchestrator applies — the plugin never writes os.environ itself, never prompts, never raises. Each pass entry's leaf name becomes the env var name (UPPER_SNAKE_CASE enforced).

# profile config.yaml
secrets:
  sources: [pass, bitwarden]   # pass primary, BWS fallback
  pass:
    enabled: true
    store_path: ~/.password-store   # default
    subdirs: [shared, work]          # pass directories to pull
    override_existing: true          # pass wins over .env/shell
    timeout_seconds: 30

Resolution flow:

  1. register(ctx) runs at plugin discovery → ctx.register_secret_source(PassSource())
  2. The orchestrator re-pulls enabled secret sources at startup (reset_secret_source_cache + dotenv load)
  3. fetch() walks each configured subdirectory, runs pass show <path> per .gpg entry (10s timeout, GPG agent env preserved)
  4. Merged {ENV_VAR: value} returns to the orchestrator, which handles precedence, conflict detection, and provenance

Storing a secret from chat — !secret

The same plugin can write to the store without a shell, from any Hermes chat
channel:

!secret <name> <value>

!secret rather than /secret: a slash-prefixed word is claimed by the chat
platform's own command registry first. Mattermost answers "Command with a
trigger of secret not found"
and never posts the message, so the hook never
runs. !secret is plain text and always reaches the gateway. /secret still
works on platforms that pass unknown slash commands through as ordinary text.

Examples:

!secret shared/MY_API_KEY sk-abc123      # every agent/profile
!secret agentname/MY_API_KEY sk-abc123   # one profile's directory only

The name is a pass path, so the leaf becomes the environment-variable name
(UPPER_SNAKE enforced for injection — anything else is stored but warned
about). Everything after the first space is the value, verbatim.

The command registers as a pre_gateway_dispatch hook, which fires at ingress
before Hermes' sender-authorisation check and before any session exists, so
the plugin decides who may store. !secret is off until you list yourself: only
senders named in the plugin setting chat_allowed_users (as
<platform>:<user_id>) can store. Anyone else's !secret is dropped without a
reply, and its text still never reaches the agent.

plugins:
  entries:
    pass-secrets:
      settings:
        chat_allowed_users: ["telegram:123456789"]

!secret writes to secrets.pass.store_path, the same store the source reads.
A shared/ entry becomes an environment variable inside every agent process,
so list only people you would hand a shell to.

Values are passed to pass insert on stdin and are never logged, never written
to conversation state, and never echoed back.

What you'll see in session prompts

The plugin also registers a conditional system-prompt note teaching agents where secrets resolve from (declared names are injected into child process env; provider credentials are runtime-only by upstream design). It appears only when secrets.pass.enabled is true and the pass binary is resolvable — a disabled plugin contributes nothing to the prompt. The note is ~900 characters of the 4000-char prompt budget, no dynamic content.

Disclosures

  • Reads your GPG-encrypted pass store by shelling out to the pass binary per entry, with GNUPGHOME / GPG_AGENT_INFO preserved. If your GPG key prompts a passphrase, gpg-agent handles it — the plugin never prompts.
  • Bulk injection: everything in the configured subdirs becomes env vars. Configure narrowly (subdirs:) — don't point it at a store subdirectory containing material you wouldn't put in a process environment.
  • No network. Ever. Pure local: subprocess + filesystem only.
  • No protected env vars: pass uses GPG agent, not an env-var bootstrap token.

Requirements

  • pass on PATH (GPG-based password store initialized: pass init <GPG_KEY_ID>)
  • Hermes Agent >=0.21.4 (SecretSource plugin API with register_secret_source; !secret needs the pre_gateway_dispatch hook and ctx.get_config)
  • No Python dependencies beyond stdlib

Missing/broken secrets fail cleanly

  • pass not on PATH → typed BINARY_MISSING error with platform-specific install hint
  • Store path missing → NOT_CONFIGURED with pass init hint
  • Individual entry fails → warning collected, remaining entries still load

License

MIT — see LICENSE.

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

More by dyiapanis

4 plugins by dyiapanis in the catalog.

dyiapanislimbicLocal long-term memory for Hermes agents: facts and preferences stay on your machine in one SQLite file with bundled embedding and natural language inference (NLI) models, decaying and reconsolidating organically with use and abstaining rather than guessing. No LLM calls. Disclosures Network: ~1.0GB of pinned, sha256-verified ONNX models download from huggingface.co on first session start (Arctic 2.0 L int8 ~570MB; MiniLMv2 NLI ~430MB). Optional spaCy models pip-install ~14.5MB from spaCy's GitHub releases — version not hash-pinned. Local files: everything lives under HERMES_HOME (limbic.db, backup VACUUM snapshots) except the model cache ~/.cache/limbic, which is pruned at every model load — files not in the pinned manifest are deleted, so never point cache_dir at a shared folder. Memories at trust zero are deleted. forget: user-scoped two-step (list candidates, pick one) that appends a hash-only receipt (sha256, length, user id, fact id) to limbic.db.deletions.jsonl beside the database. Agent surface is exactly remember, recall, forget — no shell commands, no background services, no stored credentials, no telemetry.Communitymemory23dyiapanismediaragLocal, offline semantic search across your documents, notes, images, audio and subtitles: one index you query by meaning from Hermes or any MCP client, with snippets, timestamps and thumbnails from PDFs, Office files, photos and recordings. Disclosure — Downloads about 480 MB of EmbeddingGemma-2 ONNX model weights from Hugging Face at a pinned revision on first setup; offline after that. Reads the folders you point it at, outside the plugin directory. Runs pandoc, pdftotext, ffmpeg and curl from PATH; ffmpeg samples video files at 0.5 frames per second (first 240 frames) into its local cache to index them. Fetches the http(s) URLs you add, from public hosts only, re-checked on every redirect. Runs source adapters as local subprocesses; the optional Raindrop and Notion adapters send RAINDROP_API_TOKEN to Raindrop's API and NOTION_TOKEN to api.notion.com. With MEDIARAG_AUTO_BOOTSTRAP=1, the standalone MCP launcher installs its Python environment from PyPI, about 1.7 GB.Communitytools7dyiapanistabellaRead, create and convert documents — .docx, .xlsx, .pptx, .pdf, .odt, .ods, .odp — from structured JSON or HTML/CSS, with OCR for scanned files. Disclosures Shells out to pandoc for conversion, a TeX engine for PDF output, and tesseract for OCR. Re-execs into its own dependency venv, bootstrapped from PyPI on first run. Optional self-host HTTP server; a bearer token is generated into the plugin data directory on first run. Reads and writes only the filesystem paths you pass. Runs entirely locally: no network calls, no telemetry.Communitytools6

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section