Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计通过

weixin-multi-agent-router微信多 Agent 路由器

Agent Skill

weixin-multi-agent-router 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,045

周安装

172

GitHub Stars

5

下载量

1,417
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:weixin-multi-agent-router(微信多 Agent 路由器)
来源仓库:https://github.com/zeqiulee/weixin-multi-agent-router
安装命令:
openclaw skills install weixin-multi-agent-router
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install weixin-multi-agent-router

简介

设计实现微信单入口对接多个后端代理的路由架构。

  • 支持不同任务自动分发至对应 Agent 处理。
  • 减少多线程协作混乱提升微信端使用体验。
  • 需合理设计路由规则防止任务串扰与上下文污染。
  • 建议先在测试环境验证分流逻辑稳定性。weixin-multi-agent-router 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
weixin-multi-agent-router
description
Design or implement single-entry multi-agent routing for OpenClaw Weixin setups. Use when one Weixin account should route between any number of backend agents, when users want natural switch commands instead of separate Weixin bots, when agent names and counts must stay configurable, when per-agent session isolation is required to avoid context mixing, or when summary-based handoff/reset/status commands are needed for a Weixin plugin, extension, or reusable skill.

Weixin Multi Agent Router

Build a chat-friendly multi-agent system behind one Weixin entrypoint.

Prefer plugin-layer routing first. Do not start by changing OpenClaw core unless the user explicitly wants a reusable framework beyond Weixin.

Core capabilities

1. Route one Weixin entry to any number of agents

Treat Weixin as:

  • one human-facing entrypoint
  • one configurable list of backend agents
  • one per-contact current-agent state

Do not assume there are exactly two, three, or any other fixed number of agents. The skill should still work if the user has 1, 3, 5, or more routable backend agents.

Do not model this as Telegram-style multi-bot identity unless the underlying Weixin provider actually supports separate independently routable bot identities.

2. Isolate memory per agent

Do not only switch tone or persona inside a shared session.

Require session identity to include at least:

  • channel
  • accountId
  • peerId
  • agentId
  • optional session version

Recommended session key pattern:

  • agent:<agentId>:openclaw-weixin:<accountId>:dm:<peerId>:v<version>

This is the main guardrail against context mixing.

3. Store current active agent per contact

Keep per-contact router state containing at least:

  • currentAgent
  • lastActiveAt
  • optional lastSwitchAt
  • optional per-agent sessionVersions
  • optional per-agent recentHistory

Recommended default behavior:

  • default agent = primary coordinator
  • inactivity fallback = reset current agent to default after a configurable timeout

4. Use summary-based handoff, not raw transcript sharing

When the user asks to hand work from one agent to another:

  1. collect recent history from the current agent only
  2. build a compact handoff summary
  3. switch currentAgent
  4. confirm the handoff in chat
  5. prefer silent handoff so the target agent does not immediately double-reply

Do not automatically expose one agent's full transcript to another.

Recommended command surface

Support at least four command groups.

Switching

Examples:

  • 切到{agent}
  • 切换到{agent}
  • 回到{defaultAgent}
  • {agent} ...

Status

Examples:

  • 当前是谁
  • 现在是谁
  • 你是谁
  • 角色列表

Reset

Examples:

  • 重置当前
  • 清空当前上下文
  • 清空{agent}
  • 只重置{agent}

Prefer version-based session reset over destructive transcript deletion.

Handoff / summary

Examples:

  • 转给{agent}
  • 交给{agent}
  • 让{agent}接手
  • 总结后交给{agent}
  • 查看当前上下文摘要
  • 查看{agent}上下文摘要

Implementation workflow

Follow this order.

Step 1: define the agent map

Decide:

  • the full configurable agent list
  • per-agent ids
  • per-agent display names shown to the user
  • per-agent role descriptions
  • per-agent aliases / command triggers
  • default agent
  • inactivity timeout

Keep this data-driven. A public skill must not depend on one private team's exact agent count or naming scheme.

If these are hard-coded in the current implementation, plan a config layer before publishing the system as a generic skill.

For configuration patterns and prompts, read references/configurability.md.

Minimal productized config shape:

{
  "defaultAgent": "main",
  "inactivityTimeoutMs": 1800000,
  "agents": [
    {
      "agentId": "main",
      "displayName": "主助理",
      "description": "综合处理、调度、总结",
      "aliases": ["主助理", "总助理"]
    },
    {
      "agentId": "ops",
      "displayName": "技术助手",
      "description": "维护、配置、诊断",
      "aliases": ["技术", "运维"]
    }
  ]
}

Productization checklist for an update/public release:

  • ensure agent list, aliases, default agent, and timeout are configuration-driven
  • keep router runtime state separate from long-lived top-level config
  • keep public examples generic; do not publish private team names as defaults
  • validate against at least two different agent maps before packaging

Step 2: define the command map

Map natural-language commands to:

  • switch current agent
  • switch and send content
  • query status
  • show roles
  • reset current or target agent
  • show summary
  • handoff

Keep first-pass matching explicit and conservative. Avoid fuzzy aliasing until the stable command set works.

For concrete command patterns, read references/commands.md.

Step 3: implement router state + session isolation

Create or update router modules such as:

  • command parser
  • state store
  • session-key builder
  • router decision layer
  • handoff summary builder
  • direct reply strings

Persist state outside the core config when possible so per-contact runtime data does not pollute long-lived top-level config.

For architecture guidance, read references/architecture.md.

Step 4: validate behavior in chat

Test at minimum:

  • switching
  • current-agent persistence
  • inactivity fallback
  • agent memory isolation
  • reset behavior
  • summary-based handoff
  • no duplicate reply after silent handoff
  • no “summary of summary” nesting in recent-history views

For validation scenarios, read references/validation.md.

Output standards

When helping with this task:

  • explain the routing model in plain language
  • separate “single-entry multi-agent” from “multi-bot identity”
  • make session isolation explicit
  • make handoff rules explicit
  • prefer a config-driven design if the user wants to share the solution publicly
  • avoid implying that the system needs exactly 3 roles or any specific private naming scheme

Opinionated but safe starting point

If the user has not decided how many agents to expose yet, suggest starting with a small set such as:

  • 1 primary coordinator only, or
  • 2 to 3 clearly differentiated agents

Present this only as a starting point for usability, not as a requirement of the architecture.

Resources

  • Architecture details: references/architecture.md
  • Command patterns: references/commands.md
  • Configurability patterns: references/configurability.md
  • Validation checklist: references/validation.md

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

81.43%
按下载量换算1,154

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills