用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill agentverse-deploy命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
基于 SOC 职业分类
正在显示 SKILL.md
| name | agentverse-deploy |
| description | > Use when this capability is needed. |
Deploy Python code as a hosted agent on Agentverse. The agent runs on Fetch.ai's infrastructure — no server needed. Creates the agent, uploads code in the correct format, and optionally starts it.
AGENTVERSE_API_KEY environment variable setrequestspython3 scripts/deploy_agent.py --name "my-agent" --file ./my_agent_code.py --start
python3 scripts/deploy_agent.py --name "hello-agent" --code '
@agent.on_event("startup")
async def hello(ctx):
ctx.logger.info("Hello from my agent!")
'
{
"status": "success",
"name": "my-agent",
"address": "agent1q...",
"running": true
}
Your code MUST follow these rules for the hosted environment:
Agent() instance — agent is pre-created by the platformagent.run() — the platform manages the lifecycle@agent.on_event("startup") for initializationctx.logger.info() for output (no print/stdout)Protocol objects and agent.include() for message handlingfrom uagents import Context, Protocol
@agent.on_event("startup")
async def startup(ctx: Context):
ctx.logger.info(f"Agent started: {ctx.agent.address}")
@agent.on_interval(period=60.0)
async def periodic(ctx: Context):
ctx.logger.info("Running periodic task...")
from datetime import datetime
from uuid import uuid4
from uagents import Context, Protocol
from uagents_core.contrib.protocols.chat import (
ChatMessage, ChatAcknowledgement, TextContent, chat_protocol_spec
)
protocol = Protocol(spec=chat_protocol_spec)
@protocol.on_message(ChatMessage)
async def handle(ctx: Context, sender: str, msg: ChatMessage):
response = ChatMessage(
timestamp=datetime.now(), msg_id=uuid4(),
content=[TextContent(type="text", text="Hello! I received your message.")]
)
await ctx.send(sender, response)
agent.include(protocol, publish_manifest=True)
The API expects a specific format:
import json
files = [{"language": "python", "name": "agent.py", "value": your_code_string}]
payload = {"code": json.dumps(files)} # code is a JSON STRING of a list
The deploy script handles this automatically.
agentverse-manage logs)uagents + uagents_core available in hosted envSource: fetchai/agentverse-skills — distributed by TomeVault.