All plugins

ctx-monitor

Desktop status bar chip showing, live, how full the focused session's context window is (CTX %, streamed during the turn with used/max tokens in the tooltip) and how full the agent's persistent memory stores are (MEM %, characters vs the configured limits, refreshed every 15 s), turning accent-colored at 85% so a session approaching compression — or a memory store approaching its consolidation point — is visible before it becomes a problem. Desktop-only (desktop/plugin.js inside the plugin SDK surface); no agent tools, hooks, middleware or env vars. The backend half (dashboard/plugin_api.py) serves read-only character counts of the profile's memories/MEMORY.md and USER.md against the configured limits over /api/plugins/ctx-monitor/stats — only the local gateway serves it, authenticated; counts only, never contents. Disclosure — no network calls, no credentials, no env vars, no telemetry, no background processes.

brunomalveiraDesktopv1.0.0Updated 1 day ago

About

Desktop status bar chip showing, live, how full the focused session's context window is (CTX %, streamed during the turn with used/max tokens in the tooltip) and how full the agent's persistent memory stores are (MEM %, characters vs the configured limits, refreshed every 15 s), turning accent-colored at 85% so a session approaching compression — or a memory store approaching its consolidation point — is visible before it becomes a problem. Desktop-only (desktop/plugin.js inside the plugin SDK surface); no agent tools, hooks, middleware or env vars. The backend half (dashboard/plugin_api.py) serves read-only character counts of the profile's memories/MEMORY.md and USER.md against the configured limits over /api/plugins/ctx-monitor/stats — only the local gateway serves it, authenticated; counts only, never contents. Disclosure — no network calls, no credentials, no env vars, no telemetry, no background processes.

ctx-monitor

A Hermes Agent desktop plugin: a
permanent status bar chip showing, at a glance and live:

  • CTX % — how full the focused session's context window is (streamed during
    the turn, no RPC), with a tooltip breaking down used/max tokens;
  • MEM % — how full the agent's persistent memory stores are
    (MEMORY.md / USER.md chars vs the configured limits), refreshed every 15 s.

The chip turns accent-colored once either metric reaches 85%, so you can see a
session approaching compression — or memory approaching its consolidation point —
before it becomes a problem.

Install

hermes plugins install brunomalveira/hermes-ctx-monitor

Pin an exact commit for a reproducible install:

hermes plugins install brunomalveira/hermes-ctx-monitor --ref <40-char-sha>

Then:

  1. Enable the backend — --enable skips the confirmation prompt; otherwise
    answer it (this adds the plugin to plugins.enabled in the active profile's
    config.yaml). The gate is per profile: repeat
    hermes config set plugins.enabled '["ctx-monitor"]' with that profile's
    HERMES_HOME to enable it there too.
  2. Show the chip — restart the desktop app (the shell lifts the desktop half
    at startup), then check Settings → Plugins if it does not appear. The chip is
    app-level: it renders once, regardless of which profile a chat uses.

What it reads

Only the character counts of the active profile's memories/MEMORY.md and
memories/USER.md against the configured memory.memory_char_limit /
memory.user_char_limit. The counts are served by the plugin's own backend
(dashboard/plugin_api.py) over /api/plugins/ctx-monitor/stats, which only the
local gateway serves, authenticated — never the conversation contents, and
nothing leaves the machine.

Disclosure

  • Reads outside the plugin's own data: file sizes of the two memory files
    (contents are never returned, stored, or sent anywhere).
  • Network calls: none.
  • Credentials: none. No env vars, no OAuth, no telemetry.
  • Background processes: none; the backend is a read-only endpoint inside the
    Hermes gateway process.

Requirements

  • Hermes Agent >= 0.23.4 with the desktop app (the chip uses the desktop
    plugin SDK's live usage stream; there is no CLI/TUI surface).

License

MIT

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

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section