This skill analyzes host hardware to generate optimized, multi-core scripts that maximize performance across CPU, memory, and GPU, tailored to your environment.
npx playbooks add skill sounder25/google-antigravity-skills-library --skill 13_env_bash_mastery
Executes "Hardware-Aware Execution" by profiling the host machine (CPU cores, RAM availability, OS Version, GPU presence) to generate execution scripts that maximize performance. No more single-threaded scripts on a 12-core beast.
optimize script executionget system profilerun with max performancegenerate hardware aware script| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| --output-dir | string | No | .env | Directory to save profile |
Detailed hardware specs:
{
"os": "Microsoft Windows 10.0.22631",
"cpu": {
"name": "AMD Ryzen 9 7900X 12-Core Processor",
"cores": 12,
"logical_processors": 24
},
"memory": {
"total_gb": 64,
"free_gb": 32
},
"flags": {
"has_cuda": true,
"has_avx2": true,
"is_wsl": false
}
}
Environment variables ready to be sourced:
export MAKE_JOBS=24
export OMP_NUM_THREADS=24
export NODE_OPTIONS="--max-old-space-size=60000"
export PYTHON_MULTIPROCESSING=1
nvidia-smi to infer CUDA.-j): Logical Cores.multiprocessing to crunch data, utilizing all 12 cores of "The Beast".Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.