Agent skill · AI & Agents

arize-instrumentation

Adds Arize AX tracing to an LLM application for the first time. Follows a two-phase agent-assisted flow to analyze the codebase then implement instrumentation after user confirmation. Use when the user wants to instrument their app, add tracing from scratch, set up LLM observability, integrate OpenTelemetry or openinference, or get started with Arize tracing.

GitHub68,948★ · +463/wk · 2 repos on radarProfile →
copilotMIT
Install
npx skills add github/awesome-copilot --skill arize-instrumentation --agent copilot

Same command for any agent — swap --agent for claude-code, codex, cursor.

Facts
Files in the skill folder: 2
SKILL.md size: 24 KB
Bundled scripts: none
Version: 1.0
Declared author: arize
Requires: Python and TypeScript/JavaScript apps use openinference-instrumentation packages for auto-instrumentation. Java and Go…
Path: skills/arize-instrumentation/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 37,432 · +281 this week
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

Directs an agent to add Arize AX tracing to an LLM application using a two-phase flow: phase 1 analyzes the codebase and phase 2 implements instrumentation after user confirmation. It supports Python, TypeScript/JavaScript, Java, and Go apps, with specific wiring for environments, credentials, and OpenTelemetry integration. It emphasizes inspecting the codebase first, not mutating logic, preferring auto-instrumentation, and creating a centralized instrumentation module that initializes tracing before LLM clients are created.

How it works

  • Phase 0: Environment preflight to determine scope, runtime surface, and verification needs; do not run ax installation yet.
  • Phase 1: Analysis (read-only): detect language, package manager, LLM providers, frameworks, and existing tracing, identify scope, and decide integration routing. Return a Phase 1 summary; proceed to Phase 2 only with user confirmation.
  • Phase 2: Implementation:
    • Fetch and follow installation/instrumentation steps from matched docs.
    • Install packages per language before coding, e.g., Python: pip install arize-otel plus openinference-instrumentation-{name}; TypeScript/JS: install @opentelemetry/sdk-trace-node and @arizeai/openinference-*; Java: OpenTelemetry SDK and openinference-instrumentation-* in build files; Go: required otel packages and explicit exporter wiring with otlptracehttp.WithEndpoint(...) and WithHeaders(...).
    • Ensure credentials: use environment variables for ARIZE_API_KEY and ARIZE_SPACE, check ax profiles show, or guide through ax profiles create and point to Arize settings page for keys.
    • Create a single central instrumentation module (e.g., instrumentation.py/.ts/.go) initialized before LLM client creation.
    • If an existing TracerProvider exists, attach Arize as an additional exporter rather than replacing setup.
  • Implementation rules: prefer auto-instrumentation first, respect project conventions, fail gracefully on missing env vars, and ensure correct import order. Enrich traces with manual CHAIN and TOOL spans when tool execution is involved.

When to use it

Use when the user wants to instrument an app from scratch, set up LLM observability, integrate OpenTelemetry or OpenInference, or begin Arize tracing, especially for Python and TypeScript/JavaScript projects. Trigger Phase 1 analysis first and proceed to Phase 2 only after user confirmation.

What it can touch

  • Auto-instrumentation surface where available (language-specific tooling).
  • Manual instrumentation points for tool/chain spans if the framework instrumentors do not expose internal tool results.
  • Centralized instrumentation module files created at implementation time.

Caveats

  • Requires environment variables for ARIZE_API_KEY and ARIZE_SPACE; raw credentials must not be embedded in code.
  • For Go, OpenTelemetry setup requires Go ≥ 1.23 and explicit attribute setting for project name in resources.
  • If a user’s app uses multiple services in a monorepo, scope must be identified to avoid instrumenting the entire repo.
  • CLI/script apps should flush exporters before exit to ensure traces are exported.
From the SKILL.md

# Arize Instrumentation Skill Use this skill when the user wants to **add Arize AX tracing** to their application. Follow the **two-phase, agent-assisted flow** from the [Agent-Assisted Tracing Setup](https://arize.com/docs/ax/alyx/tracing-assistant) and the [Arize AX Tracing — Agent Setup Prompt](https://arize.com/docs/PROMPT.md). ## Quick start (for the user) If the user asks you to "set up tracing" or "instrument my app with Arize", you can start with: > Follow the instructions from https://arize.com/docs/PROMPT.md and ask me questions as needed. Then execute the two phases below. ## Core principles - **Prefer inspection over mutation** — understand the codebase before changing it. - **Do not change business logic** — tracing is purely additive. - **Use auto-instrumentation where available** — add manual spans only for custom logic not covered by integrations. - **Follow existing code style** and project conventions. - **Keep output concise and production-focused** — do not generate extra documentation or summary files. - **NEVER embed literal credential values in generated code** — always reference environment variables (e.g., `os.environ["ARIZE_API_KEY"]`, `process.env.ARIZE_A

What's inside
Steps it walks through
  1. Quick start (for the user)
  2. Core principles
  3. Phase 0: Environment preflight
  4. Phase 1: Analysis (read-only)
  5. Steps
  6. What to identify
  7. Phase 1 output
  8. Integration routing and docs
  9. Phase 2: Implementation
  10. Implementation rules
  11. Enriching traces: manual spans for tool use and agent loops
  12. Why doesn't the auto-instrumentor do this?
  13. Verification
  14. Leveraging the Tracing Assistant (MCP)
Ships with 1 file
  • references/ax-profiles.md
More from awesome-copilot
All skills →
About this skill
What does the arize-instrumentation skill do?

Adds Arize AX tracing to an LLM application for the first time. Follows a two-phase agent-assisted flow to analyze the codebase then implement instrumentation after user confirmation. Use when the user wants to instrument their app, add tracing from scratch, set up LLM observability, integrate OpenTelemetry or openinference, or get started with Arize tracing.

How do I install it?

Run `npx skills add github/awesome-copilot --skill arize-instrumentation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From github/awesome-copilot, a repository with 37,432 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going