status

status is a command for Gemini CLI from bybren-llc/a-safe-pulse. It costs 0 tokens per session (678 once invoked), scanned A, a copy of status, MIT.

A command that compares a Docker container running on a remote host with the latest image available in the registry. Docker packages an application and its dependencies so it can run consistently.

In plain words
What is it for?
Use it to check the running container, compare its commit with the latest branch and GitHub Actions build, and determine whether an update may be needed.
Why use it?
It helps identify whether the remote development or staging environment is behind the latest built image.

Command for Gemini CLI

Written for Gemini CLI: installed under .gemini/.

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.

agentmods
npx agentmods add commands/bybren-llc/a-safe-pulse/status
Clone the repo
git clone --depth 1 https://github.com/bybren-llc/a-safe-pulse

Made for: Gemini CLI.

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 status

README.md
[![agentmods](https://agentmods.dev/badge/commands/bybren-llc/a-safe-pulse/status.svg)](https://agentmods.dev/commands/bybren-llc/a-safe-pulse/status)
Your own site
<a href="https://agentmods.dev/commands/bybren-llc/a-safe-pulse/status"><img src="https://agentmods.dev/badge/commands/bybren-llc/a-safe-pulse/status.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 678 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 95% copy Near-identical to another mod 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.00000 $0.00678
Opus 5 $0.00000 $0.00339
Sonnet 5 $0.00000 $0.00136
Haiku 4.5 $0.00000 $0.00068

Measured yesterday against content hash c6619e13af03, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

status 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 yesterday.

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.

Origin

This is a copy

95% identical to status — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.gemini/commands/remote/status.toml · 109 lines

How it starts

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

description = "Check if remote Docker environment needs updating"

prompt = """

Remote Status Command

Compare the Docker image running on your remote host with the latest image in the registry.

Deployment Modes

Mode Container Name Port Use Case
Development {PROJECT}-dev 3000 Hot-reload, source-mounted, local dev tools
Staging {PROJECT}-staging 3001 Production-like, self-contained, stable

Workflow

1. Get Running Container Info

Check running container on remote host via SSH:

ssh -i {SSH_KEY_PATH} {REMOTE_USER}@{REMOTE_HOST} "docker ps --filter name={PROJECT} --format 'table {{.Names}}\t{{.Image}}\t{{.Status}}'"

Extract commit SHA from running container:

ssh -i {SSH_KEY_PATH} {REMOTE_USER}@{REMOTE_HOST} "docker inspect {CONTAINER_NAME} | grep 'org.opencontainers.image.revision'"

2. Get Latest Registry Image Info

Check latest commit on your dev branch:

!{git fetch origin dev && git log origin/dev -1 --format='%H %s'}

Check latest GitHub Actions build status:

!{gh run list --workflow="Build and Push Docker Image" --limit 3 2>/dev/null || echo "Check CI manually"}

3. Compare and Report Status

If commit SHAs match:

  • Remote host is up-to-date
  • Report current version info
  • Show uptime
  • No action needed

If commit SHAs differ:

  • Update available
  • Show current vs latest commits
  • Check if CI build is complete
  • If build in progress: show estimated completion
  • If build complete: provide deployment command

4. Output Format

Display comprehensive status:

Docker Image Status Check

Remote Environment (Running):
Container: {CONTAINER_NAME}
Status:    Up 7 hours (healthy)
Commit:    e9722d4 - previous commit message

Container Registry (Latest):
Commit:    3a49b85 - latest commit message
Build:     Complete (31 seconds ago)
Status:    Ready to deploy

Result: UPDATE AVAILABLE

To deploy update: /remote:deploy

Read the full file on GitHub · 109 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. yesterday First seen · 109 lines · 0 tokens per session scan A c6619e13af03

Subscribe to this mod's changes

status is a command published in the GitHub repository bybren-llc/a-safe-pulse (9 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 678 tokens. A static security scan graded it A with 0 findings. It is 95% identical to status, differing in 4 lines, and is treated as a copy.