phoenix-tracing
Skill by Arize-ai
Phoenix Tracing is a skill that guides instrumentation of LLM applications with OpenInference tracing for Phoenix. It covers setup, auto and manual spans, nine span types, and production deployment in Python and TypeScript.
Install phoenix-tracing
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Arize-ai/phoenix /tmp/phoenix && mkdir -p ~/.claude/skills && cp -r /tmp/phoenix/.agents/skills/phoenix-tracing ~/.claude/skills/phoenix-tracingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Arize-ai/phoenix /tmp/phoenix && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/phoenix/.agents/skills/phoenix-tracing ~/.gemini/antigravity-cli/skills/phoenix-tracingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a reference guide for adding OpenInference tracing to LLM applications that report to Phoenix. It is organized into reference files grouped by prefix, including setup, instrumentation, span types, projects and sessions, metadata, production, and feedback. Each span type file gives a full attribute schema, such as model, tokens and messages for LLM calls, or documents and scores for retrievers.
The guide covers both Python and TypeScript. Python uses the arize-phoenix-otel package and TypeScript uses @arizeai/phoenix-otel, and both require a Phoenix server. The skill is aimed at developers who want to set up tracing, create custom spans, follow OpenInference attribute conventions, or deploy tracing to production.
Written from the project's SKILL.md and checked against it.
What it can do
- Setup guidesExplains installing and configuring Phoenix tracing for Python and TypeScript.
- Auto instrumentationCovers auto-instrumenting supported frameworks such as OpenAI and LangChain.
- Manual instrumentationShows how to create custom spans with decorators in Python or wrappers in TypeScript.
- Span type schemasProvides attribute schemas for nine span kinds, including LLM, retriever, tool and agent.
- Projects and sessionsDescribes grouping traces by application and tracking conversations.
- Metadata enrichmentExplains adding custom attributes to traces and spans.
- Production practicesCovers batch processing and PII masking for production deployment.
- AnnotationsDescribes adding feedback to spans in Python and TypeScript.
What you need
- A running Phoenix server
- Python with the arize-phoenix-otel package, or TypeScript with @arizeai/phoenix-otel
Try asking
- Set up Phoenix tracing for my Python OpenAI app
- Add custom spans to my LLM pipeline using manual instrumentation
- Show me the required attributes for an LLM span in Phoenix
Good to know
- The span-decision type is marked experimental in the source.
- Requires a Phoenix server to receive traces.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/phoenix-tracing/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to phoenix-tracing
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
phoenix-tracing: common questions
Which languages does Phoenix tracing support?
The skill covers Python and TypeScript. The source lists arize-phoenix-otel for Python and @arizeai/phoenix-otel for TypeScript.
Does it cover automatic instrumentation?
Yes. It includes auto-instrumentation guides for supported frameworks such as OpenAI and LangChain, and it also mentions OTel GenAI native instrumentation.
What license is this skill under?
The skill is licensed under Apache-2.0, according to its metadata in the source.
How do I install phoenix-tracing?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is phoenix-tracing free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is phoenix-tracing safe to use?
It scores 83 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to phoenix-tracing?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
