rai-predictive-task-generation

rai-predictive-task-generation is a skill for Claude Code from RelationalAI/rai-agent-skills. It costs 222 tokens per session (4,593 once invoked), scanned A, original, Apache-2.0.

A generator for Snowflake SQL tables that label data for six predictive-modeling tasks, including classification, regression, and link prediction.

In plain words
What is it for?
Use it to create or modify task tables for goals such as churn prediction, category prediction, numeric prediction, or predicting relationships between records.
Why use it?
It turns source Snowflake tables into the single labelled table that a predictive model expects, reducing setup work and schema mistakes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the rai plugin — 12 skills shipped together

Good fit Use it to create or modify task tables for goals such as churn prediction, category prediction, numeric prediction, or predicting relationships between records.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/relationalai/rai-agent-skills/rai-predictive-task-generation
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 RelationalAI/rai-agent-skills --skill rai-predictive-task-generation
Clone the repo
git clone --depth 1 https://github.com/RelationalAI/rai-agent-skills

Made for: Claude Code.

Or install rai, the plugin that ships this one along with the rest of its 12 skills.

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 rai-predictive-task-generation

README.md
[![agentmods](https://agentmods.dev/badge/skills/relationalai/rai-agent-skills/rai-predictive-task-generation/github.svg)](https://agentmods.dev/skills/relationalai/rai-agent-skills/rai-predictive-task-generation)
Your own site
<a href="https://agentmods.dev/skills/relationalai/rai-agent-skills/rai-predictive-task-generation"><img src="https://agentmods.dev/badge/skills/relationalai/rai-agent-skills/rai-predictive-task-generation/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 rai-predictive-task-generation

Your own site · 80×15
<a href="https://agentmods.dev/skills/relationalai/rai-agent-skills/rai-predictive-task-generation"><img src="https://agentmods.dev/badge/skills/relationalai/rai-agent-skills/rai-predictive-task-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 222 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,593 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.
Origin original No closer match found 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.00222 $0.04593
Opus 5 $0.00111 $0.02296
Sonnet 5 $0.00044 $0.00919
Haiku 4.5 $0.00022 $0.00459

Measured 8d ago against content hash b49b4625f199, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

rai-predictive-task-generation 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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/validate_schema.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/rai/skills/rai-predictive-task-generation/SKILL.md · 238 lines

How it starts

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

RAI Predictive Task Table Generator

Summary

What: Produces a prediction task table for a predictive-modeling framework (e.g. GNN) — a Snowflake SQL script that materializes a single labelled table conforming to the schema contract for one of six task types: binary, multiclass, and multilabel classification, regression, link prediction, and repeated link prediction.

When to use: whenever the user wants to create, scaffold, or modify a task table for any of the six task types — "build a task table", "set up a prediction task", "churn prediction task", "link prediction labels" — or has source tables and a prediction goal but doesn't yet know which task type fits.

When NOT to use:

  • Building the model's graph/data model from the task table once it exists in Snowflake — that's rai-predictive-modeling.
  • Training the model, generating predictions, or evaluating results — that's rai-predictive-training.
  • Constructing features — the framework builds those downstream from the task table; this skill only produces the labelled rows and join key.

Overview: this skill has two sub-skills sharing everything below plus the reference files in references/:

Sub-skill When Entry point
guided User wants to confirm each decision (table roles, task type, configuration) before any SQL is generated references/GUIDED.md
one-shot User wants the table built quickly with minimal back-and-forth; requires a live Snowflake connection references/ONE_SHOT.md

This top-level SKILL.md asks which mode to use, then hands off to the matching sub-skill for the rest of the session.

Choose a workflow mode

Before anything else — whether the invocation is bare or already includes a data/task description — send this as its own standalone message. Nothing else goes in this message: no greeting, no data request, no SQL.


Predictive Task Table Builder

Read the full file on GitHub · 238 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. 8d ago First seen · 238 lines · 222 tokens per session scan A b49b4625f199

Subscribe to this mod's changes

rai-predictive-task-generation is a skill published in the GitHub repository RelationalAI/rai-agent-skills (4 stars, last pushed 2d ago), licensed Apache-2.0. It adds 222 tokens to every session and 4,593 once invoked, about $0.0011 per session on Opus 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-09-04.

Related

Other skills, from other repositories

pinecone

Managed vector DB for production RAG and search.

NousResearch/hermes-agent · 13 tokens

embeddings

Vector embeddings with HNSW indexing, sql.js persistence, and hyperbolic support. 75x faster with agentic-flow integration. Use when: semantic search, pattern matching, similarity queries, knowledge retrieval. Skip when: exact text matching, simple lookups, no semantic understanding needed.

ruvnet/ruflo · 62 tokens

data-engineer

Build scalable data pipelines, modern data warehouses, and real-time streaming architectures. Implements Apache Spark, dbt, Airflow, and cloud-native data platforms.

davila7/claude-code-templates · 35 tokens

graphjin-env

Use when setting up a training or evaluation loop against a GraphJin agent environment — running the container, reading /health, driving episodes hosted or step-by-step or with your own agent over MCP, splitting train from eval, exporting trajectories, and deciding whether two rewards can be compared.

dosco/graphjin · 61 tokens

ingesting-into-data-lake

Import data into the AWS data lake from S3 files, local uploads, JDBC databases (Oracle, SQL Server, PostgreSQL, MySQL, RDS, Aurora), Amazon Redshift, Snowflake, BigQuery, DynamoDB, or existing Glue catalog tables (migration). Default target is S3 Tables; standard Iceberg on a general purpose bucket is supported where…

aws/agent-toolkit-for-aws · 228 tokens

similarity-search-patterns

Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.

foryourhealth111-pixel/Vibe-Skills · 30 tokens