AI-Q部署助手

本条目介绍 AI-Q部署助手 的公开用途。DeepSkill 当前公开目录说明:“在需要安装、部署、运行、验证、排查故障或停止 NVIDIA AI-Q Blueprint 基础设施时使用。” 适用场景包括部署发布与上云、搭 Agent 与 AI 应用。本页根据公开目录资料和固定版本的上游仓库整理,建议使用前核对该版本的环境、工具、权限及数据处理要求。Skillπ 提供站方用途介绍与原站链接;原始 SKILL.md 和附件仅在对应许可允许时开放。

仓库
openai/plugins

安装方式

先用 Prompt 核对来源与依赖。也可切换到安装命令。也可下载安装包。

安装方式

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "aiq-deploy":https://skillpi.com/zh/skills/nvidia/aiq-deploy。安装前核对上游来源和版本:https://github.com/openai/plugins/blob/0722921d5542fc593105c27bd52630babd8b8c2a/plugins/nvidia/skills/aiq-deploy/SKILL.md。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

此命令从 GitHub 来源仓库获取指定技能。运行前请先查看源文件。

运行工具
npx skills add https://github.com/openai/plugins/tree/0722921d5542fc593105c27bd52630babd8b8c2a/plugins/nvidia/skills/aiq-deploy --skill aiq-deploy

来源与配置

openai/plugins固定提交 0722921d5542fc593105c27bd52630babd8b8c2a

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

本条目介绍 AI-Q部署助手 的公开用途。DeepSkill 当前公开目录说明:“在需要安装、部署、运行、验证、排查故障或停止 NVIDIA AI-Q Blueprint 基础设施时使用。” 适用场景包括部署发布与上云、搭 Agent 与 AI 应用。本页根据公开目录资料和固定版本的上游仓库整理,建议使用前核对该版本的环境、工具、权限及数据处理要求。Skillπ 提供站方用途介绍与原站链接;原始 SKILL.md 和附件仅在对应许可允许时开放。

0 下载 0 分享点击

文件浏览

本站暂无可核验的版本文件清单。

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: aiq-deploy
description: |
  Use when asked to install, deploy, run, validate, troubleshoot, or stop NVIDIA AI-Q Blueprint infrastructure.
license: Apache-2.0
compatibility: |
  Designed for Claude Code, OpenCode, Codex, and Agent Skills-compatible tools. Requires Git, network
  access to GitHub, and one selected runtime path: Docker Compose v2 for the default local deployment,
  Python 3.11+ and uv for local process or CLI mode, Node.js 20+ and npm for local web UI mode, or
  kubectl 1.28+ and Helm 3.12+ for Kubernetes and Helm mode.
metadata:
  version: "2.1.0"
  author: "NVIDIA AI-Q Blueprint Team <aiq-blueprint@nvidia.com>"
  github-url: "https://github.com/NVIDIA-AI-Blueprints/aiq"
  tags:
    - nvidia
    - aiq
    - blueprint
    - deploy
    - operations
    - agent-skills
allowed-tools: Read Bash

AIQ Deploy Skill

Purpose

Use this skill to get a local or self-hosted NVIDIA AI-Q Blueprint server running and verified for use by aiq-research.

This skill owns setup, deployment, operational checks, troubleshooting, and shutdown. It does not run deep research itself. After deployment is healthy, hand off the verified server URL to aiq-research. The workflow stays explicit so deployment validation and handoff are repeatable across supported agent clients.

Prerequisites

Users need:

  • Access to clone or update https://github.com/NVIDIA-AI-Blueprints/aiq.
  • Git available in the shell.
  • One deployment runtime:
    • Docker Engine with Docker Compose v2 for the default durable local deployment.
    • Python 3.11+ and uv for local process or CLI mode.
    • Node.js 20+ and npm for local browser UI development mode.
    • kubectl 1.28+, Helm 3.12+, and access to a Kubernetes cluster for Helm mode.
  • Network access to GitHub, NVIDIA-hosted model endpoints, and any selected search provider.
  • Credentials stored outside chat. Hosted-model usage requires NVIDIA_API_KEY; web research requires at least one supported search provider key such as TAVILY_API_KEY, SERPER_API_KEY, or EXA_API_KEY.
  • System capacity for the selected runtime. Docker Compose mode starts the AI-Q backend and PostgreSQL by default; browser UI mode also uses frontend port 3000. Self-hosted model or RAG deployments may require GPU resources.

Before writing secrets, verify deploy/.env is ignored:

git check-ignore deploy/.env

Expected output: deploy/.env or a matching ignore rule. If it is not ignored, stop and fix the ignore rule before placing credentials in the file.

Instructions

  1. Locate or clone the AI-Q repository.
  2. Confirm the expected repository files exist.
  3. Select the deployment mode.
  4. Prepare deploy/.env without overwriting user secrets.
  5. Check runtime prerequisites for the selected path.
  6. Start the selected deployment.
  7. Run basic validation.
  8. Report the verified AIQ_SERVER_URL for aiq-research.
  9. Ask whether to run optional deep research completion validation.

