Back to skills
SKILL.md
2683 Environment Discovery Af8cc3f9
ASecurity```mermaid flowchart TD Start([ty check invoked]) --> Q1{--python flag or<br>environment.python config set?} Q1 -->|Yes| UseExplicit([Use explicitly configured<br>interpreter or venv path]) Q1 -->|No| Q2{VIRTUAL_ENV<br>env var set?} Q2 -->|Yes| UseVirtualEnv([Use virtual env at VIRTUAL_ENV]) Q2 -->|No| Q3{CONDA_PREFIX<br>env var set?} Q3 -->|Yes| UseConda([Use Conda env at CONDA_PREFIX]) Q3 -->|No| Q4{.venv directory exists<br>in project root or<br>working directory?} Q4 -->|Yes| UseDotVenv([...
- 9 stars
- 0 votes
- 0 copies
- 0 views
- Added October 11, 2026
Security analysis
100/100npx -y skills add tools-only/X-Skills --skill 2683-environment-discovery_af8cc3f9 --agent claude-codeAre you the author of 2683 Environment Discovery Af8cc3f9?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-2683-environment-discovery-af8cc3f9)# Environment Discovery
```mermaid
flowchart TD
Start([ty check invoked]) --> Q1{--python flag or<br>environment.python config set?}
Q1 -->|Yes| UseExplicit([Use explicitly configured<br>interpreter or venv path])
Q1 -->|No| Q2{VIRTUAL_ENV<br>env var set?}
Q2 -->|Yes| UseVirtualEnv([Use virtual env at VIRTUAL_ENV])
Q2 -->|No| Q3{CONDA_PREFIX<br>env var set?}
Q3 -->|Yes| UseConda([Use Conda env at CONDA_PREFIX])
Q3 -->|No| Q4{.venv directory exists<br>in project root or<br>working directory?}
Q4 -->|Yes| UseDotVenv([Use .venv virtual environment])
Q4 -->|No| Q5{python3 or python<br>binary in PATH?}
Q5 -->|Yes| UsePath([Use python3 or python from PATH])
Q5 -->|No| NoEnv([No environment found —<br>third-party imports unresolved])
```
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.