一键导入
local-llama-failure-triage
Use when local Qwen, llama-server, or ik_llama.cpp dies, stalls, times out, OOMs, cancels, or needs log-based failure diagnosis.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when local Qwen, llama-server, or ik_llama.cpp dies, stalls, times out, OOMs, cancels, or needs log-based failure diagnosis.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when local Copilot/Qwen/LLM Gateway hits prompt bloat, context limits, slow prefill, timeouts, or 24GB GPU token-budget issues.
Use when a local-agent coding task needs minimal repo context, targeted file discovery, compact search, or a small implementation brief.
Use when a local Copilot/Qwen chat is too long and needs compaction, checkpointing, restart, or a handoff summary.
Use when local Qwen/Copilot should delegate isolated research, review, or summarization to subagents without bloating parent context.
Use when local Copilot/Qwen tool calls fail, malformed tool JSON appears, tools are skipped, or LLM Gateway agent mode is flaky.
| name | local-llama-failure-triage |
| description | Use when local Qwen, llama-server, or ik_llama.cpp dies, stalls, times out, OOMs, cancels, or needs log-based failure diagnosis. |
| argument-hint | [symptom, timestamp, or failing request] |
Determine whether a local-model failure was a real crash, an OS/GPU resource issue, or an oversized-request slowdown/cancellation.
logs\llama-server.log, logs\llama-server.log.err, logs\llama-server.info.json, and any relevant logs\openai-probe-*.json files.scripts\start-server.ps1 truncates the live stdout/stderr log files on restart.llama-server.exe is still running and /health or /v1/models responds, treat it as a client, gateway, prompt-size, or parser problem until proven otherwise.logs\llama-server.info.json to confirm the exact runtime config before changing settings.scripts\status-server.ps1 for process, endpoint, throughput, and GPU status.scripts\inspect-copilot-context.ps1 to compare Copilot request size with llama prompt processing.logs\llama-server.log for prompt eval time, eval time, long prompt checkpoints, slot transitions, cancellations, or repeated load/unload.logs\llama-server.log.err as low-trust: it can contain echoed model output or tool payloads, not just server diagnostics./metrics for prompt throughput, generation throughput, requests in flight, and observed context high watermarks./slots for whether a slot is actually busy, idle, or stuck in prompt processing.Get-WinEvent for llama-server.exe, Windows Error Reporting, Resource-Exhaustion-Detector, and nvlddmkm events.inputTokens and long prompt eval time with no OS crash events means slow prefill or context overload.llama-server.exe means a real process crash.github.copilot.llm-gateway.defaultMaxTokens before changing models; on this repo, start around 16384 for tool-heavy local work.parallelToolCalling off until the model and template path are proven stable.--ctx-size or increase VRAM headroom with --fit or --fit-margin when the model is near the edge.Return: