Token导航 LogoToken导航TokenDH.com
运维敏感数据clawhub未标认证来源可访问clear审计提醒

preflight-check飞行前检查

Agent Skill

preflight-check 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,940

周安装

125

GitHub Stars

公开资料未说明

下载量

1,030
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:preflight-check(飞行前检查)
来源仓库:https://github.com/guifav/preflight-check
安装命令:
openclaw skills install preflight-check
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install preflight-check

简介

飞行前环境验证器 - 在运行其他技能之前检查所有必需的二进制文件、环境变量和服务是否可用

SKILL.md

name
preflight-check
description
Pre-flight environment validator — checks that all required binaries, environment variables, and services are available before running other skills
user-invocable
true

Preflight Check

You are a systems engineer responsible for validating that the development environment has all required tools, credentials, and services configured before any other skill runs. This skill produces a diagnostic report showing what is ready, what is missing, and how to fix each issue.

Planning Protocol (MANDATORY — execute before ANY action)

  1. Understand the request. Determine which stack the user intends to use: (a) Vercel/Supabase stack, (b) GCP stack, (c) both, or (d) a specific skill only.
  2. Build the check list. Based on the target stack, compile the list of required binaries, environment variables, and service connectivity checks.
  3. Execute checks. Run each check sequentially and record pass/fail with details.
  4. Generate report. Produce a structured report (JSON and human-readable) showing results.

Stack Requirements Matrix

Vercel/Supabase Stack (full)

CategoryRequirementCheck commandRequired by
Binarynode (v18+)node -vAll skills
Binarynpxnpx -vAll skills
Binarygitgit -vstack-scaffold, deploy-pilot
Binaryghgh --versiondeploy-pilot
Binarycurlcurl --versioncloudflare-guard
Env varNEXT_PUBLIC_SUPABASE_URLecho $NEXT_PUBLIC_SUPABASE_URLstack-scaffold, supabase-ops
Env varNEXT_PUBLIC_SUPABASE_ANON_KEYecho $NEXT_PUBLIC_SUPABASE_ANON_KEYstack-scaffold, supabase-ops
Env varSUPABASE_SERVICE_ROLE_KEYecho $SUPABASE_SERVICE_ROLE_KEYsupabase-ops, firebase-auth-setup
Env varNEXT_PUBLIC_FIREBASE_API_KEYecho $NEXT_PUBLIC_FIREBASE_API_KEYstack-scaffold, firebase-auth-setup
Env varNEXT_PUBLIC_FIREBASE_PROJECT_IDecho $NEXT_PUBLIC_FIREBASE_PROJECT_IDstack-scaffold, firebase-auth-setup
Env varFIREBASE_PROJECT_IDecho $FIREBASE_PROJECT_IDfirebase-auth-setup
Env varFIREBASE_CLIENT_EMAILecho $FIREBASE_CLIENT_EMAILfirebase-auth-setup
Env varFIREBASE_PRIVATE_KEY`echo $FIREBASE_PRIVATE_KEY \head -c 20`firebase-auth-setup
Env varVERCEL_TOKEN`echo $VERCEL_TOKEN \head -c 10`deploy-pilot
Env varCLOUDFLARE_API_TOKEN`echo $CLOUDFLARE_API_TOKEN \head -c 10`cloudflare-guard
Env varCLOUDFLARE_ZONE_IDecho $CLOUDFLARE_ZONE_IDcloudflare-guard

GCP Stack

CategoryRequirementCheck commandRequired by
Binarynode (v18+)node -vgcp-fullstack
Binarynpxnpx -vgcp-fullstack
Binarygitgit -vgcp-fullstack
Binaryghgh --versiongcp-fullstack
Binarygcloudgcloud --versiongcp-fullstack
Binarydockerdocker infogcp-fullstack
Binarycurlcurl --versiongcp-fullstack
Env varGCP_PROJECT_IDecho $GCP_PROJECT_IDgcp-fullstack
Env varGCP_REGIONecho $GCP_REGIONgcp-fullstack
Env varGOOGLE_APPLICATION_CREDENTIALStest -f $GOOGLE_APPLICATION_CREDENTIALSgcp-fullstack
Env varFirebase vars (same as above)gcp-fullstack
Env varCloudflare vars (same as above)gcp-fullstack

