platforms/codex/skills/mx-im/SKILL.md
Safely search MX users or groups and send Midea MX / 美信 IM messages from Codex. Use when the user asks to notify someone, send a message to a person or group, use a configured group alias, @ users, @ all, or send MX file/image messages. Read lookups need no extra authorization; every live send needs explicit user authorization for that exact target and message.
npx skillsauth add codingsamss/ai-dotfiles mx-imInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill for MX / 美信 write-side interactions: user lookup, group lookup, group alias resolution, text sends, file/image sends, @user, and @all.
scripts/mx_safe_send.py for normal text sends. It dry-runs by default.--send and --confirm-user-authorized.scripts/im_send.py only for file, image, @user, @all, or push
fields; it also requires --confirm-user-authorized.Send scripts resolve auth in this order:
MX_OC_TOKEN.OPENCLAW_MX_SERVER_PORT + OPENCLAW_MX_SERVER_SECRET from the current env.ai.midea-openclaw.gateway-stable.plist, then GET /oc-token with
x-server-secret to exchange a fresh OC token. Search order includes:
OPENCLAW_MX_LAUNCHD_PLIST, MX's nested profile path
~/Library/Application Support/mx/openclaw-home/<user>/Library/LaunchAgents/,
all MX openclaw-home/*/Library/LaunchAgents/ profiles, and standard
~/Library/LaunchAgents/.mcporter.json./tmp/ua_token.txt.ua_login.py or when the
original im_send.py needs a final fallback.Never print or store the raw OC token or server secret in skill docs, repo files, logs, or memory.
To diagnose local MX/OpenClaw token discovery without exposing the token:
python3 scripts/get_mx_oc_token.py
Only use --print or --export when intentionally setting a local shell env.
python3 scripts/group_alias.py "<别名>"
python3 scripts/user_search.py --keyword "<姓名/工号/邮箱前缀>"
python3 scripts/group_search.py --keyword "<群名关键字>" --limit 5
Alias data is local-only at references/group-aliases.local.json; do not sync
it to repos.
Dry-run first:
python3 scripts/mx_safe_send.py \
--from-id "<sender_uid>" \
--to-id "<receiver_uid_or_group_id>" \
--session-type p2p \
--body "message text"
After explicit authorization:
python3 scripts/mx_safe_send.py \
--from-id "<sender_uid>" \
--to-id "<receiver_uid_or_group_id>" \
--session-type p2p \
--body "message text" \
--send \
--confirm-user-authorized
For detailed original script behavior, read only the relevant file in
references/: mx-ua-auth.md, im-send.md, user-search.md,
or group-search.md.
tools
Apifox 接口测试用例:test-case 与 test-data 的查询、创建、更新、删除、分类和运行;处理测试步骤、断言、提取变量、前后置处理器、数据集,以及“CLI 创建后前端测试步骤无法展示”等问题。
tools
通过 Apifox CLI 管理 Apifox 项目资源。触发场景:运行接口自动化测试/测试套件,查询/创建/更新/删除接口、环境、Schema、Mock、分支等项目资源,导入导出 API 文档,查看测试报告,管理 Runner、定时任务、通知等 CI/CD 配置。CLI 输出为结构化 JSON,常含 agentHints.nextSteps;所有命令支持 --help。
tools
Apifox 接口测试用例:test-case 与 test-data 的查询、创建、更新、删除、分类和运行;处理测试步骤、断言、提取变量、前后置处理器、数据集,以及“CLI 创建后前端测试步骤无法展示”等问题。
tools
通过 Apifox CLI 管理 Apifox 项目资源。触发场景:运行接口自动化测试/测试套件,查询/创建/更新/删除接口、环境、Schema、Mock、分支等项目资源,导入导出 API 文档,查看测试报告,管理 Runner、定时任务、通知等 CI/CD 配置。CLI 输出为结构化 JSON,常含 agentHints.nextSteps;所有命令支持 --help。