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 RelationalAI/rai-agent-skills --skill rai-deploymentgit clone --depth 1 https://github.com/RelationalAI/rai-agent-skillsWrote 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/relationalai/rai-agent-skills/rai-deployment)<a href="https://agentmods.dev/skills/relationalai/rai-agent-skills/rai-deployment"><img src="https://agentmods.dev/badge/skills/relationalai/rai-agent-skills/rai-deployment/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/relationalai/rai-agent-skills/rai-deployment"><img src="https://agentmods.dev/badge/skills/relationalai/rai-agent-skills/rai-deployment.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.00114 | $0.03160 |
| Opus 5.5 | $0.00046 | $0.01264 |
| Sonnet 5.5 | $0.00023 | $0.00632 |
| Haiku 4.5 | $0.00011 | $0.00316 |
Grade A, and why
rai-deployment 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 17d 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.
How it starts
The opening of the file, as written. The whole thing — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.
RelationalAI Deployment (Path to Prod)
Covers the path from a built RelationalAI model to production: the rai models CLI (schema deployment + lifecycle). Built on the relationalai package (PyRel).
Early access. Deploy mode and semantic model management —
rai modelsdeploy and teardown — are early-access features (documented in the RAI docs' early-access section); the API, messages, and defaults may still change. Op-log recording is on by default.
Summary
What: Everything between a built model and production. You've built and validated a model; this skill ships it: deploy into a Snowflake schema, iterate on it, track every change in the op log, and tear it down safely.
When to use:
- Deploying a model to a Snowflake schema (
rai models deploy) and understanding what the op log records - Developing against a dev schema — the redeploy loop, refresh status, deploy warnings, and diagnosing a failed refresh or deploy
- Promoting a model from dev to prod (profiles, roles, CI)
- Removing a deployed model (
rai models teardown) - Upgrading a deployment from PyRel 1.x
When NOT to use:
- First-time install,
rai connect, orraiconfig.yamlauth/engine tuning — seerai-setup - Building or evolving the model itself (concepts, rules, queries) — see
rai-ontology,rai-pyrel - Diagnosing engine performance or failed transactions — see
rai-health
Overview: Read Quick Reference for the command surface, then Deploy for the foundation and The dev loop for how iteration and monitoring work, then load the reference matching the task (deploy and op log, dev loop/monitoring, deploy warnings, teardown, 1.x upgrade).
Prerequisites
relationalaiat the minimum inrai-setup(rai --version).- A reachable Snowflake connection (
rai connectpasses) and adeployment:section naming both schemas: a fully qualifieddeployment.public_schema(DB.SCHEMA) for the model's published views and tables, anddeployment.identity.internal_schemafor its internal objects and metadata. A section missing either fails at config load, and deploy pre-flight rejects a barepublic_schema. New projects use whatrai models initgenerates (<public_schema>_INTERNAL); for a 1.x deployment, see Upgrading a 1.x deployment. For install/auth, seerai-setup. - A model to deploy — a
.pymodel file or package, withmodel.pathset inraiconfig.yaml(or pass--path). Its outputs need a refresh schedule (deployment.schedules+deployment.schedule) or deploy refuses with "Unscheduled Outputs". - PyRel queries kept out of the model definition — the model file is loaded whole at deploy time.
- Prescriptive Problems deploy too (preview, Snowflake only): register each with
problem.configure(...)instead ofsolve()(rai-prescriptive-problem> Deploy Mode) and set the fourdeployment.pat_*fields after the one-time setup in prescriptive-deploy-setup.md.
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 17d ago Changed · -46 lines · -42 tokens per session 912f197a9692
- 1mo ago Changed · +37 lines · +33 tokens per session 28be52832a78
- 3mo ago First seen · 157 lines · 123 tokens per session scan A 8bb4ce0c1d03
rai-deployment is a skill published in the GitHub repository RelationalAI/rai-agent-skills (5 stars, last pushed 18d ago), licensed Apache-2.0. It adds 114 tokens to every session and 3,160 once invoked, about $0.0005 per session on Opus 5.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.
rai-deployment compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rai-deploymentRelationalAI/rai-agent-skills | Skill | 5 | 18d ago | Apache-2.0 | A | 114 | Claude Code |
| bigquery-migration-metadata-extractorgoogle/skills | Skill | 26k | today | Apache-2.0 | A | 188 | Claude Code, Codex |
| cloud-databases-onboardinggoogle/skills | Skill | 26k | today | Apache-2.0 | A | 83 | Claude Code, Codex |
| atlas-lakebaseariga/atlas | Skill | 8.9k | 4d ago | Apache-2.0 | A | 140 | Claude Code |
| azure-resource-manager-mysql-dotnetmicrosoft/skills | Skill | 3.3k | yesterday | MIT | A | 87 | Claude Code |
| azure-mgmt-mongodbatlas-dotnetmicrosoft/skills | Skill | 3.3k | yesterday | MIT | A | 64 | Claude Code |
| azure-resource-manager-redis-dotnetmicrosoft/skills | Skill | 3.3k | yesterday | MIT | A | 114 | Claude Code |