Phoenix Skills Auditのロゴ

Phoenix Skills Audit

組織人気
Arize-ai
phoenix-skills-audit

Phoenixのユーザー向けインターフェース(Pythonクライアント、TypeScriptクライアント、CLI、REST/GraphQL API)の最近の変更を監査し、外部公開されている3つのAIエージェントスキル — `phoenix-tracing`、`phoenix-cli`、`phoenix-evals` — を更新して、実際にリリースされた内容と一致させます。ユーザーからこれらのスキルの更新や最近の変更との同期、スキルの乖離の監査、クライアント/CLI/APIのどの変更をスキルに反映すべきかの確認を依頼された場合や、「skill freshness」「skill drift」「stale skills」「are the skills up to date」といった表現が出た場合に使用してください。注目度の高いクライアント/CLI/APIの変更をリリースする際に、ユーザーから「スキルも更新する必要がありますか?」と尋ねられた場合も起動します。既定の対象期間は`origin/main`の過去7日間ですが、ユーザーが変更できます。

概要

公開者Arize-ai
リポジトリphoenix
スキル名phoenix-skills-audit
スター
11.8K
フォーク
1.2K
同梱ファイル
1
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    Arize-aiがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Phoenix Skills Audit」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Arize-ai/phoenix/tree/main/.agents/skills/phoenix-skills-audit
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Arize-ai/phoenix.git /tmp/phoenix
mkdir -p .claude/skills
cp -r /tmp/phoenix/.agents/skills/phoenix-skills-audit .claude/skills/phoenix-skills-audit
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでPhoenix Skills Auditを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にPhoenix Skills Auditを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Phoenix Skills Auditは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Phoenix Skills Audit

