Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Gentech-Labs/genTech-agent-kit --skill safe-update-restartgit clone --depth 1 https://github.com/Gentech-Labs/genTech-agent-kitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/gentech-labs/gentech-agent-kit/safe-update-restart)<a href="https://agentmods.dev/skills/gentech-labs/gentech-agent-kit/safe-update-restart"><img src="https://agentmods.dev/badge/skills/gentech-labs/gentech-agent-kit/safe-update-restart/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/gentech-labs/gentech-agent-kit/safe-update-restart"><img src="https://agentmods.dev/badge/skills/gentech-labs/gentech-agent-kit/safe-update-restart.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00052 | $0.01464 |
| Opus 5.5 | $0.00021 | $0.00586 |
| Sonnet 5.5 | $0.00010 | $0.00293 |
| Haiku 4.5 | $0.00005 | $0.00146 |
Grade A, and why
safe-update-restart scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
echo "$u -> $(curl -s -m 12 -o /dev/null -w '%{http_code}' "$u")" How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Safe Update & Restart for Production VPS
🐳 Running in a CONTAINER? Read
fleet-update-containerinstead — several commands here do NOT work there.If your agent runs from a Docker image (no writable
/opt/hermes, nosystemd,/opt/datais a bind mount), the commands below are wrong for your box:hermes updaterefuses in-container,systemctldoes not exist (services are s6), and the update is a host recreate, not an agent action. Use the companion skillfleet-update-containerfor the container-correct procedure — it also covers how to read the real version from the image's install stamp and the boot trap that false-flags lost ports.
When to Use
- Updating Hermes Agent (
hermes update) on a box that runs live services. - Restarting the gateway, x402 gateway, or any service someone may be connected to.
- Any restart where "someone could be connecting any minute."
- Recovering after a service or gateway change.
The Core Principle
Never blind-restart. A production VPS hosts many live APIs, x402 services, and multiple agent gateways that share one Hermes venv. A careless update/restart can drop a live connection or take down a service with no warning. Always: backup → controlled window → restart each service → verify everything after.
The Procedure
Step 1 — Record the baseline (BEFORE touching anything)
Capture current state so you can prove nothing regressed:
# hermes gateways (note PIDs)
for p in <profile1> <profile2> <profile3>; do
pid=$(pgrep -f "profile $p gateway run" | head -1)
echo "$p: pid=${pid:-DOWN}"
done
# systemd services
for svc in <x402-api> <x402-backend@...> <other services>; do
echo "$svc: $(systemctl is-active "$svc" 2>/dev/null)"
done
# public endpoints
for u in "https://api.example.net/" "https://api.example.net/status"; do
echo "$u -> $(curl -s -m 12 -o /dev/null -w '%{http_code}' "$u")"
done
Step 2 — Take a rollback-safe backup
Use the quick snapshot (covers config, .env, auth, state.db, cron — the
rollback-critical files). A full zip of ~/.hermes can be 30-40GB+ and take 30+ min —
too heavy for rollback needs.
hermes backup -q -l pre-update-$(date +%Y%m%d) -o /root/hermes-quick-backup.zip
Also record the git rollback point:
cd /usr/local/lib/hermes-agent && git log -1 --oneline && git describe --tags
PITFALL: A full
hermes backup(no-q) zips the entire 30-40GB~/.hermesincluding cargo/node caches — it's slow and produces giant zips that fill disk. Use-qunless you have a specific reason for the full archive. Delete any stale.partialfiles it leaves behind.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago Changed · +8 lines 9d0769bbe323
- 1mo ago First seen · 100 lines · 52 tokens per session scan A 78d1bad57cbd
safe-update-restart is a skill published in the GitHub repository Gentech-Labs/genTech-agent-kit (0 stars, last pushed 4d ago), licensed MIT. It adds 52 tokens to every session and 1,464 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
ssh-incident
A diagnosis order for "the server is down", "the site is slow", "something broke". Use when investigating a problem on a remote server through the ssh tools, before changing anything.
kubernetes
Kubernetes operations playbook for deploying services: core objects, probes, resource sizing, safe rollouts, and fast kubectl debugging.
ssh-operations
How to work on remote servers through MCP SSH Manager without breaking them. Use this whenever a task involves deploying, backing up, restarting services, or running commands on a server through the ssh tools — especially on anything named prod, production or live.
remote-ops
Manage remote operations, infrastructure tasks, deployment procedures, and server administration. Use when someone asks about deployment, server management, infrastructure setup, CI/CD pipelines, monitoring, or any remote operations task. Triggers on "deploy", "server", "infrastructure", "ops", "pipeline"…
flow-nexus-platform
Comprehensive Flow Nexus platform management - authentication, sandboxes, app deployment, payments, and challenges.
plano-agent-skills
Best practices for building agents and agentic applications with Plano, including configuration, routing, orchestration, guardrails, observability, and deployment.