Borrowing it
Nothing to install: this file belongs to bybren-llc/safe-agentic-workflow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bybren-llc/safe-agentic-workflow/main/.gemini/commands/local/deploy.tomlgit clone --depth 1 https://github.com/bybren-llc/safe-agentic-workflowWrote 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/bybren-llc/safe-agentic-workflow/deploy)<a href="https://agentmods.dev/commands/bybren-llc/safe-agentic-workflow/deploy"><img src="https://agentmods.dev/badge/commands/bybren-llc/safe-agentic-workflow/deploy.svg" alt="Measured on agentmods" 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.00653 |
| Opus 5 | $0.00000 | $0.00327 |
| Sonnet 5 | $0.00000 | $0.00131 |
| Haiku 4.5 | $0.00000 | $0.00065 |
Grade B, and why
deploy scanned grade B with 2 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo lsof -i :3000 Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
!{curl -s http://localhost:3000/api/health 2>/dev/null | head -5 || echo "Health check pending"} How it starts
The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.
description = "Deploy latest Docker image to local Docker environment"
prompt = """
Local Deploy Command
Deploy the latest Docker image from container registry to your LOCAL machine's Docker.
Usage
/local:deploy # Deploy using dev mode (source-mounted, hot-reload)
/local:deploy --staging # Deploy using staging mode (self-contained, production-like)
/local:deploy --rebuild # Trigger CI build first, then deploy
Deployment Modes
| Mode | Use Case |
|---|---|
| Development | Active development with hot-reload |
| Staging | Production-like, self-contained, stable testing |
Workflow
1. Pre-Deployment Status Check
Get current running status:
!{docker ps --filter name={PROJECT_NAME} --format 'table {{.Names}}\t{{.Status}}' 2>/dev/null || echo "No containers found"}
Get current commit SHA:
!{docker inspect {PROJECT_NAME}-app 2>/dev/null | grep 'org.opencontainers.image.revision' | cut -d'"' -f4 || echo "No revision found"}
Get latest commit from main branch:
!{git log origin/main -1 --format='%h %s'}
2. Trigger Build (Conditional)
If --rebuild flag is present:
gh workflow run "Build and Push Docker Image" --ref main
Wait for workflow to complete (poll every 30 seconds).
3. Deploy Based on Mode
Staging Mode (--staging):
./scripts/dev-docker.sh deploy
Development Mode (default):
./scripts/dev-docker.sh pull
./scripts/dev-docker.sh restart
4. Verify Deployment
Check services started successfully:
!{docker ps --filter name={PROJECT_NAME} --format 'table {{.Names}}\t{{.Status}}' 2>/dev/null}
Verify health endpoint:
!{curl -s http://localhost:3000/api/health 2>/dev/null | head -5 || echo "Health check pending"}
5. Post-Deployment Monitoring
Check logs for startup issues:
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 · 123 lines · 0 tokens per session scan B feab6e4b598a
deploy is a command published in the GitHub repository bybren-llc/safe-agentic-workflow (406 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 653 tokens. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other commands, from other repositories
deployment
Basic production deployment setup for FastAPI applications.
dare-docker-compose
Este comando analisa a arquitetura definida no BLUEPRINT.md e gera um docker-compose.yml completo com todos os serviços necessários (App, DB, Cache, etc).
dare-dockerfile
Este comando analisa a stack do projeto (definida no DESIGN.md ou .cursorrules) e gera um Dockerfile otimizado para produção e desenvolvimento.
dare-docker
Containerização DARE com Dockerfile e docker-compose seguros, performantes e idiomáticos. Multi-stage, usuário não-root, healthchecks, redes isoladas.
secure-flow-harden-dockerfile-fips
Transform your Docker images to FIPS compliant by removing root users and ensuring security best practices. Make all production docker images in this repository FIPS compliant by hardening Dockerfiles and ensuring they do not run as root users.
application-crud
A command reference for creating and managing Coolify applications connected to private GitHub repositories. It covers application records, deployment settings, and common API errors.