aiq-deploy
Use when asked to install, deploy, run, validate, troubleshoot, or stop NVIDIA AI-Q Blueprint infrastructure.
What this skill does
# 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: ```bash 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: ```bash 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: ```text 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`. ```bash 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: ```bash 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: ```bash AIQ_SERVER_URL=http://localhost:8000 ``` If the backend runs elsewhere, tell the user to set: ```bash 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: ```text 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.
Related in Cloud & DevOps
appbuilder-action-scaffolder
IncludedCreate, implement, deploy, and debug Adobe Runtime actions with consistent layout, validation, and error handling. Use this skill whenever the user needs to add actions to an App Builder project, understand action structure (params, response format, web/raw actions), configure actions in the manifest, use App Builder SDKs (State, Files, Events, database), deploy and invoke actions via CLI, debug action issues, or implement patterns such as webhook receivers, custom event providers, journaling consumers, large payload redirects, action sequence pipelines, and Asset Compute workers. Also trigger when users mention serverless functions in Adobe context, action logging, IMS authentication for actions, or cron-style scheduled actions.
orchestrating-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. Use this skill when the user needs a multi-step Data Cloud pipeline, cross-phase troubleshooting, or data space and data kit management. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase sf data360 workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching phase-specific skill), the task is STDM/session tracing/parquet telemetry (use observing-agentforce), standard CRM SOQL (use querying-soql), or Apex implementation (use generating-apex).
github-project-automation
IncludedAutomate GitHub repository setup with CI/CD workflows, issue templates, Dependabot, and CodeQL security scanning. Includes 12 production-tested workflows and prevents 18 errors: YAML syntax, action pinning, and configuration. Use when: setting up GitHub Actions CI/CD, creating issue/PR templates, enabling Dependabot or CodeQL scanning, deploying to Cloudflare Workers, implementing matrix testing, or troubleshooting YAML indentation, action version pinning, secrets syntax, runner versions, or CodeQL configuration. Keywords: github actions, github workflow, ci/cd, issue templates, pull request templates, dependabot, codeql, security scanning, yaml syntax, github automation, repository setup, workflow templates, github actions matrix, secrets management, branch protection, codeowners, github projects, continuous integration, continuous deployment, workflow syntax error, action version pinning, runner version, github context, yaml indentation error
sf-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase `sf data360` workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching sf-datacloud-* skill), the task is STDM/session tracing/parquet telemetry (use sf-ai-agentforce-observability), standard CRM SOQL (use sf-soql), or Apex implementation (use sf-apex).
fabric-cli
IncludedUse this skill for Fabric.so CLI workflows with the `fabric` terminal command: diagnose/install/login, search or browse a Fabric library, save notes/links/files, create folders, ask the Fabric AI assistant, manage tasks/workspaces, generate shell completion, check subscription usage, produce JSON output, and use Fabric as persistent agent memory. Do not use for Microsoft Fabric/Azure/Power BI `fab`, Daniel Miessler's Fabric framework, Python Fabric SSH, Fabric.js, or textile/fashion fabric.
lark
IncludedLark/Feishu CLI skills: lark-cli operations for docs, markdown, sheets, base, calendar, im, mail, task, okr, drive, wiki, slides, whiteboard, apps, approval, attendance, contact, vc, minutes, event. Use when the user needs to operate Lark/Feishu resources via lark-cli, send messages, manage documents, spreadsheets, calendars, tasks, OKRs, deploy web pages, or any Feishu/Lark workspace operations.