Skip to main content
skill CX Codex

hyva-exec-shell-cmd — Claude Code skill: what it does, how to install

Identifies the Magento dev setup and selects the right command wrapper for containers or local execution.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add hyva-themes/hyva-ai-tools --skill hyva-exec-shell-cmd -a claude-code
Open on GitHub

What hyva-exec-shell-cmd does

The helper detects which Magento stack is running in the project. It launches scripts/detect_env.sh against the project root and returns warden, docker-magento, ddev, or local. Then it prefixes Magento CLI calls with the correct container execution flags.

Host operations remain separate. Tools like git, composer, and direct filesystem utilities run on the host without wrappers. When a skill includes a companion PHP script, it streams the script code into the container via stdin instead of copying files into synced directories. This avoids volume sync surprises across setups.

If you run on a bare host without a container, a missing PHP binary will stop execution immediately. In that case, you must switch to a containerized setup or install the interpreter locally.

What it helps with

  • wrap CLI calls for Warden, DDEV, and docker-magento
  • identify the active Magento runtime environment
  • pipe helper PHP code into containers through stdin
  • bypass wrappers for host utilities like git and composer

Example prompts for the agent

  • Use hyva-exec-shell-cmd to detect the Magento environment and flush the cache
  • Inspect the project environment with hyva-exec-shell-cmd scripts/detect_env.sh before compiling Tailwind

How to install hyva-exec-shell-cmd

1Skills CLI (Vercel)

npx skills add hyva-themes/hyva-ai-tools --skill hyva-exec-shell-cmd -a claude-code

2Manually: put the files in place

~/.claude/skills/hyva-exec-shell-cmd/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/hyva-exec-shell-cmd/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about hyva-exec-shell-cmd

How do I install hyva-exec-shell-cmd in Claude Code?

Run npx skills add hyva-themes/hyva-ai-tools --skill hyva-exec-shell-cmd -a claude-code.

What does hyva-exec-shell-cmd do?

It inspects whether a Magento workspace runs under Warden, docker-magento, DDEV, or a native host. Other tools use that result to apply matching container wrappers to shell commands.

Why are helper scripts piped through stdin?

Different setups synchronize host directories unevenly. Pipelining script code directly into php /dev/stdin avoids file copying, temporary file management, and volume sync failures.

Similar skills

All skills for DevOps and infrastructure →

From the same set6

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor