skills/FLAME-operator/SKILL.md
Probe FLAME health, inspect hit rates, diagnose model failures, and maintain free-tier routing state within the RM0 and constitutional boundaries.
npx skillsauth add ariffazil/openclaw-workspace FLAME-operatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Skill ID: FLAME-operator · Version: 1.0.0 · Axis: ops Load when: Probing FLAME health, checking hit-rates, reordering tiers, debugging model failures. Do NOT load for: Adding paid models (constitutional boundary), changing agent cascade.
# Health probe — all 8 models, latency + content sanity
free-llm --mode probe
# Hit-rate dashboard — calls, success rate, avg latency per model
free-llm --mode stats
# Integrity seal — SHA256 of hit-rate state
free-llm --mode seal
# Batch inference — one prompt per line
free-llm --batch /path/to/prompts.txt
# Single inference with JSON output
free-llm "prompt" --json
| Signal | Meaning | Action | |--------|---------|--------| | ✅ 200 + content | Model healthy | None | | ❌ HTTP 4xx | Auth/key/config broken | Check vault.env, verify key | | ❌ HTTP 429 | Rate limited | Model auto-demoted, wait 5 min | | ❌ Empty content | Safety filter or model issue | Mark as degraded in hit-rate | | ⚠️ >5s latency | Model slow | Demote in next reorder cycle |
FLAME auto-reorders every 5 minutes based on:
# Force immediate reorder
python3 -c "
from flame_router import FlameEngine
e = FlameEngine()
new_order = e.reorder_by_latency()
for t in new_order: print(f'{t[\"provider\"]}/{t[\"model\"]}')
"
Promote a model:
flame_config.json → increase weightDemote a model:
flame_config.json → decrease weight or set active: falseAdd a new free model:
curl test the endpointflame_config.json under provider → tiersfree-llm --mode probe (will include new model)Remove a dead model:
flame_config.json tiersLocation: /root/.local/share/arifos/flame_hitrate.jsonl
State: /root/.local/share/arifos/flame_state.json
Seal: /root/A-FORGE/flame/flame_seal.txt
Each line in hitrate.jsonl is a call record with provider, model, success, latency, timestamp.
# Direct model test (bypass FLAME)
curl -s "PROVIDER_BASE/chat/completions" \
-H "Authorization: Bearer $KEY" \
-d '{"model":"MODEL_ID","messages":[{"role":"user","content":"Reply READY"}],"max_tokens":10}'
# Check if model is in FLAME config
python3 -c "
import json
cfg = json.load(open('/root/A-FORGE/flame/flame_config.json'))
for t in cfg['chains']['RM0-TOOLS-FREELOOP']['tiers']:
print(f'{t[\"provider\"]}/{t[\"model\"]}')
"
# Check hit-rate for specific model
python3 -c "
from flame_router import FlameEngine
e = FlameEngine()
stats = e.stats()
for k,v in stats.items():
if 'MODEL_NAME' in k: print(f'{k}: {v}')
"
FLAME-operator is a maintenance skill, not a governance skill. It does not:
For governance decisions (adding providers, changing cascade order), use the agent lane with arif_judge.
development
Federation-wide gold (XAUUSD) trading capability. Python stack, OANDA broker, backtesting, macro signals, RSI strategy. Every organ has a role.
development
Capital claim state management — tracks claim lifecycle across WEALTH organ.
development
Archived constitutional warga placeholder retained only for audit provenance. Do not use for active work; use the live arifOS governance and constitutional skills instead.
testing
Warga (citizen) agent skills for AAA federation members. See subdirectories for specialized warga skills.