fleet-update-container

fleet-update-container is a skill for Claude Code, Codex from Gentech-Labs/genTech-agent-kit. It costs 99 tokens per session (2,333 once invoked), scanned A, original, MIT.

A procedure for updating and restarting a Hermes agent that runs inside a Docker container. Docker packages an application and its dependencies into an isolated, replaceable container.

In plain words
What is it for?
It helps check for a newer image, read the installed version, preserve mounted data, and safely recreate the Hermes container without using bare-metal update commands.
Why use it?
Container updates differ from ordinary machine updates: the container is recreated from a new image, while important state must remain on a host-mounted directory.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for hermes-agent. Also seen: built for hermes-agent.

Good fit It helps check for a newer image, read the installed version, preserve mounted data, and safely recreate the Hermes container without using bare-metal update commands.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gentech-labs/gentech-agent-kit/fleet-update-container
Install

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.

Any agent
npx skills add Gentech-Labs/genTech-agent-kit --skill fleet-update-container
Clone the repo
git clone --depth 1 https://github.com/Gentech-Labs/genTech-agent-kit

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for fleet-update-container

README.md
[![agentmods](https://agentmods.dev/badge/skills/gentech-labs/gentech-agent-kit/fleet-update-container/github.svg)](https://agentmods.dev/skills/gentech-labs/gentech-agent-kit/fleet-update-container)
Your own site
<a href="https://agentmods.dev/skills/gentech-labs/gentech-agent-kit/fleet-update-container"><img src="https://agentmods.dev/badge/skills/gentech-labs/gentech-agent-kit/fleet-update-container/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.

agentmods 80×15 button for fleet-update-container

Your own site · 80×15
<a href="https://agentmods.dev/skills/gentech-labs/gentech-agent-kit/fleet-update-container"><img src="https://agentmods.dev/badge/skills/gentech-labs/gentech-agent-kit/fleet-update-container.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,333 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00099 $0.02333
Opus 5.5 $0.00040 $0.00933
Sonnet 5.5 $0.00020 $0.00467
Haiku 4.5 $0.00010 $0.00233

Measured 2d ago against content hash 30edd8faeb26, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fleet-update-container scanned grade A with 0 findings 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 2d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/fleet-update-container/SKILL.md · 186 lines

How it starts

The opening of the file, as written. The whole thing — 186 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fleet Update — Container Edition

When to Use

  • Your agent runs as a Docker container, not a bare-metal install — you have no writable /opt/hermes, no systemd, and /opt/data is a host bind mount.
  • You are about to follow safe-update-restart and the commands look wrong for your box.
  • You want to know whether a newer image even exists before touching anything.

Read safe-update-restart first — then come here. That skill owns the general restart doctrine. This one owns the container-specific facts, and several of that skill's commands do not work in a container. If your box is bare metal (you can cd /usr/local/lib/hermes-agent and it has a .git), use safe-update-restart and stop here.


The one thing to understand first

In a container, the engine IS the image. On bare metal a restart reloads a process. In a container an update is a container recreate — a new image is pulled and the container is rebuilt on it. That changes the whole shape:

  • Your state survives by design — it lives on a bind mount (/opt/data), which the recreate does NOT touch. / is the overlay layer that is replaced.
  • The engine cannot be patched — /opt/hermes/.venv is baked into the image. A new engine means a new image, always.
  • The update is a HOST action — an agent inside the container cannot do it. It cannot reach the Docker socket (uid 10000, denied), cannot write the install tree, and hermes update refuses outright (published image, no .git, not writable).

Five assumptions that break in a container

# The bare-metal command What actually happens in a container
1 hermes update --yes Refuses. Published image — no working tree to pull into. Not a permissions bug.
2 cd /usr/local/lib/hermes-agent Doesn't exist. Install is /opt/hermes, read-only to you.
3 systemctl is-active ... No systemd. Services are s6: s6-svstat /run/service/<name>, list with ls /run/service.
4 state in ~/.hermes, backup to /root/... /root is unreadable; state is the bind mount /opt/data.
5 "run the update" is your action It's the host operator's action — docker compose up -d --force-recreate.

Read the full file on GitHub · 186 lines

Changes

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.

  1. 2d ago First seen · 186 lines · 99 tokens per session scan A 30edd8faeb26

Subscribe to this mod's changes

fleet-update-container is a skill published in the GitHub repository Gentech-Labs/genTech-agent-kit (0 stars, last pushed 3d ago), licensed MIT. It adds 99 tokens to every session and 2,333 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-22.