Quickstart

From javimosch/supercli · View interactive version

Quickstart is an AI agent skill from the GitHub repository javimosch/supercli. Use this skill when the user wants to cross-compile Go binaries, build for multiple platforms, or create Go executables for different OS/arch.

How to use this skill

Skill file

gox Plugin

A dead simple, no frills Go cross compile tool. Build Go binaries for multiple platforms at once.

Commands

Cross-Compilation

Utility

Usage Examples

Installation

go install github.com/mitchellh/gox@latest

Examples

# Build for all platforms
gox build cross

# Build for specific OS
gox build cross -os="linux darwin windows"

# Build for specific architecture
gox build cross -arch="amd64 arm64"

# Build for specific OS and arch
gox build cross -osarch="linux/amd64 darwin/amd64 windows/amd64"

# Custom output template
gox build cross -output "{{.Dir}}_{{.OS}}_{{.Arch}}"

# Build current package
gox build cross ./...

# Build with verbose output
gox build cross -verbose

# Clean build directory first
gox build cross -clean

# Any gox command with passthrough
gox _ _ -osarch="linux/amd64 darwin/amd64"
gox _ _ -output "dist/{{.OS}}_{{.Arch}}/{{.Dir}}"

Key Features

Supported Platforms

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.