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.01303 |
| Opus 5 | $0.00026 | $0.00651 |
| Sonnet 5 | $0.00010 | $0.00261 |
| Haiku 4.5 | $0.00005 | $0.00130 |
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 8d 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 — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Safe Update & Restart for Production VPS
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.
- 8d 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 17d ago), licensed MIT. It adds 52 tokens to every session and 1,303 once invoked, about $0.0003 per session on Opus 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
kubernetes
Kubernetes operations playbook for deploying services: core objects, probes, resource sizing, safe rollouts, and fast kubectl debugging.
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"…
ecspresso
ECS deployment tool - deploy, manage, and troubleshoot ECS services.
plano-agent-skills
Best practices for building agents and agentic applications with Plano, including configuration, routing, orchestration, guardrails, observability, and deployment.
performing-kubernetes-etcd-security-assessment
Assess the security posture of Kubernetes etcd clusters by evaluating encryption at rest, TLS configuration, access controls, backup encryption, and network isolation.
securing-helm-chart-deployments
Secure Helm chart deployments by validating chart integrity, scanning templates for misconfigurations, and enforcing security contexts in Kubernetes releases.