← Back to Skills Marketplace
jasonzhang2015

Model Config Check

by PL Uncle · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
97
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install model-config-check
Description
校验模型配置是否正确、模型是否可以正常连接和返回内容。当用户说"检查模型"、"测试模型"、"模型能不能用"、"模型配置"、"诊断模型问题"时使用。**每次修改模型配置(config.patch/config.apply涉及models.providers)后必须自动执行校验。** 用户只给模型名+API key时...
Usage Guidance
This skill appears to do what it says (check model provider configs and call providers to verify responses) but has a few red flags you should address before installing: (1) The SKILL.md promises auto-detect/auto-write of provider config when a user gives only model+API key, but the included script does not implement writing/applying configs — clarify or remove the promise. (2) The script uses python3 and curl at runtime but the skill metadata lists no required binaries; ensure those tools exist on hosts where it will run. (3) The extractor prints API keys into its tab-separated output, which can leak keys to stdout/logs — restrict log access or modify the script to avoid printing secrets. (4) The skill expects to be auto-run on gateway config changes; if you enable automatic invocation, ensure it runs under appropriate permissions and that audit/logging is in place. Recommended next steps: review and harden the script to avoid printing secrets, add declared required binaries, test in a staging environment, and only enable automatic triggers after you confirm safe invocation hooks and logging controls.
Capability Analysis
Type: OpenClaw Skill Name: model-config-check Version: 1.0.0 The skill bundle is designed to validate AI model configurations and connectivity. It provides instructions for the agent to automatically verify settings after configuration changes and includes a shell script (check_models.sh) that uses curl and Python to test API endpoints. While the skill handles sensitive data like API keys and performs network requests, these actions are strictly aligned with its stated purpose of diagnosing model issues, and there is no evidence of data exfiltration to unauthorized third parties or malicious execution logic.
Capability Assessment
Purpose & Capability
The stated purpose (validate model configs, connectivity and model responses) matches the script's network and API checks. However SKILL.md also promises automatic creation and application of configs when the user supplies only model+API key and automatic triggering on gateway config changes; the provided script (scripts/check_models.sh) only reads ~/.openclaw/openclaw.json and validates providers — it does not implement auto-generation/appliance of config.patch or the 'auto-detect+write config' flow. Also the script relies on python3 and curl but the skill declares no required binaries.
Instruction Scope
Instructions require reading ~/.openclaw/openclaw.json and running the bundled check_models.sh — that is in-scope. But SKILL.md instructs additional behaviors (web searching to discover base URLs, writing config via gateway config.patch and restarting the gateway) that are not implemented in the script; these are broad actions that would modify configuration and trigger network calls. The script's extraction step prints provider apiKey into its tab-separated output (used internally), which increases the chance API keys are exposed in process output or logs.
Install Mechanism
No install spec (instruction-only + included shell script), so nothing is downloaded or installed by the skill itself. This is lower install risk. Note: runtime relies on system utilities (python3, curl, bash, mktemp) which are not declared in the skill metadata.
Credentials
The skill legitimately needs access to model provider configuration (api keys and base URLs) stored in ~/.openclaw/openclaw.json to perform checks. It requests no unrelated environment variables. However the script exposes apiKey values in the python extractor output (they are emitted into the PROVIDERS variable), which risks leaking secrets to logs or other observers — this handling is disproportionate if logs are not protected.
Persistence & Privilege
Skill metadata does not request always:true and is user-invocable, which is appropriate. SKILL.md's requirement that validation 'must automatically run' after gateway config.patch/config.apply/update.run implies integration with gateway event hooks or automatic invocation; the skill itself does not declare how it will be auto-triggered. If the platform wires this up to run automatically on config changes, that increases its blast radius and you should ensure proper authorization and auditing for automatic runs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install model-config-check
  3. After installation, invoke the skill by name or use /model-config-check
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of model-config-check skill. - Automatically verifies model configuration and connectivity after provider/model changes or updates. - Supports quick model addition by auto-detecting provider and filling configuration when only model name + API key are given. - Runs comprehensive checks: configuration integrity, network, API authentication, and response validation. - Provides users a detailed configuration report with results and troubleshooting advice. - Supports both automatic and manual triggering for model diagnostics.
Metadata
Slug model-config-check
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Model Config Check?

校验模型配置是否正确、模型是否可以正常连接和返回内容。当用户说"检查模型"、"测试模型"、"模型能不能用"、"模型配置"、"诊断模型问题"时使用。**每次修改模型配置(config.patch/config.apply涉及models.providers)后必须自动执行校验。** 用户只给模型名+API key时... It is an AI Agent Skill for Claude Code / OpenClaw, with 97 downloads so far.

How do I install Model Config Check?

Run "/install model-config-check" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Model Config Check free?

Yes, Model Config Check is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Model Config Check support?

Model Config Check is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Model Config Check?

It is built and maintained by PL Uncle (@jasonzhang2015); the current version is v1.0.0.

💬 Comments