brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
cli-and-appsGuides agents using Pydantic AI CLI entry points, clai chat, clai web, Agent.to_cli, Agent.to_web, installed examples, and safe app scaffolds.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is to run or troubleshoot clai, pai, python -m pydantic_ai, browser chat UI, installed example packages, or application scaffolds built around Pydantic AI agents.
Agent.to_cli(), Agent.to_web(), or clai web behavior.clai/pai help entry points are available.clai "prompt" for one-shot terminal questions and bare clai for interactive chat with slash commands.clai --list-models to inspect provider-prefixed model strings; route model/provider credential decisions to ../models-and-providers/SKILL.md.clai --agent module:variable or an AgentSpec YAML/JSON path when the user already has an importable Agent; route agent construction details to ../agent-core/SKILL.md.Agent.to_cli() or Agent.to_cli_sync() when a Python app should expose an existing Agent as an interactive terminal session.clai web for a local development browser chat UI and Agent.to_web() when embedding the generated Starlette app in an ASGI stack; route deeper UI event streams, AG-UI, MCP, durable execution, and hooks to ../mcp-and-integrations/SKILL.md.pydantic_ai_examples modules as runnable examples only when the examples package and required services/credentials are installed; otherwise distill the recipe into local app code.Agent(...), dependencies, run methods, streaming semantics, AgentSpec, deterministic testing, and message-history continuation mechanics, read ../agent-core/SKILL.md.../tools-and-toolsets/SKILL.md.../outputs-and-messages/SKILL.md.../models-and-providers/SKILL.md.../mcp-and-integrations/SKILL.md.clai over legacy pai in new user instructions; mention pai only for compatibility with existing installations or smoke checks.clai web and Agent.to_web() as local development/debugging surfaces, not production frontend architecture.