Skip to content
Back to skills

Kumoai Reference

ASecurity

Reference for translating a validated ML request into KumoAI graph configuration, PQL (predictive query language), and Kumo Predict SDK code. Normally loaded by the kumo-data-science skill after its intake checks pass, rather than invoked directly. Triggers: kumo graph, PQL, predictive query, kumo.Table, kumo.Graph, kumo.Trainer, kumo sdk.

  • 4,297 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 20, 2026
ai-agentspythonnodeapibackenddocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 11 files and shows the line behind each finding

Scanned November 20, 2026

npx -y skills add NVIDIA/skills --skill kumoai-reference --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Kumoai Reference?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Kumoai Reference
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nvidia-kumoai-reference/badge)](https://www.skillsdirectory.com/skills/nvidia-kumoai-reference)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: kumoai-reference
description: "Reference for translating a validated ML request into KumoAI graph configuration, PQL (predictive query language), and Kumo Predict SDK code. Normally loaded by the kumo-data-science skill after its intake checks pass, rather than invoked directly. Triggers: kumo graph, PQL, predictive query, kumo.Table, kumo.Graph, kumo.Trainer, kumo sdk."
---

# KumoAI Reference Skill

**Load this skill only after a request has passed all checks in `kumo-data-science/SKILL.md`.**

This skill provides reference docs for translating a validated, structured ML request into KumoAI graph configuration, PQL, and KumoSDK code.

---

## What's in this skill

| Document | Purpose |
|---|---|
| `kumoai-reference/references/graph_construction.md` | How to map tables → Kumo nodes and edges |
| `kumoai-reference/references/pql_writing.md` | Writing Prediction Query Language for the validated task |
| `kumoai-reference/references/kumo_finetuning_sdk.md` | Kumo Predict SDK API and version-matched code generation |
| `kumoai-reference/references/task_journeys.md` | Per-task flow: options for `predict`, forecasting's generation plan, embeddings |
| `kumoai-reference/references/outputs.md` | Write modes, APPEND columns, embeddings, read-back |
| `kumoai-reference/references/troubleshooting_signals.md` | Known errors at graph/PQL generation time |

---

## Provenance of every claim

**The published Kumo documentation is out of date for this version of the local SDK and is not a
source here.** Do not cite it, link to it, fetch it, or reconcile against it. If a claim in these
files has no `Source:` line, treat it as unverified and say so rather than filling the gap from
the public docs or from memory.

Every claim that is grounded carries:

- ``Source: shipped package (`<python.module.path>`)`` — verified against the source of the
  shipped Kumo package, at the named module. This is the only authoritative kind of source.

Anything else is marked inline as **Not verified**. When you hit one, ask the user rather than
guessing.

## Before anything: one API, one package

There is a single Kumo SDK, verified against the shipped package named in `kumoai-reference/references/kumo_finetuning_sdk.md` §0.
Older material describing two interchangeable "variants" was a misreading of one SDK before and
after a rename. If a user's code contains `set_backend`, `LocalBackend`, `create_identity`,
`OutputConfig`, `kumo.Stype`, or edges written as dicts, it targets a **superseded**
build: say so and rewrite it rather than copying its shape. See `kumoai-reference/references/kumo_finetuning_sdk.md` §11.1.

Connection is one step, written as the host's `runtime.md` says, from the connector facts in
`kumoai-reference/references/kumo_finetuning_sdk.md` §3 (Snowflake) and §3.4 (every other
connector). No credential literal belongs in code.

## Execution flow

Given the validated structured payload from `kumo-data-science/SKILL.md`:

### Step 1 — Graph construction
Reference `kumoai-reference/references/graph_construction.md`. Map each table in the payload:
- Every source table → a `kumo.Table` with typed columns, a primary key where one was confirmed, and a time column where one exists
- Link the tables into a `kumo.Graph` by declaring edges between matching key columns
- Specify join keys, timestamp columns, and any column-level annotations.

### Step 2 — PQL query
Reference `kumoai-reference/references/pql_writing.md`. Translate the prediction target into a PQL `predict` statement:
- Entity to predict on
- Label definition
- Prediction horizon
- Feature tables to include

### Step 3 — SDK code generation
Reference `kumoai-reference/references/kumo_finetuning_sdk.md`. Generate:
- `kumo.Graph` definition
- `kumo.PredictiveQuery` and `kumo.Trainer` configuration
- `graph.snapshot()`, then `generate_training_table` / `generate_prediction_table`
- `Trainer.fit(training_table, snapshot=snapshot)` and `Trainer.predict(prediction_table, snapshot=snapshot, output_config=...)` — **`snapshot=` is required on both**
- `kumo.PredictionOutputConfig(connector=, artifact_type=, table_name=, write_mode=)` built from the output destination in the validated payload

Then follow the task's section of `kumoai-reference/references/task_journeys.md` (forecasting sets
`forecast_length` in a generation plan, not the model plan), and
`kumoai-reference/references/outputs.md` for the write mode and requested embeddings, which are a
separate `predict` call.

Emit only signatures that appear in `kumoai-reference/references/kumo_finetuning_sdk.md`. Do not infer or invent them.

### Step 4 — Sanity check
Before returning code:
- Confirm that the selected column lists enforce every exclusion confirmed at the graph gate.
  The target column always stays selected — the query references it by name. Re-check that no
  feature is determined after its table's row time, and that no non-target feature is derived
  from the prediction target. Do not return code that omits `column_names` for a table that has
  exclusions.
- If the active host adapter restricts a semantic type, confirm the generated code includes the
  adapter's runtime type guard before `graph.snapshot()`.
- Confirm that the output table in the generated code matches the output location from the original request.
- Check against known error patterns in `kumoai-reference/references/troubleshooting_signals.md`.

---

## Scope boundary

This skill generates code. It does not:
- Run jobs or check job status
- Interpret evaluation metrics or model outputs
- Repair runtime errors — recognise known signals with `kumoai-reference/references/troubleshooting_signals.md`, report them, and stop

Files in this skill

  • BENCHMARK.md10.6 KB
  • SKILL.md5.6 KB
  • evals/evals.json6.3 KB
  • references/graph_construction.md17.9 KB
  • references/kumo_finetuning_sdk.md45.8 KB
  • references/outputs.md8.3 KB
  • references/pql_writing.md22.3 KB
  • references/task_journeys.md6.8 KB
  • references/troubleshooting_signals.md18.5 KB
  • skill-card.md7.4 KB
  • skill.oms.sig5.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.