@amaster.ai/pi-wecom
Pi extension for WeCom (enterprise WeChat) workspace — contacts, messages, meetings, schedules, docs and more via wecom-cli.
Package details
Install @amaster.ai/pi-wecom from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@amaster.ai/pi-wecom- Package
@amaster.ai/pi-wecom- Version
0.1.3- Published
- Jun 19, 2026
- Downloads
- 728/mo · 728/wk
- Author
- qianchuan
- License
- Apache-2.0
- Types
- extension
- Size
- 1.7 MB
- Dependencies
- 1 dependency · 2 peers
Pi manifest JSON
{
"extensions": [
"./dist/index.js"
],
"image": "https://raw.githubusercontent.com/TGYD-helige/pi/master/packages/pi-wecom/preview.png"
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@amaster.ai/pi-wecom

Pi extension for WeCom (企业微信) workspace — contacts, messages, meetings, schedules, docs and more via wecom-cli.
Features
- Auto-installs
wecom-cliif not present - Injects wecom-cli skills into the agent session
- Detects authentication status and prompts for QR code login if needed
Configuration
Add to your .pi/settings.json:
{
"pi-wecom": {
"botId": "your_bot_id",
"botSecret": "your_bot_secret"
}
}
| Field | Required | Description |
|---|---|---|
botId |
Yes | Bot ID from WeCom Admin Console |
botSecret |
Yes | Bot Secret |
Note: wecom-cli requires QR code scan for initial authentication. After the extension installs the CLI, run
wecom-cli initto complete the interactive login.
Skills Provided
7 skills from wecom-cli covering:
wecomcli-msg— Messages, conversations, media downloadwecomcli-contact— Address book, user searchwecomcli-meeting— Create, cancel, manage meetingswecomcli-schedule— Schedule CRUD, free/busywecomcli-todo— Task managementwecomcli-doc— Documents and smart sheetswecomcli-smartsheet— Table, field, record CRUD
CLI Reference
- Repository: https://github.com/WecomTeam/wecom-cli
- Install:
npm install -g @wecom/cli - Docs: https://github.com/WecomTeam/wecom-cli#readme