计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
local-model-orchestrator【效率与协作】Scan, explain, select, install, and call local AI models across Ollama, Hugging Face cache, MLX Whisper, whisper.cpp, LM Studio, and common Mac model stores. Use when the user asks to list local models, understand what installed models do, check whether models are healthy, manage local model caches, choose a local model for a task, run local inferenc…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
python3 /Users/apple/.agents/skills/local-model-orchestrator/scripts/local_model_manager.py scan --format table
nomic-embed-text, mxbai-embed-large, bge-m3, or qwen3-embedding if installed.mlx-whisper on Apple Silicon; use whisper-large-v3-turbo for speed, whisper-large-v3 for accuracy, smaller Whisper models for lightweight use.Use:
python3 /Users/apple/.agents/skills/local-model-orchestrator/scripts/local_model_manager.py scan --format table
python3 /Users/apple/.agents/skills/local-model-orchestrator/scripts/local_model_manager.py scan --format json
The scanner covers:
ollama list and ollama show.hf cache ls --format json or direct cache directory inspection..gguf, .safetensors, .bin, .onnx, .mlpackage, .npz.Report health conservatively:
ok: listed by the owning runtime or present with expected files.found: raw model file exists but no runtime test was performed.missing-runtime: model/cache exists but the recommended runtime command is missing.unknown: not enough information; do not claim it is runnable.Use the script helpers when possible:
python3 /Users/apple/.agents/skills/local-model-orchestrator/scripts/local_model_manager.py call-ollama MODEL "prompt"
python3 /Users/apple/.agents/skills/local-model-orchestrator/scripts/local_model_manager.py transcribe AUDIO_PATH --model mlx-community/whisper-large-v3-turbo
For Ollama, first verify the model exists:
ollama list
ollama show MODEL
Then call:
ollama run MODEL "prompt"
For MLX Whisper, verify/install with user consent:
command -v mlx_whisper || python3 -m pip install mlx-whisper
mlx_whisper audio.mp3 --model mlx-community/whisper-large-v3-turbo
For Hugging Face cache, use:
hf cache ls
hf cache ls --revisions
Do not assume a Hugging Face cached model can be called directly. Match it to a runtime first.
Prefer Apple Silicon optimized models/runtimes when all are true:
Common recommendations:
mlx-whisper + mlx-community/whisper-large-v3-turbo; choose large-v3 if accuracy matters more than speed.nomic-embed-text is a good default if already installed; mxbai-embed-large / bge-m3 / qwen3-embedding when multilingual or retrieval quality matters.When recommending an install, include the command and explain why, but ask before downloading large models or installing new packages.
When the user asks to scan/manage local models, return:
Name, Provider, Purpose, Size, Status, Call method.Keep secrets out of output. Never print API keys found in local config.