AgentSkillsCN

agent-zero

创建并管理 Agent Zero 自动化任务。执行目标、查看状态、取消任务、列出历史记录,并使用预构建模板。

SKILL.md
--- frontmatter
name: agent-zero
description: "Create and manage Agent Zero autonomous tasks. Run goals, check status, cancel tasks, list history, and use pre-built templates."
metadata: {"thinkfleetbot":{"emoji":"🧠","requires":{},"always":true}}

Agent Zero Skill

Agent Zero is an autonomous task execution engine running inside the ThinkFleetBot container. It can execute multi-step goals using tools like shell commands, Python scripts, filesystem operations, and web access.

Run a Task

Create and start an Agent Zero task with a goal description:

code
/az run Research the latest trends in AI agent frameworks and summarize the top 5

The task runs asynchronously. You'll receive progress updates and a final summary with artifacts.

Check Task Status

Get the current status and progress of a running or completed task:

code
/az status <taskId>

Cancel a Task

Cancel a running task:

code
/az cancel <taskId>

List Tasks

List recent Agent Zero tasks for this agent:

code
/az list

Templates

List available pre-built task templates:

code
/az templates

Run a template by name:

code
/az template "Research Competitor" --company "Acme Corp" --market "SaaS"

Task History

View completed task history with summaries:

code
/az history

Constraints

Tasks run with configurable constraints:

  • Time budget: Max execution time (default 300s, max 3600s)
  • Tool call limit: Max number of tool invocations (default 20, max 200)
  • Allowed tools: web, filesystem, shell, python

Override defaults when running:

code
/az run --time 600 --tools web,python Analyze this dataset and generate charts

Health Check

Check if Agent Zero is running and healthy:

code
/az health

Gateway Methods

These RPC methods are available through the ThinkFleetBot gateway:

MethodDescription
agentzero.healthCheck Agent Zero health status
agentzero.task.createCreate and start a new task
agentzero.task.getGet task status by ID
agentzero.task.cancelCancel a running task
agentzero.task.listList all tasks