name: llm-call description: Call a configured LLM model directly through the local script using provider settings from config.yaml. Use this skill when the user wants a raw model call, prompt test, provider/model comparison, or asks to send text to a specific GPT/Gemini model. Do not use it for normal Mavis agent execution. descriptions:
Replace <skill_dir> with the actual skill path shown by the loader.
--model provider/model. If the user didn't name a specific model, pick a sensible default or run --list first to check available models.--system, --max-tokens, --temperature, --stream, or --config only when the task clearly requires them.{{DATA_DIR}}/config.yaml. Use --config when calling a non-default profile explicitly.@ai-sdk/anthropic -> messages@ai-sdk/openai -> chat/completions@ai-sdk/google -> models/{model}:generateContentThe script is a plain .py file — pick the Python launcher that exists on the host:
| Platform | Launcher |
|---|---|
| macOS / Linux | python3 (preferred) or python if it points at Python 3 |
| Windows | py -3 (preferred) or python |
Example invocations (substitute the launcher above for <py>):
<py> <skill_dir>/scripts/llm_call.py --model gemini/gemini-2.5-pro --system "Be brief" --prompt "Summarize this"
<py> <skill_dir>/scripts/llm_call.py --model minimax-test/MiniMax-M3 --timeout 600 --stream --prompt "Long planning task"
<py> <skill_dir>/scripts/llm_call.py --list
Do not assume python3 exists on Windows — it is not part of a default install. Use py -3 or
the launcher resolved at runtime.