Services cli operations

From VectorSpaceLab/AREX-Skill · View interactive version

Services cli operations is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Operate AReaL 2.0 service CLIs, service lifecycles, model registration, status/log/state inspection, Hermes online RL session/reward wiring, and safe command validation.

How to use this skill

Skill file

AReaL Services And CLI Operations

Use this sub-skill when the task is to operate AReaL 2.0 service surfaces rather than author a new training algorithm or backend. Covered surfaces are:

Route boundaries

Operating checklist

  1. Identify the surface: areal inf, areal agent, areal train, direct service module, online RL session/reward, or weight update.
  2. Read CODE0 for command/API contracts, state locations, config precedence, and side effects.
  3. For online RL, Hermes, or self-evolution loops, read CODE0 before composing commands. Keep admin keys, agent-service keys, and sk-sess-* session keys distinct.
  4. Validate command text before handing it to a user or scheduler:

```bash

python scripts/check_service_cli.py --command 'areal inf register --model-name qwen --backend sglang:d1 --model-path /models/qwen'

python scripts/check_service_cli.py --config service.toml --config-type inf

```

The checker is static: it uses shell parsing and TOML inspection only. It does not import AReaL, contact HTTP endpoints, start services, start training, or read model files.

  1. Use areal <group> status, ps, and logs as the first live checks once the user has confirmed that live service inspection is allowed. Use CODE3 to map symptoms to fixes.

Safety defaults

Bundled references

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.