Step 1 - Locate or clone AI-Q

If no AI-Q checkout exists, read references/locate-or-clone.md before cloning. In an existing checkout, confirm the required files:

pwd
test -f pyproject.toml
test -f deploy/.env.example
test -d configs

Expected output: pwd prints the AI-Q repository path; the test commands exit with status 0 and no output.

Step 2 - Select the deployment mode

If the user asks to install, deploy, set up, or run AI-Q without naming a mode, ask:

How do you want to run AI-Q?

1. Skill backend - backend-only service for aiq-research w/o browser UI.
2. CLI - interactive terminal AI-Q.
3. UI - browser AI-Q app with backend and frontend.
4. Custom - choose an existing AI-Q config or review advanced customization docs before deployment.

Wait for the user's answer before starting services.

Do not ask this question when the user already specified a mode, such as Docker Compose, Helm, UI, CLI, or Agent Skill backend. Do not ask the full mode question when aiq-research routed here because a deep research request needs a backend. In that case, prefer Agent Skill backend and ask only for permission to start it if needed.

Step 3 - Prepare environment and secrets

Read references/env-and-secrets.md before changing deploy/.env.

if [ ! -f deploy/.env ]; then
  cp deploy/.env.example deploy/.env
  echo "created deploy/.env from deploy/.env.example"
fi

Expected output when the file is missing: created deploy/.env from deploy/.env.example. Expected output when the file already exists: no output, and the existing file is preserved.

Never print secret values. If credentials are missing, ask the user to update deploy/.env; do not ask them to paste secret values into chat.

Step 4 - Route to the selected deployment path

Match the user request, then read the referenced file before acting:

User Intent Reference
No AI-Q checkout exists, install AIQ, clone AIQ, locate repo references/locate-or-clone.md
Configure environment, check API keys, inspect .env references/env-and-secrets.md
Choose an AI-Q workflow config, understand config files, set BACKEND_CONFIG or CONFIG_FILE references/configs.md
Backend-only local server for aiq-research, AIQ as an Agent Skill references/skill-backend.md
Terminal assistant, CLI-only run, no web UI references/terminal-cli.md
Quick local development run, start UI/backend without containers references/local-web.md
Default durable local deployment, Docker Compose, containers, PostgreSQL references/docker-compose.md
Kubernetes, Helm, cluster deployment references/kubernetes-helm.md
Foundational RAG / FRAG integration references/frag.md
Basic health checks, shallow smoke checks, handoff to aiq-research references/validation.md
Optional deep research completion validation references/end-to-end-validation.md
Logs, unhealthy services, port conflicts, config failures references/troubleshooting.md
Stop services, restart, rebuild, safe cleanup references/shutdown.md

Step 5 - Validate and hand off

After startup, read references/validation.md and run the appropriate checks for the selected mode. For the default local backend, verify health:

curl -sf http://localhost:8000/health

Expected output: a successful JSON health response or an empty successful response depending on the server build. If the command fails, read references/troubleshooting.md and diagnose before claiming the backend is ready.

aiq-research needs a reachable AI-Q server URL. If the backend is on the default port, no extra configuration is needed:

AIQ_SERVER_URL=http://localhost:8000

If the backend runs elsewhere, tell the user to set:

export AIQ_SERVER_URL="http://localhost:<PORT>"

Do not continue into deep research or deep research completion validation unless the user asks for it or confirms the post-deploy validation prompt. This skill's success criterion is a deployed and basically validated server, not report generation quality.

Version Compatibility

IMPORTANT: This skill is designed for NVIDIA AI-Q Blueprint version 2.1.0.

Semantic Versioning Compatibility Rules:

Skill version: X.Y.Z
Blueprint version: A.B.C

Compatible IF:
1. A == X (Major versions MUST match)
2. B >= Y (Minor version must be equal or greater)
3. C can be anything (Patch version does not affect compatibility)

Examples:

  • Skill version 2.1.0 is compatible with Blueprint version 2.1.0.
  • Skill version 2.1.0 is compatible with Blueprint version 2.2.0.
  • Skill version 2.1.0 is compatible with Blueprint version 2.1.5.
  • Skill version 2.1.0 is not compatible with Blueprint version 3.0.0.
  • Skill version 2.1.0 is not compatible with Blueprint version 2.0.0.

If your Blueprint version is not compatible:

  1. Check for an updated skill version matching your Blueprint version.
  2. Use a Blueprint version compatible with this skill.
  3. Proceed with caution only when the user accepts the compatibility risk; deployment commands or config names may have changed.

Security Best Practices

  • Never print secret values. Check only whether required environment variables are set.
  • Store credentials in deploy/.env or environment variables, not in chat transcripts, shell history, committed files, or example commands.
  • Do not overwrite deploy/.env when it already exists.
  • Ask before destructive cleanup such as deleting Docker volumes with down -v.
  • Do not claim FRAG is ready unless both RAG_SERVER_URL and RAG_INGEST_URL are configured and reachable.
  • Run verification commands yourself when possible.

Limitations

  • This skill prepares and validates AI-Q infrastructure; it does not judge deep research report quality.
  • It cannot provide or inspect secret values. Users must configure credentials outside chat.
  • Helm, FRAG, custom config, and self-hosted model paths depend on infrastructure the user controls.
  • Destructive cleanup, such as deleting Docker volumes, requires explicit user approval.

Examples

Example 1: Deploy a backend-only Skill server with Docker Compose

test -f deploy/.env || cp deploy/.env.example deploy/.env
git check-ignore deploy/.env
cd deploy/compose
BUILD_TARGET=release docker compose --env-file ../.env -f docker-compose.yaml config --quiet
BUILD_TARGET=release docker compose --env-file ../.env -f docker-compose.yaml up -d --build aiq-agent
curl -sf http://localhost:8000/health

Expected output:

deploy/.env
<docker compose starts aiq-agent and dependencies>
<health endpoint returns a successful response>

If Docker, ports, credentials, or health checks fail, read references/troubleshooting.md before retrying.

Example 2: Hand off a non-default backend URL to aiq-research

export AIQ_SERVER_URL="http://localhost:8100"
curl -sf "$AIQ_SERVER_URL/health"

Expected output: a successful health response. Then tell the user to keep AIQ_SERVER_URL set before invoking aiq-research.

References

Topic Documentation
Locate or clone AI-Q references/locate-or-clone.md
Environment and secrets references/env-and-secrets.md
Workflow configs references/configs.md
Agent Skill backend references/skill-backend.md
CLI deployment references/terminal-cli.md
Local web deployment references/local-web.md
Docker Compose deployment references/docker-compose.md
Kubernetes and Helm deployment references/kubernetes-helm.md
FRAG integration references/frag.md
Basic validation references/validation.md
End-to-end validation references/end-to-end-validation.md
Troubleshooting references/troubleshooting.md
Shutdown and cleanup references/shutdown.md

Common Issues

Issue: Backend port is already in use

Symptoms:

  • Docker Compose fails to bind port 8000.
  • curl -sf http://localhost:8000/health reaches an unexpected service or fails.

Causes:

  • Another AI-Q backend or local development server is already running.
  • PORT in deploy/.env conflicts with an existing process.

Solutions:

  1. Identify the process:
    lsof -nP -iTCP:8000 -sTCP:LISTEN
  2. Either stop the conflicting process with the user's approval or set a different port in deploy/.env, such as PORT=8100.
  3. Restart the selected deployment path and verify:
    curl -sf http://localhost:8100/health

Issue: Required credentials are missing

Symptoms:

  • Infrastructure starts, but model-backed chat or research requests fail.
  • Logs mention unauthorized, forbidden, invalid key, or missing provider configuration.

Causes:

  • NVIDIA_API_KEY is missing or empty.
  • No supported search provider key is configured for web research.

Solutions:

  1. Check presence without printing values by following references/env-and-secrets.md.
  2. Ask the user to update deploy/.env; do not ask them to paste secrets into chat.
  3. Rerun references/validation.md after the user updates credentials.

Issue: Backend is healthy but not compatible with aiq-research

Symptoms:

  • /health succeeds, but /chat or /v1/jobs/async/agents fails.
  • aiq-research reports that async agents are unavailable.

Causes:

  • The selected config is CLI-only or does not expose the web/API backend expected by the skill.
  • BACKEND_CONFIG or CONFIG_FILE points at the wrong AI-Q config.

Solutions:

  1. Read references/configs.md and confirm the selected config is API-enabled.
  2. For the default Skill backend, use configs/config_web_default_llamaindex.yml.
  3. Restart the backend and rerun references/validation.md.

Issue: Docker cleanup would remove useful state

Symptoms:

  • Troubleshooting suggests docker compose down -v.
  • The user may have local PostgreSQL job or checkpoint data they want to keep.

Causes:

  • down -v removes Docker volumes.
  • Rebuilds and restarts are often enough for config or image changes.

Solutions:

  1. Prefer a normal restart from references/shutdown.md.
  2. Ask for explicit approval before running volume deletion.
  3. After cleanup, rerun deployment and validation from the selected route.

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自SKILLπ LAB 评测的质量报告。

场景价值92/100
评分依据

针对 NVIDIA AI-Q Blueprint 基础设施的部署、验证、故障排查等明确运维场景,解决用户实际痛点

触发精准95/100
评分依据

触发词精准完整,明确限定为 install/deploy/run/validate/troubleshoot/stop 等运维操作

结构规范94/100
评分依据

Phase/步骤清晰(Step 1-9),执行流程明确

执行可靠93/100
评分依据

工具来源明确,支持多种主流运行时环境(Docker、Python、Node、Kubernetes)

证据可验 (前四项均值)94/100
计算方式

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • github.com
  • localhost

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

risk · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。