← Back to Skills Marketplace
mirni

Envcheck

by mirni · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
96
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install gh-envcheck
Description
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...
README (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'
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gh-envcheck
  3. After installation, invoke the skill by name or use /gh-envcheck
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug gh-envcheck
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 96 downloads so far.

How do I install Envcheck?

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

Is Envcheck free?

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

Which platforms does Envcheck support?

Envcheck is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Envcheck?

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

💬 Comments