xuiltul

local-llm-tool

Local LLM execution tool. Text generation and chat via Ollama/vLLM. "local LLM" "ollama" "text generation" "local model"

xuiltul 236 38 Updated 3mo ago
GitHub

Install

npx skillscat add xuiltul/animaworks/local-llm-tool

Install via the SkillsCat registry.

SKILL.md

Local LLM Tool

External tool for text generation and chat via local LLM (Ollama/vLLM).

Invocation via use_tool

{"tool": "use_tool", "arguments": {"tool_name": "local_llm", "action": "ACTION", "args": {...}}}

Actions

generate — Text generation

{"tool_name": "local_llm", "action": "generate", "args": {"prompt": "prompt text", "system": "system prompt (optional)", "temperature": 0.7, "max_tokens": 2048}}

chat — Multi-turn chat

{"tool_name": "local_llm", "action": "chat", "args": {"messages": [{"role": "user", "content": "question"}], "system": "system prompt (optional)"}}

models — List available models

{"tool_name": "local_llm", "action": "models", "args": {}}

status — Server status

{"tool_name": "local_llm", "action": "status", "args": {}}

CLI Usage (S-mode)

animaworks-tool local_llm generate "prompt" [-S "system prompt"]
animaworks-tool local_llm list
animaworks-tool local_llm status

Notes

  • Ollama or vLLM server must be running
  • Use -s/--server to specify server URL
  • Use -m/--model to specify model