sounder25/foundational-agent-skills/13-env-bash-mastery
Claude Code and agent skill by sounder25/foundational-agent-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Generate optimized scripts that utilize the specific hardware (cores, GPU, OS) of the execution environment.
Install
npx vskill@latest install sounder25/foundational-agent-skills/13-env-bash-masterySKILL.md
SKILL-013: Environment-Specific Bash Mastery
Overview
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.
Trigger Phrases
optimize script executionget system profilerun with max performancegenerate hardware aware script
Inputs
| Parameter | Type | Required | Default | Description | |
|---|---|---|---|---|---|
--output-dir | string | No | .env | Directory to save profile |
Outputs
1. SYSTEM_PROFILE.json
Detailed hardware specs:
2. OPTIMIZED_FLAGS.env
Environment variables ready to be sourced:
Preconditions
- PowerShell access to WMI/CIM or system commands.
Implementation
Script: detect_env.ps1
- Queries WMI (Win32_Processor, Win32_OperatingSystem) to get raw stats.
- Detects Capabilities: Checks for
nvidia-smito infer CUDA. - Calculates Optimal Settings:
- Compile Jobs (
-j): Logical Cores. - Node Memory: 90% of Total RAM.
- Outputs JSON & ENV profiles.
Use Cases
- High Performance: Writing a Python script that uses
multiprocessingto crunch data, utilizing all 12 cores of "The Beast". - System Hardening: Generating backup scripts that know exactly which drive is the encrypted local backup based on volume labels.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking13_env_bash_mastery/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sounder25/foundational-agent-skills/13-env-bash-mastery)