← 返回 Skills 市场
96
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install gh-envcheck
功能描述
Check if your environment is ready to run a skill — verify that required environment variables are set and required CLI binaries are on PATH. Returns a ready...
使用说明 (SKILL.md)
EnvCheck
Pre-flight check: does this environment have what the skill needs?
Start the server
uvicorn envcheck.app:app --port 8007
Check environment
curl -s -X POST http://localhost:8007/v1/check-env \
-H "Content-Type: application/json" \
-d '{"required_env": ["HOME", "PATH"], "required_bins": ["python", "git"]}' | jq
Returns ready (true/false), present_env, missing_env, present_bins, missing_bins.
Pair with ScopeCheck
Use ScopeCheck to find out what a skill needs, then EnvCheck to verify your environment has it:
# Step 1: What does the skill need?
SCOPE=$(curl -s -X POST http://localhost:8002/v1/check-scope \
-H "Content-Type: application/json" \
-d "{\"skill_content\": $(cat SKILL.md | jq -Rs)}")
# Step 2: Do we have it?
curl -s -X POST http://localhost:8007/v1/check-env \
-H "Content-Type: application/json" \
-d "{\"required_env\": $(echo $SCOPE | jq '.detected.env_vars'), \"required_bins\": $(echo $SCOPE | jq '.detected.cli_tools')}" | jq '.ready'
安全使用建议
This skill appears to be what it says: a local environment checker. Before installing, confirm you trust the Python packages (fastapi/uvicorn/pydantic) and install them into a virtualenv. Run the server only on localhost (the example uses the default uvicorn host) and avoid binding it publicly; the service reveals which environment variable names exist on the host (it does not return their values), so don't run it on a machine where exposing the presence/absence of secret-named variables to other network users would be a concern. If you plan to pair it with other tools (like ScopeCheck), review those tools' outputs as well so you don't inadvertently check for or expose sensitive names.
功能分析
Type: OpenClaw Skill
Name: gh-envcheck
Version: 1.0.0
The gh-envcheck skill is a utility designed to verify environment readiness by checking for the existence of specific environment variable keys and CLI binaries. The implementation in envcheck/app.py uses safe methods (os.environ.get and shutil.which) and only returns the names of present/missing items, explicitly avoiding the exfiltration of sensitive environment variable values. The code and documentation in SKILL.md are consistent and lack any indicators of malicious intent or high-risk vulnerabilities.
能力评估
Purpose & Capability
Name/description ask to verify env vars and CLI binaries; the skill requires only Python and installs FastAPI/uvicorn/pydantic to run a small local server — these requirements are proportional to the stated purpose.
Instruction Scope
SKILL.md instructs running a local uvicorn server and POSTing required_env/required_bins lists. The server code only checks os.environ for presence (not values) and shutil.which for binaries and returns lists of present/missing names — scope is limited to the stated functionality. Note: the example reads the local SKILL.md to show usage with ScopeCheck, which is an expected convenience and not secret collection.
Install Mechanism
Install metadata lists typical Python packages (fastapi, uvicorn, pydantic) via a pip-like step (uv/pip). There are no downloads from untrusted URLs or archive extraction; this is standard for a Python service.
Credentials
The skill declares no required environment variables or credentials. At runtime it accepts a list of env var names to check and reports which names are present; it does not return env var values or request unrelated secrets, so requested access is proportional to its purpose.
Persistence & Privilege
always is false and the skill does not modify other skills or system config. It runs as a transient local server when started; it does not request persistent privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gh-envcheck - 安装完成后,直接呼叫该 Skill 的名称或使用
/gh-envcheck触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Major update to documentation for version 1.0.0, with clearer guidance and practical examples.
- Expanded usage instructions with step-by-step server startup and curl commands.
- Added section on integrating with ScopeCheck to streamline environment verification.
- Enhanced metadata format and improved skill description for better clarity.
v0.1.1
- Added metadata for OpenClaw compatibility, specifying required binaries and install steps.
- Updated installation instructions to include the pydantic dependency.
- Simplified usage section with local server startup and request example.
- Clarified example endpoints and made instructions more concise.
v0.1.0
Initial release of gh-envcheck.
- Provides API to verify if required environment variables and CLI binaries are available.
- Supports both hosted API and standalone FastAPI app modes.
- Responds with lists of present and missing environment variables and binaries.
- Useful as a pre-flight environment check for deploying or running skills.
元数据
常见问题
Envcheck 是什么?
Check if your environment is ready to run a skill — verify that required environment variables are set and required CLI binaries are on PATH. Returns a ready... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 96 次。
如何安装 Envcheck?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gh-envcheck」即可一键安装,无需额外配置。
Envcheck 是免费的吗?
是的,Envcheck 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Envcheck 支持哪些平台?
Envcheck 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Envcheck?
由 mirni(@mirni)开发并维护,当前版本 v1.0.0。
推荐 Skills