Rheo documentation
Developer Guide

Rheo with AI assistants

Use a local AI agent to import flows, validate manifests, and scaffold SDK integration.

Purpose

The Rheo agent skill helps local AI assistants (Cursor, Claude Code, Codex, and similar) work with Rheo on your machine:

  • Import existing mobile onboarding or paywall flows into Rheo manifests
  • Validate manifests against dashboard publish rules
  • Scaffold SDK integration (RheoProvider, Flow, FlowView, integrations)

Your source code never leaves your machine. Only the generated manifest or ZIP bundle is uploaded to Rheo when you import in the dashboard.

Install the skill

Copy or symlink the rheo skill folder into your agent's skill directory. Rheo ships the skill as a self-contained bundle with embedded validation logic—Node 20+ is enough to run the helper scripts; no Rheo npm install required for import tooling.

Ask your Rheo contact or check your onboarding materials for the latest skill download.

What the skill includes

CapabilityUse when
Best practicesInstalling the SDK, wiring channels, terminal callbacks, RevenueCat/AppsFlyer, auth handlers
Flow importAnalyzing your codebase → export FlowManifest → validate → package rheo-import.zip

The skill reads the public Manifest Agent Profile for current schema rules.

Example prompts

Use the Rheo skill to import our onboarding from app/onboarding.tsx.
Use the Rheo skill to implement Rheo in this Expo app with placeholders for publishable key and channel id.
Audit this manifest against Rheo publish rules before I upload rheo-import.zip.

Typical workflows

Import an existing flow

  1. Point the agent at your flow entry file (React Native).
  2. Answer the intake questions (purpose, fidelity vs editability, motion import, etc.).
  3. The agent audits your code, scaffolds a manifest, validates it, and writes rheo-import.zip.
  4. Upload the ZIP in the Rheo builder with Import from agent — see Agent import.

Implement SDK in your app

  1. Ask the agent to wire Rheo following best-practice references for your stack (Expo or bare RN).
  2. The agent installs the SDK, sets RheoProvider, channel id, and optional integrations.
  3. Manifest changes happen only if you also requested import.

Privacy model

  • Repository analysis stays on your developer machine.
  • Only the generated manifest/ZIP is uploaded to Rheo.
  • Import telemetry captures metadata, not source code or user-facing copy.