← 返回
AI智能

Agent Task Status

Verify whether named OpenClaw agents actually received formal task assignments and replied with execution status, using transcript-backed audit checks. Use w...
验证已命名的OpenClaw代理是否实际收到正式任务分配并回复执行状态,采用基于转录的审计检查。使用 w...
lujohn74
AI智能 clawhub v1.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 507
下载
💾 7
安装
1
版本
#latest

概述

Agent Task Status

Use the bundled script to inspect OpenClaw session indexes and transcript files, then extract the latest assignment and structured report for each target agent.

Quick start

Run the script directly:

python3 /home/lyqadmin/.openclaw/workspace/skills/agent-task-status/scripts/check_agent_task_status.py --format summary

For more examples, read references/usage.md.

Workflow

  1. Decide which agents to inspect.
    • Use --agents a,b,c for explicit targets.
    • Use --agent-file when the list comes from a file.
    • Use --discover when the deployment has many agents under the same root.
  2. Set the agent storage root.
    • Default is ~/.openclaw/agents.
    • Override with --base or OPENCLAW_AGENTS_BASE in non-default environments.
  3. Match the session shape.
    • Default session key template is agent:{agent}:main.
    • Override with --session-key-template if your target sessions use another pattern.
  4. Match the assignment/report language.
    • Default assignment keyword is 正式任务分配:.
    • Default report prefixes are 任务: / 状态: / 结果: / 风险:.
    • Override these when the team uses different markers or another language.
  5. Filter the output when needed.
    • --only-status filters by normalized status such as completed, blocked, accepted, no-assignment, assigned-no-report, error.
    • --contains filters by keyword across assignment text, parsed task, result, and risk.
  6. Pick an output format.
    • table: best for human inspection
    • summary: compact overview
    • json: structured automation output
    • jsonl: line-oriented pipelines
  7. Use --strict for CI/automation.
    • Exit 0: normal
    • Exit 1: partial problem such as missing assignment/report or agent error
    • Exit 2: script/runtime error
  8. Use --output-file to persist results for later review or downstream automation.

Recommended commands

Human-readable table:

python3 /home/lyqadmin/.openclaw/workspace/skills/agent-task-status/scripts/check_agent_task_status.py --agents xiaocheng,xiaowen,xiaobian --format table

Only completed tasks:

python3 /home/lyqadmin/.openclaw/workspace/skills/agent-task-status/scripts/check_agent_task_status.py --discover --only-status completed --format summary

Filter by keyword:

python3 /home/lyqadmin/.openclaw/workspace/skills/agent-task-status/scripts/check_agent_task_status.py --discover --contains 自动化 --format table

Automation JSON:

python3 /home/lyqadmin/.openclaw/workspace/skills/agent-task-status/scripts/check_agent_task_status.py --agent-file ./agents.txt --format json --strict --output-file ./agent-status.json

What to inspect in the output

  • sessionKey: which session was used
  • sessionFile: exact transcript file path
  • assignedAt / assignText: when and what was assigned
  • reportAt: when the agent reported back
  • task / status_raw / status_normalized / result / risk: parsed structured fields
  • error: why the check failed for that agent

Limitations

  • This skill assumes an OpenClaw-style agent root with sessions/sessions.json and transcript sessionFile paths.
  • It only checks the target session pattern you specify; it does not automatically infer every possible routing form.
  • If the assignment keyword or report field prefixes change, you must override them.
  • It reports what is present in transcripts; it does not infer hidden work with no assignment/report markers.

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-03-30 04:11 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,349 📥 317,700
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 709 📥 243,531
ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,055 📥 795,992