Skip to main content

Overview

The fastest way to add Latitude to an app is to let your coding agent do it. Latitude publishes a set of Agent Skills that teach an agent (Claude Code, Cursor, Codex, Windsurf, OpenCode, …) how to instrument your code, drive the CLI, and confirm that real traces arrive — following Latitude best practices. There are two entry points, depending on whether you already have a Latitude account.

The skills

All skills live in the public latitude-dev/skills repo. Most agents can install them with the skills CLI:
npx skills add https://github.com/latitude-dev/skills --skill latitude-setup,latitude-cli,latitude-telemetry
SkillWhat it does
latitude-setupZero-account orchestrator: bootstrap → instrument → verify → claim.
latitude-telemetryAdds Latitude / OpenTelemetry instrumentation to your app.
latitude-cliInstalls and drives the latitude CLI.
latitude-setup builds on the other two, so install all three together for the from-scratch flow.

No account yet

If you don’t have a Latitude account, paste this prompt into your coding agent:
Install the `latitude-setup` skill from `github.com/latitude-dev/skills`, and use it to add Latitude tracing to this app following best practices.
The latitude-setup skill orchestrates the whole zero-account flow:
  1. Installs the latitude CLI and the Latitude skills.
  2. Bootstraps a temporary account — no signup — with an API key and a project.
  3. Instruments your app (via the latitude-telemetry skill) against that project.
  4. Runs your real code and inspects the resulting traces, iterating until they look right.
  5. Cleans up the trace noise and hands you a claim link.
Open the claim link in your browser to take ownership of the temporary account and keep it. Unclaimed temporary accounts expire automatically.
The skill presents a plan and waits for your approval before it edits any code, and it never prints your API key in the chat.

Already have an account

If you’re already signed in, skip the temporary account and point the agent straight at your existing project:
Install the `latitude-telemetry` skill from `github.com/latitude-dev/skills`, and use it to add Latitude tracing to this app following best practices.
Give the agent your LATITUDE_API_KEY and LATITUDE_PROJECT_SLUG when it asks — or connect the MCP server so it can look them up — and it will instrument your app and verify traces the same way.
Once traces are flowing, head to the telemetry guides for provider-specific details, or the CLI and MCP server pages to keep driving Latitude from your terminal or agent.