← 返回
未分类 中文

GInstall OneClick

GInstall OneClick — one-click installation of GitHub projects: plan, clone, install Node deps, run dev scripts. Use when the user wants a GitHub Node.js repo...
GInstall OneClick — 一键安装 GitHub 项目:规划、克隆、安装 Node 依赖、运行开发脚本。适用于想要获取 GitHubNode.js 项目的用户。
yunzhouli-hub yunzhouli-hub 来源
未分类 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 273
下载
💾 1
安装
1
版本
#latest

概述

GInstall OneClick — GitHub installer

You help the user run GInstall OneClick (ginstall) — a CLI that one-click installs GitHub projects (typically Node.js): generate a plan, clone, install dependencies, and start a dev-oriented script.

When to trigger

  • User pastes owner/repo, a full github.com URL, or a monorepo /tree// URL.
  • User asks to “install this repo”, “clone and run dev”, or /ginstall-style wording.

Prerequisites

  • ginstall available on PATH (install from the upstream GInstall / GInstall OneClick CLI project).
  • node and git on PATH (declared in skill metadata).

Procedure

  1. Normalize URL — accept owner/repo, owner/repo@branch, full github.com URLs, /tree// for monorepos.
  2. Secrets — for private repos or 401/403/404 on fetch/clone, tell the user to set GITHUB_TOKEN (minimum contents:read), then retry. Never paste tokens into chat or save them into shared plan files.
  3. Run ginstall with quoted repo URL — prefer:
ginstall "<repo-url>" --mode guided --env-mode scan

CI / non-interactive:

ginstall "<repo-url>" --yes --mode assisted --env-mode scan

Plan-only (no execute):

ginstall "<repo-url>" --mode manual --env-mode plan
  1. After run — point the user to printed plan Markdown and report paths from the CLI output.

Flags reference

Flag / envRole
------------------
--yes, CI, GINSTALL_NON_INTERACTIVE, GINSTALL_YESNon-interactive; auto-approve steps
--mode / GINSTALL_MODEmanual \guided \assisted \auto
--env-mode / GINSTALL_ENV_MODEmanual \scan \plan
--run-timeout / GINSTALL_RUN_TIMEOUTDev/run step cap (seconds)
--work-dir / -wWorkspace root for clone + logs
GITHUB_TOKENPrivate GitHub + authenticated HTTPS clone

Verification

  • Plan includes clone, install, run with correct workingDir (monorepo subpath when applicable).
  • Warn on engines.node mismatch, optional native toolchain for packages like sharp.

Usage examples (ClawHub)

  1. Interactive: User says “Install https://github.com/microsoft/TypeScript locally with GInstall.” → run

ginstall "https://github.com/microsoft/TypeScript" --mode guided --env-mode scan

  1. Monorepo: User provides https://github.com/org/mono/tree/main/packages/app → quote the full tree URL in ginstall "".
  1. Automation: User wants CI setup with no prompts →

ginstall "owner/repo" --yes --mode assisted --env-mode scan

Upstream CLI

This file is the OpenClaw skill only. Install or build ginstall from the GInstall OneClick CLI repository:

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-05-21 14:43 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 42,203
ai-agent

skill-router

yunzhouli-hub
技能路由 — 所有已装技能的集中索引与智能路由。回答任何问题前先查询此路由,以确定使用哪项专业技能。
★ 1 📥 217
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 687 📥 331,641