Neural Network Ops
/install neural-network-diagnostics
Neural Network Ops
Purpose
Keep OpenClaw responsive by managing model providers, routing, and fallback behavior.
Fast Triage
Run these checks first:
systemctl is-active openclaw-gateway ollama
journalctl -u openclaw-gateway -n 40 --no-pager
free -h
Focus on these log patterns:
rate limit reachedModel context window too smallUnknown modelNo endpoints availablesendMessage failedembedded run timeoutRemoved orphaned user message
Routing Policy
Use this default priority for production:
groq/llama-3.3-70b-versatile(fastest cloud path)openrouter/xiaomi/mimo-v2-pro(high quality backup)openrouter/meta-llama/llama-3.3-70b-instruct:freeollama/qwen2.5:7b(last-resort local fallback)
Avoid 35B local models on 30GB RAM CPU servers for real-time Telegram replies.
Stable Model Constraints
For local Ollama fallbacks:
contextWindow >= 16000- Keep
maxTokensmoderate (1024-2048) for latency - Pre-warm after restart if local fallback is expected
Example local provider entry:
{
"id": "qwen2.5:7b",
"name": "Qwen 2.5 7B (local)",
"contextWindow": 32768,
"maxTokens": 2048
}
Recovery Playbook
1) Bot silent in Telegram
journalctl -u openclaw-gateway --since '10 min ago' --no-pager
If sendMessage failed, check network/provider errors first, then restart:
systemctl restart openclaw-gateway
2) Repeated orphaned user message
systemctl stop openclaw-gateway
rm -rf /root/.openclaw/.openclaw/agents/main/sessions/*
echo '{}' > /root/.openclaw/.openclaw/agents/main/sessions/sessions.json
chmod 600 /root/.openclaw/.openclaw/agents/main/sessions/sessions.json
systemctl start openclaw-gateway
3) Groq/OpenRouter rate limits
- Keep Groq as primary, but ensure at least one non-free fallback.
- For OpenRouter 404 privacy/policy errors, adjust data-policy settings in OpenRouter dashboard.
- Do not loop retries endlessly; rely on fallback chain.
4) Local fallback too slow
- Restart Ollama cleanly and warm one small model.
- Do not keep multiple heavy runners resident.
systemctl restart ollama
curl -s -X POST http://127.0.0.1:11434/api/chat \
-H 'Content-Type: application/json' \
-d '{"model":"qwen2.5:7b","messages":[{"role":"user","content":"hi"}],"stream":false}'
Output Format
When reporting health, return:
## Status
- Gateway: \x3Cactive/inactive>
- Telegram provider: \x3Cconnected/stalled>
- Primary model: \x3Cprovider/model>
- Fallback chain: \x3Cordered list>
## Findings
- \x3Cmost critical issue first>
- \x3Csecondary issues>
## Actions Applied
- \x3Cexact changes made>
## Next Step
- \x3Csingle user action to verify>
Guardrails
- Never expose raw API keys in replies.
- Never execute irreversible financial actions automatically.
- Ask for explicit confirmation before account registrations or external postings.
- Prefer reversible config changes and keep backups before major edits.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install neural-network-diagnostics - 安装完成后,直接呼叫该 Skill 的名称或使用
/neural-network-diagnostics触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Neural Network Ops 是什么?
Diagnoses and tunes LLM providers (Groq, OpenRouter, Ollama), resolves rate limits/timeouts, and selects stable primary/fallback models. Use when the bot is... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 175 次。
如何安装 Neural Network Ops?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install neural-network-diagnostics」即可一键安装,无需额外配置。
Neural Network Ops 是免费的吗?
是的,Neural Network Ops 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Neural Network Ops 支持哪些平台?
Neural Network Ops 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Neural Network Ops?
由 utromaya-code(@utromaya-code)开发并维护,当前版本 v1.0.0。