Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

env-config

Skill by aiskillstore

Sets up environment configuration for Python and FastAPI projects using .env files and Pydantic BaseSettings. It covers typed settings, SecretStr secrets, per-environment files and startup validation. It is written for developers building Python web apps.

  • Score 64
  • 500 stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install env-config

Built from the published package, never by AI.

git clone --depth 1 https://github.com/aiskillstore/marketplace /tmp/marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/marketplace/skills/awais68/env-config ~/.claude/skills/env-config

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install env-config in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The env-config skill guides the setup of environment configuration for Python and FastAPI projects. It covers loading .env files with load_dotenv, defining a Pydantic BaseSettings class with required and optional fields, and wrapping sensitive values in SecretStr. It also includes a .env.example template, separate files for development, staging and production, and a cached get_settings function.

The skill also covers secret management. It shows how to generate secrets with openssl rand, includes a script that rotates a KEY=value line in a .env file, and provides a startup validation function that reports missing or invalid settings. The source says production should use environment variables set in the deployment platform rather than .env files. It is aimed at developers who want validated, environment-specific settings in Python apps and it links to related skills such as jwt-auth and sqlmodel-crud.

Written from the project's SKILL.md and checked against it.

What it can do

  • Load .env filesCalls load_dotenv at application start and sets env_file in the Settings config.
  • Pydantic BaseSettings classDefines typed settings with required fields and defaults in a single Settings class.
  • SecretStr for secretsWraps sensitive values such as JWT_SECRET_KEY so they are not printed in plain text.
  • .env.example templateProvides a committed template that lists the variables a project needs.
  • Multi-environment filesUses separate .env, .env.staging and .env.production files with a from_env classmethod.
  • Secret generationShows openssl rand commands for JWT secrets and database passwords.
  • Secret rotation scriptReplaces a KEY=value line in an env file with a new value from the command line.
  • Startup validationPrints missing or invalid settings and exits with an error code when validation fails.

What you need

  • Python
  • FastAPI project
  • pydantic-settings
  • python-dotenv
  • openssl

Try asking

  • Set up a .env file and Settings class for my FastAPI app
  • Add startup validation for required settings in my Python project
  • Create a .env.example template listing all required variables

Good to know

  • Production should use environment variables from the deployment platform, not .env files.
  • Examples target Python and FastAPI projects.
  • The rotation script matches an existing KEY= line and does not add new keys.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/awais68/env-config/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to env-config

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

env-config: common questions

Does env-config work with Pydantic BaseSettings?

Yes. The skill builds a Settings class on pydantic_settings BaseSettings and points it at a .env file through SettingsConfigDict.

How does env-config handle secrets?

Sensitive values use SecretStr, and the skill says never to commit .env files or log settings. For production it recommends a secrets manager.

Can env-config manage several environments?

Yes. It includes .env.staging and .env.production files and a from_env classmethod that picks the file by environment name.

How do I install env-config?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is env-config free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is env-config safe to use?

It scores 64 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to env-config?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

env-config Install

Add to stack

Loading.