local-ai-use
Makes this agent generate images, transcribe audio, and synthesize speech on the user's own machine through a local Lemonade Server instead of a paid cloud API.
Skill by amd
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/amd-local-ai-use
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, ml, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/local-ai-use
What's inside
- Skill name
local-ai-use- Description
- Makes this agent generate images, transcribe audio, and synthesize speech on the user's own machine through a local Lemonade Server instead of a paid cloud API. Use it above all to change that routing persistently, from now on — keep generating pictures locally while chat stays on the cloud; set this workspace up to make images on my own machine — even when the user asks for no image or file in the same breath. Also use it for a single request the user wants done locally, offline, on-device, or kept private: transcribe this recording, make this picture, read this text aloud. Applies in Claude, Cursor, Codex, or any agent harness. Use when the user wants to cut cost or tokens on image, audio, or voice API calls, or to drop DALL-E, hosted Whisper, ElevenLabs, or other paid multimodal APIs; or mentions Lemonade Server, OmniRouter, SD-Turbo, kokoro, Ryzen AI, or NPU/iGPU/dGPU inference. Changes no application source code; do not use it if the user is adding local AI to an app they ship.
- License
- MIT
- Instructions
- 323 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (7)
- .federated.json
- SKILL.md
- evals.json · evals/
- reference.md
- setup_local_ai.py · scripts/
- skill-card.md
- local-ai-rule.md · templates/
SKILL.md (first lines)
# Local AI Use (route image, TTS, STT through Lemonade) This is a **meta-skill**. You run it once. After that, every later request that needs image generation, text-to-speech, or speech-to-text uses the local [Lemonade Server](https://lemonade-server.ai) instead of a cloud API. The agent's own LLM keeps handling text; only the expensive multimodal calls move on-device. The skill does three things: 1. **Makes sure local Lemonade is installed and running.** If no modern `lemonade` CLI is found, the setup script installs the latest version of Lemonade on the user's behalf. Modern Lemonade has no `serve` command — the Lemonade service (the `lemond` daemon) auto-starts on install and is managed by the OS — so the setup script waits for the service and, if it stays down, prints the exact OS-specific command to start it (e.g. `sudo systemctl start lemond` on Linux). 2. **Verifies that local Lemonade is reachable** on the port `lemonade status` reports, so a server already running on a non-default port is used as-is rather than reported missing (`13305` is only the fallback). 3. **Drops a `Local AI Use` block into the workspace `AGENTS.md`** so the agent reads the routing rule on every later turn, in Cursor, Claude Code, Codex, Gemini CLI, and any other agent that respects `AGENTS.md`. > **Requires modern Lemonade (v10.1.0 or newer).** Modern Lemonade unified > everything under one `lemonade` CLI (`lemonade status`, `lemonade pull`, ...) > driving an always-on `lemond` service. `lemonade` is the only valid CLI, and > this skill installs Lemonade only from the [official install > paths](https://lemonade-server.ai/docs/guide/install/) listed in Step 1a. If > an older `lemonade` is already on the `PATH` it will shadow the modern CLI; > uninstall it first (see the removal commands in Step 1a) before running this > skill. Models are **not** downloaded during setup. Each default model is pulled lazily, on first use, by the routing rule (e.g. the first image request pulls the image model). This keeps setup fast and avoids gigabytes of downloads the user may never need. ## When to use this skill Use this skill when **all** of the following are true: - The user wants local Lemonade. If it is not yet installed, the setup script installs the latest version for them automatically. - The user accepts the Lemonade endpoint on this machine, whichever port the service reports (`http://localhost:13305` if it has never been changed). - The user wants the change to be **persistent** across future turns and agent restarts (the rule is written to disk). If the user is instead **embedding** Lemonade as a private subprocess inside an app installer, do not use this skill; use `local-ai-app-integration` instead. ## Prerequisites - **OS:** Windows 11 x64, Ubuntu/Debian x64, or macOS (beta). - **Lemonade:** the setup script installs the latest version if missing, using `winget` on Windows, the `ppa:lemonade-team/stable` PPA on Ubuntu/Debian, and the Homebrew cask on macOS (see Step 1a for the fallbacks). The `lemond` service auto-starts after install; the script waits for it rather than launching it. On Linux the install needs `sudo`. Pass `--no-install` if the user wants to install it themselves instead. - **Disk:** ~8 GB free for the three default models (SD-Turbo + Whisper-Tiny + kokoro-v1), plus ~0.1 GB for the installer itself. The first image request also triggers a ~5 GB pull for `SD-Turbo` if it is not already cached; on metered or slow links, consider pulling models eagerly after setup (see `lemonade pull` in `reference.md`). - **Network:** required for the install download and the first `lemonade pull` of each model. After that, every modality runs offline. - **Version:** requires v10.1.0 or newer (the unified `lemonade` CLI this skill targets). Model IDs and `system-info` fields can change between releases; confirm against `lemonade status` and `GET /api/v1/models` on the version actually installed rather than assuming this document is current. ## The opinionated path Run this checklist top to bottom. Track progress against it; do not move on until each step verifies. ``` [ ] 1. Ensure Lemonade Server is installed and running (auto-install if missing) [ ] 2. Install the routing rule into the workspace AGENTS.md ``` On a managed or shared machine where the agent must not run `sudo apt-get install`, pass `--no-install` to the setup script and confirm Lemonade is already installed before continuing. The single command that does both steps in one shot is: ```bash python scripts/setup_local_ai.py ``` **Always run this script first — even if Lemonade is already installed and the server is already running, and even before generating a single image.** Writing the routing rule into `AGENTS.md` is what makes this skill complete; skipping it because "Lemonade is already up" leaves the workspace unconfigured for future turns. The script is safe to run in that case: it detects the running service, skips the install, and just writes the rule. It auto-installs the latest version of Lemonade if no modern `lemonade` CLI is found, waits for the auto-started `lemond` service, then writes the rule. The script is idempotent: re-running it on a fully configured workspace is a no-op apart from a healthcheck. Read the sections below for what to do when each step fails. --- ## Step 1: ensure Lemonade Server is installed and running `scripts/setup_local_ai.py` handles this end to end, but here is what it does so you can do it by hand or debug it. Pass `--no-install` when Lemonade is already managed elsewhere and the agent must not attempt a package install. **1a. Is a modern `lemonade` CLI installed?** Run `lemonade status`. The check is by *capability*, not by name: modern Lemonade prints `Server is running...` or `Server is not running`. If instead you get an "invalid choice" / usage error, the `lemonade` on `PATH` is an old build that predates the unified CLI
From amd/skills, MIT.
More from amd/skills
- 0.700score
lemonade-router-builder
amd
Turns a natural-language description of routing intent into a valid Lemonade `collection.router` policy JSON.
SkillAFreshness: A★ 465Claude Code +9 - 0.700score
quark-install
amd
Installs or verifies AMD Quark and ensures the selected Python environment has an accelerator-matched PyTorch.
SkillAFreshness: A★ 465Claude Code +9 - 0.700score
quark-torch-llm-ptq
amd
Runs an end-to-end AMD Quark post-training quantization workflow for PyTorch / Hugging Face LLMs: inspect a Hub or local model, choose a quantization plan…
SkillAFreshness: A★ 465Claude Code +9 - 0.700score
serving-llms-on-epyc
amd
Serves an LLM on a supported AMD EPYC server CPU using vLLM with zentorch, in Docker, Podman, or conda.
SkillAFreshness: A★ 465Claude Code +9 - 0.700score
rocprofiler-pc-sampling
amd
Profiles a target application using rocprofv3 with program counter sampling enabled and then analyzes the results.
SkillAFreshness: A★ 465Claude Code +9 - 0.695score
tracelens-analysis-orchestrator
amd
Orchestrates modular PyTorch profiler trace analysis with TraceLens: generates perf reports, prepares category data, runs system-level and compute-kernel…
SkillAFreshness: A★ 465Claude Code +9 - 0.695score
hyperloom-workload-optimizer
amd
Autonomously optimizes end-to-end LLM inference throughput on AMD Instinct GPUs and reports a validated gain, using the Hyperloom multi-agent optimizer.
SkillAFreshness: A★ 465Claude Code +9 - 0.695score
local-ai-app-integration
amd
Integrates local AI capabilities into applications using Embeddable Lemonade.
SkillAFreshness: A★ 465Claude Code +9 - 0.695score
magpie-kernel-evaluator
amd
Benchmarks LLM inference and drives GPU kernel optimization with Magpie.
SkillAFreshness: A★ 465Claude Code +9 - 0.695score
rocm-doctor
amd
Diagnoses why ROCm, the HIP SDK, PyTorch, or llama.cpp is broken on an AMD GPU on Linux, Windows, or WSL2, then applies a low-risk fix with consent or hands…
SkillAFreshness: A★ 465Claude Code +9 - 0.660score
apu-memory-tuner
amd
Inspects and tunes the shared-vs-dedicated memory split on AMD Ryzen APUs with unified memory (UMA) so larger LLMs and image-gen models fit on the iGPU, or so…
SkillBFreshness: B★ 465Claude Code +9 - 0.660score
serving-llms-on-instinct
amd
Serves AI models on AMD Instinct GPU hardware using vLLM.
SkillBFreshness: B★ 465Claude Code +9
Signals
- Stars
- 465
- Forks
- 44
- Open issues
- 45
- Last commit (this folder)
- Oct 7, 2026 (21 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/amd/skills
- Website
- developer.amd.com/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from amd
- 0.700score
rocprofiler-pc-sampling
amd
Profiles a target application using rocprofv3 with program counter sampling enabled and then analyzes the results.
SkillAFreshness: A★ 465Claude Code +9 - 0.700score
serving-llms-on-epyc
amd
Serves an LLM on a supported AMD EPYC server CPU using vLLM with zentorch, in Docker, Podman, or conda.
SkillAFreshness: A★ 465Claude Code +9 - 0.700score
quark-install
amd
Installs or verifies AMD Quark and ensures the selected Python environment has an accelerator-matched PyTorch.
SkillAFreshness: A★ 465Claude Code +9 - 0.700score
quark-torch-llm-ptq
amd
Runs an end-to-end AMD Quark post-training quantization workflow for PyTorch / Hugging Face LLMs: inspect a Hub or local model, choose a quantization plan…
SkillAFreshness: A★ 465Claude Code +9 - 0.700score
lemonade-router-builder
amd
Turns a natural-language description of routing intent into a valid Lemonade `collection.router` policy JSON.
SkillAFreshness: A★ 465Claude Code +9 - 0.695score
local-ai-app-integration
amd
Integrates local AI capabilities into applications using Embeddable Lemonade.
SkillAFreshness: A★ 465Claude Code +9
Cite this page
local-ai-use skill. Agent Mart. https://agentmart.dev/skills/amd-local-ai-use (last updated 2026-10-24)