Borrowing it
Nothing to install: this file belongs to SumoLogic/sumologic-documentation. 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/SumoLogic/sumologic-documentation/main/.claude/commands/stage-teardown.mdgit clone --depth 1 https://github.com/SumoLogic/sumologic-documentationWrote 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/sumologic/sumologic-documentation/stage-teardown)<a href="https://agentmods.dev/commands/sumologic/sumologic-documentation/stage-teardown"><img src="https://agentmods.dev/badge/commands/sumologic/sumologic-documentation/stage-teardown/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/sumologic/sumologic-documentation/stage-teardown"><img src="https://agentmods.dev/badge/commands/sumologic/sumologic-documentation/stage-teardown.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.00359 |
| Opus 5.5 | $0.00000 | $0.00144 |
| Sonnet 5.5 | $0.00000 | $0.00072 |
| Haiku 4.5 | $0.00000 | $0.00036 |
Grade A, and why
stage-teardown 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 2mo 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.
What it actually says
Stage Teardown — Remove a Staging Deployment
Delete a staging branch to free the shared Pantheon staging slot.
When to use this command
- External review is complete and the staging branch is no longer needed.
- A PR was closed or merged and the staging slot should be cleared for the next deployment.
Usage
/stage-teardown {pr-number-or-branch}
Examples:
/stage-teardown 6701/stage-teardown docs-update-jira-skill-fields
Workflow
Step 1: Resolve to staging branch name
- If input is numeric: staging branch is
staging/pr-{number}. - If input is a branch name: look up the PR number with
gh pr list --head {branch} --json number --jq '.[0].number', then usestaging/pr-{number}.
Step 2: Verify the branch exists
git ls-remote --heads origin refs/heads/staging/pr-{number}
If the branch is not found, inform the user and exit — nothing to delete.
Step 3: Delete the staging branch
git push origin --delete staging/pr-{number}
Step 4: Post PR comment
Post a comment on the PR confirming the staging branch was deleted and noting that the staging URL may still serve the old build until the next deployment.
Limitations
- No Slack notifications from this command: out of scope. Claude Code running locally can't read the
WEBOPS_SLACK_URLwebhook, or any Slack bot token, from GitHub Actions secrets — secrets are write-only once set. The PR comment in Step 4 covers coordination instead.
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.
- 2mo ago First seen · 48 lines · 0 tokens per session scan A 49ad752587fc
stage-teardown is a command published in the GitHub repository SumoLogic/sumologic-documentation (42 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 359 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.
stage-teardown compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| stage-teardownSumoLogic/sumologic-documentation | Command | 42 | yesterday | MIT | A | 0 | Claude Code |
| implement-featureHoangNguyen0403/agent-skills-standard | Command | 583 | yesterday | MIT | A | 0 | Claude Code |
| session-reporttdimino/claude-code-minoan | Command | 41 | yesterday | MIT | A | 0 | Claude Code |
| pr-readycostajohnt/oss-autopilot | Command | 26 | 4d ago | MIT | A | 45 | Claude Code |
| releasejezweb/claude-skills | Command | 1.1k | 28d ago | MIT | B | 7 | Claude Code |
| prepare-releasesaeedkolivand/ai-job-hunter-app | Command | 63 | yesterday | Apache-2.0 | A | 20 | Claude Code |
| deployNickRomanek/clawbridge | Command | 23 | 19d ago | Apache-2.0 | A | 0 | Claude Code |