Agent prompt
Paste this into your coding agent
Replace YOUR_API_KEY after signup, then ask the agent to run the product flow and verify the first events.
agent prompt
Cursor Telemetry Setup setup prompt
text
Instrument the acquisition and revenue funnel with Telemetry.
Use /skill.md and this Telemetry API key: YOUR_API_KEY
Please add structured events for:
1. Marketing page views, CTA clicks, pricing plan selection, docs CTA clicks, and prompt copies.
2. Registration attempts, successful registrations, onboarding steps, team creation, first API key creation, and first telemetry event received.
3. Checkout start, checkout success, plan changes, billing portal opens, and payment failures.
4. Activation milestones: first table created, first query run, first dashboard created, first alert created, and second active day.
Create a dashboard for visitor to signup, signup to activated team, activated team to paid, and weekly retention by activation milestone.Setup steps
- 1Paste the setup prompt into Cursor with your Telemetry API key.
- 2Tell Cursor which product journey matters most.
- 3Have Cursor add events and run the flow locally.
- 4Use Telemetry to check funnel dropoff and return behavior.
Events to capture
marketing_cta_clickedregister_successonboarding_step_completedfirst_event_receivedquery_rundashboard_created
Questions unlocked
- Which CTA source sends users who activate?
- Where do new users leave onboarding?
- Which features correlate with week-two retention?
Next step
Create the API key your agent will use
The free plan is enough to run the prompt, send test events, and review the first dashboard.
Related pages
Claude Code Observability
Give Claude Code a prompt that makes telemetry part of the implementation pass instead of a separate cleanup project.
Open pageCodex Instrumentation Prompt
A focused prompt that asks Codex to instrument the rest of the product, verify events, and summarize coverage gaps.
Open pageOpenAI Cost Tracking
Track LLM calls by model, feature, user, cost, latency, error rate, and outcome so growth does not hide margin problems.
Open page