convex-deploy-guard

convex-deploy-guard is a skill for Claude Code, Codex from get-convex/agent-skills. It costs 36 tokens per session (804 once invoked), scanned A, a copy of convex-deploy-guard, Apache-2.0.

A safety guide for deploying a Convex app, including identifying the target environment and requiring extra approval for production changes.

In plain words
What is it for?
Checking where a deployment command will run, confirming production actions, and keeping deployment-related work read-only.
Why use it?
It helps prevent commands from affecting the wrong deployment, especially production. It can also keep a session limited to read-only work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Checking where a deployment command will run, confirming production actions, and keeping deployment-related work read-only.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/get-convex/agent-skills/convex-deploy-guard
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.

Any agent
npx skills add get-convex/agent-skills --skill convex-deploy-guard
Clone the repo
git clone --depth 1 https://github.com/get-convex/agent-skills

Made for: Claude Code, Codex.

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 convex-deploy-guard

README.md
[![agentmods](https://agentmods.dev/badge/skills/get-convex/agent-skills/convex-deploy-guard/github.svg)](https://agentmods.dev/skills/get-convex/agent-skills/convex-deploy-guard)
Your own site
<a href="https://agentmods.dev/skills/get-convex/agent-skills/convex-deploy-guard"><img src="https://agentmods.dev/badge/skills/get-convex/agent-skills/convex-deploy-guard/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.

agentmods 80×15 button for convex-deploy-guard

Your own site · 80×15
<a href="https://agentmods.dev/skills/get-convex/agent-skills/convex-deploy-guard"><img src="https://agentmods.dev/badge/skills/get-convex/agent-skills/convex-deploy-guard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 804 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 1 Aug 2026
  • Snyk pass 1 Aug 2026
How audits are shown
Origin 100% copy Near-identical to another mod 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.00036 $0.00804
Opus 5.5 $0.00014 $0.00322
Sonnet 5.5 $0.00007 $0.00161
Haiku 4.5 $0.00004 $0.00080

Measured 1mo ago against content hash 35acb5b1cd01, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

convex-deploy-guard 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 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.

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.

Origin

This is a copy

100% identical to convex-deploy-guard — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/convex-deploy-guard/SKILL.md · 30 lines

How it starts

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

Deployment target guard

Deployments are not interchangeable, and most incidents start with a command aimed at the wrong one. Every Convex project has several (personal dev, preview, prod — often across multiple projects on one machine). This guard is the standing discipline: identify, announce, then act — and treat prod as consent-gated, per action, per session.

Workflow

  1. IDENTIFY before you act: read CONVEX_DEPLOYMENT in .env.local, convex.json, and whether CONVEX_DEPLOY_KEY is set; or call the official Convex MCP status tool. Classify the target: local-anonymous | dev | preview | prod. If two sources disagree, resolve before proceeding.
  2. ANNOUNCE in one line before any deployment-affecting command: target: dev (joyful-capybara-123, personal dev). Never run the command in the same breath as discovering the target — announce first.
  3. PROD needs a FRESH explicit yes: before npx convex deploy (when it resolves to prod), npx convex run --prod, env set on prod, snapshot import/export on prod, or starting the MCP with prod access — state exactly what will change on which deployment and get an explicit yes in THIS session. A yes given earlier, or for a different target, does not carry.
  4. MCP safety defaults: start the official MCP scoped non-prod (--deployment dev). The two prod flags are DIFFERENT risk levels — keep them split: a read-only prod audit (advisor/insights reading data/logs/insights) passes ONLY --cautiously-allow-production-pii (read tools); --dangerously-enable-production-deployments (which enables MUTATING prod tools) stays OFF unless the user explicitly asked to CHANGE prod this session. Never pair them by default — 'look at prod' must not silently grant 'mutate prod'.
  5. READ-ONLY session mode: when the user says 'read-only' / 'don't change anything', honor it absolutely for the rest of the session — no deploy, no env set/remove, no mutations via run, no imports; start the MCP with --disable-tools run,envSet,envRemove.
  6. Wrong-deployment diagnosis: when a deploy 'didn't change anything', do NOT re-deploy harder. Re-run step 1 — the deploy almost certainly landed on a different deployment than the one being observed.
  7. Ambiguity = stop: if you cannot determine which deployment a command will hit, find out (status tool) — never guess.

Read the full file on GitHub · 30 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. 1mo ago Changed 35acb5b1cd01
  2. 3mo ago First seen · 30 lines · 36 tokens per session scan A 6d1750587b43

Subscribe to this mod's changes

convex-deploy-guard is a skill published in the GitHub repository get-convex/agent-skills (64 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 36 tokens to every session and 804 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to convex-deploy-guard, differing in 0 lines, and is treated as a copy.

Related

convex-deploy-guard compared with skills from other repositories

convex-deploy-guard next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
convex-deploy-guardget-convex/agent-skillsSkill641mo agoApache-2.0A36Claude Code, Codex
gke-compute-classesgoogle/skillsSkill25ktodayApache-2.0A83Claude Code, Codex
cloud-operator-admin-setupgoogle/skillsSkill25ktodayApache-2.0A115Claude Code, Codex
gke-reliabilitygoogle/skillsSkill25ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill25ktodayApache-2.0A171Claude Code, Codex
nemo-automodel-launcher-configNVIDIA/skillsSkill4.2ktodayApache-2.0A30Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA78Claude Code