关于 Bankr Agent - Agent Profiles
Bankr Agent - Agent Profiles 提供命令行命令和 REST 接口,用于创建及管理公开的 Agent 资料页。适用于符合条件的 Bankr 代币部署者或费用受益人,资料须经管理员批准后公开。
主要功能
- 01创建和编辑 Agent 资料
- 02添加项目动态
- 03查看或删除资料
- 04命令行与 REST API 访问
- 05管理员批准后公开
适用场景
- 01发布项目资料页
- 02更新资料或团队信息
- 03发布项目上线动态
- 04删除现有资料
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ bankrbot/ claude-plugins --skill bankr-agent---agent-profiles安装后在 Claude Code 中输入/bankr-agent---agent-profiles确认已加载。
详细介绍
Agent 资料页
在 bankr.bot/agents 创建和管理公开资料页。
资格要求
你必须通过 Bankr(Doppler 或 Clanker)部署过代币,或是费用受益方,才能创建资料页。系统会根据你的部署历史验证代币地址。
资料字段
| 字段 | 必填 | 描述 |
|---|---|---|
projectName | 是 | 显示名称(1-100 个字符) |
tokenAddress | 是 | 代币合约地址(必须由 Bankr 部署) |
description | 否 | 项目描述(最多 2000 个字符) |
tokenChainId | 否 | 链:base、ethereum、polygon、solana(默认:base) |
twitterUsername | 否 | Twitter 用户名(自动从关联账号填充) |
teamMembers | 否 | 团队成员数组(最多 20 个) |
products | 否 | 产品数组(最多 20 个) |
revenueSources | 否 | 收入来源数组(最多 20 个) |
CLI 命令
bankr profile # View own profile
bankr profile --json # JSON output
bankr profile create # Interactive wizard
bankr profile create --name "My Agent" --token 0x... --twitter myagent
bankr profile update --description "Updated description"
bankr profile add-update # Add project update (interactive)
bankr profile add-update --title "v2 Launch" --content "Shipped new features"
bankr profile delete # Delete (with confirmation)
REST API 端点
所有端点都需要 X-API-Key 请求头。
| 方法 | 路径 | 描述 |
|---|---|---|
GET | /agent/profile | 获取自己的资料页 |
POST | /agent/profile | 创建资料页 |
PUT | /agent/profile | 更新资料字段 |
DELETE | /agent/profile | 删除自己的资料页 |
POST | /agent/profile/update | 添加项目动态 |
审批流程
资料页创建后初始状态为 approved: false,经管理员批准后便会公开显示。获批后,资料页会出现在列表中,并自动更新市值和收入数据。
自动填充字段
- profileImageUrl — 来自关联的 Twitter 个人资料图片
- twitterUsername — 来自关联的 Twitter 账号
- marketCapUsd — 每 5 分钟更新一次(CoinGecko)
- weeklyRevenueWeth — 每 30 分钟更新一次(Doppler 费用数据)
提示词示例
- “为我的 Agent 创建资料页”
- “更新我的资料页描述”
- “添加一条关于 v2 发布的项目动态”
- “显示我的 Agent 资料页”
- “删除我的 Agent 资料页”
评论
支持 Markdown