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.
npx skills add CueCrux/Crux --skill pre-deploy-gategit clone --depth 1 https://github.com/CueCrux/CruxWrote 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/skills/cuecrux/crux/pre-deploy-gate)<a href="https://agentmods.dev/skills/cuecrux/crux/pre-deploy-gate"><img src="https://agentmods.dev/badge/skills/cuecrux/crux/pre-deploy-gate/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/skills/cuecrux/crux/pre-deploy-gate"><img src="https://agentmods.dev/badge/skills/cuecrux/crux/pre-deploy-gate.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.00176 | $0.00707 |
| Opus 5.5 | $0.00070 | $0.00283 |
| Sonnet 5.5 | $0.00035 | $0.00141 |
| Haiku 4.5 | $0.00018 | $0.00071 |
Grade A, and why
pre-deploy-gate 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.
- Smoke probe immediately after: `curl /readyz`, then one substantive endpoint. How it starts
The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pre-Deploy Gate
Before deploying to a prod target (corecrux-gpu-1, cuecrux-data-1, container images, hosted
daemons), run this checklist. Every item must pass before the deploy step.
This is the Insights-report Deployment Gate snippet, which attributed ~978 wasted compute hours to
prerequisite mismatches. Check every item against the target itself, not against your assumptions
about the target.
Migration state
- All DB migrations present in order. List them:
ls db/migrations/(or equivalent) and confirm contiguous numbering. - Recent migrations applied locally and idempotent on re-run.
- No pending migration referenced in code but missing from the migration directory.
Environment
- Required env vars present in the target's env (
CRUX_AGENT_TOKEN,CORECRUXD_AUTH_MODE,DATABASE_URL, etc.). Do not assume the prod env mirrors local. - Secrets sourced from passport-derived envelopes or vault — never
cat'd into a file you write. - Disk + memory headroom checked:
df -hshows >10% free on the data partition;free -gshows headroom for the build process.
Process management
- Background workers have a documented stop command. Don't
kill -9a partially-flushed writer.
The process-detachment triad for long-running jobs is not deploy-scoped, so it stays in CLAUDE.md
rather than being restated here — it has to be in context before this skill would ever load.
Deploy command discipline
- Use
cargo-deploy(with--backup-binary) — not barecargo build --release. Bare-cargo on prod bypasses drift tracking. - After deploy: run
corecruxd-deploy-auditto confirm running binary sha matches the latest tag. - Smoke probe immediately after:
curl /readyz, then one substantive endpoint.
When something fails
- Don't retry blindly. Check logs (
journalctl -u corecruxdor container logs) before the next attempt. - Capture the failure as a Crux fact:
store_fact(entity="incident:<YYYY-MM-DD>", value={symptom, cause, fix_sha, repro_steps}).
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 · 48 lines · 176 tokens per session scan A 5fca55d1fa2a
pre-deploy-gate is a skill published in the GitHub repository CueCrux/Crux (2 stars, last pushed today), licensed Apache-2.0. It adds 176 tokens to every session and 707 once invoked, about $0.0007 per session on Opus 5.5. 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 skills, from other repositories
langbot-deploy
Deploy and configure a LangBot instance — Docker / Docker Compose, Kubernetes, the config.yaml model, the Box sandbox runtime, the plugin runtime, and the global API key. Use when installing, deploying, upgrading, or configuring LangBot in production or self-hosted environments. Triggers on "deploy langbot", "langbot…
compute-env-setup
Set up a compute environment on a remote provider so Claude Science jobs can run there. Covers direct SSH/conda hosts, Slurm clusters, container-via-bridge runners, and managed-API providers (Modal, GCP, RunPod). Use when standing up a new provider, porting an env to a different backend, adding a tool that needs its…
deployment
Deploy Memoria with Docker Compose or Kubernetes. Environment variables, multi-instance setup, security. Use when deploying or configuring Memoria.
plur-create-engrams
Create or improve PLUR engrams from conversations, documents, decisions, observations, and explicit preferences. Use for memory extraction, engram authoring, or reviewing proposed memories, including global, scoped, pinned, retrieved, and provisional knowledge. Ordinary use of existing memories does not require this…
plur-memory
Persistent learning for AI agents. Open engram format. Your agent learns from corrections, remembers across sessions, and transfers knowledge across domains.
plur-session-end
Extract durable learnings at the end of a session. Saves corrections, preferences, and codebase patterns as engrams — nothing ephemeral, nothing sensitive.