deploy-local-image

A command for building a Docker image from local files and deploying it to a chosen project environment. Docker images package an application and its dependencies so they can run consistently.

In plain words
What is it for?
Use it to deploy an application from a Dockerfile, pass build settings, choose the project and environment, or automate deployments without waiting for completion.
Why use it?
It removes the need to build and upload an image, then start a deployment, as separate manual steps. It can also deploy an image that has already been built.

Command

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/gotempsh/temps/deploy-local-image
Clone the repo
git clone --depth 1 https://github.com/gotempsh/temps
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 429 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00429
Opus 5 $0.00000 $0.00215
Sonnet 5 $0.00000 $0.00086
Haiku 4.5 $0.00000 $0.00043

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

Security

Grade A, and why

deploy-local-image 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/temps/references/commands/deploy-local-image.md · 29 lines

What it actually says

deploy:local-image command reference

Apply the CLI runtime and safety contract before executing a command. Runtime --help is authoritative.

deploy:local-image (alias: deploy-local-image)

Build and deploy a local Docker image (or deploy existing image with --image)

Options:

Flag Description Default Required
--image <image> Use existing local image instead of building (skips build) - No
-f, --dockerfile <path> Path to Dockerfile Dockerfile No
-c, --context <path> Build context directory . No
--build-arg <arg...> Build arguments (can be specified multiple times) - No
--no-build Skip building, requires --image - No
-p, --project <project> Project slug or ID - No
-e, --environment <env> Target environment name production No
--environment-id <id> Target environment ID - No
-t, --tag <tag> Tag for the built/uploaded image - No
--no-wait Do not wait for deployment to complete - No
-y, --yes Skip confirmation prompts (for automation) - No
--metadata <json> Additional metadata (JSON format) - No
--health-check-path <path> HTTP health-check path (must start with "/", e.g. /api/healthz). Overrides .temps.yaml; also updates the uptime monitor. - No
--timeout <seconds> Timeout in seconds for --wait 600 No
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 · 29 lines · 0 tokens per session scan A f97d8b5c3bc0

Subscribe to this mod's changes

deploy-local-image is a command published in the GitHub repository gotempsh/temps (700 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 429 tokens. 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-30.