compose-update

compose-update is a command for Claude Code from CallMeTechie/fleet-manager. It costs 27 tokens per session (673 once invoked), scanned A, original, MIT.

A command that updates a Docker Compose project on a remote server by downloading newer images and recreating its containers. Docker images are packaged versions of software used to create containers.

In plain words
What is it for?
Use it to deploy newer container images for a Compose project and bring the updated services back up.
Why use it?
It combines the image update and container restart steps, while requiring extra confirmation for marked critical projects.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; positional $N argument.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the fleet-manager plugin — 1 skill, 17 commands, 1 agent shipped together

Good fit Use it to deploy newer container images for a Compose project and bring the updated services back up.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add CallMeTechie/fleet-manager
Claude Code
/plugin install fleet-manager

Made for: Claude Code.

Or install fleet-manager, the plugin that ships this one along with the rest of its 1 skill, 17 commands, 1 agent.

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 compose-update

README.md
[![agentmods](https://agentmods.dev/badge/commands/callmetechie/fleet-manager/compose-update/github.svg)](https://agentmods.dev/commands/callmetechie/fleet-manager/compose-update)
Your own site
<a href="https://agentmods.dev/commands/callmetechie/fleet-manager/compose-update"><img src="https://agentmods.dev/badge/commands/callmetechie/fleet-manager/compose-update/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 compose-update

Your own site · 80×15
<a href="https://agentmods.dev/commands/callmetechie/fleet-manager/compose-update"><img src="https://agentmods.dev/badge/commands/callmetechie/fleet-manager/compose-update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 673 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.00027 $0.00673
Opus 5.5 $0.00011 $0.00269
Sonnet 5.5 $0.00005 $0.00135
Haiku 4.5 $0.00003 $0.00067

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

Security

Grade A, and why

compose-update 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 3mo 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.

plugin/commands/compose-update.md · 53 lines

What it actually says

Compose Update

Recreates containers (destructive-ish). Critical projects: confirm via AskUserQuestion first, then run with --confirm=<project> (same rule as /compose-down).

set -euo pipefail
source "${CLAUDE_PLUGIN_ROOT:-plugin}/commands/_compose-lib.sh"

PROJECT=""; SERVER_ARG=""; TOKEN=""
set -f            # no globbing of unquoted $ARGUMENTS (review H2)
# shellcheck disable=SC2086  # intentional: split ARGUMENTS into positional params
set -- ${ARGUMENTS:-}
while [ $# -gt 0 ]; do
  case "$1" in
    --confirm=*) TOKEN="${1#*=}" ;;
    --*) echo "Unknown flag: $1" >&2; exit 1 ;;
    *) if [ -z "$SERVER_ARG" ]; then SERVER_ARG="$1"; else PROJECT="$1"; fi ;;
  esac
  shift
done
if [ -n "$SERVER_ARG" ] && [ -z "$PROJECT" ]; then PROJECT="$SERVER_ARG"; SERVER_ARG=""; fi
[ -n "$PROJECT" ] || { echo "Usage: /compose-update [server] <project> [--confirm=<project>]" >&2; exit 1; }
[[ "$PROJECT" =~ ^[A-Za-z0-9_.-]+$ ]] || { echo "Invalid project name" >&2; exit 1; }

NAME="$(resolve_server "$SERVER_ARG")"
build_ssh "$NAME"; echo_target "$NAME"
is_scope_authorized "$NAME" docker_compose || {
  echo "REFUSED: scope 'docker_compose' not authorized for '$NAME'." >&2; exit 1; }
resolve_docker_cmd "$NAME"; docker_precheck

ENTRY="$(compose_find_project "$PROJECT")"
[ -n "$ENTRY" ] || { echo "ERROR: project '$PROJECT' not found." >&2; exit 1; }
if is_protected_resource "$NAME" compose_project "$PROJECT"; then
  confirm_destructive "$PROJECT" "$TOKEN" || exit 1
fi

CFG_ARGS="$(compose_config_args "$(echo "$ENTRY" | jq -r '.ConfigFiles')")"
# shellcheck disable=SC2086
"${FM_SSH[@]}" "$FM_DOCKER compose $CFG_ARGS pull"
# shellcheck disable=SC2086
if "${FM_SSH[@]}" "$FM_DOCKER compose $CFG_ARGS up -d"; then RC=0; else RC=$?; fi
[ "$RC" -eq 0 ] || { echo "ERROR: compose up failed (exit $RC)." >&2; exit "$RC"; }
echo ""; echo "Verdict: updated '$PROJECT'."; compose_ls_json | jq -r --arg p "$PROJECT" '.[] | select(.Name==$p) | .Status' || echo "(state re-query failed — update was sent)"
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. 3mo ago First seen · 53 lines · 27 tokens per session scan A 2e7bac089007

Subscribe to this mod's changes

compose-update is a command published in the GitHub repository CallMeTechie/fleet-manager (1 stars, last pushed 3mo ago), licensed MIT. It adds 27 tokens to every session and 673 once invoked, about $0.0001 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-08-31.

Related

compose-update compared with commands from other repositories

compose-update next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
compose-updateCallMeTechie/fleet-managerCommand13mo agoMITA27Claude Code
bun:deploysecondsky/claude-skillsCommand257yesterdayMITA10Claude Code
envHigorAlves/orcCommand73d agoMITA34Claude Code
dockerfile-optimizesigistry/marketplaceCommand34d agoMITA15Claude Code
k8s-preflightsigistry/marketplaceCommand34d agoMITA14Claude Code
fr-initderio-net/super-frCommand1todayMITA87Claude Code, OpenCode
fr-isolationderio-net/super-frCommand1todayMITA93Claude Code, OpenCode