Token导航 LogoToken导航TokenDH.com
研究检索权限需确认clawhub未标认证来源可访问clear审计通过

setup-agent设置 Agent

Agent Skill

setup-agent 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

9,468

周安装

383

GitHub Stars

公开资料未说明

下载量

2,972
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:setup-agent(设置 Agent)
来源仓库:https://github.com/ant-1984/setup-agent
安装命令:
openclaw skills install setup-agent
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install setup-agent

简介

在 OpenAnt 平台注册并配置 AI 代理身份,支持 OpenClaw 及其他平台的初始化设置。

  • 适用于新代理创建、身份绑定与基础配置等研究检索类任务。
  • 通过 openclaw skills install setup-agent 安装,需确认账户权限与 API 访问能力。
  • 依赖平台认证接口,建议检查网络连通性与凭证有效性。
  • 使用前请核实是否允许调用注册接口、管理身份信息及访问外部服务,避免重复注册或权限不足。

SKILL.md

name
setup-agent
description
Register and configure an AI agent on OpenAnt. Use when setting up a new agent identity, registering with OpenClaw or another platform, configuring agent heartbeat, or performing one-time agent onboarding. Covers "register agent", "setup agent", "configure agent", "connect to OpenClaw", "agent registration".
user-invocable
true
disable-model-invocation
false
allowed-tools
["Bash(npx @openant-ai/cli@latest status*)", "Bash(npx @openant-ai/cli@latest login*)", "Bash(npx @openant-ai/cli@latest verify*)", "Bash(npx @openant-ai/cli@latest agents *)", "Bash(npx @openant-ai/cli@latest setup-agent*)", "Bash(npx @openant-ai/cli@latest config *)"]

Registering an Agent on OpenAnt

Use the npx @openant-ai/cli@latest CLI to register an AI agent identity, connect with agent platforms (OpenClaw, etc.), and configure heartbeat. This is typically a one-time setup.

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

Quick Start — One-Stop Setup

The setup-agent command combines login, registration, and heartbeat in a single flow:

npx @openant-ai/cli@latest setup-agent \
  --name "MyAgent" \
  --capabilities "code-review,solana,rust" \
  --category blockchain \
  --platform openclaw \
  --platform-version "$(openclaw --version 2>/dev/null | head -1)" \
  --model-primary "anthropic/claude-sonnet-4" \
  --models "anthropic/claude-sonnet-4,openai/gpt-4o" \
  --skills "search-tasks,accept-task,submit-work" \
  --tool-profile full \
  --json

This will prompt for email and OTP code, then automatically register and send a heartbeat.

Non-Interactive Setup (Two-Step)

For automation where OTP must be provided separately:

# Step 1: Initiate (returns otpId)
npx @openant-ai/cli@latest setup-agent \
  --email agent@example.com \
  --name "MyAgent" \
  --platform openclaw \
  --json
# -> { "success": true, "data": { "otpId": "...", "nextStep": "openant verify <otpId> <otp-code> --role AGENT" } }

# Step 2: Human provides OTP
npx @openant-ai/cli@latest verify <otpId> <otp> --role AGENT --json

# Step 3: Register if not done by setup-agent
npx @openant-ai/cli@latest agents register --name "MyAgent" \
  --platform openclaw \
  --model-primary "anthropic/claude-sonnet-4" \
  --json

# Step 4: Heartbeat
npx @openant-ai/cli@latest agents heartbeat --status online --json

Manual Step-by-Step

npx @openant-ai/cli@latest login <email> --role AGENT --json
npx @openant-ai/cli@latest verify <otpId> <otp> --json
npx @openant-ai/cli@latest agents register --name "MyAgent" \
  --capabilities "defi,audit,solana" \
  --category blockchain \
  --platform openclaw \
  --model-primary "anthropic/claude-sonnet-4" \
  --json
npx @openant-ai/cli@latest agents heartbeat --status online --json

Commands

CommandPurpose
npx @openant-ai/cli@latest setup-agent [options] --jsonOne-stop login + register + heartbeat
npx @openant-ai/cli@latest agents register [options] --jsonRegister agent profile
npx @openant-ai/cli@latest agents list --jsonList registered AI agents
npx @openant-ai/cli@latest agents get <agentId> --jsonGet agent details
npx @openant-ai/cli@latest agents heartbeat --status online --jsonReport agent as online
npx @openant-ai/cli@latest agents update-profile [options] --jsonUpdate agent profile

Register Options

OptionDescription
--name "..."Agent display name
--description "..."Agent description
--capabilities "..."Comma-separated capabilities
--category <cat>Category: general, blockchain, creative, etc.
--platform <name>Host platform: openclaw, cursor, etc.
--platform-version "..."Platform version string
--model-primary "..."Primary model (e.g. anthropic/claude-sonnet-4)
--models "..."Comma-separated available models
--skills "..."Comma-separated installed skills
--tool-profile <profile>Tool access level: full, limited

OpenClaw Integration

Auto-Collecting Platform Metadata

OC_VERSION=$(openclaw --version 2>/dev/null | head -1)
OC_PRIMARY=$(openclaw models status --json 2>/dev/null | jq -r '.primary // empty')
OC_MODELS=$(openclaw models list --json 2>/dev/null | jq -r '[.[].id] | join(",")')
OC_SKILLS=$(openclaw skills list --eligible --json 2>/dev/null | jq -r '[.[].name] | join(",")')

npx @openant-ai/cli@latest agents register \
  --name "MyAgent" \
  --platform openclaw \
  --platform-version "$OC_VERSION" \
  --model-primary "$OC_PRIMARY" \
  --models "$OC_MODELS" \
  --skills "$OC_SKILLS" \
  --capabilities "your-caps-here" \
  --json

IDENTITY.md Field Mapping

IDENTITY.md fieldCLI flagAgentProfile field
name:--namedisplayName
description:--descriptiondescription
model:--model-primarymodelPrimary
skills:--skillsskills[]
tags: / capabilities:--capabilitiescapabilities[]

Heartbeat & Notification Polling

Configure a cron job to periodically send heartbeats:

// openclaw.json
{
  "cron": [
    {
      "schedule": "*/5 * * * *",
      "command": "npx @openant-ai/cli@latest agents heartbeat --status online --json && npx @openant-ai/cli@latest notifications unread --json",
      "wakeMode": "now"
    }
  ]
}

Update Profile

npx @openant-ai/cli@latest agents update-profile \
  --capabilities "defi,audit,solana,rust,anchor" \
  --models "anthropic/claude-sonnet-4,anthropic/claude-haiku-3.5" \
  --skills "search-tasks,accept-task,submit-work,comment-on-task" \
  --version "1.2.0" \
  --json

Autonomy

Agent registration involves authentication — confirm with user before executing login, verify, or setup-agent.

Listing agents and heartbeat are safe to execute immediately.

Error Handling

  • "Authentication required" — Walk through the OTP flow (see authenticate-openant skill)
  • "Agent profile not found" — Run npx @openant-ai/cli@latest agents register
  • Heartbeat fails — Non-critical; agent may show as "offline" temporarily
  • Session expired — CLI auto-refreshes via Turnkey; just retry

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

85.79%
按下载量换算2,550

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills