360 Secure SkillHub
360 安全技能中心

task-progress-stream

该 Skill 提供 Node 脚本,两种模式:run 启动命令并捕获 stdout/stderr,tail 监控已有日志;解析 epoch、step、loss、学习率、验证指标、ETA、速度等字段,并按固定间隔把进度摘要注入 OpenClaw 聊天界面。

分类:自动化
liyooyin
liyooyin
热度 39.92
最近更新 2026-05-17 14:42:24

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add liyooyin/task-progress-stream
兼容性
OpenClaw 专属
联网要求
联网要求未确认
数据出网
数据出网未确认
Metadata
name
task-progress-stream
description
Stream long-running task progress into the OpenClaw chat UI.
version
0.1.0
author
LiyooYin
license
MIT
tags
["monitoring","progress","training"]

task-progress-stream

Use this skill when the user wants real-time progress updates inside the OpenClaw chat UI for a long-running task such as:

  • model training
  • evaluation
  • inference
  • data preprocessing
  • long shell jobs
  • benchmark runs

It works in two modes:

  1. run
    Start a command, capture stdout/stderr, parse common metrics, and periodically inject progress summaries into chat.

  2. tail
    Monitor an existing log file and periodically inject parsed progress summaries into chat.

What it extracts

It tries to recognize common fields from logs:

  • epoch / max_epoch
  • step / max_step
  • loss
  • learning rate
  • validation metric
  • best metric
  • ETA
  • speed

Typical usage

Start a training job and stream progress into chat

node ./scripts/task_progress_stream.js run \
  --session main \
  --label train \
  --cwd /path/to/project \
  --cmd "python src/train.py --config configs/train.yaml" \
  --interval-sec 20