← 返回 Skills 市场
utromaya-code

Neural Network Ops

作者 utromaya-code · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
175
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install neural-network-diagnostics
功能描述
Diagnoses and tunes LLM providers (Groq, OpenRouter, Ollama), resolves rate limits/timeouts, and selects stable primary/fallback models. Use when the bot is...
使用说明 (SKILL.md)

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 reached
  • Model context window too small
  • Unknown model
  • No endpoints available
  • sendMessage failed
  • embedded run timeout
  • Removed orphaned user message

Routing Policy

Use this default priority for production:

  1. groq/llama-3.3-70b-versatile (fastest cloud path)
  2. openrouter/xiaomi/mimo-v2-pro (high quality backup)
  3. openrouter/meta-llama/llama-3.3-70b-instruct:free
  4. ollama/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 maxTokens moderate (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.
安全使用建议
This instruction-only skill appears to be what it says: an ops playbook for OpenClaw model providers. It does include commands that restart services and delete session files under /root, so only run its steps when you understand the consequences and have backups. Recommended precautions: 1) Use it in staging first; verify paths and service names match your installation. 2) Require explicit human confirmation before executing restart or rm commands. 3) Do not grant the agent automatic root/sudo rights; run commands under an account with least privilege or via an approved runbook. 4) Back up session/config files before applying deletions or replacements. 5) If you need the agent to act automatically, add granular guards (whitelists, prompt confirmations) — otherwise keep it user-invocable only.
功能分析
Type: OpenClaw Skill Name: neural-network-diagnostics Version: 1.0.0 The skill bundle provides legitimate diagnostic and recovery procedures for managing LLM providers (Groq, OpenRouter, Ollama) within an OpenClaw environment. While it includes potentially destructive commands like 'rm -rf' on session directories in SKILL.md, these are explicitly documented as recovery steps for specific error states ('orphaned user message') and are consistent with the stated purpose of system maintenance.
能力评估
Purpose & Capability
Name and description claim provider/gateway diagnostics and routing; the SKILL.md contains exactly the expected checks (journalctl, systemctl), routing priorities, fallback config examples, and recovery steps for OpenClaw, Groq, OpenRouter, and Ollama — these are proportionate to the stated purpose.
Instruction Scope
Instructions are specific and focused on service health and model routing. However they include destructive/privileged actions (rm -rf of session files under /root/.openclaw, systemctl restart/stop/start) and direct curl calls to a local API. These are in-scope for operations but require operator confirmation and appropriate privileges; the instructions assume root/systemd and a particular filesystem layout.
Install Mechanism
No install spec or code files are present (instruction-only). This minimizes supply-chain risk; nothing is downloaded or written by the installer.
Credentials
The skill declares no required environment variables, credentials, or config paths. The SKILL.md also does not attempt to read external secrets or request API keys — consistent with its purpose of local ops and routing configuration.
Persistence & Privilege
The skill does not request permanent presence (always:false) and is user-invocable. Nevertheless, its recommended actions require elevated privileges (systemctl, modifying /root files). Ensure the agent is not given blanket root execution rights or allowed to run these commands without explicit human confirmation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install neural-network-diagnostics
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /neural-network-diagnostics 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of neural-network-ops skill for diagnosing and tuning LLM providers (Groq, OpenRouter, Ollama). - Provides fast triage checks and routing policy recommendations to maintain OpenClaw responsiveness. - Details stable model constraints and fallback strategies for local and cloud providers. - Includes a step-by-step recovery playbook for common issues such as silent bot, rate limits, and provider errors. - Defines standard output format for health reports and introduces strict operational guardrails.
元数据
Slug neural-network-diagnostics
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

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。

💬 留言讨论