phoenix-graphql
Skill by Arize-ai
Writes efficient GraphQL queries against the Phoenix API. It helps with data analysis and with GraphQL for a user's own scripts, tools, and integrations.
Install phoenix-graphql
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/src/phoenix/server/agents/prompts/skills/phoenix-graphql ~/.claude/skills/phoenix-graphqlRun 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/src/phoenix/server/agents/prompts/skills/phoenix-graphql ~/.gemini/antigravity-cli/skills/phoenix-graphqlAntigravity 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
phoenix-graphql is an agent skill from Arize-ai for writing GraphQL queries against the Phoenix API. In internal mode, the assistant queries Phoenix through the phoenix-gql bash command and uses the skill's schema entrypoints, efficiency rules, and patterns instead of running full introspection. Reference files cover projects, spans and traces, sessions, datasets, experiments, prompts, annotations, and filter expressions.
In user-facing mode, the skill gives the endpoint, bearer token authentication, and curl and Python client examples for the user's own code. It recommends the REST API and Phoenix client packages for stable programmatic access where they cover the need. It is aimed at people who analyze Phoenix data or build scripts and integrations against it.
Written from the project's SKILL.md and checked against it.
What it can do
- node(id:) lookupFetches any entity by its Relay global id, such as datasets, prompts, experiments, and sessions.
- By-name and by-id helpersProvides getProjectByName, getProjectSessionById, getSpanByOtelId, getTraceByOtelId, and getDatasetExampleByExternalId.
- Schema map referencesLoads per-entity reference files on demand so the assistant avoids full schema introspection.
- Batched aggregatesUses aliases to combine independent project metrics such as latency percentiles and error counts in one query.
- Filter expressionsDocuments span, trace, and session filter conditions written as Python boolean expressions.
- Relay paginationExplains first, after, edges, and pageInfo handling for paginated results.
- Experiment comparisonCovers compareExperiments for comparing a base experiment with other experiments.
- External API examplesGives the endpoint, bearer token auth, and curl and Python examples for user scripts.
What you need
- Phoenix base URL set as PHOENIX_ENDPOINT
- Phoenix API key set as PHOENIX_API_KEY
- phoenix-gql bash command for internal data analysis
Try asking
- Show the p50 and p99 latency for my default Phoenix project
- Write a paginated GraphQL query that lists my Phoenix datasets
- Find recent ERROR spans in my project and summarize them
Good to know
- The GraphQL schema is primarily designed for the Phoenix UI and may change between versions.
- Mutations are allowed only when runtime permissions say so.
- A GraphQL document may be at most 2 KiB of UTF-8, and variable values do not count toward it.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: src/phoenix/server/agents/prompts/skills/phoenix-graphql/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to phoenix-graphql
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-graphql: common questions
Should the assistant run full schema introspection on Phoenix?
No. The skill says not to run full introspection and to read the relevant reference file instead. Single-type introspection is allowed only when a reference does not cover a needed field.
How do I authenticate to the Phoenix GraphQL endpoint?
Send a Phoenix API key as a bearer token in the Authorization header. API keys are created in Phoenix settings.
Is GraphQL the best way to script against Phoenix?
The source recommends the REST API and the arize-phoenix-client Python or @arizeai/phoenix-client TypeScript packages where they cover the need. GraphQL is suggested for everything else.
How do I install phoenix-graphql?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is phoenix-graphql free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is phoenix-graphql safe to use?
It scores 79 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-graphql?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
