Phoenix Llms Txt 标志

Phoenix Llms Txt

组织热门
Arize-ai
phoenix-llms-txt

维护 Phoenix 的 llms.txt 文档索引,路径为 docs/phoenix/llms.txt。该索引是供 AI 智能体使用的机器可读文档地图,也是 `px docs fetch` CLI 使用的文档地图。添加、审核或重新整理 llms.txt 条目时,请使用此技能。当用户提到 llms.txt、文档索引、px docs 或适合 LLM 阅读的文档时触发。

Add to TypingMind

概览

发布者Arize-ai
代码仓库phoenix
技能名称phoenix-llms-txt
星标数
11.8K
复刻数
1.2K
附带文件
仅含指令
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 Arize-ai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Phoenix Llms Txt AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Arize-ai/phoenix/tree/main/.agents/skills/phoenix-llms-txt
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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-llms-txt .claude/skills/phoenix-llms-txt
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Phoenix Llms Txt,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Phoenix Llms Txt。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Phoenix Llms Txt 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Phoenix llms.txt Maintenance

docs/phoenix/llms.txt is the machine-readable documentation index for Phoenix, following the llmstxt.org specification. AI agents, coding assistants, and the px docs fetch CLI all consume this file.

Format

Standard markdown links per the llmstxt.org spec:

