Agent skill · software engineering · mvanhorn
pp-xai
Printing Press CLI for xAI. REST API for xAI compatible with other providers.
Why this skill is useful
Adds executable commands for interacting with the xAI API, including model selection, cost estimation, and API key health checks that aren't available in public documentation.
What it needs
Requires xai-pp-cli installed locally. About 8k tokens when loaded. Last updated 2026-08-06. 1,890 stars on the source repository.
What this skill does
<!-- GENERATED FILE — DO NOT EDIT. This file is a verbatim mirror of library/ai/xai/SKILL.md, regenerated post-merge by tools/generate-skills/. Hand-edits here are silently overwritten on the next regen. Edit the library/ source instead. See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". --> xAI — Printing Press CLI Prerequisites: Install the CLI This skill drives the xai-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first: 1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows: 2. Verify: xai-pp-cli --version 3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill. If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead: If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds. Use xAI's REST API from scripts and agents with JSON-first output, local cache support, and MCP tooling. The CLI keeps the official bearer-token contract and exposes read-only inspection commands for model and credential health checks. Unique Capabilities These capabilities aren't available in any other tool for this API. Model planning model-picker — Rank live xAI models for a task using the authenticated model catalog. Use this before generation, vision, embedding, image, or video workflows when an agent needs a valid model ID. model-capabilities — Build a live capability matrix for the authenticated xAI model catalog. Use this when an agent needs to choose between chat, reasoning, vision, embedding, image, and video surfaces. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills mvanhorn/pp-xai