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
Audio Studio MCP
Local AI BGM and sound effects for Claude Code and any MCP client. Stable Audio 3 on Apple Silicon (MLX), no c
Sous
Run Claude Code's subagents on a local LLM (MLX, Qwen) on Apple silicon and stretch your Pro/Max usage limits:
Rss Grab Skill
播客 RSS 订阅自动化工具(Agent skill 包):订阅→增量拉取→AI 摘要→审阅勾选→下载→本地 ASR 转写→结构化中文笔记。完整流水线自动编排,面向 Codex / Claude Code 等 AI 助手
Related Agents
Grok Agent 01
ONLY job: find free or freemium AI token/API plans (OpenAI-compatible, Anthropic, Google, open routers, studen
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