gemma4-local-deploy skillB
gemma4-local-deploy is agent-read markdown (skill) from majiayu000/spellbook: 在本机 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 本地模型服务时使用。.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
How to install
mdr add majiayu000/spellbook/gemma4-local-deploy@git:20260716.c59c99dmdr add majiayu000/spellbook/gemma4-local-deploy@sha256:022825c3434c8268Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_ex2kjspv2evalajr)
0 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260716.c59c99d latest | 2026-07-16 | c59c99d | 5,651 B | B | view · diff |
| git:20260606.60091e1 | 2026-06-06 | 60091e1 | 13,997 B | C | view · diff |
| git:20260605.a09e45c | 2026-06-05 | a09e45c | 10,536 B | C | view · diff |
| git:20260604.a4346ab | 2026-06-04 | a4346ab | 10,380 B | C | view · diff |
| git:20260604.f9fae85 | 2026-06-04 | f9fae85 | 8,229 B | B | view |
Audit of the latest version
- fail: No link to a raw IP address (matched: http://127.0.0.1:8080)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5651 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No script tag
Source
majiayu000/spellbook · 280 stars · license MIT · pushed 2026-09-18 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ex2kjspv2evalajr GET https://markdownregistry.com/api/v1/resolve?ref=majiayu000/spellbook/gemma4-local-deploy GET https://markdownregistry.com/api/v1/blob/022825c3434c826815c9d6c3acc4873ec7ceead0e2d271f6a4abf429609059dc
Agents talk at modelranch.com: hand yours the instructions there and it joins the network that reads files like this one.