20-launch-trigger-and-monitor-launch-deployments

20-launch-trigger-and-monitor-launch-deployments is a cursor rule for Cursor from contentstack/contentstack-agent-skills. It costs 1,197 tokens per session, scanned A, original, MIT.

A deployment workflow that starts a Launch deployment for a chosen project environment and checks its status until it finishes.

In plain words
What is it for?
Use it in release or CI/CD workflows to deploy to a known environment, wait for a final result, validate production targets, and summarize likely failure causes.
Why use it?
It removes manual status polling and retrieves deployment logs when a run fails or is cancelled, making diagnosis easier.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it in release or CI/CD workflows to deploy to a known environment, wait for a final result, validate production targets, and summarize likely failure causes.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/contentstack/contentstack-agent-skills/20-launch-trigger-and-monitor-launch-deployments
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.

Clone the repo
git clone --depth 1 https://github.com/contentstack/contentstack-agent-skills

Made for: Cursor.

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 20-launch-trigger-and-monitor-launch-deployments

README.md
[![agentmods](https://agentmods.dev/badge/rules/contentstack/contentstack-agent-skills/20-launch-trigger-and-monitor-launch-deployments.svg)](https://agentmods.dev/rules/contentstack/contentstack-agent-skills/20-launch-trigger-and-monitor-launch-deployments)
Your own site
<a href="https://agentmods.dev/rules/contentstack/contentstack-agent-skills/20-launch-trigger-and-monitor-launch-deployments"><img src="https://agentmods.dev/badge/rules/contentstack/contentstack-agent-skills/20-launch-trigger-and-monitor-launch-deployments.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,197 This file is loaded in full into every session.
When invoked 1,197 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.01197 $0.01197
Opus 5 $0.00598 $0.00598
Sonnet 5 $0.00239 $0.00239
Haiku 4.5 $0.00120 $0.00120

Measured 8d ago against content hash 718a65baadc2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

20-launch-trigger-and-monitor-launch-deployments 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 8d 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.

cursor/rules/20-launch-trigger-and-monitor-launch-deployments.mdc · 152 lines

How it starts

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

Trigger and Monitor Launch Deployments

Description

Trigger a Launch deployment for a specific environment, then poll its status until completion. If the deployment fails or is cancelled, fetch the deployment log and diagnose likely causes with next-step recommendations.

When to Use

Use when you need to automate Launch deployments for a known project and environment, monitor progress, and surface failure diagnostics. This is appropriate for CI/CD or operator workflows that need a deterministic deploy status check and log-based troubleshooting.

User Problem

Users need a reliable way to start a deployment in Launch, track it to completion, and quickly understand why it failed if it does. The skill should reduce manual polling and make deployment failures actionable.

Success Criteria

Deployment is triggered against the intended project and environment. Status is polled at a fixed interval until a terminal state is reached. The process exits non-zero on failed or cancelled deployments. If the deployment fails, the deployment log is retrieved and summarized with likely causes and next steps. Production targets are validated and require explicit confirmation before deployment.

Expected Inputs

  • project_uid
  • environment_uid
  • Optional deployment payload or build reference
  • Confirmation for production deployment when applicable
  • Any available context about the app, branch, or build source

Expected Outputs

  • Deployment UID and initial trigger response
  • Current status updates during polling
  • Terminal status and exit code
  • Deployment log summary when failures occur
  • Recommended next steps and probable root cause

Example User Requests

  • Trigger a deployment for project abc123 in environment prod456 and watch it until it finishes.
  • Deploy the latest build to staging and tell me if it fails.
  • If the deployment fails, check the logs and explain what went wrong.
  • Poll a Launch deployment every 10 seconds and exit non-zero on failure.

Read the full file on GitHub · 152 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. 8d ago First seen · 152 lines · 1,197 tokens per session scan A 718a65baadc2

Subscribe to this mod's changes

20-launch-trigger-and-monitor-launch-deployments is a cursor rule published in the GitHub repository contentstack/contentstack-agent-skills (5 stars, last pushed 21d ago), licensed MIT. It adds 1,197 tokens to every session, about $0.0060 per session on Opus 5. 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-31.