From code-harness-skills
Set up Claude Code cloud/mobile environments for development. Use when starting a new cloud session, when tools are missing, or when user says "setup cloud", "setup environment", or mentions mobile Claude Code.
How this skill is triggered — by the user, by Claude, or both
Slash command
/code-harness-skills:cloud-setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Set up a fresh cloud/mobile Claude Code environment with all tools needed for development.
Set up a fresh cloud/mobile Claude Code environment with all tools needed for development.
Run the setup script to install all required tools:
.claude/skills/cloud-setup/scripts/setup.sh
Or verify an existing environment:
.claude/skills/cloud-setup/scripts/verify.sh
Use this skill when:
Configure the setup for your project by setting these variables at the top of scripts/setup.sh and scripts/verify.sh, or via environment variables:
# REQUIRED: Tools your project needs (space-separated)
# The setup script will check for and install these
REQUIRED_TOOLS="git make"
# REQUIRED: Build command to run after setup
BUILD_CMD="make build"
# REQUIRED: Test command to verify the build
TEST_CMD="make test"
# OPTIONAL: Language-specific settings
PROJECT_LANG="auto" # auto-detect, or: go, node, python, rust, java
PROJECT_LANG_VERSION="" # e.g., "1.24" for Go, "22" for Node
# OPTIONAL: Verification command (runs a built artifact to confirm it works)
VERIFY_CMD="" # e.g., "./bin/myapp --version"
# OPTIONAL: Extra environment variables needed for builds
BUILD_ENV_VARS="" # e.g., "GOTOOLCHAIN=local GOPROXY=direct"
Environment variable overrides:
| Variable | Purpose |
|---|---|
REQUIRED_TOOLS | Override required tool list |
BUILD_CMD | Override build command |
TEST_CMD | Override test command |
VERIFY_CMD | Override verification command |
PROJECT_LANG | Override language detection |
PROJECT_LANG_VERSION | Override language version |
| Tool | Purpose | Install |
|---|---|---|
| git | Version control | apt-get install git |
| make | Build automation | apt-get install make |
| gh | GitHub CLI | See setup script |
| jq | JSON processing | apt-get install jq |
| Language | Tool | Minimum Version |
|---|---|---|
| Go | go | 1.24+ |
| Node.js | node, npm | 22+ |
| Python | python3, pip3 | 3.10+ |
| Rust | rustc, cargo | 1.75+ |
| Java | java, mvn/gradle | 17+ |
| Resource | Minimum | Recommended |
|---|---|---|
| RAM | 4 GB | 8+ GB |
| Disk | 5 GB free | 10+ GB |
| CPUs | 2 | 4+ |
| Network | Required | Required |
# Check what's available
which git make gh 2>/dev/null
# Detect project type
ls package.json go.mod Cargo.toml requirements.txt pom.xml build.gradle 2>/dev/null
Cloud environments sometimes have broken DNS:
echo "nameserver 8.8.8.8" > /etc/resolv.conf
echo "nameserver 8.8.4.4" >> /etc/resolv.conf
apt-get update && apt-get install -y make git jq
Detect the project language from manifest files and install the appropriate runtime. See the setup script for auto-detection logic.
curl -L https://github.com/cli/cli/releases/download/v2.63.2/gh_2.63.2_linux_amd64.tar.gz -o /tmp/gh.tar.gz
tar -xzf /tmp/gh.tar.gz -C /tmp
mv /tmp/gh_*/bin/gh /usr/local/bin/
rm -rf /tmp/gh*
# Install dependencies (language-specific)
# Go: go mod download
# Node: npm install
# Python: pip install -r requirements.txt
# Rust: cargo fetch
# Build
$BUILD_CMD
# Run verification command
$VERIFY_CMD
# Run tests
$TEST_CMD
scripts/setup.shFull automated setup -- detects project type, installs tools, builds, and verifies.
Usage:
.claude/skills/cloud-setup/scripts/setup.sh
What it does:
scripts/verify.shVerify environment is correctly set up.
Usage:
.claude/skills/cloud-setup/scripts/verify.sh
Checks:
See resources/troubleshooting.md for common issues and solutions.
Symptom: dial tcp: lookup ... on [::1]:53: connection refused
Solution: Add Google DNS to /etc/resolv.conf:
echo "nameserver 8.8.8.8" > /etc/resolv.conf
Symptom: curl: (35) ... sslv3 alert handshake failure
Solution: Use wget --no-check-certificate instead of curl
Symptom: head, tail, grep not found
Solution: Either install coreutils or avoid piping:
apt-get update && apt-get install -y coreutils grep
Symptom: apt-get fails with malformed sources
Solution: Remove problematic source files:
rm -f /etc/apt/sources.list.d/problematic-file.list
apt-get update
After setup, verify you can:
$BUILD_CMD succeeds$TEST_CMD passesgh --version works (if GitHub operations needed)With the environment configured, you can:
$BUILD_CMD$TEST_CMDghnpx claudepluginhub 8-bit-sheep/code-harness-skills --plugin agent-inboxPrepares local development environment for Claude Code usage: detects OS, installs Git and GitHub CLI, and guides through optional installation phases for design and development workflows.
Guides developers through setting up dev environments: identifies tools like Node.js/Python/Docker, provides platform-specific installs (Homebrew/apt/Chocolatey), configs env vars, verifies setups. For new projects, onboarding, machine switches.
Guides developers through setting up development environments from scratch, including installing tools, configuring dependencies, and verifying setups. Useful for project onboarding and troubleshooting.