localai
FreeNo executable scriptsNot checkedUse 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…
by mudler★ 50,644 GitHub starsAbout 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 aqueryand pass a name from it asmodel. 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.imagealone starts from that picture (img2img).imagewithmaskrepaints the white area of the mask;seedandref_imagesdo not work with a mask, andmaskalone is an error.ref_images(several files) guide models that take references. Sameseed, same image.upscale_image(image,scale,model): a larger copy of an image.scaleis 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.referenceis the echo loopback or the target voice.paramstakes 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 takeslyrics,caption,bpmand 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.secondsusesfps(24 if unset).start_image/end_imagefix the first or last frame;audiodrives the video. References (ref_images,ref_audios, andref_videos, each an object with frames (a list of image files),fpsandaudio) do not combine withstart_imageorend_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) andboxes(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):verifycomparesaudioandaudio2;identifyfinds who speaks inaudio.face(action,image,image2,top_k,threshold,anti_spoofing):verifycomparesimageandimage2(anti_spoofingadds a liveness check);identifyfinds whose face is inimage.voice_profile(action,name,description,audio,transcript,extra_clips,language,id): voices thatspeakcan clone.extra_clipsadds 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
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
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
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic