All plugins

sessionguard

Work survives the session. Keeps a local work-state checkpoint for every session, built from tool evidence: current task, files touched, recent tool calls and outcomes, failure count, and the agent's own progress notes saved through the session_checkpoint tool. A checkpoint closes only when the agent marks its task done; otherwise the next session from the same origin (same platform and sender) is briefed from the most recent open checkpoint, so work interrupted by a dead process, a dropped gateway, or a compaction resumes from evidence instead of a lossy transcript. Subagent and cron sessions neither record checkpoints nor receive briefings. Disclosure: observes user messages (only the latest task text is kept, truncated, with credential-shaped values redacted), tool call arguments (stored only as short summaries), and turn outcomes, in profiles where it is enabled; all state is stored locally under $HERMES_HOME/sessionguard/; makes no network calls.

Whydiriki700Toolsv0.1.1Updated 2 hours ago

About

Work survives the session. Keeps a local work-state checkpoint for every session, built from tool evidence: current task, files touched, recent tool calls and outcomes, failure count, and the agent's own progress notes saved through the session_checkpoint tool. A checkpoint closes only when the agent marks its task done; otherwise the next session from the same origin (same platform and sender) is briefed from the most recent open checkpoint, so work interrupted by a dead process, a dropped gateway, or a compaction resumes from evidence instead of a lossy transcript. Subagent and cron sessions neither record checkpoints nor receive briefings. Disclosure: observes user messages (only the latest task text is kept, truncated, with credential-shaped values redacted), tool call arguments (stored only as short summaries), and turn outcomes, in profiles where it is enabled; all state is stored locally under $HERMES_HOME/sessionguard/; makes no network calls.

SessionGuard

Work survives the session.

Hermes can resume a conversation with /resume, but a transcript is not
work state: it does not say which steps already changed the outside world,
and after a gateway death or a context compaction the next session starts
blank or lossy, so the agent has to guess where it was, redoing side
effects or dropping the task entirely.

SessionGuard keeps a local work-state checkpoint for every session, built
from tool evidence rather than prose.

What it does

  • pre_llm_call records the current task text each turn. On the first
    turn of a session it briefs the agent twice over: how to checkpoint its
    own progress with the session_checkpoint tool, and, when a previous
    session left an unclosed checkpoint, a recovery briefing (previous
    task, files touched, last tool calls with outcomes, failure count, and
    the previous agent's own progress notes), with an explicit instruction
    to verify real-world state before redoing any step.
  • post_tool_call records every tool call as a short redacted
    summary, tracks the files it touched (path arguments, plus absolute
    paths named inside terminal commands), and counts failures.
  • session_checkpoint tool lets the agent save progress notes as it
    works and close the checkpoint with status="done" when the task is
    complete. A checkpoint closes only this way; everything else stays
    open and brief-worthy.
  • on_session_end records each turn's outcome (completed, failed,
    interrupted) on the checkpoint.

State lives under <HERMES_HOME>/sessionguard/: state.json (latest
checkpoint per session, capped at 50 sessions) and events.jsonl
(append-only audit trail). Inspect with /guard, the
sessionguard_status tool, or hermes sessionguard status.

Configuration

plugins:
  entries:
    sessionguard:
      settings:
        enabled: true   # false disables checkpointing and briefings

Disclosure

SessionGuard observes user messages (it keeps only the latest task text,
truncated and with credential-shaped values redacted), tool call
arguments (stored only as short summaries), and turn outcomes, in
sessions of profiles where it is enabled. Everything is stored locally
under <HERMES_HOME>/sessionguard/. It makes no network calls and
starts no processes. Storage errors degrade every hook to a no-op; the
agent loop is never broken by a checkpoint failure. Declared
capabilities in plugin.yaml match the registered hooks and tools
exactly.

Verification

  • hermes plugins validate: passed, security scan safe.
  • hermes plugins doctor: OK, 2 tools and 3 hooks registered under the
    real runtime contracts.
  • Unit tests cover checkpoint recording, file tracking (including paths
    inside terminal commands), one-shot recovery briefings, agent notes
    and done-closing, secret redaction in task text, and interrupted
    sessions staying open.
  • Live two-session test: session one created files and saved a
    session_checkpoint note, then stopped mid-project; a fresh session
    accurately reported the unfinished work (files done, missing part)
    from the injected recovery briefing alone.

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

More by Whydiriki700

7 plugins by Whydiriki700 in the catalog.

Whydiriki700proofgateNo proof, no done. Verifies an agent's completion claims (file created, message sent, command ran, tests passed, figures quoted) against the tool evidence recorded in the same session, before the final reply is delivered. Unproven claims are flagged as unverified or withheld, fail closed, and every verdict is written to an append-only ledger stored locally in $HERMES_HOME/proofgate/. Disclosure — observes every tool call and final reply in profiles where it is enabled and stores tool arguments (sensitive-named keys redacted) and the first 800 characters of every tool result, unredacted, in append-only files under $HERMES_HOME/proofgate/ with no rotation; makes no network calls; in the default enforce mode it holds reply streaming and may append warnings to or entirely withhold a reply judged by keyword heuristics to contain unproven claims.Communitytools2Whydiriki700token-dashboardToken cost and usage dashboard for Hermes Desktop: a right pane with the focused session's live input and output tokens, session cost (backend-reported cost_usd when available, otherwise a labelled estimate from a built-in per-model price table), API calls and context usage bar, plus a recent-sessions overview with message counts and a status bar cost chip. Desktop-only (desktop/plugin.js inside the plugin SDK surface); no agent tools, hooks, middleware, or env vars. Disclosure: reads the focused session usage state and the session list through the Desktop host API and renders them locally; no network calls, no storage.CommunityDesktop app2Whydiriki700costguardA brake pedal for model spend. Meters every API call per session and per day from the provider's own usage block; dollar figures are estimates computed only for models in its price table and are never invented for unknown models. When a provider reports no usage (common with streaming OpenAI-compatible endpoints), it falls back to request-size estimates and flags those calls as estimated in every total, never pricing them. Warns the agent at a configurable ratio of any configured budget and blocks tool calls once a session or daily token/cost budget is exceeded, stopping the tool loops where runaway spend happens; with no budget configured it only meters and reports. Disclosure: observes API request/response metadata (token usage, model, session id) and tool call names in profiles where it is enabled; stores only aggregate counters locally under $HERMES_HOME/costguard/; makes no network calls; the brake cannot cancel the reply already being generated when a budget trips, it stops the tool work that reply tries next.Communitytools1Whydiriki700money-magnetFinance tracker and money magnet for Hermes Agent: record income and expenses, set a monthly budget and watch it fill, value a crypto portfolio against live prices, and scan for price gaps between exchanges. Transactions and budget live in local JSON under $HERMES_HOME/money-magnet/. Disclosure: the portfolio and arbitrage tools query the public CoinGecko and Binance price APIs (no account or API key; only coin symbols are sent). The tracker tools work fully offline.Communitytools1