Wecom Group logo

Wecom Group

Organization
open-deep-crew
wecom-group

使用企业微信自建应用创建群聊并向群聊发送消息。适用于需要自动拉群、发送群通知、创建群后发送首条消息、或通过脚本/agent 调用企业微信群聊接口的场景。

Overview

Publisheropen-deep-crew
Repositorymarketplace
Skill namewecom-group
Stars
26
Forks
15
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by open-deep-crew on GitHub. Read the source before you install it.

Installation

Install the Wecom Group AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/open-deep-crew/marketplace/tree/main/atoms/skills/wecom-group
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/open-deep-crew/marketplace.git /tmp/marketplace
mkdir -p .claude/skills
cp -r /tmp/marketplace/atoms/skills/wecom-group .claude/skills/wecom-group
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Wecom Group in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Wecom Group on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Wecom Group is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

wecom-group

使用这个 skill 来完成企业微信(WeCom)群聊相关操作,当前聚焦两类能力:

  1. 创建企业微信群聊
  2. 向已有群聊发送文本消息

使用前提

在执行前,先确认以下条件:

  • 已有企业微信自建应用
  • 自建应用具备创建应用会话和发送消息的权限
  • 已拿到 CorpID 和应用 Secret
  • 已明确群主 owner 的企业微信 UserID
  • 已明确要拉入群聊的成员 UserID 列表

优先使用环境变量,避免把敏感信息直接写进命令行历史:

bash
export WECOM_CORPID='your-corpid'
export WECOM_GROUP_HELPER_SECRET='your-secret'

也可以在命令中显式传入 --id 和 --secret。

脚本位置

使用下面的脚本执行实际操作:

bash
python3 atoms/skills/wecom-group/scripts/wecom_group_operation.py --help

常用操作

1. 创建群聊

bash
python3 atoms/skills/wecom-group/scripts/wecom_group_operation.py \
  create \
  --name '项目同步群' \
  --owner 'zhangsan' \
  --users 'zhangsan,lisi,wangwu'

如果希望指定群 ID:

bash
python3 atoms/skills/wecom-group/scripts/wecom_group_operation.py \
  create \
  --name '项目同步群' \
  --owner 'zhangsan' \
  --users 'zhangsan,lisi,wangwu' \
  --chatid 'project-sync-group'

如果希望创建后立刻发首条消息:

bash
python3 atoms/skills/wecom-group/scripts/wecom_group_operation.py \
  create \
  --name '项目同步群' \
  --owner 'zhangsan' \
  --users 'zhangsan,lisi,wangwu' \
  --msg '大家好,这是新建的项目同步群。'

2. 向已有群聊发消息

bash
python3 atoms/skills/wecom-group/scripts/wecom_group_operation.py \
  send \
  --chatid 'project-sync-group' \
  --msg '今天下午 3 点进行项目例会。'

适合 agent 的调用方式

为了便于自动化处理,建议加上 --json-output:

bash
python3 atoms/skills/wecom-group/scripts/wecom_group_operation.py \
  --json-output \
  create \
  --name '项目同步群' \
  --owner 'zhangsan' \
  --users 'zhangsan,lisi,wangwu'

返回结果会包含:

  • ok: 是否成功
  • action: 执行的动作
  • chatid: 创建出的群聊 ID(如有)
  • response: 企业微信接口原始返回

建议执行流程

处理用户请求时,按下面顺序执行:

  1. 明确当前目标是“创建群”还是“发消息”
  2. 收集必要参数
    • 创建群:name、owner、users
    • 发消息:chatid、msg
  3. 优先通过环境变量注入 WECOM_CORPID 和 WECOM_GROUP_HELPER_SECRET
  4. 执行脚本
  5. 检查返回结果中的 ok、chatid、response.errcode
  6. 向用户返回简明结果

参数约定

  • owner:企业微信内部通讯录中的 UserID
  • users:逗号分隔的 UserID 列表,脚本会自动去除空格
  • chatid:可选;如果不传则由企业微信生成
  • msg:当前脚本发送的是文本消息

错误处理

如果失败,优先检查:

  • CorpID / Secret 是否正确
  • 应用权限是否足够
  • owner 是否存在
  • users 中的成员 UserID 是否有效
  • 机器人/应用是否有权限给该群发消息

如果开启了 --json-output,失败时脚本会返回非 0 退出码,并输出结构化错误信息。

注意事项

  • 不要在最终回复中泄露 Secret
  • 不要把敏感凭据写入仓库文件
  • 如果用户没有提供 UserID,先让用户确认企业微信内部账号标识,再执行创建群聊

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Wecom Group AI skill do?

使用企业微信自建应用创建群聊并向群聊发送消息。适用于需要自动拉群、发送群通知、创建群后发送首条消息、或通过脚本/agent 调用企业微信群聊接口的场景。

Why use Wecom Group on TypingMind?

Because you install it once and use it with any model. Wecom Group is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Wecom Group in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/open-deep-crew/marketplace/tree/main/atoms/skills/wecom-group. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Wecom Group?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Wecom Group?

As many as you like. As long as a model supports skills, you can use Wecom Group with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Wecom Group AI skill free?

Yes. It is published on GitHub by open-deep-crew under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