[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C7ZB9Z6ZWPPX37ZHBHTJ6B":3,"skill-same:01M7C7ZB9Z6ZWPPX37ZHBHTJ6B":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M7C7ZB9Z6ZWPPX37ZHBHTJ6B","phoenix-cli",null,"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\u002Fagent failures, deciding what to do after instrumenting an app, building failure taxonomies, choosing what evals to write, or asking \"what's going wrong\", \"what kinds of mistakes\", or \"where do I focus\" — even without naming a technique.","om-scogo\u002Fskillsh-scraper","om-scogo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160466840?v=4","01M79AWB6DFVCQ7RK70CS34B96","Om Achrekar","01M79AWB6ZM9SKR8KDH1WSSM22",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fgithub-awesome-copilot\u002Fphoenix-cli\u002FSkill.md",[],[],"2026-11-15 14:19:17",false,"---\nname: phoenix-cli\ndescription: 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\u002Fagent failures, deciding what to do after instrumenting an app, building failure taxonomies, choosing what evals to write, or asking \"what's going wrong\", \"what kinds of mistakes\", or \"where do I focus\" — even without naming a technique.\nlicense: Apache-2.0\ncompatibility: Requires Node.js (for npx) or global install of @arizeai\u002Fphoenix-cli. Optionally requires jq for JSON processing.\nmetadata:\n  author: arize-ai\n  version: \"3.3.0\"\n---\n\n# Phoenix CLI\n\n## Invocation\n\n```bash\npx \u003Cresource> \u003Caction>                          # if installed globally\nnpx @arizeai\u002Fphoenix-cli \u003Cresource> \u003Caction>    # no install required\n```\n\nThe CLI uses singular resource commands with subcommands like `list` and `get`:\n\n```bash\npx trace list\npx trace get \u003Ctrace-id>\npx trace annotate \u003Ctrace-id>\npx trace add-note \u003Ctrace-id>\npx trace-annotations delete\npx span list\npx span annotate \u003Cspan-id>\npx span add-note \u003Cspan-id>\npx span-annotations delete\npx session list\npx session get \u003Csession-id>\npx session annotate \u003Csession-id>\npx session add-note \u003Csession-id>\npx session-annotations delete\npx dataset list\npx dataset get \u003Cname>\npx project list\npx project get \u003Cname>\npx annotation-config list\npx auth status\npx profile list\npx profile show [name]\npx profile create \u003Cname>\npx profile use \u003Cname>\npx profile edit \u003Cname>\npx profile delete \u003Cname>\n```\n\n## Setup\n\n```bash\nexport PHOENIX_HOST=http:\u002F\u002Flocalhost:6006\nexport PHOENIX_PROJECT=my-project\nexport PHOENIX_API_KEY=your-api-key  # if auth is enabled\n```\n\nAlways use `--format raw --no-progress` when piping to `jq`.\n\n## Quick Reference\n\n| Task | Files |\n| ---- | ----- |\n| Look at sampled traces, spans, or sessions and write specific notes about what went wrong (no taxonomy yet) | [references\u002Fopen-coding](references\u002Fopen-coding.md) |\n| Group those notes into a structured failure taxonomy and quantify what matters | [references\u002Faxial-coding](references\u002Faxial-coding.md) |\n\nBoth 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 \u003Cvalue>` 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\u002Fcoding\u002F\u003Csanitized-identifier>.jsonl`; axial coding reads that sidecar as the deterministic handoff and records labels in `.px\u002Fcoding\u002F\u003Csanitized-identifier>-axial.jsonl`. Pick the identifier once per run (see [references\u002Fopen-coding.md](references\u002Fopen-coding.md#coding-annotation-identifier-pick-this-first)), 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.\n\n> **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.\n\n## Workflows\n\n**\"What do I do after instrumenting?\" \u002F \"Where do I focus?\" \u002F \"What's going wrong?\"**\n[open-coding](references\u002Fopen-coding.md) → [axial-coding](references\u002Faxial-coding.md) → build evals for the top categories.\n\n## Reference Categories\n\n| Prefix | Description |\n| ------ | ----------- |\n| `references\u002Fopen-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\u002Fin-isolation failures). |\n| `references\u002Faxial-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 |\n\n## Auth\n\n```bash\npx auth status                                # check connection and authentication\npx auth status --endpoint http:\u002F\u002Fother:6006   # check a specific endpoint\npx auth status --profile staging              # check a named profile's connection\n```\n\n## Profiles\n\nNamed profiles let you switch between multiple Phoenix instances (local, staging, cloud) without juggling environment variables. Profiles are stored in `~\u002F.px\u002Fsettings.json` (or `$XDG_CONFIG_HOME\u002Fpx\u002Fsettings.json`).\n\nConfiguration priority (highest to lowest): CLI flags > env vars > active profile > built-in defaults.\n\n```bash\npx profile list                              # list all profiles (shows active profile)\npx profile show                              # show the active profile's settings\npx profile show staging                      # show a named profile's settings\npx profile create prod --endpoint https:\u002F\u002Fapp.phoenix.arize.com --api-key \u003Ckey> --activate\npx profile create local --endpoint http:\u002F\u002Flocalhost:6006 --project my-app\npx profile use prod                          # switch the active profile\npx profile edit prod                         # open profile JSON in $EDITOR (validates on save)\npx profile delete prod --yes                 # delete a profile (--yes skips confirmation)\n```\n\nUse `--profile \u003Cname>` on any command to target a specific profile without changing the active one:\n\n```bash\npx trace list --profile staging --limit 10 --format raw --no-progress | jq .\npx auth status --profile prod\n```\n\n`px profile create` options: `--endpoint \u003Curl>`, `--project \u003Cname>`, `--api-key \u003Ckey>`, `--header \u003Ckey=value>` (repeatable), `--activate`.\n\n## Projects\n\n```bash\npx project list                                            # list all projects (table view)\npx project list --format raw --no-progress | jq '.[].name' # project names as JSON\npx project get my-project --format raw --no-progress       # single record by exact name\npx project get my-project --format raw --no-progress | jq -r '.id'  # extract project id\n```\n\n`project get` exits with `ExitCode.FAILURE` (1) on a name miss and writes a `StructuredError` `{error, code: \"FAILURE\", hint}` to stderr in `--format json|raw`.\n\n## Traces\n\n```bash\npx trace list --limit 20 --format raw --no-progress | jq .\npx trace list --last-n-minutes 60 --limit 20 --format raw --no-progress | jq '.[] | select(.status == \"ERROR\")'\npx trace list --since 2025-01-15T00:00:00Z --limit 50 --format raw --no-progress | jq .\npx trace list --format raw --no-progress | jq 'sort_by(-.duration) | .[0:5]'\npx trace list --include-notes --format raw --no-progress | jq '.[].notes'\npx trace get \u003Ctrace-id> --format raw | jq .\npx trace get \u003Ctrace-id> --format raw | jq '.spans[] | select(.status_code != \"OK\")'\npx trace get \u003Ctrace-id> --include-notes --format raw | jq '.notes'\npx trace annotate \u003Ctrace-id> --name reviewer --label pass\npx trace annotate \u003Ctrace-id> --name reviewer --score 0.9 --format raw --no-progress\npx trace annotate \u003Ctrace-id> --name reviewer --label pass --identifier \"\u003Ccoding-annotation-id>\"  # tag with a coding annotation identifier\npx trace add-note \u003Ctrace-id> --text \"needs follow-up\"\npx trace add-note \u003Ctrace-id> --text \"needs follow-up\" --identifier \"\u003Ccoding-annotation-id>\"  # tag + upsert on identifier\npx trace-annotations delete --identifier \"\u003Ccoding-annotation-id>\" --all -y            # nuke every annotation tied to this coding annotation identifier\n```\n\n`px \u003Centity>-annotations delete` requires `--all` or both `--start-time` and `--end-time` and emits `{deleted: true, target, filter}` on success.\n\n### Trace JSON shape\n\n```\nTrace\n  traceId, status (\"OK\"|\"ERROR\"), duration (ms), startTime, endTime\n  annotations[] (with --include-annotations, excludes note)\n    name, result { score, label, explanation }\n  notes[] (with --include-notes)\n    name=\"note\", result { explanation }\n  rootSpan  — top-level span (parent_id: null)\n  spans[]\n    name, span_kind (\"LLM\"|\"CHAIN\"|\"TOOL\"|\"RETRIEVER\"|\"EMBEDDING\"|\"AGENT\"|\"RERANKER\"|\"GUARDRAIL\"|\"EVALUATOR\"|\"UNKNOWN\")\n    status_code (\"OK\"|\"ERROR\"|\"UNSET\"), parent_id, context.span_id\n    notes[] (with --include-notes)\n      name=\"note\", result { explanation }\n    attributes\n      input.value, output.value          — raw input\u002Foutput\n      llm.model_name, llm.provider\n      llm.token_count.prompt\u002Fcompletion\u002Ftotal\n      llm.token_count.prompt_details.cache_read\n      llm.token_count.completion_details.reasoning\n      llm.input_messages.{N}.message.role\u002Fcontent\n      llm.output_messages.{N}.message.role\u002Fcontent\n      llm.invocation_parameters          — JSON string (temperature, etc.)\n      exception.message                  — set if span errored\n```\n\n## Spans\n\n```bash\npx span list --limit 20                                    # recent spans (table view)\npx span list --last-n-minutes 60 --limit 50                # spans from last hour\npx span list --since 2025-01-15T00:00:00Z --limit 50       # spans since a timestamp\npx span list --span-kind LLM --limit 10                    # only LLM spans\npx span list --status-code ERROR --limit 20                # only errored spans\npx span list --name chat_completion --limit 10             # filter by span name\npx span list --trace-id \u003Cid> --format raw --no-progress | jq .   # all spans for a trace\npx span list --parent-id null --limit 10                   # only root spans\npx span list --parent-id \u003Cspan-id> --limit 10              # only children of a span\npx span list --include-annotations --limit 10              # include annotation scores\npx span list --include-notes --limit 10                    # include span notes\npx span list --attribute llm.model_name:gpt-4 --limit 10  # filter by string attribute\npx span list --attribute llm.token_count.total:500 --limit 10  # filter by numeric attribute\npx span list --attribute 'user.id:\"12345\"' --limit 10     # force string match for numeric-looking value\npx span list --attribute session.id:sess:abc:123 --limit 20  # colon in value OK (split on first colon only)\npx span list --attribute llm.model_name:gpt-4 --attribute session.id:abc --limit 10  # AND multiple filters\npx span list output.json --limit 100                       # save to JSON file\npx span list --format raw --no-progress | jq '.[] | select(.status_code == \"ERROR\")'\npx span annotate \u003Cspan-id> --name reviewer --label pass\npx span annotate \u003Cspan-id> --name checker --score 1 --annotator-kind CODE\npx span annotate \u003Cspan-id> --name reviewer --label pass --identifier \"\u003Ccoding-annotation-id>\"  # tag with a coding annotation identifier\npx span add-note \u003Cspan-id> --text \"verified by agent\"\npx span add-note \u003Cspan-id> --text \"verified by agent\" --identifier \"\u003Ccoding-annotation-id>\"  # tag + upsert on identifier\npx span-annotations delete --identifier \"\u003Ccoding-annotation-id>\" --all -y           # nuke every annotation tied to this coding annotation identifier\n```\n\n### Span JSON shape\n\n```\nSpan\n  name, span_kind (\"LLM\"|\"CHAIN\"|\"TOOL\"|\"RETRIEVER\"|\"EMBEDDING\"|\"AGENT\"|\"RERANKER\"|\"GUARDRAIL\"|\"EVALUATOR\"|\"UNKNOWN\")\n  status_code (\"OK\"|\"ERROR\"|\"UNSET\"), status_message\n  context.span_id, context.trace_id, parent_id\n  start_time, end_time\n  attributes\n    input.value, output.value          — raw input\u002Foutput\n    llm.model_name, llm.provider\n    llm.token_count.prompt\u002Fcompletion\u002Ftotal\n    llm.input_messages.{N}.message.role\u002Fcontent\n    llm.output_messages.{N}.message.role\u002Fcontent\n    llm.invocation_parameters          — JSON string (temperature, etc.)\n    exception.message                  — set if span errored\n  annotations[] (with --include-annotations, excludes note)\n    name, result { score, label, explanation }\n  notes[] (with --include-notes)\n    name=\"note\", result { explanation }\n```\n\n## Sessions\n\n```bash\npx session list --limit 10 --format raw --no-progress | jq .\npx session list --order asc --format raw --no-progress | jq '.[].session_id'\npx session list --include-annotations --include-notes --format raw --no-progress | jq '.[].notes'\npx session get \u003Csession-id> --format raw | jq .\npx session get \u003Csession-id> --include-annotations --format raw | jq '.session.annotations'\npx session get \u003Csession-id> --include-notes --format raw | jq '.session.notes'\npx session annotate \u003Csession-id> --name reviewer --label pass\npx session annotate \u003Csession-id> --name reviewer --score 0.9 --format raw --no-progress\npx session annotate \u003Csession-id> --name reviewer --label pass --identifier \"\u003Ccoding-annotation-id>\"  # tag with a coding annotation identifier\npx session add-note \u003Csession-id> --text \"verified by agent\"\npx session add-note \u003Csession-id> --text \"verified by agent\" --identifier \"\u003Ccoding-annotation-id>\"  # tag + upsert on identifier\npx session-annotations delete --identifier \"\u003Ccoding-annotation-id>\" --all -y              # nuke every annotation tied to this coding annotation identifier\n```\n\n### Session JSON shape\n\n```\nSessionData\n  id, session_id, project_id\n  start_time, end_time\n  token_count_prompt, token_count_completion, token_count_total  — cumulative across all LLM spans in the session (int, default 0)\n  annotations[] (with --include-annotations, excludes note)\n    name, result { score, label, explanation }\n  notes[] (with --include-notes)\n    name=\"note\", result { explanation }\n  traces[]\n    id, trace_id, start_time, end_time\n```\n\n## Datasets \u002F Experiments \u002F Prompts\n\n```bash\npx dataset list --format raw --no-progress | jq '.[].name'\npx dataset get \u003Cname> --format raw | jq '.examples[] | {input, output: .expected_output}'\npx dataset get \u003Cname> --split train --format raw | jq .    # filter by split\npx dataset get \u003Cname> --version \u003Cversion-id> --format raw | jq .\npx experiment list --dataset \u003Cname> --format raw --no-progress | jq '.[] | {id, name, failed_run_count}'\npx experiment get \u003Cid> --format raw --no-progress | jq '.[] | select(.error != null) | {input, error}'\npx prompt list --format raw --no-progress | jq '.[].name'\npx prompt get \u003Cname> --format text --no-progress   # plain text, ideal for piping to AI\n```\n\n## Annotation Configs\n\n```bash\npx annotation-config list                                           # list all configs (table view)\npx annotation-config list --format raw --no-progress | jq '.[].name' # config names as JSON\n```\n\n## GraphQL\n\nFor ad-hoc queries not covered by the commands above. Output is `{\"data\": {...}}`.\n\n```bash\npx api graphql '{ projectCount datasetCount promptCount evaluatorCount }'\npx api graphql '{ projects { edges { node { name traceCount tokenCountTotal } } } }' | jq '.data.projects.edges[].node'\npx api graphql '{ datasets { edges { node { name exampleCount experimentCount } } } }' | jq '.data.datasets.edges[].node'\npx api graphql '{ evaluators { edges { node { name kind } } } }' | jq '.data.evaluators.edges[].node'\n\n# Introspect any type\npx api graphql '{ __type(name: \"Project\") { fields { name type { name } } } }' | jq '.data.__type.fields[]'\n```\n\nKey root fields: `projects`, `datasets`, `prompts`, `evaluators`, `projectCount`, `datasetCount`, `promptCount`, `evaluatorCount`, `viewer`.\n\n## Docs\n\nDownload Phoenix documentation markdown for local use by coding agents.\n\n```bash\npx docs fetch                                # fetch default workflow docs to .px\u002Fdocs\npx docs fetch --workflow tracing             # fetch only tracing docs\npx docs fetch --workflow tracing --workflow evaluation\npx docs fetch --dry-run                      # preview what would be downloaded\npx docs fetch --refresh                      # clear .px\u002Fdocs and re-download\npx docs fetch --output-dir .\u002Fmy-docs         # custom output directory\n```\n\nKey options: `--workflow` (repeatable, values: `tracing`, `evaluation`, `datasets`, `prompts`, `integrations`, `sdk`, `self-hosting`, `all`), `--dry-run`, `--refresh`, `--output-dir` (default `.px\u002Fdocs`), `--workers` (default 10).\n","# Phoenix CLI\n\n## Invocation\n\n```bash\npx \u003Cresource> \u003Caction>                          # if installed globally\nnpx @arizeai\u002Fphoenix-cli \u003Cresource> \u003Caction>    # no install required\n```\n\nThe CLI uses singular resource commands with subcommands like `list` and `get`:\n\n```bash\npx trace list\npx trace get \u003Ctrace-id>\npx trace annotate \u003Ctrace-id>\npx trace add-note \u003Ctrace-id>\npx trace-annotations delete\npx span list\npx span annotate \u003Cspan-id>\npx span add-note \u003Cspan-id>\npx span-annotations delete\npx session list\npx session get \u003Csession-id>\npx session annotate \u003Csession-id>\npx session add-note \u003Csession-id>\npx session-annotations delete\npx dataset list\npx dataset get \u003Cname>\npx project list\npx project get \u003Cname>\npx annotation-config list\npx auth status\npx profile list\npx profile show [name]\npx profile create \u003Cname>\npx profile use \u003Cname>\npx profile edit \u003Cname>\npx profile delete \u003Cname>\n```\n\n## Setup\n\n```bash\nexport PHOENIX_HOST=http:\u002F\u002Flocalhost:6006\nexport PHOENIX_PROJECT=my-project\nexport PHOENIX_API_KEY=your-api-key  # if auth is enabled\n```\n\nAlways use `--format raw --no-progress` when piping to `jq`.\n\n## Quick Reference\n\n| Task | Files |\n| ---- | ----- |\n| Look at sampled traces, spans, or sessions and write specific notes about what went wrong (no taxonomy yet) | [references\u002Fopen-coding](references\u002Fopen-coding.md) |\n| Group those notes into a structured failure taxonomy and quantify what matters | [references\u002Faxial-coding](references\u002Faxial-coding.md) |\n\nBoth 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 \u003Cvalue>` 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\u002Fcoding\u002F\u003Csanitized-identifier>.jsonl`; axial coding reads that sidecar as the deterministic handoff and records labels in `.px\u002Fcoding\u002F\u003Csanitized-identifier>-axial.jsonl`. Pick the identifier once per run (see [references\u002Fopen-coding.md](references\u002Fopen-coding.md#coding-annotation-identifier-pick-this-first)), 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.\n\n> **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.\n\n## Workflows\n\n**\"What do I do after instrumenting?\" \u002F \"Where do I focus?\" \u002F \"What's going wrong?\"**\n[open-coding](references\u002Fopen-coding.md) → [axial-coding](references\u002Faxial-coding.md) → build evals for the top categories.\n\n## Reference Categories\n\n| Prefix | Description |\n| ------ | ----------- |\n| `references\u002Fopen-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\u002Fin-isolation failures). |\n| `references\u002Faxial-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 |\n\n## Auth\n\n```bash\npx auth status                                # check connection and authentication\npx auth status --endpoint http:\u002F\u002Fother:6006   # check a specific endpoint\npx auth status --profile staging              # check a named profile's connection\n```\n\n## Profiles\n\nNamed profiles let you switch between multiple Phoenix instances (local, staging, cloud) without juggling environment variables. Profiles are stored in `~\u002F.px\u002Fsettings.json` (or `$XDG_CONFIG_HOME\u002Fpx\u002Fsettings.json`).\n\nConfiguration priority (highest to lowest): CLI flags > env vars > active profile > built-in defaults.\n\n```bash\npx profile list                              # list all profiles (shows active profile)\npx profile show                              # show the active profile's settings\npx profile show staging                      # show a named profile's settings\npx profile create prod --endpoint https:\u002F\u002Fapp.phoenix.arize.com --api-key \u003Ckey> --activate\npx profile create local --endpoint http:\u002F\u002Flocalhost:6006 --project my-app\npx profile use prod                          # switch the active profile\npx profile edit prod                         # open profile JSON in $EDITOR (validates on save)\npx profile delete prod --yes                 # delete a profile (--yes skips confirmation)\n```\n\nUse `--profile \u003Cname>` on any command to target a specific profile without changing the active one:\n\n```bash\npx trace list --profile staging --limit 10 --format raw --no-progress | jq .\npx auth status --profile prod\n```\n\n`px profile create` options: `--endpoint \u003Curl>`, `--project \u003Cname>`, `--api-key \u003Ckey>`, `--header \u003Ckey=value>` (repeatable), `--activate`.\n\n## Projects\n\n```bash\npx project list                                            # list all projects (table view)\npx project list --format raw --no-progress | jq '.[].name' # project names as JSON\npx project get my-project --format raw --no-progress       # single record by exact name\npx project get my-project --format raw --no-progress | jq -r '.id'  # extract project id\n```\n\n`project get` exits with `ExitCode.FAILURE` (1) on a name miss and writes a `StructuredError` `{error, code: \"FAILURE\", hint}` to stderr in `--format json|raw`.\n\n## Traces\n\n```bash\npx trace list --limit 20 --format raw --no-progress | jq .\npx trace list --last-n-minutes 60 --limit 20 --format raw --no-progress | jq '.[] | select(.status == \"ERROR\")'\npx trace list --since 2025-01-15T00:00:00Z --limit 50 --format raw --no-progress | jq .\npx trace list --format raw --no-progress | jq 'sort_by(-.duration) | .[0:5]'\npx trace list --include-notes --format raw --no-progress | jq '.[].notes'\npx trace get \u003Ctrace-id> --format raw | jq .\npx trace get \u003Ctrace-id> --format raw | jq '.spans[] | select(.status_code != \"OK\")'\npx trace get \u003Ctrace-id> --include-notes --format raw | jq '.notes'\npx trace annotate \u003Ctrace-id> --name reviewer --label pass\npx trace annotate \u003Ctrace-id> --name reviewer --score 0.9 --format raw --no-progress\npx trace annotate \u003Ctrace-id> --name reviewer --label pass --identifier \"\u003Ccoding-annotation-id>\"  # tag with a coding annotation identifier\npx trace add-note \u003Ctrace-id> --text \"needs follow-up\"\npx trace add-note \u003Ctrace-id> --text \"needs follow-up\" --identifier \"\u003Ccoding-annotation-id>\"  # tag + upsert on identifier\npx trace-annotations delete --identifier \"\u003Ccoding-annotation-id>\" --all -y            # nuke every annotation tied to this coding annotation identifier\n```\n\n`px \u003Centity>-annotations delete` requires `--all` or both `--start-time` and `--end-time` and emits `{deleted: true, target, filter}` on success.\n\n### Trace JSON shape\n\n```\nTrace\n  traceId, status (\"OK\"|\"ERROR\"), duration (ms), startTime, endTime\n  annotations[] (with --include-annotations, excludes note)\n    name, result { score, label, explanation }\n  notes[] (with --include-notes)\n    name=\"note\", result { explanation }\n  rootSpan  — top-level span (parent_id: null)\n  spans[]\n    name, span_kind (\"LLM\"|\"CHAIN\"|\"TOOL\"|\"RETRIEVER\"|\"EMBEDDING\"|\"AGENT\"|\"RERANKER\"|\"GUARDRAIL\"|\"EVALUATOR\"|\"UNKNOWN\")\n    status_code (\"OK\"|\"ERROR\"|\"UNSET\"), parent_id, context.span_id\n    notes[] (with --include-notes)\n      name=\"note\", result { explanation }\n    attributes\n      input.value, output.value          — raw input\u002Foutput\n      llm.model_name, llm.provider\n      llm.token_count.prompt\u002Fcompletion\u002Ftotal\n      llm.token_count.prompt_details.cache_read\n      llm.token_count.completion_details.reasoning\n      llm.input_messages.{N}.message.role\u002Fcontent\n      llm.output_messages.{N}.message.role\u002Fcontent\n      llm.invocation_parameters          — JSON string (temperature, etc.)\n      exception.message                  — set if span errored\n```\n\n## Spans\n\n```bash\npx span list --limit 20                                    # recent spans (table view)\npx span list --last-n-minutes 60 --limit 50                # spans from last hour\npx span list --since 2025-01-15T00:00:00Z --limit 50       # spans since a timestamp\npx span list --span-kind LLM --limit 10                    # only LLM spans\npx span list --status-code ERROR --limit 20                # only errored spans\npx span list --name chat_completion --limit 10             # filter by span name\npx span list --trace-id \u003Cid> --format raw --no-progress | jq .   # all spans for a trace\npx span list --parent-id null --limit 10                   # only root spans\npx span list --parent-id \u003Cspan-id> --limit 10              # only children of a span\npx span list --include-annotations --limit 10              # include annotation scores\npx span list --include-notes --limit 10                    # include span notes\npx span list --attribute llm.model_name:gpt-4 --limit 10  # filter by string attribute\npx span list --attribute llm.token_count.total:500 --limit 10  # filter by numeric attribute\npx span list --attribute 'user.id:\"12345\"' --limit 10     # force string match for numeric-looking value\npx span list --attribute session.id:sess:abc:123 --limit 20  # colon in value OK (split on first colon only)\npx span list --attribute llm.model_name:gpt-4 --attribute session.id:abc --limit 10  # AND multiple filters\npx span list output.json --limit 100                       # save to JSON file\npx span list --format raw --no-progress | jq '.[] | select(.status_code == \"ERROR\")'\npx span annotate \u003Cspan-id> --name reviewer --label pass\npx span annotate \u003Cspan-id> --name checker --score 1 --annotator-kind CODE\npx span annotate \u003Cspan-id> --name reviewer --label pass --identifier \"\u003Ccoding-annotation-id>\"  # tag with a coding annotation identifier\npx span add-note \u003Cspan-id> --text \"verified by agent\"\npx span add-note \u003Cspan-id> --text \"verified by agent\" --identifier \"\u003Ccoding-annotation-id>\"  # tag + upsert on identifier\npx span-annotations delete --identifier \"\u003Ccoding-annotation-id>\" --all -y           # nuke every annotation tied to this coding annotation identifier\n```\n\n### Span JSON shape\n\n```\nSpan\n  name, span_kind (\"LLM\"|\"CHAIN\"|\"TOOL\"|\"RETRIEVER\"|\"EMBEDDING\"|\"AGENT\"|\"RERANKER\"|\"GUARDRAIL\"|\"EVALUATOR\"|\"UNKNOWN\")\n  status_code (\"OK\"|\"ERROR\"|\"UNSET\"), status_message\n  context.span_id, context.trace_id, parent_id\n  start_time, end_time\n  attributes\n    input.value, output.value          — raw input\u002Foutput\n    llm.model_name, llm.provider\n    llm.token_count.prompt\u002Fcompletion\u002Ftotal\n    llm.input_messages.{N}.message.role\u002Fcontent\n    llm.output_messages.{N}.message.role\u002Fcontent\n    llm.invocation_parameters          — JSON string (temperature, etc.)\n    exception.message                  — set if span errored\n  annotations[] (with --include-annotations, excludes note)\n    name, result { score, label, explanation }\n  notes[] (with --include-notes)\n    name=\"note\", result { explanation }\n```\n\n## Sessions\n\n```bash\npx session list --limit 10 --format raw --no-progress | jq .\npx session list --order asc --format raw --no-progress | jq '.[].session_id'\npx session list --include-annotations --include-notes --format raw --no-progress | jq '.[].notes'\npx session get \u003Csession-id> --format raw | jq .\npx session get \u003Csession-id> --include-annotations --format raw | jq '.session.annotations'\npx session get \u003Csession-id> --include-notes --format raw | jq '.session.notes'\npx session annotate \u003Csession-id> --name reviewer --label pass\npx session annotate \u003Csession-id> --name reviewer --score 0.9 --format raw --no-progress\npx session annotate \u003Csession-id> --name reviewer --label pass --identifier \"\u003Ccoding-annotation-id>\"  # tag with a coding annotation identifier\npx session add-note \u003Csession-id> --text \"verified by agent\"\npx session add-note \u003Csession-id> --text \"verified by agent\" --identifier \"\u003Ccoding-annotation-id>\"  # tag + upsert on identifier\npx session-annotations delete --identifier \"\u003Ccoding-annotation-id>\" --all -y              # nuke every annotation tied to this coding annotation identifier\n```\n\n### Session JSON shape\n\n```\nSessionData\n  id, session_id, project_id\n  start_time, end_time\n  token_count_prompt, token_count_completion, token_count_total  — cumulative across all LLM spans in the session (int, default 0)\n  annotations[] (with --include-annotations, excludes note)\n    name, result { score, label, explanation }\n  notes[] (with --include-notes)\n    name=\"note\", result { explanation }\n  traces[]\n    id, trace_id, start_time, end_time\n```\n\n## Datasets \u002F Experiments \u002F Prompts\n\n```bash\npx dataset list --format raw --no-progress | jq '.[].name'\npx dataset get \u003Cname> --format raw | jq '.examples[] | {input, output: .expected_output}'\npx dataset get \u003Cname> --split train --format raw | jq .    # filter by split\npx dataset get \u003Cname> --version \u003Cversion-id> --format raw | jq .\npx experiment list --dataset \u003Cname> --format raw --no-progress | jq '.[] | {id, name, failed_run_count}'\npx experiment get \u003Cid> --format raw --no-progress | jq '.[] | select(.error != null) | {input, error}'\npx prompt list --format raw --no-progress | jq '.[].name'\npx prompt get \u003Cname> --format text --no-progress   # plain text, ideal for piping to AI\n```\n\n## Annotation Configs\n\n```bash\npx annotation-config list                                           # list all configs (table view)\npx annotation-config list --format raw --no-progress | jq '.[].name' # config names as JSON\n```\n\n## GraphQL\n\nFor ad-hoc queries not covered by the commands above. Output is `{\"data\": {...}}`.\n\n```bash\npx api graphql '{ projectCount datasetCount promptCount evaluatorCount }'\npx api graphql '{ projects { edges { node { name traceCount tokenCountTotal } } } }' | jq '.data.projects.edges[].node'\npx api graphql '{ datasets { edges { node { name exampleCount experimentCount } } } }' | jq '.data.datasets.edges[].node'\npx api graphql '{ evaluators { edges { node { name kind } } } }' | jq '.data.evaluators.edges[].node'\n\n# Introspect any type\npx api graphql '{ __type(name: \"Project\") { fields { name type { name } } } }' | jq '.data.__type.fields[]'\n```\n\nKey root fields: `projects`, `datasets`, `prompts`, `evaluators`, `projectCount`, `datasetCount`, `promptCount`, `evaluatorCount`, `viewer`.\n\n## Docs\n\nDownload Phoenix documentation markdown for local use by coding agents.\n\n```bash\npx docs fetch                                # fetch default workflow docs to .px\u002Fdocs\npx docs fetch --workflow tracing             # fetch only tracing docs\npx docs fetch --workflow tracing --workflow evaluation\npx docs fetch --dry-run                      # preview what would be downloaded\npx docs fetch --refresh                      # clear .px\u002Fdocs and re-download\npx docs fetch --output-dir .\u002Fmy-docs         # custom output directory\n```\n\nKey options: `--workflow` (repeatable, values: `tracing`, `evaluation`, `datasets`, `prompts`, `integrations`, `sdk`, `self-hosting`, `all`), `--dry-run`, `--refresh`, `--output-dir` (default `.px\u002Fdocs`), `--workers` (default 10).\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":27},{"author":25,"version":26},"arize-ai","3.3.0","Requires Node.js (for npx) or global install of @arizeai\u002Fphoenix-cli. Optionally requires jq for JSON processing.","main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fgithub-awesome-copilot\u002Fphoenix-cli",1,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper","https:\u002F\u002Fgithub.com\u002Fom-scogo","SDE-1 @ Scogo ","2026-07-18 12:22:46",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill phoenix-cli",{"tool":42,"command":43},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill phoenix-cli",{"tool":45,"command":46},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill phoenix-cli","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fgithub-awesome-copilot\u002Fphoenix-cli\u002FSkill.md",true,[50],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"metadata.json","REFERENCE","参考文档",438,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fgithub-awesome-copilot\u002Fphoenix-cli\u002Fmetadata.json",[57,65,70,77,82,89],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7D6MC9FAAEV4CMNYX8W7JTG","arxiv-search","Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.","MIT","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002Fskills\u002Farxiv-search\u002FSKILL.md",[],[],{"skillNo":66,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7D4ZTCS4DR3CE4JY06X84T2","working-with-legacy-code","Safely change and test untested codebases using Feathers' \"Working Effectively with Legacy Code\". Use when the user mentions \"legacy code\", \"no tests\", \"untested codebase\", \"how do I test this\", \"seams\", \"characterization tests\", \"golden master\", \"sprout method\", \"afraid to change this code\", \"monster method\", \"dependency breaking\", or \"inherited a messy codebase\". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout\u002Fwrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002Fworking-with-legacy-code\u002FSKILL.md",[],[],{"skillNo":78,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002FSkill.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7D4ZB4CJBFW5JE67CPH2QRV","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", \"typographic scale\", or \"the text is hard to read\". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":90,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]