Cross-Stack Skills

CategoryRequirementCheck commandRequired by
Binarypython3 (v3.10+)python3 --versionweb-scraper
Binarypippip --versionweb-scraper
BinaryPlaywright browsersnpx playwright install --dry-runweb-scraper
Env varOPENROUTER_API_KEY (optional)`echo $OPENROUTER_API_KEY \head -c 10`web-scraper (Stage 5 only)

Check Execution

For each check, the agent runs the command and records:

{
  "check": "node",
  "category": "binary",
  "status": "pass",
  "detail": "v20.11.0",
  "required_by": ["stack-scaffold", "feature-forge", "test-sentinel"]
}

or:

{
  "check": "docker",
  "category": "binary",
  "status": "fail",
  "detail": "command not found",
  "required_by": ["gcp-fullstack"],
  "fix": "Install Docker Desktop: https://docs.docker.com/get-docker/"
}

Report Format

After all checks complete, produce a report:

{
  "timestamp": "2026-03-22T12:00:00Z",
  "target_stack": "vercel",
  "summary": {
    "total": 15,
    "passed": 12,
    "failed": 2,
    "warnings": 1
  },
  "checks": [ ... ],
  "blocked_skills": ["cloudflare-guard"],
  "ready_skills": ["stack-scaffold", "supabase-ops", "feature-forge", "test-sentinel", "deploy-pilot", "firebase-auth-setup"],
  "recommendations": [
    "Install jq for better Cloudflare API output formatting: brew install jq",
    "Set CLOUDFLARE_API_TOKEN to enable cloudflare-guard skill"
  ]
}

Save the report to preflight-report.json in the project root.

Human-Readable Summary

After generating the JSON report, print a clear summary:

Preflight Check — Vercel/Supabase Stack
========================================
Passed:  12/15
Failed:  2
Warnings: 1

FAILED:
  ✗ CLOUDFLARE_API_TOKEN — not set
    → Get it from: Cloudflare Dashboard > My Profile > API Tokens
  ✗ CLOUDFLARE_ZONE_ID — not set
    → Get it from: Cloudflare Dashboard > your domain > Overview (right sidebar)

WARNINGS:
  ⚠ jq — not found (optional, used by cloudflare-guard for JSON formatting)
    → Install: brew install jq (macOS) or sudo apt install jq (Linux)

READY SKILLS: stack-scaffold, supabase-ops, feature-forge, test-sentinel, deploy-pilot, firebase-auth-setup
BLOCKED SKILLS: cloudflare-guard (missing 2 env vars)

Fix Suggestions

For every failed check, provide a specific fix with:

  1. What to install or configure.
  2. The exact command or URL to follow.
  3. Which skills are blocked by this missing requirement.

Refer to the README.md Credentials Guide for detailed setup instructions.

Connectivity Checks (Optional)

When the user requests a deep check, also verify service connectivity:

  • Supabase: curl -sf "$NEXT_PUBLIC_SUPABASE_URL/rest/v1/" -H "apikey: $NEXT_PUBLIC_SUPABASE_ANON_KEY" -o /dev/null && echo "ok"
  • Vercel: curl -sf "https://api.vercel.com/v2/user" -H "Authorization: Bearer $VERCEL_TOKEN" -o /dev/null && echo "ok"
  • Cloudflare: curl -sf "https://api.cloudflare.com/client/v4/user/tokens/verify" -H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" -o /dev/null && echo "ok"
  • GCP: gcloud auth print-access-token > /dev/null 2>&1 && echo "ok"

Usage

The user can invoke this skill with:

  • "Run preflight check for Vercel stack" — checks all Vercel/Supabase requirements
  • "Run preflight check for GCP stack" — checks all GCP requirements
  • "Run preflight check for web-scraper" — checks only web-scraper requirements
  • "Run full preflight check" — checks everything
  • "Run preflight check with connectivity" — includes service connectivity tests

适合场景

01

调用多模型

02

代码和文本生成

03

Agent 推理流程

04

OpenRouter 模型接入

能力概览

能力 1

统一调用多种 LLM

能力 2

支持 Claude、Gemini、Kimi 等模型

能力 3

适合聊天、代码和推理任务

能力 4

可作为 Agent 模型调用入口

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

86.99%
按下载量换算896

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills