SkillAtlasSkill 详情

build-skill

Agent Zero is an open agent framework for work that needs more than chat: a Dockerized Linux des...

审核状态:已审核Quality 80Security 62

复制安装命令

用 Codex 或 Claude 安装复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它先审查 Skill 页面再帮你安装。

复制前请先查看来源、License 和安全提示。

项目 README

来源文件:README.md

抓取于 2026年8月29日
Agent Zero Banner

Agent Zero

Give your agent a full Linux computer.

Agent Zero is an open agent framework for work that needs more than chat: a Dockerized Linux desktop, a browser with DOM annotation, live document cowork, projects, skills, plugins, and a bridge back to your host machine.

Website Docs Discord GitHub Sponsors Ask DeepWiki

Quick Start | Why Agent Zero | Try These First | Deep Dives | Docs

Agent Zero driving Blender in its built-in XFCE desktop

Why Agent Zero

FeatureWhy it matters
Full Linux desktopThe agent can use real GUI software, terminals, files, and desktop apps inside the Canvas.
Browser DOM annotationClick page elements and turn them into inspect, change, lift, or review instructions.
Live document coworkEdit Markdown, Writer, Spreadsheet, and Presentation files together instead of losing work in chat.
Plugin HubInstall 100+ community plugins or publish your own extension points.
Projects and memoryKeep files, instructions, secrets, memories, repositories, and model-preset choices isolated per project.
Host-machine bridgeConnect with the A0 CLI so the same agent can work in your real local repositories.
Multi-agent cooperationLet agents delegate research, coding, analysis, or review tasks to focused subagents.
Transparent internalsPrompts, tools, plugins, skills, and settings are inspectable and editable.

Quick Start

Recommended: A0 Launcher

The desktop A0 Launcher is the fastest guided path on a personal machine. Download it, open it, and let it check Docker, create Instances, manage ports, and connect to local or remote Agent Zero installs.

Agent Zero runs wherever Docker runs, from a $6 VPS or Raspberry Pi to a local workstation or GPU server.

ArchitecturemacOSLinuxWindows
x86Mac IntelLinux x86Windows x86
ARM64Mac Apple SiliconLinux ARM64Windows ARM64

See the A0 Launcher v1.6 release for release notes and updater metadata. See the Launcher guide for the first-run walkthrough.

Other install paths

A0 Install

Use A0 Install when you want the terminal path: SSH sessions, servers, recovery shells, or a scriptable setup. It creates Dockerized Agent Zero instances, mounts each instance's data into /a0/usr inside the container, and uses a reuse-before-setup policy: it tries your current Docker CLI configuration, DOCKER_HOST, Docker contexts, and known local Docker-compatible endpoints before setting up a runtime.

macOS / Linux

curl -fsSL https://bash.agent-zero.ai | bash

Windows PowerShell

irm https://ps.agent-zero.ai | iex

Headless / scripted

For servers and automation, run the installer in Quick Start mode so it creates one instance and exits without opening menus:

