majiayu000/spellbook/gemma4-local-deploy
在本机 Mac 或 Apple Silicon 上部署 Gemma 4 12B。本地安装/升级 llama.cpp,下载 GGUF 量化模型,用 llama-server 暴露 OpenAI-compatible API,或用 Ollama 暴露本地模型服务;按用户需求在默认 Q4_K_M、64K/128K 长上下文、QAT Q4_0 @ 256K、左右对比演示之间选择,配置 tmux 后台运行,验证健康检查、问答接口、资源占用和常见故障。当用户说部署 Gemma 4、Gemma 4 12B、本地大模型、长上下文、QAT、量化、llama-server、Ollama、GGUF、Mac 本地模型服务时使用。
Agent skill · version 0.0.0-main.1794524265.g238e076 · from majiayu000/spellbook
Install
npx yarkr-cli add skill:majiayu000/spellbook/gemma4-local-deployWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:majiayu000/spellbook/gemma4-local-deploy
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:majiayu000/spellbook/gemma4-local-deployOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:majiayu000/spellbook/gemma4-local-deployWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.