task-status by aaaaqwq/agi-super-skills
npx skills add https://github.com/aaaaqwq/agi-super-skills --skill task-statuspython scripts/send_status.py "Starting data fetch..." "progress" "step1"
python scripts/send_status.py "Processing complete" "success" "final"
python scripts/send_status.py "Error: Missing API key" "error" "auth"
# 开始监控一个长时间运行的任务
python scripts/monitor_task.py start "My Long Task" "processing"
# 监控器将每5秒发送"Still working..."更新
# 当任务完成时,报告最终状态
python scripts/monitor_task.py stop "My Long Task" "success" "Completed successfully!"
monitor_task.py 脚本提供自动更新功能:
python scripts/monitor_task.py start "<task_name>" "<status_type>" [--interval <seconds>]
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
python scripts/monitor_task.py stop "<task_name>" "<final_status>" "<final_message>"
# 启动监控
python scripts/monitor_task.py start "video_processing" "progress"
# ... 长时间处理在此处进行 ...
# 停止并报告最终状态
python scripts/monitor_task.py stop "video_processing" "success" "Processing complete!"
用于无需监控的单一状态更新:
python scripts/send_status.py "Still fetching data..." "progress" "fetch"
python scripts/send_status.py "Processing records: 250/1000" "progress" "process"
python scripts/send_status.py "Complete! 3 files ready" "success" "final"
python scripts/send_status.py "Error: Connection timeout" "error" "api"
保持状态消息在140个字符以内。示例:
python scripts/send_status.py "Uploading..." "progress" "upload" --details "File: report.pdf (2.4MB)"
python scripts/monitor_task.py start "data_sync" "progress" --interval 10
from send_status import send_status
def long_task():
send_status("Starting...", "progress", "step1")
# ... 工作
send_status("Step complete", "success", "step1")
对于计划任务,使用Clawdbot的cron功能:
# 在脚本或会话中
from cron import add
# 每5秒检查一次状态
job = {
"text": "Check status update",
"interval": "5s",
"enabled": True
}
add(job)
这允许即使您没有主动监视时也能获取状态更新。
要使用此技能,请将 task-status 文件夹复制到您的Clawdbot技能目录:
C:\Users\Luffy\AppData\Roaming\npm\node_modules\clawdbot\skills\task-status
或将其添加到您的工作区,并从 AGENTS.md 或 TOOLS.md 中引用。
安装完成后,该技能将在您需要定期状态更新的任何任务中可用。
每周安装次数
1
代码仓库
GitHub星标数
11
首次出现
4天前
安全审计
已安装于
amp1
cline1
openclaw1
opencode1
cursor1
kimi-cli1
python scripts/send_status.py "Starting data fetch..." "progress" "step1"
python scripts/send_status.py "Processing complete" "success" "final"
python scripts/send_status.py "Error: Missing API key" "error" "auth"
# Start monitoring a long-running task
python scripts/monitor_task.py start "My Long Task" "processing"
# Monitor will send "Still working..." updates every 5 seconds
# When task completes, report final status
python scripts/monitor_task.py stop "My Long Task" "success" "Completed successfully!"
The monitor_task.py script provides automatic updates:
python scripts/monitor_task.py start "<task_name>" "<status_type>" [--interval <seconds>]
python scripts/monitor_task.py stop "<task_name>" "<final_status>" "<final_message>"
# Start monitoring
python scripts/monitor_task.py start "video_processing" "progress"
# ... long processing happens here ...
# Stop with final status
python scripts/monitor_task.py stop "video_processing" "success" "Processing complete!"
For single status updates without monitoring:
python scripts/send_status.py "Still fetching data..." "progress" "fetch"
python scripts/send_status.py "Processing records: 250/1000" "progress" "process"
python scripts/send_status.py "Complete! 3 files ready" "success" "final"
python scripts/send_status.py "Error: Connection timeout" "error" "api"
Keep status messages under 140 characters. Examples:
python scripts/send_status.py "Uploading..." "progress" "upload" --details "File: report.pdf (2.4MB)"
python scripts/monitor_task.py start "data_sync" "progress" --interval 10
from send_status import send_status
def long_task():
send_status("Starting...", "progress", "step1")
# ... work
send_status("Step complete", "success", "step1")
For scheduled tasks, use Clawdbot's cron feature:
# In a script or session
from cron import add
# Every 5 seconds, check status
job = {
"text": "Check status update",
"interval": "5s",
"enabled": True
}
add(job)
This allows status updates even when you're not actively watching.
To use this skill, copy the task-status folder into your Clawdbot skills directory:
C:\Users\Luffy\AppData\Roaming\npm\node_modules\clawdbot\skills\task-status
Or add it to your workspace and reference it from AGENTS.md or TOOLS.md.
Once installed, the skill will be available for any task where you need periodic status updates.
Weekly Installs
1
Repository
GitHub Stars
11
First Seen
4 days ago
Security Audits
Gen Agent Trust HubFailSocketPassSnykPass
Installed on
amp1
cline1
openclaw1
opencode1
cursor1
kimi-cli1
前端性能优化指南:识别瓶颈与优化策略,提升LCP、FID、CLS核心指标
36,000 周安装
OpenMAIC 多智能体互动课堂 | AI 教师生成互动课程 | Next.js 16 / LangGraph
575 周安装
战略性SEO规划工具 - 完整SEO策略制定与实施路线图
552 周安装
Context7 CLI find-docs:快速查找最新技术文档与代码示例
628 周安装
Google Apps Script 项目部署指南 - 使用 CLI 工具推送本地文件到云端
596 周安装
Google Workspace 群组设置 CLI 工具 - gws groupssettings 命令详解与 API 使用指南
598 周安装
Rust 领域建模指南:DDD 概念与 Rust 模式映射,实现类型安全的业务逻辑
603 周安装