markdown
- [Title](https://arize.com/docs/phoenix/path/to/page): Action-oriented description of what the page teaches

Sections use ## headings, subsections use ###. Subsections inherit their parent section.

Coverage rules

Default to including every published .mdx page that exists in docs.json navigation. The AFDocs Agent Score (afdocs.dev) measures llms.txt coverage against the sitemap and flags anything under 80%. Aim for ≥ 90% coverage of nav-published pages.

Include as individual entries:

  • All workflow docs (tracing, evaluation, experiments, prompts)
  • SDK and API reference pages, including each REST API endpoint
  • Self-hosting and deployment guides
  • Quick start guides (Python and TypeScript)
  • Server-side evaluation pages
  • Pre-built evaluation metrics — list each metric page (faithfulness, toxicity, hallucination, RAG relevance, etc.) so agents can find them by name
  • Evaluation integrations — list each provider's evals page (Ragas, Cleanlab, UQLM, MLflow, OpenAI evals, Anthropic evals, etc.); these are real docs pages with usable code
  • Release notes — list each individual release note. Group by year under a ## Release Notes section with ### YYYY subsections so the section stays scannable
  • Cookbook pages with substantial prose content (code samples, written explanation, configuration walkthroughs)

Include as individual entries under Integrations:

  • All LLM provider pages (OpenAI, Anthropic, Bedrock, Google GenAI, etc.) and their tracing/evals sub-pages
  • All framework integration pages (LangChain, LlamaIndex, Vercel AI SDK, etc.) and their tracing sub-pages
  • All platform integration pages (Dify, Flowise, LangFlow, etc.)
  • Developer tools (Coding Agents, MCP Server)
  • Vector databases (each provider page)

Exclude — content agents cannot use:

  • Agent-assisted setup page — for AI coding agents, not human developers or LLM documentation consumers
  • Interactive demos and sandbox links (e.g., Phoenix Demo) — agents cannot interact with live demos
  • Colab / Jupyter notebook links (e.g., End-to-End Features Notebook) — agents cannot parse .ipynb hosted on Colab
  • Cookbook pages that are only a Colab embed with no prose
  • Bare external links that have no docs page behind them (e.g., a raw github.com URL). Note: docs about GitHub (issues, contributing) are fine to keep
  • Translated pages (documentation/jp.mdx, zh.mdx)
  • Draft or temporary pages
  • Orphan .mdx files not in docs.json navigation — these aren't routed by Mintlify and 404 in production
  • Duplicate entries — if a page already appears in one section, do not repeat it in another (e.g., don't list "User Guide" in both Overview and Concepts)

Always include:

  • The OpenAPI spec URL (https://raw.githubusercontent.com/Arize-ai/phoenix/refs/heads/main/schemas/openapi.json) in the SDK & API Reference section — this is the most machine-readable resource in the entire docs and critical for agents building API integrations

Auditing coverage

Every time you add, remove, or audit llms.txt entries you must traverse the full docs tree to verify coverage. Follow these steps in order:

Step 1 — Enumerate published nav pages (intersect docs.json with .mdx files)

docs.json is the source of truth for what Mintlify routes. Pages on disk but not in nav 404 in production. Pages in nav with no .mdx file are broken nav entries. Use the intersection.

bash
# All nav-published page paths
python3 -c "
import re, json
raw = open('docs.json').read()
nav = sorted({p.replace('docs/phoenix/','') for p in re.findall(r'\"(docs/phoenix/[a-zA-Z0-9/_-]+)\"', raw)})
print('\n'.join(f'https://arize.com/docs/phoenix/{p}' for p in nav))
" | sort > /tmp/nav_urls.txt

# All .mdx files on disk
find docs/phoenix -name "*.mdx" -type f | \
  sed 's|docs/phoenix/||; s|\.mdx$||; s|^|https://arize.com/docs/phoenix/|' | \
  sort > /tmp/fs_urls.txt

# Use the intersection — these are the URLs that actually serve content
comm -12 /tmp/nav_urls.txt /tmp/fs_urls.txt > /tmp/published_urls.txt

Step 2 — Extract current llms.txt URLs

bash
grep -oE '\(https://[^)]+\)' docs/phoenix/llms.txt | \
  tr -d '()' | sort > /tmp/llms_urls.txt

Step 3 — Diff for missing and stale entries

bash
# Pages published but NOT in llms.txt (gaps to fill)
comm -23 /tmp/published_urls.txt /tmp/llms_urls.txt > /tmp/missing.txt

# URLs in llms.txt but NOT published (stale — remove)
comm -13 /tmp/published_urls.txt /tmp/llms_urls.txt > /tmp/stale.txt

Step 4 — Triage each result

For every entry in /tmp/missing.txt, open the .mdx file and decide:

  • Include — default, unless the page matches an exclusion rule (notebook-only, demo, translated, agent-assisted-setup)
  • Skip — only when an exclusion rule applies

For every entry in /tmp/stale.txt:

  • Check if the URL is a non-filesystem resource that is still valid (e.g., the OpenAPI spec, external TypeScript SDK docs). These are expected "stale" results — keep them.
  • If the .mdx file was deleted or renamed, remove the entry.

Step 5 — Verify coverage % against the AFDocs threshold

bash
published=$(wc -l < /tmp/published_urls.txt)
indexed=$(comm -12 /tmp/published_urls.txt /tmp/llms_urls.txt | wc -l)
echo "scale=1; $indexed * 100 / $published" | bc
# Target: ≥ 90 (AFDocs flags < 80)

Step 5 — Spot-check by section

Walk each ## section in llms.txt and verify:

  1. The section has entries for all major sub-topics in docs/phoenix/<section>/
  2. No entry is duplicated in another section
  3. Descriptions are action-oriented and 10–25 words (see "Writing good descriptions")

Some false positives are expected — directory URLs that resolve via the docs framework's routing are valid even without a corresponding .mdx file.

Section order

  1. Overview — what Phoenix is
  2. Quick Start — getting-started guides
  3. Tracing — capturing execution data
  4. Evaluation — measuring quality
  5. Datasets & Experiments — systematic testing
  6. Prompt Engineering — prompt management and playground
  7. Integrations — frameworks, providers, platforms (grouped by type)
  8. Settings — RBAC, API keys, data retention
  9. Concepts — theoretical foundations
  10. Resources — FAQs, contribution guide, migration
  11. SDK & API Reference — Python, TypeScript, REST, OpenInference
  12. Self-Hosting — deployment and configuration
  13. Phoenix Cloud — managed service
  14. Cookbooks — example notebooks

Writing good titles

Titles are the primary signal an LLM uses to decide whether to fetch a page.

  • Be specific — titles must be unambiguous when read outside their section context. "Overview" or "Tutorial" alone is meaningless; prefer "Server Evals Overview" or "Tracing Tutorial".
  • No duplicate titles — every [Title] in the file must be unique. If two pages would both be called "Overview", prefix with the topic.

Writing good descriptions

Descriptions help LLMs decide whether to fetch a page. They should:

  • Be action-oriented — state what the page teaches you to do, not what it's about. Use imperative verbs: "Configure…", "Instrument…", "Run…", "Build…". Never use noun-only lists like "Latency, token usage, cost" — instead write "Monitor latency, token usage, and cost across traces".
  • Differentiate from the title — the description must add information the title does not already convey. If the description just restates the title in different words, it wastes tokens and helps no one. Bad: title "Auto-Optimize", description "Automated prompt optimization". Good: title "Auto-Optimize", description "Use DSPy-style optimizers to improve prompts programmatically".
  • Mention package names for integration/SDK pages — e.g., "openinference-instrumentation-openai", "@arizeai/phoenix-client".
  • Be 5–20 words — shorter is better. Cut every word that doesn't help an LLM decide whether to fetch.
  • No filler — never use "comprehensive", "complete", "learn more about", "information about", "overview of". These words carry zero signal.
  • SDK reference entries must describe what the package does, not just repeat the package name. Bad: "@arizeai/phoenix-evals". Good: "Run LLM and code evaluators in TypeScript".

Verification

After changes, run the CLI parser tests to confirm the file is well-formed:

bash
cd js/packages/phoenix-cli && pnpm test -- --grep "docs"

常见问题

Phoenix Llms Txt AI 技能有什么作用?

维护 Phoenix 的 llms.txt 文档索引,路径为 docs/phoenix/llms.txt。该索引是供 AI 智能体使用的机器可读文档地图,也是 `px docs fetch` CLI 使用的文档地图。添加、审核或重新整理 llms.txt 条目时,请使用此技能。当用户提到 llms.txt、文档索引、px docs 或适合 LLM 阅读的文档时触发。

为什么在 TypingMind 中使用 Phoenix Llms Txt?

因为您只需安装一次,就能搭配任何模型使用。Phoenix Llms Txt 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Phoenix Llms Txt?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Arize-ai/phoenix/tree/main/.agents/skills/phoenix-llms-txt。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Phoenix Llms Txt?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Phoenix Llms Txt 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Phoenix Llms Txt 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Phoenix Llms Txt AI 技能免费吗?

Arize-ai 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