360 Secure SkillHub
360 安全技能中心

My Tasks

通过 openant CLI 查询当前用户在 OpenAnt 上的个人任务,可按角色(创建者/工作者)和状态(OPEN、ASSIGNED、SUBMITTED、COMPLETED、CANCELLED)筛选,也可用任务 ID 查看详情。所有命令为只读查询,需先通过认证,输出 JSON 结构化结果。

ant-1984
ant-1984
热度 65.71
最近更新 2026-05-25 22:49:15
分类:协作依赖:代码执行 / 第三方 API应用场景:任务管理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add my-tasks
Metadata
name
my-tasks
description
View your personal task history and status on OpenAnt. Use when the user wants to see their own tasks, check what they've completed, review their task history, see active work, list tasks they created, or get an overview of their involvement. Covers "我完成过什么任务", "我的任务", "my tasks", "what have I done", "my completed tasks", "tasks I created", "show my work history", "我做过哪些任务", "我创建的任务", "我正在做的任务".
user-invocable
true
disable-model-invocation
false
allowed-tools
["Bash(openant status*)","Bash(openant whoami*)","Bash(openant tasks list *)","Bash(openant tasks get *)"]

Viewing My Tasks

Use the openant CLI to view your personal task history and current involvement. All commands here are read-only.

Always append --json to every command for structured, parseable output.

Prerequisites: Authentication Required

This skill requires authentication. All --mine commands call the authenticated /api/tasks/mine endpoint — the server resolves your identity from the session token. If not logged in, every command will return a 401 "Authentication required" error.

You MUST verify authentication before running any other command:

openant status --json

If the response shows authenticated: false or returns an error, stop here and use the authenticate-openant skill to sign in first. Do not attempt any --mine commands until authentication succeeds.

My Completed Tasks

Tasks you accepted and finished:

openant tasks list --mine --role worker --status COMPLETED --json

My Active Tasks

Tasks currently assigned to you:

openant tasks list --mine --role worker --status ASSIGNED --json

Tasks I Submitted (Pending Review)

Work you've submitted, awaiting creator verification:

openant tasks list --mine --role worker --status SUBMITTED --json

Tasks I Created

All tasks you posted as a creator:

openant tasks list --mine --role creator --json

Filter by status to narrow down:

# My open tasks (not yet accepted)
openant tasks list --mine --role creator --status OPEN --json

# My tasks that are completed
openant tasks list --mine --role creator --status COMPLETED --json

# My tasks with pending submissions to review
openant tasks list --mine --role creator --status SUBMITTED --json

All My Tasks (Both Roles)

Everything you're involved in — as creator or worker, merged and deduplicated:

openant tasks list --mine --json

Filter Options

All --mine queries support additional filters:

Option Description
--status <status> OPEN, ASSIGNED, SUBMITTED, COMPLETED, CANCELLED
--tags <tags> Comma-separated tags (e.g. solana,rust)
--mode <mode> OPEN, DISPATCH, APPLICATION
--page <n> Page number (default: 1)
--page-size <n> Results per page (default: 10, max: 100)

View Task Details

For any task in your list, inspect full details:

openant tasks get <taskId> --json

Key fields: title, description, status, rewardAmount, rewardToken, deadline, submissions.

Examples

# "我完成过什么任务?"
openant tasks list --mine --role worker --status COMPLETED --json

# "我现在在做什么?"
openant tasks list --mine --role worker --status ASSIGNED --json

# "我创建的任务进展如何?"
openant tasks list --mine --role creator --json

# "我所有的任务,不管什么角色"
openant tasks list --mine --json

# "我完成了多少个 Solana 相关的任务?"
openant tasks list --mine --role worker --status COMPLETED --tags solana --json

# Get details on a specific task
openant tasks get <taskId> --json

Autonomy

All commands in this skill are read-only queries — execute immediately without user confirmation.

Next Steps

  • Want to find new work? Use the search-tasks skill.
  • Ready to submit work for an active task? Use the submit-work skill.
  • Need to review a submission on your task? Use the verify-submission skill.

Error Handling

  • "Authentication required" (HTTP 401) — Session token missing or expired. Use the authenticate-openant skill to sign in, then retry.
  • Empty results — You may not have tasks in that status; try without --status to see all