fagnerlopes/cloud-weaver

cloud-weaver-computer-setup

This skill should be used when the user asks to "set up my computer", "install dev tools", "set up my environment", or when the pre-flight check reports NEEDSCOMPUTERSETUP.

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/fagnerlopes/cloud-weaver --skill cloud-weaver-computer-setup

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

Computer Setup

CloudWeaver v2 needs three tools locally — everything else runs in GitHub Actions. The skill detects the OS and tries install methods from most convenient to most universally compatible.

Required tools: gh (GitHub CLI) · ssh (OpenSSH client) · python3

git and jq are not required: provisioning and deployment run in CI, and jq is built into gh via --jq.


Step 1 — Detect OS and available tools

python
import platform, shutil, os

system  = platform.system()   # "Linux", "Darwin", "Windows"
is_wsl  = system == "Linux" and os.path.exists("/proc/version") and \
          "microsoft" in open("/proc/version").read().lower()
has_bash = shutil.which("bash") is not None
has_pwsh = shutil.which("pwsh") or shutil.which("powershell")
has_npx  = shutil.which("npx")  is not None
has_curl = shutil.which("curl") is not None

missing = [t for t in ["gh", "ssh", "python3"] if not shutil.which(t)]
print(f"OS: {system}{'  (WSL)' if is_wsl else ''}")
print(f"Missing: {missing or 'none'}")

If nothing is missing, skip to Step 3.


Step 2 — Install missing tools

Try the tiers in order — stop at the first that works.

Tier 1 — bash (Linux · macOS · WSL · Git Bash)

bash
curl -fsSL https://cloudweaver.fagnerlopes.dev/install.sh | bash

When to use: bash is available (has_bash = True).

Tier 2 — PowerShell (Windows without WSL)

powershell
irm https://cloudweaver.fagnerlopes.dev/install.ps1 | iex

When to use: no bash, but PowerShell is available (has_pwsh = True). If execution policy blocks it, ask the user to run first:

powershell
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned

Tier 3 — Python (any OS with Python 3)

bash
curl -fsSL https://cloudweaver.fagnerlopes.dev/install.py | python3

When to use: no bash, no PowerShell — but Python 3 and curl exist. On Windows without curl, download manually:

powershell
Invoke-WebRequest -Uri https://cloudweaver.fagnerlopes.dev/install.py -OutFile install.py
python3 install.py

Tier 4 — npx (any OS with Node 18+)

bash
npx -y skills install fagnerlopes/cloud-weaver

When to use: always available as last resort — Node 18+ is a hard prerequisite for the workshop. No curl, no bash, no PowerShell needed.


Per-tool install (if the script approach fails)

If the platform scripts can't install gh, ssh, or python3, guide the user to install each manually:

gh (GitHub CLI)

PlatformCommand
Linux / WSLsudo apt install gh (after adding the official repo)
macOSbrew install gh
Windowswinget install --id GitHub.cli or download from https://cli.github.com

ssh (OpenSSH client)

PlatformNotes
Linux / WSLsudo apt install openssh-client
macOSBuilt-in — no install needed
Windows 10+Built-in: Settings → Apps → Optional features → OpenSSH Client

python3

PlatformCommand
Linux / WSLsudo apt install python3
macOSbrew install python
Windowswinget install --id Python.Python.3 or https://python.org

Step 3 — GitHub authentication

bash
gh auth status

If not authenticated, ask the user to run in their terminal:

bash
gh auth login

Step 4 — Re-run the pre-flight

After all tools are confirmed, re-run cloud-weaver-pre-flight-check.


Bundled Resources

This skill has no bundled scripts — all steps run inline.

관련 작업

같은 저장소의 Skills

더 많은 Skills

모든 Skills