tellmefrankie/ai-investment-skills/env-doctor
Claude Code and agent skill by tellmefrankie/ai-investment-skills
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install tellmefrankie/ai-investment-skills/env-doctorSKILL.md
The same SKILL.md was published earlier as tellmefrankie/news-engine/env-doctor.
Env Doctor
Diagnose your .env file before deployment. Catches the configuration bugs that only show up in production at 2 AM.
What it does
- Compares
.envagainst.env.example— finds missing vars - Detects placeholder values never replaced (
...,your-key-here,sk-ant-XXXX) - Flags secrets that look wrong (wrong prefix, wrong length, wrong format)
- Checks for common mistakes: trailing spaces, Windows line endings, BOM markers
- Warns about vars that exist in
.envbut not in.env.example(undocumented secrets) - Validates known API key formats (Anthropic, OpenAI, Stripe, Polygon, Telegram)
Usage
Example Output
Validated API key formats
| Service | Expected format | Example | |
|---|---|---|---|
| Anthropic | sk-ant-api03-... | 50+ chars | |
| OpenAI | sk-proj-... or sk-... | 51 chars | |
| Stripe | sk_live_... or sk_test_... | 32+ chars | |
| Polygon.io | alphanumeric, 32 chars | ||
| Telegram Bot | {number}:{hash} | 1234567890:ABC... | |
| dev.to | alphanumeric, 20 chars |
Configuration
Common catches
The classic: ANTHROPIC_API_KEY=sk-ant-XXXX — copied from docs, never replaced
The silent fail: DATABASE_URL= — trailing space means the var is a single space, not empty. Some parsers treat this as set.
The Windows trap: .env edited on Windows has \r\n line endings. Some Node.js dotenv parsers include the \r in the value. "mypassword\r" is not "mypassword".
The gitignore miss: .env.production not in .gitignore. Happens when someone adds a new env file variant.
Requirements
- Read tool access (reads
.envand.env.example) - No API keys needed — pure text analysis
Free
Fully free and open source.
→ https://github.com/tellmefrankie/news-engine
Author
Built after a production deploy failed because TELEGRAM_BOT_TOKEN was still "..." in the production .env. The env doctor would have caught it in 2 seconds.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingenv-doctor/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tellmefrankie/ai-investment-skills/env-doctor)