Yunshu — AI skill for Claude Code
Fast local LLM / VLM inference engine for Apple Silicon (MLX).
How to install Yunshu
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open YuhuanStudio/Yunshu and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Yunshu does
Fast local LLM / VLM inference engine for Apple Silicon (MLX). OpenAI- and Anthropic-compatible, lossless speculative decoding (DFlash2 / MTP), hybrid-model prefix cache with RAM/SSD tiers, native Claude Code / Codex / opencode support. Qwen3.8-27B tuned first.
Alternatives in AI
- Vllm Mlx — High-performance OpenAI and Anthropic compatible LLM inference server for Apple Silicon 1.5k ★
- Mac Code — mac code — Claude Code, but it runs on your Mac for free 905 ★
- Wax — Shared Single-file memory layer for all your agents, sub mili-second RAG over text, photo and video on Apple S 791 ★
README
Yunshu
**A fast local LLM / VLM inference engine for Apple Silicon.**
One process, OpenAI- and Anthropic-compatible, running on-device via MLX. Built for low latency on a single Mac: fast first token, fast lossless decode, and prefix reuse that skips work you already paid for. The first fully tuned model is **Qwen3.8-27B**.
[](https://www.python.org/downloads/) [](LICENSE) [](https://github.com/YuhuanStudio/Yunshu/actions/workflows/ci.yml)
**English** · [简体中文](README.zh-CN.md) · [繁體中文](README.zh-TW.md)
Highlights
- Lossless speculative decoding — DFlash2 or MTP drafting with batch-invariant kernels: greedy output with speculation on is token-identical to speculation off.
- Prefix cache for hybrid models — exact checkpoints for attention + GatedDeltaNet models, in RAM and on SSD, surviving restarts; optional extra storage tiers.
- The full API on the fast path — tools, JSON schema, stop, logprobs, reasoning, cancellation, across OpenAI Chat / Responses, Anthropic Messages and Ollama.
- Typed decisions —
/v1/decisionsanswers yes/no, choice and score questions with calibrated probabilities in one forward pass of a decision checkpoint, without generating text. - Native coding-agent support — Claude Code, Codex and opencode work through their own APIs, including server-side web search / fetch and MCP.
- Lossless by default — anything that can change output is an explicit setting.
- **Local and private
Related Skills
Local LLM Benchmarks
Measured llama.cpp benchmarks on AMD Radeon RDNA4 with ROCm: RX 9070 XT + Radeon AI PRO R9700 (48 GB). Qwen3.8
Agent SSD Guard
Keep AI coding agent CLIs from grinding down your SSD — relocate regenerable write targets to a RAM disk
Ovo Local LLM
A private Claude-Code-style coding agent for Apple Silicon — run chat, code, and local model workflows on-devi
Sous
Run Claude Code's subagents on a local LLM (MLX, Qwen) on Apple silicon and stretch your Pro/Max usage limits:
Setup Lmstudio VSCode
Set up a fully local coding model in VS Code on an Apple Silicon Mac (LM Studio MLX engine, no admin), with au
Atlassian Skills
Token-efficient CLI for Atlassian Server/DC (Jira, Confluence, Bitbucket) — drop-in alternative to mcp-atlassi
Related Agents
Design Infoviz
Information Visualization Designer on the Atlas bench. Maps every visual mark to a typed ontology fact and mea
Schema First Developer
Schema authoring and refactoring specialist — new domain models, schema splits/moves, LiteralKit literal domai
Vlm Workflow Reviewer
Review a shrug-prompter node chain (either a ComfyUI workflow JSON, a Python graph description, or an ASCII di