Stable event contracts
The agent is guided toward named events, bounded snake_case fields, explicit units, and identifiers that remain useful in SQL.
Give Claude Code, Codex, Cursor, or another coding agent one durable set of instructions for adding safe agent telemetry, verifying ingestion with SQL, and creating an AI observability dashboard your team can review.
What the skill covers
The agent is guided toward named events, bounded snake_case fields, explicit units, and identifiers that remain useful in SQL.
Raw prompts, completions, credentials, authorization headers, and private payloads stay out of the analytics path by default.
Instrumentation is not finished until representative events arrive and a query or dashboard proves the workflow is visible.
Start here
Replace the placeholder with a server-side API key, then ask the agent to inspect the repository before choosing event boundaries.
Instrument this project with structured logs using /skill.md.
Use this Telemetry API key: YOUR_API_KEY
Please:
1. Find the most important user-facing flows, background jobs, and AI/tooling workflows.
2. Add structured logging with pragmatic snake_case tables and fields.
3. Capture the key signals for each workflow, including status, latency, identifiers, and error context when relevant.
4. Send test events to Telemetry and verify that ingestion works.
5. Create a high-level dashboard with charts and tables that summarize the most important signals in this project.
6. Tell me what you instrumented, which tables you created, and which dashboard views I should review first.
Prefer small, composable events over giant payloads, and optimize for dashboards that humans can scan quickly.Review boundary
The skill helps an agent find useful workflow boundaries, but your team still owns the event meaning, allowed fields, retention policy, and operational thresholds.
Continue the workflow
Start with a bounded event schema and a reviewable dashboard for runs, tools, latency, cost, failures, and outcomes.
Open guideChoose useful run, tool, model, cost, failure, and outcome boundaries.
Open guideCopy focused briefs for product analytics, OpenAI costs, APIs, revenue, and jobs.
Open guideReview event design, privacy boundaries, delivery behavior, and verification.
Open guideApply the reviewed event contract and verification loop from a Claude Code implementation pass.
Open guideUse a focused Cursor workflow for activation, retention, and inspectable dashboard instrumentation.
Open guideGive Codex a bounded brief for product, reliability, and outcome telemetry with verification.
Open guideStart free with a provisioned workspace, API key, sample event, and dashboard. Replace the sample with reviewed production events when the shape looks right.