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.
git clone --depth 1 https://github.com/gotempsh/tempsWrote 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/commands/gotempsh/temps/preview-gateway)<a href="https://agentmods.dev/commands/gotempsh/temps/preview-gateway"><img src="https://agentmods.dev/badge/commands/gotempsh/temps/preview-gateway/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/commands/gotempsh/temps/preview-gateway"><img src="https://agentmods.dev/badge/commands/gotempsh/temps/preview-gateway.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.00000 | $0.00905 |
| Opus 5.5 | $0.00000 | $0.00362 |
| Sonnet 5.5 | $0.00000 | $0.00181 |
| Haiku 4.5 | $0.00000 | $0.00090 |
Grade A, and why
preview-gateway 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
preview-gateway command reference
Apply the CLI runtime and safety contract before executing a command. Runtime --help is authoritative.
preview-gateway (alias: pgw)
Manage the preview gateway that serves workspace preview URLs (status, settings, logs, restart, upgrade)
Subcommands:
status- Show the gateway container's health, image and last setup errorsettings(show) - Show the gateway settings: enabled, image, host port, auto-upgrade, container name, and their defaultsconfigure(set) - Change gateway settings; only the flags you pass are changedlogs- Print the latest gateway container log linesrestart- Restart the gateway container (previews are briefly unavailable)upgrade- Pull an image and recreate the gateway with it (previews are briefly unavailable)
preview-gateway status
Show the gateway container's health, image and last setup error
Options:
| Flag | Description | Default | Required |
|---|---|---|---|
--json |
Output in JSON format | - | No |
preview-gateway settings (alias: show)
Show the gateway settings: enabled, image, host port, auto-upgrade, container name, and their defaults
Options:
| Flag | Description | Default | Required |
|---|---|---|---|
--json |
Output in JSON format | - | No |
preview-gateway configure (alias: set)
Change gateway settings; only the flags you pass are changed
Options:
| Flag | Description | Default | Required |
|---|---|---|---|
--enable |
Run the gateway (creates its containers) | - | No |
--disable |
Stop running the gateway (removes its containers; preview URLs stop being served) | - | No |
--image <ref> |
Gateway image to run, ideally an immutable @sha256 reference | - | No |
--reset-image |
Go back to the image pinned in this Temps build | - | No |
--host-port <port> |
Host port the ingress relay's :8080 is published on | - | No |
--auto-upgrade |
Apply the pinned image on every Temps startup (default) | - | No |
--no-auto-upgrade |
Leave the running image alone on startup; upgrade by hand | - | No |
--container-name <name> |
Docker container name; change only when several Temps instances share one Docker daemon | - | No |
--reset-container-name |
Go back to the default container name | - | No |
-y, --yes |
Do not ask before a change that interrupts previews (--disable, a new container name) | - | No |
--json |
Print the saved settings as JSON | - | No |
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.
- 3d ago First seen · 92 lines · 0 tokens per session scan A f8dc7d8710c8
preview-gateway is a command published in the GitHub repository gotempsh/temps (951 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 905 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-11-27.
preview-gateway compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| preview-gatewaygotempsh/temps | Command | 951 | today | Apache-2.0 | A | 0 | Claude Code |
| secrets-auditCooperUncouple/r03-anthropics-skills-devops | Command | 52 | 7mo ago | none | A | 0 | Claude Code |
| cost-optimizeChipSpiderWarm/r15-shanraisshan-claude-code-best-practice-devops | Command | 48 | 7mo ago | none | A | 0 | Claude Code |
| incident-runbookmixedkindweave/r05-jqueryscript-awesome-claude-code-devops | Command | 42 | 7mo ago | none | A | 0 | Claude Code |
| cost-optimizecentiofficermultiply/r17-behisecc-awesome-claude-skills-devops | Command | 43 | 7mo ago | none | A | 0 | Claude Code |
| sparc-devopsshyftlabs/continuum | Command | 86 | 3d ago | Apache-2.0 | A | 26 | Claude Code |
| sdlc-deploysaitarrun/Sdlc-ai-workflow | Command | 8 | 2mo ago | none | A | 30 | Claude Code |