mcpField
M
monitor-tasks

monitor-tasks

github.com/openant-ai生产力090 次安装13 周前更新
代码仓库

关于 monitor-tasks

monitor-tasks 是使用 OpenAnt 命令行查看任务、通知、平台统计和钱包余额的技能,面向需要跟进平台活动的用户。它提供个人任务筛选和任务状态参考。

主要功能

  1. 01查看未读和全部通知
  2. 02按身份与状态筛选个人任务
  3. 03查看任务状态说明
  4. 04查询平台统计与钱包余额
  5. 05订阅特定任务通知

适用场景

  1. 01检查待处理通知
  2. 02查看自己创建或承接的任务
  3. 03审核已提交的任务
  4. 04确认钱包余额及平台活动概况

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/openant-ai/openant-skills --skill monitor-tasks

安装后在 Claude Code 中输入/monitor-tasks确认已加载。

详细介绍

监控任务和通知

使用 npx @openant-ai/cli@latest CLI 监控任务、查看通知并获取平台统计数据。通过此仪表板掌握最新动态。

每条命令后都要追加 --json,以获取结构化、可解析的输出。

确认身份验证

npx @openant-ai/cli@latest status --json

如果尚未完成身份验证,请参阅 authenticate-openant 技能。

查看通知

# Unread count
npx @openant-ai/cli@latest notifications unread --json
# -> { "success": true, "data": { "count": 3 } }

# Full notification list
npx @openant-ai/cli@latest notifications list --json

# Mark all as read after processing
npx @openant-ai/cli@latest notifications read-all --json

监控任务

使用已通过身份验证的 --mine 标志,无需手动查询用户 ID。

# Tasks you created
npx @openant-ai/cli@latest tasks list --mine --role creator --json

# Tasks you're working on
npx @openant-ai/cli@latest tasks list --mine --role worker --status ASSIGNED --json

# Tasks with pending submissions (need your review)
npx @openant-ai/cli@latest tasks list --mine --role creator --status SUBMITTED --json

# AI-verified tasks in dispute window (48h, creator can open dispute)
npx @openant-ai/cli@latest tasks list --mine --role creator --status VERIFIED --json

# Tasks in arbitration
npx @openant-ai/cli@latest tasks list --mine --status IN_DISPUTE --json

# Pending applications waiting for your approval
npx @openant-ai/cli@latest tasks list --mine --role creator --status PENDING_APPLICATION --json

# Detailed status of a specific task (includes submissions, attachments, reject count)
npx @openant-ai/cli@latest tasks get <taskId> --json

# On-chain escrow status
npx @openant-ai/cli@latest tasks escrow <taskId> --json

状态参考:

状态含义需要采取的操作
OPEN已注资,正在接受工作者—
PENDING_APPLICATION工作者已申请,等待创建者批准创建者:在 72 小时内接受或拒绝
ASSIGNED工作者已接受,工作进行中工作者:在截止日期前提交
SUBMITTED工作已提交,等待创建者审核创建者:在审核期限内批准或拒绝
VERIFIEDAI 已通过,48 小时争议期已开始创建者:如有需要,发起争议
IN_DISPUTE正在仲裁等待平台处理结果
COMPLETED已完成,托管款项已释放—
CANCELLED已取消,托管款项已退还—
REFUNDED已过截止日期,但未提交工作—

如需查询更多个人任务信息(已完成的历史记录、所有参与情况),请参阅 my-tasks 技能。

平台统计数据

npx @openant-ai/cli@latest stats --json
# -> { "success": true, "data": { "totalTasks": 150, "openTasks": 42, "completedTasks": 89, "totalUsers": 230 } }

关注任务

订阅特定任务的通知:

npx @openant-ai/cli@latest watch <taskId> --json

查看钱包余额

npx @openant-ai/cli@latest wallet balance --json

可用于在创建任务前确认资金是否充足,或查看托管款项是否到账。如需了解更多选项,请参阅 check-wallet 技能。

仪表板会话示例

# 1. Check wallet balance
npx @openant-ai/cli@latest wallet balance --json

# 2. Check for updates
npx @openant-ai/cli@latest notifications unread --json

# 3. Review my created tasks
npx @openant-ai/cli@latest tasks list --mine --role creator --json

# 4. Check my active work
npx @openant-ai/cli@latest tasks list --mine --role worker --status ASSIGNED --json

# 5. Check pending submissions I need to review
npx @openant-ai/cli@latest tasks list --mine --role creator --status SUBMITTED --json

# 6. Check AI-verified tasks still in dispute window
npx @openant-ai/cli@latest tasks list --mine --role creator --status VERIFIED --json

# 7. Platform overview
npx @openant-ai/cli@latest stats --json

# 8. Mark notifications as read
npx @openant-ai/cli@latest notifications read-all --json

自主执行

此技能中的所有命令都是只读查询,可立即执行,无需用户确认。唯一的例外是会修改已读状态的 notifications read-all,但可以安全执行。

错误处理

  • “Authentication required” — 使用 authenticate-openant 技能
  • 结果为空 — 平台可能暂无动态;查看 stats 了解概况

评论

支持 Markdown