Borrowing it
Nothing to install: this file belongs to techequitycloud/rad-modules. 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/techequitycloud/rad-modules/main/.claude/commands/deploy-test.mdgit clone --depth 1 https://github.com/techequitycloud/rad-modulesWrote 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/techequitycloud/rad-modules/deploy-test)<a href="https://agentmods.dev/commands/techequitycloud/rad-modules/deploy-test"><img src="https://agentmods.dev/badge/commands/techequitycloud/rad-modules/deploy-test/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/techequitycloud/rad-modules/deploy-test"><img src="https://agentmods.dev/badge/commands/techequitycloud/rad-modules/deploy-test.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.00933 |
| Opus 5.5 | $0.00000 | $0.00373 |
| Sonnet 5.5 | $0.00000 | $0.00187 |
| Haiku 4.5 | $0.00000 | $0.00093 |
Grade A, and why
deploy-test scanned grade A with 1 finding 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 1mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- For an exposed endpoint, curl the ingress IP for an HTTP 200 where applicable. What it actually says
Guided deployment and test campaign for one or more rad-modules modules: $ARGUMENTS
$ARGUMENTS is a comma/space-separated list of module names (e.g. "Istio_GKE", "Bank_GKE
EKS_GKE"). If empty, include every deployable module under modules/.
Deployments go through rad-launcher (rad-launcher/radlab.py), which stores Terraform
state in a GCS bucket — state is never kept in the repo.
PHASE 1 — CONFIGURE
Resolve campaign parameters from the environment, prompting for anything missing:
export PROJECT_ID="${RAD_PROJECT_ID:-$(gcloud config get-value project 2>/dev/null)}"
export STATE_BUCKET="${RAD_STATE_BUCKET:-${PROJECT_ID}-radlab-tfstate}"
export RESOURCE_CREATOR_IDENTITY="${RESOURCE_CREATOR_IDENTITY:-}"
Display the resolved values and confirm before continuing:
Campaign parameters
Project: $PROJECT_ID
State bucket: $STATE_BUCKET (must exist; create with: gcloud storage buckets create gs://$STATE_BUCKET)
Creator SA: $RESOURCE_CREATOR_IDENTITY (blank = caller ADC)
Confirm prerequisites are installed once: cd rad-launcher && python3 installer_prereq.py.
It must run from inside rad-launcher/ — it invokes requirements.txt, opentofu_installer.py
and cloudsdk_kubectl_installer.py by CWD-relative path.
PHASE 2 — RESOLVE MODULE LIST
Scan modules/ for deployable directories (has main.tf/variables.tf). Apply the $ARGUMENTS
filter; report "Unknown module: " for any token without a directory.
For each selected module, read variables.tf for REQUIRED inputs (declared type, no default) beyond the standard set, and for any cloud credentials it needs:
- AKS_GKE: Azure
client_id,client_secret,azure_tenant_id,subscription_id(via tfvars orARM_*env vars — never hardcode). - EKS_GKE: AWS
aws_access_key/aws_secret_key; Migration_Center:aws_access_key_id/aws_secret_access_key(via tfvars orAWS_*env vars). For each module, prepare a minimal tfvars file capturing project_id, deployment_id (optional), and any required inputs. Report any input you cannot fill so the user can supply it.
PHASE 3 — DEPLOY (one module at a time)
Deploy modules SERIALLY — each GKE-based module provisions a cluster and post-provisioning installers; running several at once contends on cluster operations. For each module:
python3 rad-launcher/radlab.py \
-m <Module> -a create \
-p "$PROJECT_ID" -b "$STATE_BUCKET" \
-f /path/to/<module>.tfvars
Stream the output. On failure, capture the error, classify it (auth/quota/API/timeout vs a real module bug), and report — do not silently retry destructive operations.
PHASE 4 — VERIFY
After a successful create, sanity-check the deployment:
- Read the module outputs (
deployment_id,project_id, and any endpoint output). - For GKE modules, fetch credentials and confirm core workloads are Ready
(
kubectl get pods -A), e.g. Bank of Anthos frontend, Istio ingressgateway. - For an exposed endpoint, curl the ingress IP for an HTTP 200 where applicable. Record PASS/FAIL per module with the evidence (the failing pod, the HTTP status).
PHASE 5 — DESTROY (if this is a create→destroy test)
python3 rad-launcher/radlab.py \
-m <Module> -a delete \
-p "$PROJECT_ID" -b "$STATE_BUCKET" \
-f /path/to/<module>.tfvars
Confirm destroy completes cleanly (best-effort destroy provisioners may print warnings — that is expected). Verify no orphaned clusters/networks remain.
REPORT
Per module: deploy result, verify result (with evidence), destroy result, and any bug found with a concrete fix suggestion. Summarise as a table at the end.
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.
- 1mo ago First seen · 99 lines · 0 tokens per session scan A 5f6f08ee866e
deploy-test is a command published in the GitHub repository techequitycloud/rad-modules (2 stars, last pushed yesterday), licensed MPL-2.0. It costs nothing until one of its globs matches a file; then it loads 933 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
cost-optimize
Reduce cloud costs across AWS, Azure, and GCP through rightsizing, reserved and spot capacity, storage tuning, and cost monitoring.
deploy
Deploy a frontend (React, Next.js, or static HTML) to a live URL on Butterbase.
env
Manage Vercel environment variables. Commands include list, pull, add, remove, and diff. Use to sync environment variables between Vercel and your local development environment.
firebase-publish
Create or reuse a Firebase project, configure Hosting, and deploy the current static site. Never deletes.
scan
Scan AWS account for cost optimization.
migration
Generate Prisma database migration.