Part of WeCom's official CLI toolkit for enterprise WeChat operations. This pulls contact information from your visible scope in the company directory and lets you filter locally by name or alias. It's not a full company directory dump, just what your account has permission to see. The related skills in this suite cover documents, messages, schedules, todos, and meetings, so if you're building workflows around enterprise WeChat, this is the contact lookup piece. Returns userid, name, and alias. Works through the wecom-cli command line tool, which requires proper enterprise WeChat credentials to authenticate.
npx skills add https://github.com/wecomteam/wecom-cli --skill wecomcli-lookup-contact