← Back to Skills Marketplace
utromaya-code

Neural Network Ops

by utromaya-code · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
175
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install neural-network-diagnostics
Description
Diagnoses and tunes LLM providers (Groq, OpenRouter, Ollama), resolves rate limits/timeouts, and selects stable primary/fallback models. Use when the bot is...
README (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.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install neural-network-diagnostics
  3. After installation, invoke the skill by name or use /neural-network-diagnostics
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug neural-network-diagnostics
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 175 downloads so far.

How do I install Neural Network Ops?

Run "/install neural-network-diagnostics" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Neural Network Ops free?

Yes, Neural Network Ops is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Neural Network Ops support?

Neural Network Ops is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Neural Network Ops?

It is built and maintained by utromaya-code (@utromaya-code); the current version is v1.0.0.

💬 Comments