Yichen Wecom Operations logo

Yichen Wecom Operations

CommunityPopular
mcncarl
yichen-wecom-operations

企业微信官方 wecom-cli 操作入口。用于把本地 Markdown 创建为普通或智能文档、在用户另行配置图片上传 helper 后生成含本地图片的智能文档、读取或覆写企微文档、创建与管理待办,并在企业权限开放时预约、查询、更新或取消会议和日程。用户提到“企微文档”“智能文档”“上传 Markdown”“预定会议”“企微会议”“企微日程”“企微待办”时使用;不用于消息发送或企业微信客户端操作。

Overview

Publishermcncarl
Repositoryyichen-skills
Skill nameyichen-wecom-operations
Stars
3.3K
Forks
1.4K
Bundled files
6
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.

  • 6 bundled files

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

  • Open source

    Published by mcncarl on GitHub. Read the source before you install it.

Installation

Install the Yichen Wecom Operations 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.
  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/mcncarl/yichen-skills.git /tmp/yichen-skills
mkdir -p .claude/skills
cp -r /tmp/yichen-skills/yichen-wecom-operations .claude/skills/yichen-wecom-operations
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Yichen Wecom Operations 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 Yichen Wecom Operations 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 Yichen Wecom Operations 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-cli 操作企微云端能力。把它与只读本地数据库 Skill $wecom-local-vault 分开使用。

强制边界

  1. 绝不点击、启动、退出或控制企业微信客户端,绝不调用 wecom-cli msg 或发送消息。
  2. 读取、帮助和 schema 查询可直接执行;创建、覆写、更新、邀请、取消和删除必须来自用户当轮明确指令。
  3. 取消会议/日程、删除待办、覆写已有文档前,先只读确认精确目标和当前状态,再取得用户对该目标的明确确认。
  4. 不读取或输出 ~/.config/wecom/ 中的加密凭证,不在回复、日志、报告或记忆中保存 Bot ID、Secret、内部 userid、docid、meetingid、todo_id 或带授权参数的 URL。
  5. ~/.config/wecom/{.encryption_key,bot.enc,mcp_config.enc} 已存在,不得重新运行 wecom-cli init 覆盖配置。
  6. 每次先运行目标 category 的 --help。若返回“当前企业暂不支持授权”,立即停止该 category,不得改用客户端自动化或非官方协议绕过。
  7. 远程业务结果以 errcode == 0 为成功;失败最多低频重试一次。返回 help_instruction 时,按要求逐字展示 help_message
  8. 不自动删除本地上传副本、回执或失败后已创建的企微资源;需要清理时先征得用户明确同意。

开始前检查

bash
SKILL_ROOT="${WECOM_OPERATIONS_SKILL_ROOT:-$HOME/.agents/skills/yichen-wecom-operations}"
python3 "$SKILL_ROOT/scripts/doctor.py"
python3 "$SKILL_ROOT/scripts/doctor.py" --category doc

doctor.py 只检查版本、加密配置文件权限和 category 可用性,不读取凭证内容。

路由

不要为无关任务读取所有参考文件。

文档快速入口

默认只预检,不产生企微写操作:

bash
SKILL_ROOT="${WECOM_OPERATIONS_SKILL_ROOT:-$HOME/.agents/skills/yichen-wecom-operations}"
python3 "$SKILL_ROOT/scripts/create_smartpage.py" \
  --source "/absolute/path/report.md" \
  --title "报告标题"

用户当轮明确要求创建后再传 --execute

bash
SKILL_ROOT="${WECOM_OPERATIONS_SKILL_ROOT:-$HOME/.agents/skills/yichen-wecom-operations}"
python3 "$SKILL_ROOT/scripts/create_smartpage.py" \
  --source "/absolute/path/report.md" \
  --title "报告标题" \
  --execute

无本地图片时只创建最终智能文档;存在本地图片时额外创建一个明确命名的“图片资源”普通文档,上传图片并生成企微 CDN 链接,再创建最终智能文档。两者都必须在结果中向用户披露。

运行时能力检查

  • 依赖企业微信官方 @wecom/cli,安装后运行 wecom-cli init 完成用户自己的机器人配置。
  • 文档、待办、会议、日程和通讯录的授权范围取决于企业与机器人配置,必须用 doctor.py 和目标 category 的 --help 动态检查。
  • 官方 CLI 可以处理文本和远程图片;本地图片上传依赖另行提供、带 doc +doc_upload_image 能力的 helper,并通过 WECOM_UPLOAD_HELPER 指向其可执行文件。本仓库不分发该本地扩展。
  • 智能文档回读权限可能返回 851008;创建成功不能冒充回读验证成功。

交付

只向用户展示可读名称、时间、状态和最终访问链接。内部 ID 仅保存在权限为 0600 的本机回执中,不在对话里展开。

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 Yichen Wecom Operations AI skill do?

企业微信官方 wecom-cli 操作入口。用于把本地 Markdown 创建为普通或智能文档、在用户另行配置图片上传 helper 后生成含本地图片的智能文档、读取或覆写企微文档、创建与管理待办,并在企业权限开放时预约、查询、更新或取消会议和日程。用户提到“企微文档”“智能文档”“上传 Markdown”“预定会议”“企微会议”“企微日程”“企微待办”时使用;不用于消息发送或企业微信客户端操作。

Why use Yichen Wecom Operations on TypingMind?

Because you install it once and use it with any model. Yichen Wecom Operations 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 Yichen Wecom Operations in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/mcncarl/yichen-skills/tree/main/yichen-wecom-operations. 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 Yichen Wecom Operations?

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 Yichen Wecom Operations?

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

Is the Yichen Wecom Operations AI skill free?

It is published on GitHub by mcncarl. Check the repository for licensing terms. 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 👇