Keep the three external-facing skills — phoenix-tracing, phoenix-cli, phoenix-evals — truthful about what the Phoenix Python clients, TypeScript clients, CLI, and APIs actually do today. The output is patches applied to the skill files, not a report. The skill reads recent commits, identifies what changed in user-facing surfaces, and updates the relevant SKILL.md and references/*.md files in place.

This is a sibling skill to phoenix-docs-gap-audit. The docs-gap-audit produces a report about gaps in docs/phoenix/; this skill produces edits to .agents/skills/. Skills are loaded into agent context every time the user asks a question that triggers them, so a stale skill teaches every future agent the wrong API. That makes drift here strictly worse than drift in human-facing docs — humans can sanity-check; agents can't.

Targets — the three skills this audit owns

.agents/skills/phoenix-tracing/SKILL.md
.agents/skills/phoenix-tracing/references/*.md
.agents/skills/phoenix-cli/SKILL.md
.agents/skills/phoenix-evals/SKILL.md
.agents/skills/phoenix-evals/references/*.md

Do not touch any other skill directory. If a change clearly belongs in a skill outside these three (e.g. phoenix-server, phoenix-frontend), note it in the run summary and skip — those skills are internal and have their own owners.

Source mapping — which code feeds which skill

Source areaSkill
packages/phoenix-otel/ (Python)phoenix-tracing
js/packages/phoenix-otel/ (TS)phoenix-tracing
OpenInference semantic conventions, span attributes, instrumentation patternsphoenix-tracing
js/packages/phoenix-cli/ (commands, flags, output JSON shape)phoenix-cli
packages/phoenix-evals/ (Python)phoenix-evals
js/packages/phoenix-evals/ (TS)phoenix-evals
New evaluators, eval templates, experiment APIsphoenix-evals
packages/phoenix-client/ (Python)depends on what's exposed — see below
js/packages/phoenix-client/ (TS)depends on what's exposed — see below
Server REST/GraphQL (src/phoenix/server/api/)depends on what's exposed — see below

The generic clients and the server APIs are cross-cutting. Map them by the feature they expose, not the file they live in:

  • A client method that creates spans / sets attributes → phoenix-tracing
  • A client method that runs evaluations or experiments → phoenix-evals
  • A new REST/GraphQL endpoint that the CLI wraps (or should wrap) → phoenix-cli
  • A new attribute on a span returned by the API → phoenix-cli (JSON shape doc) and potentially phoenix-tracing (if it's an OpenInference attribute)

A single feature can — and often does — span multiple skills. That's fine. Make all the edits; cross-reference between skills only when the user genuinely needs to read both.

Workflow

Phase 1: Gather commits

Default window is the last 7 days on origin/main. The user may override. Translate their phrasing into a concrete range before running anything.

Always audit origin/main, not the local main branch. Local main is routinely stale by dozens of commits — auditing the stale tip silently misses everything that shipped after the last git pull.

bash
git fetch origin main --quiet

# Default 7-day window
git log --since="7 days ago" origin/main --no-merges --pretty=format:"%h %s" --name-status

# Tag range if the user specified one
git log <prev-tag>..<current-tag> --no-merges --pretty=format:"%h %s" --name-status

# Sanity check
git rev-list --count main..origin/main

Save the raw list. Note the audited SHA in the run summary so a reader can reproduce.

Phase 2: Triage to user-facing surfaces

Commit messages lie or under-report. Use them as an index, not a source of truth. Split the list into three buckets:

  • Audit candidates — anything that changes what the Python clients, TypeScript clients, CLI, REST/GraphQL APIs, or instrumentation packages do from the user's perspective. New methods, new flags, new commands, new attributes, new env vars, renamed parameters, behavior changes, deprecations, breaking changes.
  • Skip — internal refactors with no public surface, dep bumps, test-only changes, CI/build changes, formatting, frontend-only changes (those belong to other skills), release-please bookkeeping (chore(main): release …), and feature flags (env vars named *_DANGEROUSLY_*, *_EXPERIMENTAL_*, intentionally undocumented escape hatches). Feature flags are deliberately kept out of public skills.
  • Unclear — when you cannot tell from the message and changed paths. Default to reading the diff. Cheap, and catches features hidden behind refactor: prefixes.

Group related commits that implement one logical feature across server + SDK + CLI. Audit them as one unit.

Breadth before depth. Enumerate every audit candidate in a flat list before going deep on any one. The goal is a complete sweep, not the single juiciest finding.

For each candidate, in the same one-liner, tag the cross-cutting concept(s) it most likely affects, even if the commit's file path doesn't say so. The four concepts:

  • tracing — spans, attributes, instrumentation, OpenInference, otel
  • evals — evaluators, experiments, datasets, prompts
  • cli — CLI commands, flags, JSON output shape
  • none — internal/refactor/dep/frontend-only/feature-flag

Once a candidate is tagged with tracing / evals / cli, you have committed to a hypothesis: there is potentially a skill edit here. The only way to legitimately drop the candidate later is to read the diff and find that the change is internal, or already documented, or genuinely user-irrelevant. "I don't see the relevant package in the path" is not a sufficient reason.

Only after this tagged list exists do you expand each entry into edits.

Phase 3: Locate the real code

For every candidate, open the actual changed files. Commit messages routinely omit:

  • New optional parameters added to existing functions
  • New exported symbols added alongside a refactor
  • New CLI flags, JSON output fields, error codes
  • Behavior changes in existing code paths
  • Schema changes that change the shape returned by the CLI or REST API

Read enough of each file to answer:

  1. What is the public surface? Exact symbol names, paths, command names, attribute keys. Write them down.
  2. What is the behavior? What the resulting code does, not what the commit said.
  3. Why would a user reach for it? If the code doesn't make this clear, flag it — the skill needs a usage rationale, not just a signature.
  4. What does the example look like? Draft a real, runnable example using the current signature. Verify imports.

Do not trust a commit's file path to dictate the skill it belongs to. An evaluator change often lives in packages/phoenix-client/, not packages/phoenix-evals/. A span attribute lands in the server or a client, not in phoenix-otel. For every audit candidate, scan all client/SDK directories — Python and TypeScript, generic client and topical packages — and map each new symbol to the skill that documents the feature it exposes, per the source-mapping table. The easiest way to miss a finding is to stop looking after the first package you find.

Pair each Python change with its TypeScript mirror (and vice versa). Nearly every user-facing feature ships on both runtimes, usually in the same PR. When you locate a Python change, grep the TS package equivalent for the same symbol family (same commit SHA, or within a few commits). If the mirror is there, edit the -typescript.md reference too. If it's genuinely Python-only or TS-only, say so in the run summary — that itself is a finding worth noting.

Phase 4: Map each finding to skill edits

For each finding, decide:

  1. Which target skill(s) does it belong to? (Use the source mapping table above.)
  2. Which file(s) inside that skill?
    • New cross-cutting concept → new references/<slug>.md file, plus a row in SKILL.md's reference table and a link in the navigation section.
    • Update to an existing concept → edit the existing reference file.
    • Top-level navigation, workflow, or invocation change → edit SKILL.md directly.
  3. What is the edit? A new section, a code-snippet replacement, a new row in a table, a renamed parameter, a deleted reference to a removed feature.

Reference file naming follows the existing patterns inside each skill — match what's already there:

  • phoenix-tracing/references/: prefix by category (setup-*, instrumentation-*, span-*, production-*, attributes-*) and suffix by language (-python.md, -typescript.md).
  • phoenix-evals/references/: prefix by category (evaluators-*, experiments-*, validation-*, production-*, fundamentals-*) and suffix by language.
  • phoenix-cli: single-file skill — most edits land directly in SKILL.md. Only add a references/ directory if a topic has grown too large for inline (>40 lines).

When deleting a removed feature, remove every reference (cross-links in SKILL.md, table rows, workflow steps), not just the most obvious one.

Phase 5: Apply the patches

Edit the skill files in place. Use Edit for surgical changes; use Write for new reference files. After each edit:

  • Verify the example runs against the current code. Every code snippet must use imports, classnames, and parameter names that exist in the tree as of the audited SHA. If you can't verify, don't include the snippet.
  • Verify cross-links resolve. If you add a new references/foo.md, also add it to the navigation tables in SKILL.md. Broken links in a skill make the agent waste tool calls trying to read missing files.
  • Quote signatures verbatim. A docstring or method header is the source of truth. Don't paraphrase parameters.

For breaking changes (renames, removals), do the destructive edit and the additive edit in the same pass. Removing the old reference without adding the new one leaves agents flailing; adding the new one without removing the old one leaves them confused about which is current.

Phase 6: Write the run summary

After patches are applied, produce a single markdown summary on stdout. The GitHub Actions wrapper reads this to populate the PR body. Do not write it to a file — let it surface as the agent's final message.

markdown
# Phoenix Skills Audit — <date range>

**Audited against:** `origin/main` at `<sha>`
**Commits analyzed:** N (M user-facing, K skipped)

## Edits applied

### phoenix-tracing
- `references/instrumentation-auto-python.md` — added section for new auto-instrumentor
  shipped in <commit>; example uses `<verified import path>`.
- `SKILL.md` — added row for the new reference file in the Quick Reference table.

### phoenix-cli
- `SKILL.md` — added `px experiment compare` subcommand documentation
  (commit `<sha>`); JSON shape grounded in `js/packages/phoenix-cli/src/commands/...`.
- `SKILL.md` — updated `--format` description; default changed in commit `<sha>`.

### phoenix-evals
- `references/evaluators-pre-built.md` — added table row for `<NewEvaluator>` from
  commit `<sha>`; inputs/labels/direction verified against `<source file>`.

## Skipped commits

Brief list of commits intentionally excluded (deps, refactors, feature flags, frontend
changes that don't affect the three skills) so a reviewer can confirm nothing was
missed.

## Out-of-scope findings

Optional. If you saw a user-facing change that belongs in a different skill (e.g.
`phoenix-server`, `phoenix-frontend`), note it here so the maintainer knows — but do
not edit those skills.

Grounding rules — do not skip

Every edit must be verifiable against the tree at the audited SHA. Skills are read by agents that will not double-check; if you teach them an API that doesn't exist, every downstream task that follows the skill is wrong.

  • Cite file paths and line numbers in the run summary for the source code that motivated each edit.
  • Quote signatures verbatim. If the code says def foo(trace_id: str, *, kind: str = "LLM"), the skill must say that — not foo(trace_id, kind).
  • Examples are real. Every snippet must use import paths, class names, and parameter names that exist in the current tree. Run a mental check: would python -c "from X import Y" succeed against this repo right now?
  • No invented APIs. If unsure whether a symbol is exported, check the package's index.ts / __init__.py first.
  • Stale checks are textual. Read the existing skill's snippet, then read the current source. If they diverge, replace the snippet exactly. Don't half-update it.
  • Rationale comes from the code or the PR. If the why isn't evident, say so in the run summary as something the author needs to supply, and skip the rationale rather than inventing one.

When in doubt, read more code. The cost of an extra file read is tiny compared to the cost of poisoning every future agent with a hallucinated API.

Writing style — sound like a person

Skills are read by agents but reviewed and maintained by humans. Write like the existing docs, not like a release announcement or a model narrating its diff:

  • Current state only, no history. Skills describe the application as it is today — never how it was versus how it is now. No "previously took X", "no longer emits Y", "changed shape", "they now land…" — that's changelog voice, and it goes stale the moment it's written. This has no exceptions: when a rename or removal happens, rewrite the affected text as if the old behavior never existed. A fact that varies by version is stated as a requirement ("requires Phoenix server >= 20.4.0"), not as a timeline.
  • Bold sparingly. Bolding ordinary words mid-sentence ("existing", "re-parents") reads as machine emphasis. Reserve bold for bullet lead-ins.
  • Catalogs stay catalogs. A reference file that lists things — above all phoenix-evals/references/evaluators-pre-built.md — gets a table row per item (name, inputs, labels, direction), never a section per item. Prose in a catalog is only for cross-item decision points (faithfulness vs. hallucination) and short gotcha bullets (an unusual input shape, a surprising score direction, a breaking change). If a new item genuinely needs pages of explanation, that's a sign it belongs in its own topical reference file, not inline.
  • One example per pattern, not per entry. Naming conventions are stated once; a reader can extrapolate create<Name>Evaluator without a snippet for every evaluator.
  • Explain scenarios, not predicates. When behavior branches, lead each case with the real-world situation ("the subagent was spawned by a tool call", "the subagent was started by the system") and put the field-level conditions after it as the test for that case. A table whose rows are raw predicates ("source is \"agent\" and tool_calls contain a tool_call_id equal to…") restates the implementation without telling the reader which situation they're in. Show the resulting output shape (a trace tree, a JSON payload) when it makes the outcome concrete.

Decision quick reference

QuestionAnswer
Commit message says refactor: — skip?Read the diff. Refactors often add exports.
Frontend-only change (js/app/src/) — does it affect any of the three skills?Almost never. Skip and note in "out-of-scope findings".
New env var — feature flag?Skip. Feature flags (*_DANGEROUSLY_*, *_EXPERIMENTAL_*) stay out of public skills.
New env var that controls a public surface?Update the relevant skill's setup or environment section.
Server-only change (src/phoenix/server/) — relevant to the three skills?Only if it changes what a client/CLI sees. A new GraphQL field consumed by the CLI is in scope; an internal server refactor is not.
Removed/renamed public symbol?Edit the skill: remove the old reference, add the new one in the same pass.
New evaluator class?Add a row to the table in phoenix-evals/references/evaluators-pre-built.md — inputs, labels, direction. It's a catalog: no per-evaluator section; at most a short gotcha bullet under "Notes on Specific Evaluators". If the patterns are genuinely new, create a topic-specific reference instead.
New CLI subcommand?Add to the relevant section of phoenix-cli/SKILL.md. Document the JSON shape if the command emits structured output.
New OpenInference attribute?Add to phoenix-tracing/references/attributes-*.md and the relevant span-*.md.
Breaking change to an existing skill example?High priority. Update the example and search the rest of the skill for adjacent uses of the old signature.
Feature has no apparent use case from reading the code?Add the API entry but flag in the run summary that rationale is missing — don't invent motivation.
Python-only change — is there a TS mirror?Check. Most features ship on both runtimes in the same PR; a Python-only change is the exception, not the rule. If confirmed Python-only, call it out in the run summary so someone can chase the TS side.
SKILL.md links to a references/foo.md that doesn't exist?Remove the link. Broken cross-links teach nothing and waste tool calls. Don't add a "TODO" flag — just delete.
Python change lives in packages/phoenix-client/ but conceptually belongs to tracing/evals?Map it to the conceptual skill. File path is an implementation detail; the skill that documents the feature owns it.

Pre-submit checklist

Before exiting, walk through:

  • Every edited code snippet uses symbols that exist in the tree at the audited SHA.
  • Every new reference file is linked from its skill's SKILL.md (no orphan files).
  • Every removed reference is also unlinked from SKILL.md (no broken cross-links).
  • The run summary lists every edit, grouped by target skill, with the source commit SHA.
  • Skipped commits are listed so a reviewer can confirm triage.
  • Every Phase-2 audit candidate tagged tracing / evals / cli is either reflected in the edits, or the run summary states a concrete reason it was dropped (e.g., "PR #X already self-patched the skill", with the SHA). A tagged candidate that just disappears is a triage bug — go back and reconcile.
  • No edits made outside .agents/skills/phoenix-tracing/, .agents/skills/phoenix-cli/, or .agents/skills/phoenix-evals/.
  • No invented APIs, no invented imports, no placeholder values disguised as real code.
  • Prose follows the writing-style rules: present tense, no changelog narration, sparing bold, catalog files get rows/bullets rather than new sections.

Operating modes

This skill runs in two contexts:

  • Manual — a developer asks "audit the skills" or "are the skills up to date". Apply the workflow above end-to-end, edit files, print the run summary, and let the user review the diff before committing.

  • CI (GitHub Actions) — .github/workflows/claude-skills-audit.yml runs this skill weekly. The action commits the patches to a branch and opens a PR using the run summary as the PR body. The skill itself does not commit or push — that's the workflow's job. Just edit the files and emit the summary.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Phoenix Skills Audit」では何ができますか?

Phoenixのユーザー向けインターフェース(Pythonクライアント、TypeScriptクライアント、CLI、REST/GraphQL API)の最近の変更を監査し、外部公開されている3つのAIエージェントスキル — `phoenix-tracing`、`phoenix-cli`、`phoenix-evals` — を更新して、実際にリリースされた内容と一致させます。ユーザーからこれらのスキルの更新や最近の変更との同期、スキルの乖離の監査、クライアント/CLI/APIのどの変更をスキルに反映すべきかの確認を依頼された場合や、「skill freshness」「skill drift」「stale skills」「are the skills up to date」といった表現が出た場合に使用してください。注目度の高いクライアント/CLI/APIの変更をリリースする際に、ユーザーから「スキルも更新する必要がありますか?」と尋ねられた場合も起動します。既定の対象期間は`origin/main`の過去7日間ですが、ユーザーが変更できます。

TypingMindでPhoenix Skills Auditを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Phoenix Skills Auditはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにPhoenix Skills Auditをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Arize-ai/phoenix/tree/main/.agents/skills/phoenix-skills-auditを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Phoenix Skills Auditを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Phoenix Skills Auditで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもPhoenix Skills Auditを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Phoenix Skills Audit」は無料ですか?

Arize-aiがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