curl -fsSL https://bash.agent-zero.ai | bash -s -- --quick-start --name agent-zero --port 5080
& ([scriptblock]::Create((irm https://ps.agent-zero.ai))) -QuickStart -Name agent-zero -Port 5080

Use --skip-runtime-setup / -SkipRuntimeSetup when Docker must already be working and the installer should not try to set up a runtime. See the A0 Install repository for all installer flags.

Docker already installed? Run this directly

docker run -p 80:80 -v a0_usr:/a0/usr agent0ai/agent-zero

Open the Web UI, configure your LLM provider, and start with a concrete task. For the full setup and onboarding experience, see the Installation guide.

Troubleshooting

  • Docker is not running: start Docker Desktop or your Docker service, then reopen the Launcher or rerun the install command.
  • Port 80 is already in use: use the Launcher to pick another port, or run Docker directly with -p 5080:80 and open http://localhost:5080.
  • Installing on a server: use the A0 Install Quick Start command with --quick-start --name agent-zero --port 5080.
  • Still blocked: see the Troubleshooting guide.

Try These First

  • Annotate a design you like: "Open this template site in the Browser. I'll annotate the hero section - re-implement it in my project's React + Tailwind stack."
  • Cowork on a spreadsheet: "Create an editable ODS budget model with assumptions and monthly projections."
  • Drive a desktop app: "Use the Linux Desktop to open Blender and create a simple 3D logo for me."
  • Review a web UI: "Open my local app in the Browser. I will annotate the page with comments; then implement the requested UI fixes."
  • Create a specialist: "Create an Agent Profile for financial analysis with cautious reasoning, clear assumptions, and spreadsheet-first deliverables."
  • Recover a workspace: "Show me recent Time Travel snapshots and explain what changed before I revert anything."

Deep Dives

A Real Linux Desktop in the Canvas

Agent Zero opens its own Linux desktop inside the right-side Canvas. Not a remote VM, not a shared clipboard, but a real XFCE desktop session running in the container.

That means the agent can drive real desktop software: open Blender to model a 3D object, jump into a terminal window, manage files visually, run a GUI tool that has no API.

You watch every action, and you can intervene at any moment because your mouse and keyboard share the same desktop.

See the Desktop guide for the walkthrough, prompt examples, and how Desktop differs from Browser.

Native Browser With DOM Annotations

Annotating a webpage element in the Agent Zero browser

Agent Zero ships a built-in Browser with an optional live surface in the Canvas. The agent can open pages, read them, click, type, upload files, and take screenshots - the usual. The unusual part is Annotate mode.

Annotate mode turns any webpage into an interactive directive surface. Click an element to:

  • Change it - "make this button blue and round the corners" runs as a JS instruction the agent applies and verifies.
  • Inspect it - pull the DOM, the styles, the parent chain, the framework hints into the conversation.
  • Lift it - see a card, hero, or component on someone else's site that you like? Capture it and have the agent re-implement it in your own project's stack.
  • Comment it - leave actionable notes pinned to elements during a UI review; the agent reads the comments and ships the fixes.

The Docker browser is the default live Browser surface. Browser history keeps screenshots of important steps, so older chats can still show what the agent saw. The Browser also supports Chrome extensions inside the Docker browser, and Bring Your Own Browser through the A0 CLI Connector lets the agent drive Chrome, Edge, Brave, Opera, Vivaldi, or Chromium on your own machine.

See the Browser guide for screenshots, settings, host-browser setup, and troubleshooting.

Cowork on Documents

Markdown Editor With Live Cowork

Agent Zero writing a TODO plan in the Canvas markdown editor

The Canvas includes a rich Markdown editor designed for genuine cowork. Ask the agent to "write a plan to do X in a TODO.md in the open doc" and you'll see the file appear in the editor, character by character, while you keep typing in another section.

It's not a preview pane. It's a real editor with toolbar, formatting buttons, tables, and an editable source view - built so that the agent's edits and yours are equal first-class operations on the same document.

Use it for plans, TODOs, meeting notes, RFCs, project handoffs, or any artifact where the deliverable should live as text rather than be trapped inside chat scrollback.

LibreOffice Integration

LibreOffice Writer, Calc, and Impress are wired up so you can type by hand while Agent Zero creates, updates, saves, and verifies the same files in real time.

ODT, ODS, and ODP binary formats are first-class citizens in the Agent Zero Desktop environment to align with the Open Document Format (ODF).

Use the Desktop toolbar to create and edit Writer, Spreadsheet, and Presentation LibreOffice files.

Plugin Hub - 100+ Community Plugins

Agent Zero Plugin Hub showing community plugins

Agent Zero is built for extension, not just configuration. The built-in Plugin Hub browses a growing catalog of community plugins - currently more than 100, covering:

  • Development frameworks like the BMAD Method (full software development lifecycle with 20 specialist agents) and Agent Skills.
  • Memory systems - alternative memory backends, intelligent consolidation strategies, vector recall plugins.
  • Tools and integrations - embedded terminals, custom browsers, deployment helpers, API clients.
  • UI extensions - chat rename controls, sidebar tweaks, theme packs, custom Canvas panels.
  • Workflow plugins - schedulers, multi-agent orchestration, project automations.

Install with a click from the Web UI, or publish your own to the index repository. Combined with custom prompts in prompts/, custom tools in tools/, MCP servers, A2A connectors, and project-scoped configuration, Agent Zero gives you a real surface area to shape the agent into whatever you need.

See the Skills guide, the Create a Small Plugin tutorial, and the MCP setup guide.

Use Your OpenAI Codex Plan

OAuth LLM plans in Agent Zero

Agent Zero connects to your OpenAI Codex plan through the new OAuth flow. Sign in with your account, pick the Codex-backed provider, and let Agent Zero use the plan you already have. Click "Connect", enter the device code in the OpenAI page, choose your model, and you're set.

This is the first step toward account-backed LLM plans in Agent Zero. More integrations are coming, including Gemini CLI and Claude Code through extra-usage.

A0 CLI Connector: Extend Onto Your Host Machine

A0 CLI driving the host browser through a Google Cloud VM creation flow

The A0 CLI Connector is not a separate CLI agent. It connects to a running Agent Zero instance and gives that instance a terminal-native bridge to your host machine - so the same agent (with all its memory, projects, and skills) can also work on real files outside the Docker container.

Install the connector on the machine you want Agent Zero to work on, not inside the Agent Zero container.

macOS / Linux

curl -LsSf https://cli.agent-zero.ai/install.sh | sh

Windows PowerShell

irm https://cli.agent-zero.ai/install.ps1 | iex

Then run a0 to connect your terminal to an existing Agent Zero instance. It can usually discover a local instance automatically, or you can point it at a remote URL hosted somewhere else, such as a VPS or tunnel.

This is especially useful if you:

  • prefer CLI workflows;
  • want Agent Zero to work in an existing local repository;
  • are running Agent Zero on a remote server;
  • want Docker isolation for Agent Zero while still granting explicit, controlled access to host-side work.

For full setup, see the A0 CLI Connector guide (or the in-repo guide).

Projects, Skills, Agent Profiles, and Model Presets

Projects isolate workspaces, instructions, memory, secrets, knowledge, repositories, and model-preset choices. Clone a public or private Git repo into a project and give the agent context that belongs to that work alone.

Skills can be loaded on demand by Agent Zero, or pinned from the chat input when you want a specific procedure to stay active.

Agent Profiles change the broader working style of the current chat.

Model Presets are named shortcuts for model setups, so you can quickly switch between fast, balanced, cheap, local, or high-power model choices.

Multi-Agent Cooperation

Every agent can create subordinate agents to break down work. The superior gives tasks and receives reports; subagents keep their own contexts focused and return their findings when done.

This makes Agent Zero useful for research, software engineering, data analysis, plugin development, and tasks where several specialized perspectives are better than one overloaded context.

Transparent and Extensible by Design

Almost nothing is hidden. Prompts live in prompts/, tools live in tools/ or plugins, and built-in behavior can be inspected, changed, replaced, or extended.

Agent Zero supports plugins, MCP, A2A, custom tools, custom prompts, project-scoped configuration, environment-based deployment settings, and a Web UI designed to keep the agent's work readable in real time.

Time Travel

Time Travel gives Agent Zero-owned /a0/usr workspaces snapshot history, diff inspection, travel, and revert. It is designed for recoverable agent work: see what changed, compare files, inspect a past state, and roll back when needed.

Time Travel

It is not a replacement for Git or backups. It is a practical safety layer for the workspace where agents are actively creating and editing files.

Real-World Use Cases

  • Software engineering: inspect a codebase, make scoped edits, run tests, explain tradeoffs, and keep a recoverable history of file changes.
  • Host-machine development: connect with a0 and let Agent Zero work in your real local repositories, or clone them through Git Projects feature in the Web UI.
  • Design inspiration and UI iteration: browse the web, annotate elements you like, and pull components into your own stack.
  • Financial analysis and charting: collect data, correlate events, create spreadsheets, and generate editable charts.
  • Office deliverables: cowork on documents, spreadsheets, and presentation decks instead of trapping the result in chat text.
  • Web and mobile QA: browse an app, annotate UI issues, install browser extensions, and turn visual comments into actionable fixes.
  • API integration: paste an API snippet, let the agent build a working example, and store the pattern for future use.
  • Client/project isolation: keep memory, secrets, instructions, files, and model choices separated by project.
  • Scheduled operations: run recurring checks and monitoring tasks with project-scoped context and credentials.

Documentation

I want to...Start here
Install or update Agent ZeroInstallation
Learn the UI and basic workflowQuickstart
Browse, annotate, and use Browser screenshotsBrowser guide
Use the Linux desktop and LibreOfficeDesktop guide
Connect Agent Zero to host-machine files and shellA0 CLI Connector
Use projects and Git workspacesProjects guide
Create a small pluginCreate a Small Plugin
Add or remove active skillsSkills guide
Create or switch Agent ProfilesAgent Profiles
Create or switch Model PresetsModel Presets
Manage and curate memoriesMemory guide
Learn the everyday chat controlsUsage guide
Configure MCP or external toolsMCP setup
Understand the architecture and internalsDeepWiki for Agent Zero
Build an advanced extensionExtensions
Contribute to the projectContributing
Troubleshoot problemsTroubleshooting

Build With Us

Agent Zero is built for people who want to understand and shape their tools.

You can help by improving docs, creating skills, publishing plugins, testing model/provider setups, reporting bugs, sharing workflows, or contributing core improvements. Start with the Contributing guide, browse the Plugin Hub, or bring ideas to Discord.

Community and Support

Space Agent is the related, more polished product direction for the agent-shaped workspace. Agent Zero remains the open framework and Linux-powered workbench.

Safety Model

Agent Zero is powerful because it can use a real environment.

  • Keep it running inside Docker or another isolated environment.
  • Do not mount your entire home directory unless you understand the risk.
  • Grant A0 CLI Read+Write access and remote code execution only for machines and workspaces you trust.
  • Store credentials in project secrets or settings, not in prompts or public files.
  • Review actions that touch accounts, money, production systems, or private data.
  • Keep backups for important workspaces.
Agent / MCP / Skill 创作测试与质量
user phrase that should surface this skill--

高风险

  • 来源需自行核对维护者身份。
  • 包含脚本或命令调用,安装前请复核。
  • 未检测到明显外部权限要求。
  • 存在潜在风险命令,请谨慎安装。
  • 扫描发现:2 条。

Codex — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/agent0ai/agent-zero.git
  3. 将 "skills/build-skill" 文件夹复制到 Codex 的 skills 目录中。
  4. 重启 Codex 让新的 skill 生效。

Codex — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Codex 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Codex 让新的 skill 生效。

Claude Code — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/agent0ai/agent-zero.git
  3. 将 "skills/build-skill" 文件夹复制到 Claude Code 的 skills 目录中。
  4. 重启 Claude Code 让新的 skill 生效。

Claude Code — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Claude Code 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Claude Code 让新的 skill 生效。

Cursor — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/agent0ai/agent-zero.git
  3. 将 "skills/build-skill" 文件夹复制到 Cursor 的 skills 目录中。
  4. 重启 Cursor 让新的 skill 生效。

Cursor — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Cursor 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Cursor 让新的 skill 生效。

GitHub Copilot — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/agent0ai/agent-zero.git
  3. 将 "skills/build-skill" 文件夹复制到 GitHub Copilot 的 skills 目录中。
  4. 重启 GitHub Copilot 让新的 skill 生效。

GitHub Copilot — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 GitHub Copilot 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 GitHub Copilot 让新的 skill 生效。

Windsurf — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/agent0ai/agent-zero.git
  3. 将 "skills/build-skill" 文件夹复制到 Windsurf 的 skills 目录中。
  4. 重启 Windsurf 让新的 skill 生效。

Windsurf — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Windsurf 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Windsurf 让新的 skill 生效。
查看 SKILL.md 原文
name: build-skill
description: Build or improve Agent Zero skills following the official SKILL.md standard. Use when the user asks to create, rename, move, audit, test, or refactor a skill, or when a workflow should be packaged as reusable skill instructions.

Build Skill

Skills are small folders that teach Agent Zero a repeatable workflow. Keep the always-visible metadata precise, keep SKILL.md lean, and move detailed material into scripts, references, or assets only when the task needs it.

Standard Shape

Every skill folder must be named exactly like the skill and contain SKILL.md.

skill-name/
├── SKILL.md
├── scripts/      # optional deterministic helpers
├── references/   # optional details loaded only when needed
└── assets/       # optional output resources or templates

The frontmatter should contain name, description, and optional triggers when lexical discovery needs phrases that do not fit naturally in the description:

---
name: skill-name
description: What the skill does and when to use it.
triggers:
  - "user phrase that should surface this skill"
---

Use lowercase letters, digits, and hyphens. Prefer short verb-led names such as build-skill, review-plugin, or host-file-editing.

Workflow

  1. Identify two or three real user requests that should trigger the skill.
  2. Decide whether the skill belongs in core skills/ or inside a plugin's plugins/<plugin>/skills/ directory.
  3. Write the frontmatter description with the core trigger condition and key context; add triggers for short user phrases that should rank highly in skill search or relevant-skill recall.
  4. Keep the body focused on procedure, contracts, failure handling, and the files/scripts to load next.
  5. Move long examples, schemas, policies, or variant-specific detail to one-level-deep references/ files.
  6. Add scripts only for deterministic or repeatedly rewritten operations, and test representative scripts.
  7. Validate by searching, loading, and using the skill on a median-user prompt.

Placement

Use plugin-scoped skills when the skill exists to explain a plugin-owned tool or UI surface. Examples: Browser workflows belong under _browser; A0 CLI host tools belong under _a0_connector; Desktop canvas workflows belong under _desktop.

Use root skills/ for Agent Zero framework workflows that are not owned by one plugin, such as building skills, developing core features, or managing community plugins.

Writing Rules

  • Put trigger language in frontmatter, not in a body section. Use description for the compact always-visible purpose and triggers for phrase matches used by search and relevant-skill recall.
  • Do not add README, changelog, quick reference, or install guide files inside the skill.
  • Avoid compatibility aliases in prompts or skill bodies when renaming; update references to the new name.
  • Prefer concise examples over long prose.
  • Do not duplicate the same guidance in both SKILL.md and references.
  • When multiple skills could apply, keep each skill's responsibility narrow and name the handoff clearly.

Validation

Run targeted checks after edits:

conda run -n a0 pytest tests/test_skills_runtime.py tests/test_tool_action_contracts.py -q

Also exercise the live path when the skill changes agent-facing tool behavior:

1. Ask a short ordinary prompt that should discover the skill.
2. Confirm the agent uses skills_tool search/load when appropriate.
3. Confirm it calls the intended tool only after the skill is loaded when the tool is skill-gated.

发现问题?提交给管理员复核

评分:

评论 (0)

暂无评论,成为第一个评论者吧!