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.5 $0.00089 $0.01837
Sonnet 5.5 $0.00044 $0.00919
Haiku 4.5 $0.00022 $0.00459

Measured 3mo ago against content hash b49b4625f199, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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. 3mo 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 (5 stars, last pushed 18d ago), licensed Apache-2.0. It adds 222 tokens to every session and 4,593 once invoked, about $0.0009 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-09-04.

Related

rai-predictive-task-generation compared with skills from other repositories

rai-predictive-task-generation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rai-predictive-task-generationRelationalAI/rai-agent-skillsSkill518d agoApache-2.0A222Claude Code
embeddingsruvnet/rufloSkill83kyesterdayMITA62Claude Code
rag-pineconedavila7/claude-code-templatesSkill35kyesterdayMITA65Claude Code, Codex
ingesting-into-data-lakeaws/agent-toolkit-for-awsSkill3.8ktodayApache-2.0A228Claude Code
graphjin-envdosco/graphjinSkill3.2k7d agoApache-2.0A61Claude Code, Codex
similarity-search-patternsforyourhealth111-pixel/Vibe-SkillsSkill3.9k26d agoApache-2.0A30Claude Code, Codex
qdrant-search-quality-diagnosistruera/trulensSkill3.7kyesterdayMITA104Claude Code, Codex