Agent skill

A2a Mode Switch

by Leochens in Leochens/feishu-bot-chat-plugin

A2A 协作模式切换指南。仅在飞书群聊中使用,私聊时不适用. An agent skill from Leochens/feishu-bot-chat-plugin.

MITAuto-check passed

Install A2a Mode Switch

skills CLI
$ npx skills add Leochens/feishu-bot-chat-plugin --skill a2a-mode-switch -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Leochens/feishu-bot-chat-plugin a2a-mode-switch --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Leochens/feishu-bot-chat-plugin.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/a2a-mode-switch .claude/skills/a2a-mode-switch && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
a2a-mode-switch
GitHub stars
156
Token cost
~293 tokens
SKILL.md length
69 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

A2A 协作模式切换指南。仅在飞书群聊中使用,私聊时不适用. An agent skill from Leochens/feishu-bot-chat-plugin.

  • SKILL.md covers 模式定义, 模式识别, 模式下的行为差异 and 注意事项
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

A2a Mode Switch is an agent skill from Leochens/feishu-bot-chat-plugin. A2A 协作模式切换指南。仅在飞书群聊中使用,私聊时不适用。 当以下情况时使用此 Skill: (1) 用户想临时禁用协作("只跟你聊"、"不要叫其他 bot") (2) 用户想切换协作策略(优先速度 vs 优先质量) (3) 用户想恢复协作模式 (4) 用户想指定只与某些 bot 协作

Its SKILL.md is about 290 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: OpenClaw plugin for bot-to-bot @ communication in Feishu group chats. The licence is MIT.

Example prompts

  • “不要叫其他 bot”
  • “/a2a-mode-switch”

What it can do on your machine

Read from SKILL.md and the folder at commit 69b0fdc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

A2a Mode Switch loads about 293 tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 69 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~42
When it runs · the whole SKILL.md, loaded when a task matches
~293

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Leochens/feishu-bot-chat-plugin at commit 69b0fdc, republished under its MIT licence (© Leochens). 69 words, ~293 tokens.

