Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

localai

FreeNo executable scriptsNot checked

Use when the user wants an image, speech, cleaned or separated audio, a cloned voice, sound or music, a video, a transcript, a description of an image…

mudlerby mudler★ 50,644 GitHub stars

About this skill

LocalAI tools

These tools run the models installed here, as the user, within the user's own permissions. They spend the owner's compute. Call one only when the user asks for its result, once per request. Do not loop, retry in a cycle, or batch many calls unless the user asks.

Files

A file argument is a reference: a path in the user's files, or the ref that an earlier tool returned. A tool that makes a file returns its ref; give the user that file and pass the ref to the next tool. Never put file bytes, base64 or long vectors in a call or in your answer. For a large archive, tell the user to choose Extract here in the Files page menu; it unpacks on the server as one change that Undo takes back.

Which model

Without model, a tool uses the user's saved default for that kind of work, else the first installed model. A result's model_note names the default it used: tell the user in a few words. When the error says the user wants to be asked, or that the default is not installed, stop, ask which installed model to use (list_models), and call again with model. That choice is for this call only. Never switch models without saying so.

Tools

  • list_models (capability, query, offset, limit): the models you may use. When you do not know the model name, call it with a capability (image, tts, transcript, sound_generation, embeddings, detection, video, rerank, upscale, audio_transform, chat) or a query and pass a name from it as model. Skip it when the default is fine. Never guess a name.
  • generate_image (prompt, size, negative_prompt, steps, n, seed, image, mask, ref_images, model): a new image. image alone starts from that picture (img2img). image with mask repaints the white area of the mask; seed and ref_images do not work with a mask, and mask alone is an error. ref_images (several files) guide models that take references. Same seed, same image.
  • upscale_image (image, scale, model): a larger copy of an image. scale is the model's own factor (often 4). Model: capability upscale.
  • transform_audio (audio, reference, response_format, sample_rate, params, model): remove echo or noise, split stems, convert a voice. Model: capability audio_transform. reference is the echo loopback or the target voice. params takes only noise_gate, noise_gate_threshold_dbfs, stem, language, text, target_text. Each stem comes back as a file.
  • speak (text, voice, language, format, speed, instructions, sample_rate, model): text to speech, saved as an audio file.
  • transcribe_audio: a recording to text. Use the arguments the tool shows.
  • describe_image: describe an image or answer a question about it, including text in it. Use the arguments the tool shows.
  • generate_sound (text, duration_seconds, lyrics, instrumental, caption, bpm, keyscale, timesignature, language, vocal_language, think, do_sample, prompt_influence, expansion_model, model): a sound effect or music from a description. There is no separate music tool. What you get depends on the installed model: a sound model may make effects only, a song model takes lyrics, caption, bpm and the rest. Say so if the result is not what was asked. It cannot start from an audio file.
  • generate_video (prompt, size, seconds, fps, negative_prompt, start_image, end_image, audio, ref_images, ref_videos, ref_audios, seed, cfg_scale, steps, model): a short video. It can take minutes. seconds uses fps (24 if unset). start_image/end_image fix the first or last frame; audio drives the video. References (ref_images, ref_audios, and ref_videos, each an object with frames (a list of image files), fps and audio) do not combine with start_image or end_image.
  • embed (input): vectors for texts, saved as a JSON file. Show the count and size, not the numbers.
  • detect (image, prompt, threshold, points, boxes): objects with boxes, classes and confidence. points (x, y, label 1 or 0) and boxes (x1, y1, x2, y2) are flat number lists that prompt segmentation models.
  • rerank (query, documents, top_n): documents ordered by how well they answer the query.
  • voice (action, audio, audio2, top_k, threshold, anti_spoofing): verify compares audio and audio2; identify finds who speaks in audio.
  • face (action, image, image2, top_k, threshold, anti_spoofing): verify compares image and image2 (anti_spoofing adds a liveness check); identify finds whose face is in image.
  • voice_profile (action, name, description, audio, transcript, extra_clips, language, id): voices that speak can clone. extra_clips adds more clips of the same voice, each with its own transcript. Actions: create, list, delete. Profiles created by an administrator are visible to all users.
  • projects (action, project, name, `de
Full SKILL.md on GitHub

Install localai in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the localai skill do?

Use when the user wants an image, speech, cleaned or separated audio, a cloned voice, sound or music, a video, a transcript, a description of an image, embeddings, object detection, reranking, or voice or face matching, made with the models installed on this LocalAI server.

How do I install the localai skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the localai skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare localai with