env-debug

Diagnoses PATH, permissions, and environment variable configuration problems on Unix-like systems and containers.

3|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/1Mangesh1/dev-skills-collection --skill env-debug
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: env-debug
Source: https://github.com/1Mangesh1/dev-skills-collection/tree/main/skills/env-debug
Command: npx skills add https://github.com/1Mangesh1/dev-skills-collection --skill env-debug

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Debug environment configuration problems related to PATH, permissions, and environment variables, helping you quickly identify and fix issues that block your shell and tooling.

Core Features & Use Cases

  • PATH and shell config diagnostics to surface missing or misordered entries
  • Permissions and access checks to prevent execution failures
  • Environment variable visibility verification and remediation guidance
  • Quick, repeatable diagnostics scripts you can run locally or in CI

Quick Start

Run env-debug to diagnose PATH, permissions, and environment variable issues and generate actionable fixes.

Frequently Asked Questions about env-debug

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix shell PATH and environment variable issues?

To fix shell PATH and environment variable issues, run diagnostics to surface missing or misordered entries and generate actionable remediation scripts. This verifies variable visibility and config load order to resolve tooling execution failures.

Why does my CLI tool fail with a command not found error?

A CLI tool fails with a command not found error when its executable is missing from the PATH or has incorrect permissions. Diagnose the PATH contents and verify file access settings to resolve these execution blocks.

Can I diagnose environment configuration problems in containers?

Yes, you can diagnose environment configuration problems in containers. The checks apply across Unix-like systems and containers, allowing you to run repeatable diagnostic scripts locally or in CI to verify variable visibility and permissions.

What is the best way to troubleshoot runtime environment variables?

The best way to troubleshoot runtime environment variables is to run checks that verify variable visibility and shell config load order. This surfaces misconfigurations and provides scripts to remediate the setup.

How do I check shell config load order to prevent execution failures?

Check shell config load order by running diagnostics that inspect PATH contents and variable visibility. This surfaces misordered entries that block tool execution and provides guidance to correct the configuration sequence.

Do I need specific dependencies to run environment diagnostics?

No specific dependencies are required to run environment diagnostics. The checks apply to shell setup and runtime environments across Unix-like systems, requiring only standard shell access to inspect PATH contents and permissions.