Agent Task Status
/install agent-task-status
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
- Decide which agents to inspect.
- Use
--agents a,b,cfor explicit targets. - Use
--agent-filewhen the list comes from a file. - Use
--discoverwhen the deployment has many agents under the same root.
- Use
- Set the agent storage root.
- Default is
~/.openclaw/agents. - Override with
--baseorOPENCLAW_AGENTS_BASEin non-default environments.
- Default is
- Match the session shape.
- Default session key template is
agent:{agent}:main. - Override with
--session-key-templateif your target sessions use another pattern.
- Default session key template is
- Match the assignment/report language.
- Default assignment keyword is
正式任务分配:. - Default report prefixes are
任务:/状态:/结果:/风险:. - Override these when the team uses different markers or another language.
- Default assignment keyword is
- Filter the output when needed.
--only-statusfilters by normalized status such ascompleted,blocked,accepted,no-assignment,assigned-no-report,error.--containsfilters by keyword across assignment text, parsed task, result, and risk.
- Pick an output format.
table: best for human inspectionsummary: compact overviewjson: structured automation outputjsonl: line-oriented pipelines
- Use
--strictfor CI/automation.- Exit
0: normal - Exit
1: partial problem such as missing assignment/report or agent error - Exit
2: script/runtime error
- Exit
- Use
--output-fileto 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 usedsessionFile: exact transcript file pathassignedAt/assignText: when and what was assignedreportAt: when the agent reported backtask/status_raw/status_normalized/result/risk: parsed structured fieldserror: why the check failed for that agent
Limitations
- This skill assumes an OpenClaw-style agent root with
sessions/sessions.jsonand transcriptsessionFilepaths. - 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.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install agent-task-status - After installation, invoke the skill by name or use
/agent-task-status - Provide required inputs per the skill's parameter spec and get structured output
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 246 downloads so far.
How do I install Agent Task Status?
Run "/install agent-task-status" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Agent Task Status free?
Yes, Agent Task Status is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Agent Task Status support?
Agent Task Status is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Agent Task Status?
It is built and maintained by Lu Yanqiang (@lujohn74); the current version is v1.1.0.