Skip to content

Install skill files

Skills enable your coding agent to leverage the decision intelligence capabilities of RelationalAI. By installing the RelationalAI agent skills, your agent can understand and interact with RAI models, execute queries, perform analyses, and more — all through natural language prompts.

Assumes relationalai (PyRel) v1.0.13+

The RelationalAI Native App for Snowflake must be installed in your account by an administrator.

The rai_developer role is needed to execute PyRel programs.

Note: For most coding agents, the installed skills will be available in your next session.

  • Ask your agent to copy the contents of this repo’s skills folder into its skills folder.
  • Vercel’s skills CLI (requires npm v5.2.0+) helps you manage & update skills for most coding agents.
Terminal window
npx skills add RelationalAI/rai-agent-skills --skill '*'
# optionally specify an agent
npx skills add RelationalAI/rai-agent-skills --skill '*' --agent cortex

Follow these instructions to point at this repo.

Also see this quick video for an overview.

Example:

/plugin marketplace add RelationalAI/rai-agent-skills
/plugin install rai@RelationalAI
# or use the wizard
/plugin

Restart your session after installing.

Claude Code skills

Follow these instructions.

In short, clone this repo to your file system then use the /skill dialog to add the skills folder.

Cortex skills

Follow these instructions to point at this repo.

Example:

settings.json
"chat.plugins.marketplaces": [
"RelationalAI/rai-agent-skills"
]

Follow these instructions.

In short, specify this repo’s URL https://github.com/RelationalAI/rai-agent-skills.git as a Remote Rule (Github).

Follow these instructions.

In short, download this repo’s contents and ask your agent to copy the skills repo contents to the .agents/skills in your working repo root directory

  1. Open the Claude Desktop app and go to Customize in the left sidebar.
  2. Under Plugins, browse the directory and find Rai by RelationalAI.
  3. Click to install, then toggle the plugin on.

Alternatively, you can download this repo’s contents and copy the skills into the Claude app.

Claude Desktop plugin directory

Invoke the skills using the /rai- command.

#SkillAreaDescription
1rai-onboardingSetupFirst-time setup — install, connect to Snowflake, validate
2rai-configurationSetupConfig files, connections, authentication, model and engine settings
3rai-pyrel-codingDevelopmentLanguage syntax — imports, types, concepts, properties, data loading
4rai-build-starter-ontologyOntologyBuild a first ontology from Snowflake tables or local data
5rai-ontology-designOntologyDomain modeling — concepts, relationships, data mapping, enrichment
6rai-rules-authoringOntologyBusiness rules as PyRel derived properties — validation, classification, alerting
7rai-queryingReasoningQuery construction — aggregation, filtering, joins, ordering, export
8rai-discoveryReasoningSurface answerable questions, classify by reasoner type, route to workflow
9rai-graph-analysisReasoningGraph algorithms — centrality, community detection, reachability, similarity
10rai-prescriptive-problem-formulationReasoningFormulate optimization — decision variables, constraints, objectives
11rai-prescriptive-solver-managementReasoningSolver lifecycle — selection, creation, execution, diagnostics
12rai-prescriptive-results-interpretationReasoningPost-solve — solution extraction, status codes, quality, sensitivity
13rai-cortex-integrationOperationsDeploy RAI models as Snowflake Cortex Agents
14rai-health-skillOperationsDiagnose engine performance — memory, CPU, demand metrics, remediation