# phoenix-cli

> Claude/Codex skill by [@arize-ai](https://omgskills.com/library/arize-ai/index.md) · 12k stars · Updated 2026-10-26

Debug LLM applications using the Phoenix CLI (\`px\`, from @arizeai/phoenix-cli). Fetch traces, spans, and sessions, annotate them, analyze errors, measure how often a failure or pattern occurs across traces, inspect datasets, review experiments, query annotation configs, and use the GraphQL API. Use whenever the user works with a Phoenix instance from the terminal, or wants to measure or investigate something in Phoenix with the CLI.

Tags: agents, ai-monitoring, ai-observability, aiengineering, anthropic, datasets, evals, langchain, llamaindex, llm-eval, llm-evaluation, llmops, llms, openai, prompt-engineering, smolagents

## Install

```sh
git clone https://github.com/Arize-ai/phoenix /tmp/phoenix && ln -s /tmp/phoenix/.agents/skills/phoenix-cli ~/.claude/skills/phoenix-cli
```

## From README

Phoenix CLI Invocation The CLI uses singular resource commands with subcommands like list and get: Every delete above is gated: it requires PHOENIXCLIDANGEROUSLYENABLEDELETES=true in the environment and prompts for confirmation unless -y/--yes is passed (px profile delete is local-only and takes --yes without the env gate). Without the env var the command exits without deleting anything. PHOENIXENDPOINT is the base URL for API access. It usually holds the same URL as PHOENIXCOLLECTORENDPOINT; when only the collector variable is set, the CLI uses it for API access too. For interactive local use, px auth login stores an OAuth session in the selected profile; the session acts with the permissions of the user who logged in. API keys take precedence over OAuth tokens when both are configured. OAuth access tokens are refreshed automatically for REST, GraphQL, and PXI requests, and rotated tokens are persisted to the selected profile. Always use --format raw --no-progress when piping to jq.

## Links

- HTML page: https://omgskills.com/skills/arize-ai/phoenix/phoenix-cli/
- GitHub: https://github.com/Arize-ai/phoenix
- Author: [@arize-ai](https://omgskills.com/library/arize-ai/index.md)

## More from this repo

- [phoenix-evals](https://omgskills.com/skills/arize-ai/phoenix/phoenix-evals/index.md) — Build, run, and validate evaluators for AI/LLM applications with Phoenix, in Python or TypeScript (including Vercel AI...
   - [@arize-ai](https://omgskills.com/library/arize-ai/index.md) · 12k stars
- [phoenix-tracing](https://omgskills.com/skills/arize-ai/phoenix/phoenix-tracing/index.md) — OpenInference semantic conventions and instrumentation for Phoenix AI observability.
   - [@arize-ai](https://omgskills.com/library/arize-ai/index.md) · 12k stars

## More skills by this author

- [arize-admin](https://omgskills.com/skills/arize-ai/arize-skills/arize-admin/index.md) — Manages Arize users, organizations, spaces, projects, roles, role bindings, resource restrictions, and API keys via the...
   - [@arize-ai](https://omgskills.com/library/arize-ai/index.md) · 65 stars
