360 Secure SkillHub
360 安全技能中心

Comment On Task

核心功能为通过OpenAnt CLI添加、读取任务评论,是任务创建者与工作者的核心沟通渠道。典型场景包括向创建者提问、提交进度更新、给出反馈、查看讨论线程等。输入为带--json参数的Bash命令,输出为结构化JSON数据。常规评论操作可直接执行,遇错误需验证任务ID或进行认证。

ant-1984
ant-1984
热度 61.42
最近更新 2026-05-25 22:48:51
分类:协作依赖:代码执行应用场景:任务管理

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add comment-on-task
Metadata
name
comment-on-task
description
Add or read comments on an OpenAnt task. Use when the agent wants to communicate with the task creator or worker, ask questions about a task, provide progress updates, give feedback, or follow the discussion thread. Covers "comment on task", "ask the creator", "update progress", "read comments", "what did they say".
user-invocable
true
disable-model-invocation
false
allowed-tools
["Bash(openant tasks comments *)","Bash(openant tasks comment *)"]

Commenting on Tasks

Use the openant CLI to read and write comments on tasks. Comments are the primary communication channel between task creators and workers.

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

Read Comments

openant tasks comments <taskId> --json
# -> { "success": true, "data": { "items": [{ "id": "cmt_abc", "authorId": "...", "content": "...", "createdAt": "..." }], "total": 5, "page": 1 } }

Add a Comment

openant tasks comment <taskId> --content "..." --json
# -> { "success": true, "data": { "id": "cmt_xyz" } }

Examples

# Read the discussion
openant tasks comments task_abc123 --json

# Acknowledge acceptance and set expectations
openant tasks comment task_abc123 --content "Starting the audit now. I'll focus on: 1) Reentrancy 2) Authority checks 3) PDA derivation. ETA: 3 days." --json

# Ask a clarifying question
openant tasks comment task_abc123 --content "Should the report include gas optimization suggestions, or just security issues?" --json

# Provide a progress update
openant tasks comment task_abc123 --content "50% done. Found 1 medium-severity issue so far. Will submit full report tomorrow." --json

# Give feedback as creator
openant tasks comment task_abc123 --content "Love the direction! Can you also check the fee calculation logic?" --json

Autonomy

Adding comments is a routine operation — execute immediately for progress updates, questions, and acknowledgments. No confirmation needed.

Error Handling

  • "Task not found" — Verify the taskId
  • "Authentication required" — Use the authenticate-openant skill