You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It teaches Hermes / Claude Code / Codex-style agents to inspect your machine, choose an inference engine, create a `uv` + `.venv` project, tune kernels/quantization/batching/KV cache, and verify the server with a real smoke test.
11
+
**Языки:**[🇷🇺 Русский — основная документация](#-русский) · [🇬🇧 English](#-english) · [🇨🇳 中文](#-中文)
12
12
13
-
> Inspired by Ahmad Osman's LLM inference engine decision guide: https://x.com/TheAhmadOsman/status/2057183854444843202
-**Forces verification:** health check + OpenAI-compatible chat completion before claiming success.
17
+
**Local Inference Optimizer** — skill для Hermes / Claude Code / Codex-агентов, который помогает агенту не гадать, а реально подобрать и настроить LLM inference stack под железо, модель и сценарий.
22
18
23
-
## Decision map
19
+
Агент должен:
24
20
25
-
| Hardware / workload | Primary engine |
26
-
|---|---|
27
-
| MacBook / Mac Studio | MLX first, llama.cpp fallback |
Или просто скопируйте `SKILL.md` в project instructions.
65
+
66
+
### Готовый prompt
60
67
61
68
```text
62
-
/skill local-inference-optimizer
69
+
Используй local-inference-optimizer skill.
70
+
Определи лучший inference engine под моё железо, настрой проект через uv + venv, подбери kernels/quantization, подкрути flags, batching, KV cache и оптимизируй запуск под мою модель и машину.
71
+
72
+
Модель: <HF repo или локальный путь>
73
+
Цель: <локальный чат / OpenAI API / production / long context / throughput / latency>
63
74
```
64
75
65
-
## Use with Claude Code / Codex
76
+
### Карта выбора engine
77
+
78
+
| Железо / сценарий | Стартовый engine |
79
+
|---|---|
80
+
| MacBook / Mac Studio | MLX, fallback llama.cpp |
You can also copy `SKILL.md` directly into any project instruction system.
119
+
## 🇬🇧 English
79
120
80
-
## Prompt to use
121
+
**Local Inference Optimizer** is a skill for Hermes / Claude Code / Codex-style agents. It helps the agent inspect real hardware, choose the right LLM inference engine, create a `uv` + `.venv` project, tune runtime flags, and verify the server with a real smoke test.
Determine the best inference engine for my hardware, set up the project with uv + venv, choose kernels/quantization, tune flags, batching, KV cache, and optimize launch for my model and machine.
184
+
185
+
Model: <HF repo or local path>
186
+
Goal: <local chat / OpenAI API / production / long context / throughput / latency>
0 commit comments