rudder-ai-events-instr…
Adds RudderStack AI events code from an approved ai-events.md plan: installs @rudderstack/ai, rudderstack-ai or ai-sdk-go, wraps…
Creates a new RudderStack Profiles project with discovered warehouse resources and validated YAML. Use when creating a Profiles project, bootstrapping identity resolution, generating pb_project.yaml, or building inputs and features from scratch.
Claude Code
$ npx -y skills add rudderlabs/rudder-agent-skills --skill rudder-profiles-project --agent claude-code
Codex
$ npx skills add rudderlabs/rudder-agent-skills --skill rudder-profiles-project -a codex -y
Cursor
$ npx skills add rudderlabs/rudder-agent-skills --skill rudder-profiles-project -a cursor -y
Gemini CLI
$ npx skills add rudderlabs/rudder-agent-skills --skill rudder-profiles-project -a gemini-cli -y
GitHub Copilot
$ npx skills add rudderlabs/rudder-agent-skills --skill rudder-profiles-project -a github-copilot -y
OpenCode
$ npx skills add rudderlabs/rudder-agent-skills --skill rudder-profiles-project -a opencode -y
Windsurf
$ npx skills add rudderlabs/rudder-agent-skills --skill rudder-profiles-project -a windsurf -y
name: rudder-profiles-project description: Creates a new RudderStack Profiles project with discovered warehouse resources and validated YAML. Use when creating a Profiles project, bootstrapping identity resolution, generating pb_project.yaml, or building inputs and features from scratch. allowed-tools: "Bash(pb *), Read, Write, Edit"
Create a new Profiles project by discovering real warehouse resources first, then generating the three core YAML files with explicit user confirmation at each decision point.
1. **Verify setup** — Check that Profiles MCP tools are available. If not, send the user to `/rudder-profiles-setup`. 2. **Discover connections** — Call `get_existing_connections()`.
3. **Discover tables** — Call `input_table_suggestions()` for candidate tables. Call `describe_table()` on each candidate to confirm columns, types, and timestamps. 4. **Confirm with user** — Present discovered resources and get explicit approval (see confirmation gates below). 5. **Generate YAML** — Write `pb_project.yaml`, `models/inputs.yaml`, and `models/profiles.yaml` using only discovered names and the exact shapes in `references/basic-yaml-templates.md`. Derive `schema_version` from the installed binary (scaffold with `pb init pb-project` or MCP `setup_new_profiles_project()`; verify with `pb version`) — do not hardcode a remembered number. For each event-stream input set `contract: { is_event_stream: true, is_append_only: true }` plus `app_defaults.occurred_at_col` (the contract unlocks later incremental migration without a checkpoint-invalidating schema change, and `is_append_only` is rejected without `occurred_at_col`). Start with the **default ID stitcher** (no explicit `id_stitcher` model) unless the user needs custom edge sources. Add `filters:` on id_types to exclude junk values (`"unknown"`, `"NaN"`, `""`, internal test IDs) — the cheapest over-stitching prevention available. 6. **Pre-compile review** — Run through the validation checklist in `references/validation-checklist.md`. 7. **Validate access** — Run `pb validate access` to confirm the warehouse role can read the inputs and write to the output schema. Fix permission gaps here, before compiling. 8. **Compile** — Run `pb compile`. If it fails, fix one issue at a time and re-compile. 9. **Pilot run** — Offer `pb run --begin_time <ISO-8601>` only after compile succeeds and the user confirms.
Never proceed past a gate without explicit user approval:
1. Which warehouse connection to use? 2. Which tables to include as input sources? 3. Which columns for ID types and timestamps? 4. Entity name and which features to create? 5. Final YAML review before writing files?
These are the most common sources of broken projects. Violating any of them will cause compile or run failures:
A Claude Code plugin marketplace and Agent Skills collection that teaches your AI coding agent how to drive every programmatic RudderStack surface — CLI, MCP server, Terraform, Profiles, and AI events — with the right preflight checks, commands, and recovery
Adds RudderStack AI events code from an approved ai-events.md plan: installs @rudderstack/ai, rudderstack-ai or ai-sdk-go, wraps…
Onboards an app to RudderStack AI events, including moving existing RudderStack LLM, chat or agent events to them: discovers…
Verifies RudderStack AI events locally and checks a move from existing RudderStack events: validates captures against the v0.4…
Installs and authenticates rudder-cli. Use when installing rudder-cli, setting up rudder cli, rudder-cli command not found, or…
Validates, previews, and applies RudderStack resource changes via YAML specs. Use when iterating on RudderStack resources with…
Imports existing RudderStack workspace resources into YAML files for git-based management. Use when importing existing…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.