wecom-preflight

Validate wecom_mcp tool authorization and whitelist configuration via OpenClaw CLI.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/Qiue-G/Claw-X --skill wecom-preflight-qiue-g
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wecom-preflight
Source: https://github.com/Qiue-G/Claw-X/tree/main/.openclaw/extensions/wecom/skills/wecom-preflight
Command: npx skills add https://github.com/Qiue-G/Claw-X --skill wecom-preflight-qiue-g

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

企业微信插件前置条件检查。在执行任何 wecom_mcp 操作前,通过 shell 命令检查工具权限配置(profile 和白名单),若缺失则自动修复并提示用户重启 Gateway。所有使用 wecom_mcp 的技能都应在首次调用前执行此检查。

Core Features & Use Cases

  • Preflight checks: 确保 tools.profile 为 full 或 tools.alsoAllow 包含 wecom_mcp,否则触发自动修复流程。
  • Auto-remediation: 自动将 wecom_mcp 加入白名单并提示重启网关以生效,保持幂等性。
  • Guided restart: 提供明确的手动重启指引,确保用户知晓后续步骤。

Quick Start

Run the preflight check before calling any wecom_mCP-based skill to ensure proper permissions and whitelist configuration.

Frequently Asked Questions about wecom-preflight

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check wecom_mcp permissions before running an operation?

To fix missing wecom_mcp whitelist permissions, an auto-remediation flow adds the tool to the whitelist configuration and provides guided instructions to manually restart the gateway for the changes to take effect.

Why does my wecom_mcp tool fail authorization before skill execution?

The wecom_mcp tool fails authorization when the tools.profile is not full and the whitelist lacks the wecom_mcp entry. A preflight check detects this missing permission configuration and triggers an automatic remediation flow.

Do I need to restart the gateway after updating the wecom_mcp whitelist?

Yes, you need to restart the gateway after updating the wecom_mcp whitelist. The preflight check provides explicit guided restart instructions because the gateway must be manually restarted for the new whitelist configuration to become active.

What is a preflight check for enterprise WeChat plugin configuration?

A preflight check for enterprise WeChat plugin configuration validates tool permissions via shell commands before executing wecom_mcp operations. It ensures profile and whitelist settings are correct and relies on the OpenClaw CLI to safely read and modify configuration.

Can I run the wecom_mcp preflight check multiple times safely?

Yes, you can run the wecom_mcp preflight check multiple times safely. The check is idempotent across sessions, meaning repeated executions safely validate permissions and apply the same whitelist remediation without causing configuration conflicts.