/ai-toolkit:ai-model-selectionfrom AI Features Toolkit
Use 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.
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.
Size the model to the worst device it must run on. Hardware details live in references/hardware-matrix.md; starter models in references/model-catalog.md.
Announce at start: "I'm using the ai-model-selection skill to size the model."
8 GB (the
llmgenerator's stated floor) → 1B–4B comfortable, up to 7–8B on strong hardware.
Q4_K_M (the size/quality workhorse). Step up
(Q5/Q6/Q8) only on desktop-class RAM; step down (Q3) only as a last resort
before shrinking the parameter count — a smaller model at Q4 usually beats
the same model at Q3.huggingface_search / huggingface_select — they expose metadata
(architecture, context_length, size) so you never guess from the repo name.
Set the generator's model URL + hash from the selected file.In order, cheapest first:
llm /
mlxLlm / speechInference generators offload to a workspace-bound GPU
server with the generator config unchanged and a use-local fallback
(setup in the built-in bricks-ctor skill's references/buttress.md) —
or a LAN llama.cpp/ollama server via openaiLlm.BricksDisplay/whisper-ggml. base is the
kiosk workhorse; small when accuracy matters and the device can afford it;
tiny for wake-word-ish latency. Multilingual variants for zh/ja/en mixed
environments.tts is the only local web option),
voice second. Test the actual language/voice — quality varies far more than
size.Choose anthropicLlm / openaiLlm (or keep GenerativeMedia, which is
cloud-only) when the quality bar exceeds small-model capability AND the
feature can degrade offline (cached responses, hidden entry point, default
media). Say the trade-off out loud to the user; offline-first is the platform
default, not an afterthought.
ai-generators.ai-recipes.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mybigday/bricks-ctor-agent-skills --plugin ai-toolkit3 skills in this plugin
/ai-generatorsUse 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)./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).