From pi-skill
Guides integration, debugging, and extension of @mariozechner/pi-ai: unified LLM streaming API, tools, providers, TypeBox tools, token usage, and cross-provider handoffs in pi-mono.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pi-skill:pi-ai-libraryThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
1. `pi-mono/packages/ai/README.md` — primary API surface, providers list, examples.
@mariozechner/pi-ai)pi-mono/packages/ai/README.md — primary API surface, providers list, examples.pi-mono/AGENTS.md — section Adding a New LLM Provider (packages/ai) (file checklist: types.ts, providers/, register-builtins.ts, tests, coding-agent touchpoints).pi-mono/packages/ai/src/ — read only the specific provider or type files needed after narrowing via README.pi-mono/packages/ai/README.md opening note.pi-mono/AGENTS.md checklist verbatim when changing pi-mono.stream / complete / Context / Tool shapes; cite line ranges by re-reading the file, do not paraphrase signatures from memory.pi-mono/packages/ai/README.md Supported Providers section.npx claudepluginhub romiluz13/pi-agent-skillsAdds and configures AI provider shell scripts for Claude Council, setting API keys, troubleshooting connections, and documenting the provider interface.
Delivers provider-agnostic type-safe LLM chat SDK with streaming, tools, agent loops for OpenAI, Anthropic, Gemini, Ollama in React, Solid, Next.js apps.
Authors Pi TypeScript extensions using ExtensionAPI, custom tools, commands, UI hooks, registerProvider, and resource path merging via extendResources. For building or debugging pi extensions.