Download SKILL.mdSave it as .claude/skills/a2a-mode-switch/SKILL.md (or your agent's skills folder).
name
a2a-mode-switch
description
A2A 协作模式切换指南。**仅在飞书群聊中使用,私聊时不适用。** **当以下情况时使用此 Skill**: (1) 用户想临时禁用协作("只跟你聊"、"不要叫其他 bot") (2) 用户想切换协作策略(优先速度 vs 优先质量) (3) 用户想恢复协作模式 (4) 用户想指定只与某些 bot 协作
alwaysActive
true

A2A 协作模式切换

模式定义

模式触发词行为
🟢 正常模式默认按协作规则,用户要求或关键字触发时 @ 其他 bot
🔴 独立模式"只跟你聊"、"不要叫别人"、"单独对话"不 @ 任何其他 bot,所有问题自己处理
🟡 指定模式"只找后端和前端"、"这次只需要 xxx"只 @ 用户指定的 bot
🔵 全力模式"全员协作"、"大家一起上"主动拆解任务分配给所有相关 bot

模式识别

进入独立模式
用户:接下来只跟你聊,不要叫其他机器人
你:好的,切换到独立模式,后续我自己处理所有问题。需要恢复协作时告诉我。
进入指定模式
用户:这个任务只需要后端和测试参与
你:收到,这次只协调后端和测试。其他 bot 不会参与。
进入全力模式
用户:这个需求比较大,大家一起协作完成
你:好的,我来拆解任务分配给各个 bot。
恢复正常模式
用户:好了,恢复正常
你:已恢复正常协作模式。

模式下的行为差异

独立模式
  • 不 @ 任何 bot,即使任务超出自己能力范围
  • 如果遇到确实需要其他 bot 的情况,提示用户:"这个任务可能需要后端协助,要切回协作模式吗?"
  • 收到其他 bot 的 @ 仍正常响应(不影响被动协作)
指定模式
  • 只 @ 用户指定的 bot
  • 其他 bot 即使更合适也不主动 @
  • 如果指定的 bot 无法完成任务,告知用户并建议调整
全力模式
  • 主动分析任务,拆解并分配给所有相关 bot
  • 不需要等用户逐个指定
  • 使用 a2a-task-decompose skill 进行任务分解

注意事项

  • 模式切换只影响当前对话上下文,不是永久设置
  • 被动协作(收到其他 bot 的 @)不受模式限制,始终正常响应
  • 如果用户没有明确切换模式,保持正常模式
  • 模式切换时简短确认即可,不需要长篇解释

© Leochens, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/a2a-mode-switch of Leochens/feishu-bot-chat-plugin.

Open the folder on GitHubat commit 69b0fdc

Compare with similar skills

A2a Mode Switch next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

A2a Mode Switch compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
A2a Mode Switch this skillLeochens/feishu-bot-chat-plugin156—~293Automated safety check: PassMIT
Implementing Ransomware Kill Switch Detectionmukul975/Anthropic-Cybersecurity-Skills34k—~2.4kAutomated safety check: PassApache-2.0
OmniRoute A2A CLIdiegosouzapw/OmniRoute74k—~423Automated safety check: PassMIT
A2a ProtocolBuilderIO/agent-native7.1k—~5.7kAutomated safety check: PassNone
A2a Protocolinternet-court/internet-court-skill6.5k1 repos~2.5kAutomated safety check: PassApache-2.0
OmniRoute A2A Agentsdiegosouzapw/OmniRoute74k—~794Automated safety check: PassMIT

Similar skills

  • Implementing Ransomware Kill Switch Detection

    mukul975/Anthropic-Cybersecurity-Skills

    Analyzes ransomware kill switch mechanisms, including mutex-based execution guards, domain-based kill switches (e.g.

    34k GitHub stars~2.4k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • OmniRoute A2A CLI

    diegosouzapw/OmniRoute

    Sends tasks, inspects skill execution history, and tests OmniRoute's JSON-RPC 2.0 agent-to-agent server from the command line.

    74k GitHub stars~423 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • A2a Protocol

    BuilderIO/agent-native

    How agent-native apps discover, authenticate with, and call each other over A2A.

    7.1k GitHub stars~5.7k tokensUpdated today
    DevelopmentAuto-check passed
  • A2a Protocol

    internet-court/internet-court-skill

    Builds Agent-to-Agent (A2A) servers and clients following Google's open protocol for agent interoperability.

    6.5k GitHub starsUsed in 1 repo~2.5k tokens
    Productivity & AutomationAuto-check passed
  • OmniRoute A2A Agents

    diegosouzapw/OmniRoute

    Explains how to call OmniRoute over JSON-RPC 2.0 using the agent-to-agent protocol, including its Agent Card, built-in skills, call shape and error codes.

    74k GitHub stars~794 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Wiki Switch

    Ar9av/obsidian-wiki

    List, create, or switch named Obsidian wiki vault profiles under the global config directory.

    3.5k GitHub stars~1.3k tokensUpdated yesterday
    Knowledge ManagementAuto-check passed

More from Leochens/feishu-bot-chat-plugin

  • A2a Collaboration Guide

    Leochens/feishu-bot-chat-plugin

    A2A 群内协作规则速查手册。仅在飞书群聊中使用,私聊时不适用. An agent skill from Leochens/feishu-bot-chat-plugin.

    156 GitHub stars~522 tokensUpdated 3 mo ago
    Auto-check passed
  • A2a Task Decompose

    Leochens/feishu-bot-chat-plugin

    A2A 任务分解与分配指南。仅在飞书群聊中使用,私聊时不适用. An agent skill from Leochens/feishu-bot-chat-plugin.

    156 GitHub stars~459 tokensUpdated 3 mo ago
    Auto-check passed
  • A2a Interrupt

    Leochens/feishu-bot-chat-plugin

    A2A 协作中断与取消处理指南。仅在飞书群聊中使用,私聊时不适用. An agent skill from Leochens/feishu-bot-chat-plugin.

    156 GitHub stars~289 tokensUpdated 3 mo ago
    Auto-check passed
  • A2a Result Merge

    Leochens/feishu-bot-chat-plugin

    A2A 多 bot 协作结果汇总指南。仅在飞书群聊中使用,私聊时不适用. An agent skill from Leochens/feishu-bot-chat-plugin.

    156 GitHub stars~303 tokensUpdated 3 mo ago
    Auto-check passed
  • A2a Status Check

    Leochens/feishu-bot-chat-plugin

    A2A 协作状态查询与进度汇报指南。仅在飞书群聊中使用,私聊时不适用. An agent skill from Leochens/feishu-bot-chat-plugin.

    156 GitHub stars~271 tokensUpdated 3 mo ago
    Auto-check passed

Questions about A2a Mode Switch

What does A2a Mode Switch do?

A2A 协作模式切换指南。仅在飞书群聊中使用,私聊时不适用. An agent skill from Leochens/feishu-bot-chat-plugin. A2a Mode Switch is an agent skill from Leochens/feishu-bot-chat-plugin.

How do I install A2a Mode Switch in Claude Code?

Run `npx skills add Leochens/feishu-bot-chat-plugin --skill a2a-mode-switch -a claude-code`. Or copy the skill folder (skills/a2a-mode-switch in Leochens/feishu-bot-chat-plugin) into .claude/skills/a2a-mode-switch in your project. Claude Code loads it when a task matches its description.

How do I install A2a Mode Switch in Codex?

Run `npx skills add Leochens/feishu-bot-chat-plugin --skill a2a-mode-switch -a codex`. Or copy the skill folder (skills/a2a-mode-switch in Leochens/feishu-bot-chat-plugin) into .agents/skills/a2a-mode-switch in your project. Codex loads it when a task matches its description.

Can I use A2a Mode Switch in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Leochens/feishu-bot-chat-plugin --skill a2a-mode-switch -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/a2a-mode-switch, .gemini/skills/a2a-mode-switch, .github/skills/a2a-mode-switch and .opencode/skills/a2a-mode-switch in your project.

What does A2a Mode Switch need to run?

SKILL.md names no scripts, command-line tools or credentials: A2a Mode Switch is instructions for the agent only.

Does A2a Mode Switch access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is A2a Mode Switch safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does A2a Mode Switch use?

A2a Mode Switch is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does A2a Mode Switch use?

About 293 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to A2a Mode Switch?

Skills that share tags, products or a category with A2a Mode Switch: Implementing Ransomware Kill Switch Detection (mukul975/Anthropic-Cybersecurity-Skills, 34k stars), OmniRoute A2A CLI (diegosouzapw/OmniRoute, 74k stars), A2a Protocol (BuilderIO/agent-native, 7.1k stars) and A2a Protocol (internet-court/internet-court-skill, 6.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains A2a Mode Switch?

Leochens (a GitHub user) maintains it in Leochens/feishu-bot-chat-plugin, which has 156 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on June 18, 2026.

Source: Leochens/feishu-bot-chat-plugin on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.