Rechercher

PythonReactSEOPDF
OpenClaw

openclaw-agent-builder

Use when creating OpenClaw agents, configuring workspaces, multi-agent routing, session isolation, or channel bindings.

a125917710 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install a12591771/openclaw-agent-builder

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

OpenClaw Agent Builder

为 OpenClaw 创建和配置 AI Agent 的完整指南。OpenClaw 使用基于工作空间的 Agent 架构,每个 Agent 拥有独立的会话、配置和上下文文件。

核心架构

~/.openclaw/
├── openclaw.json          # 主配置文件
├── agents/                # Agent 会话存储
│   ├── <agentId>/
│   │   ├── agent/         # Agent 配置
│   │   └── sessions/      # 会话历史 (JSONL)
│   └── main/              # 默认主 Agent
├── workspace/             # 主工作空间
│   ├── AGENTS.md          # 工作流指令
│   ├── SOUL.md            # 角色人格定义
│   ├── TOOLS.md           # 工具使用说明
│   ├── USER.md            # 用户配置
│   ├── MEMORY.md          # 长期记忆 (仅主会话)
│   ├── memory/            # 每日记忆文件
│   └── .learnings/        # 学习日志
└── skills/                # 技能目录

何时使用

场景 方案
需要专用 Agent 处理特定领域任务 创建新 Agent
需要隔离会话历史 使用多 Agent 路由
不同任务需要不同模型/工具配置 配置 Agent 专属设置
团队协作需要独立上下文 创建团队 Agent
多人共用 Gateway 但需要私密对话 配置 dmScope: per-channel-peer
同一用户跨频道保持会话连续 配置 identityLinks
飞书/钉钉群需要绑定特定 Agent 配置 bindings + requireMention

可选机制选择器

不是每个 Agent 都需要以下所有机制。根据实际需求选择:

机制 使用时机 配置位置
Bindings 需要精确控制消息路由到哪个 Agent bindings[]
dmScope 多人使用同一个聊天账号,需要隔离私密对话 session.dmScope
identityLinks 同一用户在多个频道联系你,希望共享会话 session.identityLinks
sendPolicy 阻止某些会话类型的消息发送(如 cron 任务不回复) session.sendPolicy
session.maintenance 高频率会话,需要自动清理过期会话 session.maintenance
threadBindings Discord/Slack 线程需要独立会话 session.threadBindings
sandbox 运行不受信代码或需要安全隔离 agents[].sandbox
tools allow/deny 限制 Agent 可使用的工具(如家庭 Agent 不允许...

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/a12591771/openclaw-agent-builder
Version
—
Commit
3d99cabeca2d8debc0da0ccbecc38522f1eaa67a
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

Contenu extrait

SKILL.md
# OpenClaw Agent Builder

为 OpenClaw 创建和配置 AI Agent 的完整指南。OpenClaw 使用基于工作空间的 Agent 架构,每个 Agent 拥有独立的会话、配置和上下文文件。

## 核心架构

```
~/.openclaw/
├── openclaw.json          # 主配置文件
├── agents/                # Agent 会话存储
│   ├── <agentId>/
│   │   ├── agent/         # Agent 配置
│   │   └── sessions/      # 会话历史 (JSONL)
│   └── main/              # 默认主 Agent
├── workspace/             # 主工作空间
│   ├── AGENTS.md          # 工作流指令
│   ├── SOUL.md            # 角色人格定义
│   ├── TOOLS.md           # 工具使用说明
│   ├── USER.md            # 用户配置
│   ├── MEMORY.md          # 长期记忆 (仅主会话)
│   ├── memory/            # 每日记忆文件
│   └── .learnings/        # 学习日志
└── skills/                # 技能目录
```

## 何时使用

| 场景 | 方案 |
|------|------|
| 需要专用 Agent 处理特定领域任务 | 创建新 Agent |
| 需要隔离会话历史 | 使用多 Agent 路由 |
| 不同任务需要不同模型/工具配置 | 配置 Agent 专属设置 |
| 团队协作需要独立上下文 | 创建团队 Agent |
| 多人共用 Gateway 但需要私密对话 | 配置 `dmScope: per-channel-peer` |
| 同一用户跨频道保持会话连续 | 配置 `identityLinks` |
| 飞书/钉钉群需要绑定特定 Agent | 配置 `bindings` + `requireMention` |

## 可选机制选择器

**不是每个 Agent 都需要以下所有机制**。根据实际需求选择:

| 机制 | 使用时机 | 配置位置 |
|------|---------|---------|
| **Bindings** | 需要精确控制消息路由到哪个 Agent | `bindings[]` |
| **dmScope** | 多人使用同一个聊天账号,需要隔离私密对话 | `session.dmScope` |
| **identityLinks** | 同一用户在多个频道联系你,希望共享会话 | `session.identityLinks` |
| **sendPolicy** | 阻止某些会话类型的消息发送(如 cron 任务不回复) | `session.sendPolicy` |
| **session.maintenance** | 高频率会话,需要自动清理过期会话 | `session.maintenance` |
| **threadBindings** | Discord/Slack 线程需要独立会话 | `session.threadBindings` |
| **sandbox** | 运行不受信代码或需要安全隔离 | `agents[].sandbox` |
| **tools allow/deny** | 限制 Agent 可使用的工具(如家庭 Agent 不允许...

Skills associés

OpenClaw

x402hub

capncoconut

Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.