What problem does it solve? Running generative language models locally on a writer's own hardware often causes high VRAM consumption and slow time-to-first-token, making AI writing assistance unusable. This Skill defines how to optimize local inference engines so suggestions arrive fast without exhausting GPU memory. ## Core Features & Use Cases - INT4 Quantization (Q4_K_M): Selects GGUF quantized model variants that keep VRAM usage under 4.5 GB, fitting common 6 GB GPUs like the RTX 3060. - KV Prompt Caching: Configures llama.cpp with --cache-type q8_0 and an 8192-token context so worldbuilding and character sheets stay cached between generation calls, cutting TTFT below 300ms. - Literary Decoding Parameters: Sets temperature 0.80, top_p 0.90, and repeat_penalty 1.10 for creative text quality. - Asynchronous UI Rendering: Runs generation in a Web Worker and displays streaming text at reduced opacity until completion. - Use Case: When a user activates a new local model in the AI assistant settings, apply this Skill to launch llama-server with the correct quantization, cache, and sampling flags so inline suggestions appear in under 300ms. ## Quick Start Configure the local llama.cpp inference engine with Q4_K_M quantization, KV cache enabled, and literary decoding parameters so writing suggestions generate with low latency.