extract-python-environment-variables

extract-python-environment-variables is an Other agent platforms skill for AI agents, published by google in the adk-samples repository on GitHub. Skillspace rates extract-python-environment-variables D (61/100) and it passed the safety scan; the rating is based on static analysis only.

Scans a Python recipe to find every place an environment variable is read, then ensures all variables are declared in .env.example, that load_dotenv() is bootstrapped in the package __init__.py, and that python-dotenv>=1.0.0 is listed in pyproject.toml. Also detects hardcoded model-name string literals in the recipe's source (e.g. "gemini-3-flash-preview" in agent.py) and rewrites them to bare os.getenv("MODEL_NAME") calls (NO fallback default), adding MODEL_NAME to .env.example with a TODO placeholder — this modifies source files, not just configuration. IMPORTANT — two hard rules the skill NEVER breaks: (1) `.env.example` gets ONLY TODO placeholders, never inferred defaults. (2) Python source files get NO default values written by the skill — the model-replacement path emits `os.getenv("VAR")` with no second argument, and the skill never emits `os.environ.setdefault(...)` bootstrap lines. Pre-existing `os.environ.setdefault(...)` or `os.getenv("VAR", "default")` calls that the recipe…

Grade
D
Quality
61 / 100
Safety
Passed
GitHub stars
9,918

Unproven: rated by static analysis only, not yet compared head-to-head.

Our two independent classifiers differ on this skill's category, so treat the placement as provisional.

This rating describes the version of the repository we crawled; it may have changed since, so go by its current files.

Our review

Architecture
76 / 100
Maturity
Structured: ships references or scripts
Security scan
No issues found
License
Apache-2.0
Adoption
Adopted by 0 other repositories, in 0 collections

Not checked yet

  • Category is a classifier prediction; no model has read this skill yet
  • Not judged on the rubric yet (not a contender in its category)
  • No blind task eval yet
  • Scope (portable / vendor / repo-internal) not assessed; only the top of each category is read for scope
  • Sibling files (scripts, references) not fetched; security scan covers SKILL.md only

Skillspace indexes and rates this skill; it does not host or endorse it. Run third-party skills at your own risk.