/ai-toolkit:ai-generatorsfrom AI Features Toolkit
Use before adding any AI feature to a BRICKS app — chat, Q&A, voice interface, transcription, semantic search / RAG, or AI-generated media. Picks the right generator for the feature and target platform from the built-in catalog - local LLMs (llm/GGML, mlxLlm, neuropilotLlm, qnnLlm, onnxLlm, appleLlm), cloud LLMs (anthropicLlm, openaiLlm and compatible endpoints), speech-to-text (speechInference, realtimeTranscription, platformStt, appleStt, onnxStt), text-to-speech (ggmlTts, tts/ONNX, openaiTts, appleTts), vadInference, reranker, vectorStore, the assistant orchestrator, and the GenerativeMedia brick. Weighs offline requirements, privacy, latency, and per-device cost before wiring anything. Triggers on "add AI", "add a chatbot / voice assistant", "which generator should I use", "make it answer questions about…". Do NOT use for choosing the CTOR editor's own chat model (that is app settings, not the app being built).
Ships in AI Features Toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Pick the right AI building blocks for the app being built, before wiring anything. The full per-generator table lives in references/generator-matrix.md — read it when you need exact platform support or generator properties.
Announce at start: "I'm using the ai-generators skill to pick the AI components."
llm (GGML, most platforms) as default
local choice; mlxLlm (iOS/tvOS 17+, also vision-language);
neuropilotLlm (MediaTek Genio) / qnnLlm (Qualcomm) when the device
has that silicon; appleLlm on iOS/tvOS 26+ (zero model download);
onnxLlm for transformers.js ONNX models; anthropicLlm / openaiLlm
for cloud or LAN-hosted OpenAI-compatible servers (ollama, llama.cpp
server).speechInference (Whisper GGML) for utterances;
realtimeTranscription for continuous live captions (bundles VAD);
platformStt / appleStt when native platform recognition is enough
and its platform limits are acceptable.tts (ONNX — the only local TTS that also works
on web) or ggmlTts (native GGML); appleTts for zero-setup Apple
voices; openaiTts cloud.vadInference.vectorStore (+ reranker for quality).GenerativeMedia brick (cloud
providers; always configure the offline fallbacks).assistant generator — it orchestrates LLM + STT + TTS + MCP tools + file
search with auto-summary, and its live policies release contexts when idle.
Hand-wire individual generators when you need a custom pipeline shape
(e.g. captions only, or search without chat).ai-model-selection for the actual model and ai-recipes for wiring.| Question | Points to local | Points to cloud |
|---|---|---|
| Must it work offline? | yes → local, hard requirement | no |
| Is the content sensitive (customers, cameras, mics)? | yes → on-device | no |
| Fleet size × usage cost? | many devices, constant use → local is free at runtime | few devices, bursty |
| Quality bar? | small models suffice (menus, FAQs, captions) | needs frontier quality |
A LAN-hosted OpenAI-compatible server (ollama / llama.cpp server via
openaiLlm with a custom base URL) is the middle path: local-network privacy
and no per-token cost, with bigger models than the device could run.
Buttress (BRICKS remote inference) is the other middle path: the llm
(GGML), mlxLlm, and speechInference generators can offload transparently
to a workspace-bound GPU server on the LAN — same generator, same events, and
a use-local fallback that keeps the offline story intact when the server is
unreachable. Prefer it over the openaiLlm route when the app should keep its
on-device pipeline shape. Setup (server install, workspace binding, the
buttressConnectionSettings property) is covered by the built-in bricks-ctor
skill's references/buttress.md — read that before wiring Buttress.
llm (GGML) wants >8 GB device RAM — most signage boxes fail this;
use small models on NPU paths (neuropilotLlm/qnnLlm), onnxLlm,
Buttress offload, or a LAN server instead.tts (ONNX) there.appleStt is unavailable; Scene3D is experimental; check the matrix
row before promising a feature.ai-model-selection.ai-recipes.What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/ai-model-selectionUse when choosing or changing the actual model for an AI feature in a BRICKS app — which GGUF, which quantization, which size — and when checking whether target devices can run it. Encodes hardware sizing rules - RAM budgets (the llm/GGML generator requires devices with more than 8GB RAM), acceleration per platform (Metal on M1+/A17+, OpenCL on Adreno 700+, Hexagon NPU on Snapdragon 8 Gen 1+, Vulkan/CUDA on desktop, WebGPU on web), context-length vs memory trade-offs, and quantization ladders. Uses the huggingface_search / huggingface_select tools to inspect GGUF metadata before committing, and lists starter models proven in BRICKS bundles (BricksDisplay/whisper-ggml for STT; Qwen 2.5 0.5B/1.5B, Gemma 2 2B class for constrained devices). Also covers when a cloud model is the better call. Triggers on "which model", "will this run on the device", "the model is too slow / too big", "pick a GGUF". Do NOT use for choosing generators (use ai-generators) or for the CTOR editor's own chat model./ai-recipesUse when implementing a complete AI feature in a BRICKS app end-to-end, after generator and model choice. Proven wiring patterns with events, actions, and Property Bank state - voice kiosk (VAD → STT → LLM → TTS, or the assistant generator with MCP tools and file search), document Q&A / product finder (file ingestion → vectorStore → reranker → LLM), realtime transcription display, and AI image/video signage with the GenerativeMedia brick. Each recipe includes the generators and bricks to add, state shape, event wiring, offline behavior, and how to verify in the simulator and on device. Triggers on "build a voice assistant kiosk", "make a FAQ bot from these files", "live captions", "AI-generated visuals", "wire it up". Do NOT use for picking generators or models (use ai-generators / ai-model-selection first).Other plugins' skills for the same job
npx claudepluginhub mybigday/bricks-ctor-agent-skills --plugin ai-toolkit