# Instrument With Amplitude AI

> Auto-instrument a JS/TS AI app with @amplitude/ai. Detects framework, discovers agents and LLM call sites, applies instrumentation, and verifies with tests.

- Skill: `amplitude/instrument-with-amplitude-ai` (Agent Skill)
- Install (CLI): `npx skillmds@latest add amplitude/instrument-with-amplitude-ai`
- Raw SKILL.md: https://api.skillmd.com/api/skills/amplitude/instrument-with-amplitude-ai/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: amplitude (https://skillmd.com/u/amplitude)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/amplitude/instrument-with-amplitude-ai

---


# /instrument-with-amplitude-ai

Read and follow `node_modules/@amplitude/ai/amplitude-ai.md` step by step.

That file contains the complete 4-phase workflow: **Detect → Discover → Instrument → Verify**.

If the `amplitude-ai` MCP server is connected, use `scan_project`, `validate_file`, `instrument_file`, and `generate_verify_test` tools to accelerate each phase.

MCP resource `amplitude-ai://instrument-guide` serves the full `amplitude-ai.md` from the package (same content as `node_modules/@amplitude/ai/amplitude-ai.md`).

