본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)40k · #7320

phoenix-cli

하는 일

이 도구는 AI 애플리케이션의 문제를 이해하고 고치도록 돕습니다. AI가 어떻게 작동했는지 세부 내용을 보고, 오류를 분석하며, 이 정보를 정리해 문제의 근본 원인을 찾게 합니다.

사용하는 경우

  • ✓AI 애플리케이션이 예상대로 작동하지 않을 때.
  • ✓AI가 특정 실수를 한 이유를 이해하려고 할 때.
  • ✓AI 시스템의 흔한 실패를 정리하고 분류할 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/phoenix-cli/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/phoenix-cli/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 AI 애플리케이션의 최근 오류를 분석하고 패턴을 찾는 데 도와주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

터미널에서 명령을 사용해 AI의 작동에 대한 정보를 가져옵니다. 예를 들어 'traces'와 'spans'입니다. 그다음 메모를 추가하거나 데이터를 정리해 오류 보고서를 만들 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Phoenix CLI

Invocation

px <resource> <action>                          # if installed globally
npx @arizeai/phoenix-cli <resource> <action>    # no install required

The CLI uses singular resource commands with subcommands like list and get:

px trace list
px trace get <trace-id>
px trace annotate <trace-id>
px trace add-note <trace-id>
px trace-annotations delete
px span list
px span annotate <span-id>
px span add-note <span-id>
px span-annotations delete
px session list
px session get <session-id>
px session annotate <session-id>
px session add-note <session-id>
px session-annotations delete
px dataset list
px dataset get <name>
px project list
px project get <name>
px annotation-config list
px auth status
px profile list
px profile show [name]
px profile create <name>
px profile use <name>
px profile edit <name>
px profile delete <name>

Setup

export PHOENIX_HOST=http://localhost:6006
export PHOENIX_PROJECT=my-project
export PHOENIX_API_KEY=your-api-key  # if auth is enabled

Always use --format raw --no-progress when piping to jq.

Quick Reference

Task Files
Look at sampled traces, spans, or sessions and write specific notes about what went wrong (no taxonomy yet) references/open-coding
Group those notes into a structured failure taxonomy and quantify what matters references/axial-coding

Both stages tag every artifact with one shared coding annotation identifier (descriptive shape, e.g. coding-run:chatbot-context-loss-2026-05-06) so the run is queryable, reversible, and viewable as a unit. Pass --identifier <value> explicitly on every px call — shell inheritance is unreliable across agent harnesses. Open coding writes notes via px ... add-note and records a small local JSONL sidecar at .px/coding/<sanitized-identifier>.jsonl; axial coding reads that sidecar as the deterministic handoff and records labels in .px/coding/<sanitized-identifier>-axial.jsonl. Pick the identifier once per run (see references/open-coding.md), then share the Phoenix UI link from the wrap-up section. Revert is opt-in and runs three identifier-bound DELETEs only after explicit user confirmation.

Workflow term vs. server annotation name. The skill prose calls this value the coding annotation identifier (shell-variable hint: CODING_ANNOTATION_IDENTIFIER). The server-side annotation NAME used for the UI filter is unchanged — coding_session_id — for data compatibility with rows already written by previous runs. Don't try to rename the server-side annotation; treat the asymmetry as load-bearing.

Workflows

"What do I do after instrumenting?" / "Where do I focus?" / "What's going wrong?" open-coding → axial-coding → build evals for the top categories.

Reference Categories

Prefix Description
references/open-coding Free-form notes against sampled traces, spans, or sessions — reach for it whenever the user wants to make sense of LLM traffic but has no failure categories yet. Includes a unit-of-analysis diagnostic so the workflow runs at the level the failure modes actually live at (trace for stateless single-shot calls, session for multi-turn agents, span for mechanical/in-isolation failures).
references/axial-coding Inductive grouping of notes into a MECE taxonomy with counts — reach for it whenever the user has observations and needs categories or eval targets

Auth

px auth status                                # check connection and authentication
px auth status --endpoint http://other:6006   # check a specific endpoint
px auth status --profile staging              # check a named profile's connection

Profiles

Named profiles let you switch between multiple Phoenix instances (local, staging, cloud) without juggling environment variables. Profiles are stored in ~/.px/settings.json (or $XDG_CONFIG_HOME/px/settings.json).

Configuration priority (highest to lowest): CLI flags > env vars > active profile > built-in defaults.

px profile list                              # list all profiles (shows active profile)
px profile show                              # show the active profile's settings

…
자주 묻는 질문

'traces'와 'spans'는 무엇인가요?

'traces'는 AI 애플리케이션을 통과하는 요청의 전체 경로를 보여 주고, 'spans'는 그 경로 안의 특정 작업을 자세히 보여 주는 작은 부분입니다.

도구는 어떻게 설정하나요?

도구가 연결할 위치(PHOENIX_HOST)와 분석할 프로젝트(PHOENIX_PROJECT)를 정의하고, 필요하다면 API 키도 설정해야 합니다.

아무것도 설치하지 않고 사용할 수 있나요?

네, `npx @arizeai/phoenix-cli ...` 명령을 사용하면 패키지 레지스트리에서 바로 실행할 수 있습니다.

상세 정보

작성자의 원본 설명

Debug LLM applications using the Phoenix CLI. Fetch traces, analyze errors, structure trace review with open coding and axial coding, inspect datasets, review experiments, query annotation configs, and use the GraphQL API. Use whenever the user is analyzing traces or spans, investigating LLM/agent failures, deciding what to do after instrumenting an app, building failure taxonomies, choosing what

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7320
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