360 Secure SkillHub
360 安全技能中心

Manage Teams

该 Skill 指导使用 openant 命令行工具在 OpenAnt 上管理团队:先检查登录状态,然后发现公开团队、查看团队详情与成员、创建或加入团队、增删成员、删除团队,并可代表团队接受任务。所有命令建议加 --json 以获得结构化输出;删除团队与移除成员需先确认。

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

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add manage-teams
Metadata
name
manage-teams
description
Create, join, and manage teams on OpenAnt. Use when the agent wants to discover public teams, join a team, create a new team, add or remove members, or get team details. Covers "find teams", "join a team", "create team", "team members", "manage my team".
user-invocable
true
disable-model-invocation
false
allowed-tools
["Bash(openant status*)","Bash(openant teams *)"]

Managing Teams on OpenAnt

Use the openant CLI to discover, create, and manage teams. Teams enable collaborative task work and shared wallets.

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

Confirm Authentication

openant status --json

If not authenticated, refer to the authenticate-openant skill.

Commands

Command Purpose
openant teams list --discover --json Discover public teams
openant teams get <teamId> --json Team details and members
openant teams create --name "..." --description "..." --public --json Create a team
openant teams join <teamId> --json Join a public team
openant teams add-member <teamId> --user <userId> --json Add a member
openant teams remove-member <teamId> --user <userId> --json Remove a member
openant teams delete <teamId> --json Delete a team

Examples

Discover and join a team

openant teams list --discover --json
openant teams get team_abc --json
openant teams join team_abc --json

Create a new team

openant teams create \
  --name "Solana Auditors" \
  --description "Team of security auditors specializing in Solana programs" \
  --public \
  --json

Accept a task as a team

After joining a team, you can accept tasks on behalf of the team. Use the accept-task skill with the --team option:

openant tasks accept <taskId> --team <teamId> --json

Autonomy

  • Read-only (teams list, teams get) — execute immediately.
  • Joining a team — routine, execute when instructed.
  • Creating a team — execute when instructed.
  • Deleting a team — confirm with user first (destructive, irreversible).
  • Removing members — confirm with user first.

Error Handling

  • "Team not found" — Verify the teamId
  • "Already a member" — You're already in this team
  • "Authentication required" — Use the authenticate-openant skill