Config file recognition
Skill ComeOnOliver/skillshub/skills/esurovtsev/langchain-lab/config-file-recognition
π§ The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.
npx -y skills add ComeOnOliver/skillshub --skill config-file-recognitionAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
3.4 KB, 811 tokens by cl100k_base, as published. Nobody here has run it
Config File Recognition
When to Use This Skill
When you need to understand how a project is configured, what external services it depends on, what environment variables it requires, or whether there are configuration issues (hardcoded secrets, missing defaults, inconsistent settings).
Step-by-Step Investigation
Step 1: Find All Config Files
Use glob_search to locate config files across the project:
glob_search(pattern="**/.env*")β environment filesglob_search(pattern="**/*.json", path="config/")β JSON configglob_search(pattern="**/Dockerfile*")β container configglob_search(pattern="**/*.yaml")or**/*.ymlβ YAML configglob_search(pattern="**/requirements*.txt")β Python dependenciesglob_search(pattern="**/package.json")β Node.js dependencies
Step 2: Read Safe Config Files First
Read in this priority order:
.env.exampleβ safe to read, shows what variables the app expectsconfig/directory files β JSON/YAML config for services, servers, etc.requirements.txt/package.jsonβ dependencies reveal what services are usedDockerfile/docker-compose.ymlβ runtime environment, ports, services
Never read .env files β they may contain real secrets.
Step 3: Grep for Configuration Patterns in Code
Use grep_search to understand how config is consumed:
grep_search(query="os.getenv|os.environ|dotenv")β find env var usage in Pythongrep_search(query="process.env")β find env var usage in JavaScript/Nodegrep_search(query="localhost|127.0.0.1")β find hardcoded local URLsgrep_search(query="port|PORT")β find port configurationgrep_search(query="SECRET|KEY|TOKEN|PASSWORD")β check for sensitive values in code
Step 4: Map External Dependencies
From the config files and grep results, build a picture of:
- Required environment variables β list each with its purpose (from
.env.exampleandgetenvcalls) - External services β databases, APIs, caches (from connection strings and config)
- Ports β what ports the app listens on and connects to
- API keys / credentials needed β which services require authentication
Step 5: Check for Issues
Look for common configuration problems:
- Hardcoded secrets β API keys, passwords, or tokens directly in source code (not in env vars)
- Missing
.env.exampleβ if code uses env vars but no example file documents them - Inconsistent ports β frontend configured to call one port, backend listening on another
- Hardcoded URLs β
localhostor IP addresses that won't work in production - Unpinned dependencies β
requirements.txtwithout version pins
Report Format
Structure your findings as:
- Config Files Found β list with brief purpose of each
- Environment Variables β table of variable name, purpose, where it's used
- External Services β what the app connects to and how
- Ports & URLs β network configuration summary
- Issues Found β any problems discovered (hardcoded secrets, missing config, etc.)
Things to Avoid
- Never read
.envfiles β they contain real secrets - Never display actual secret values even if found in code β just note their location
- Don't assume config values are current β they might be defaults overridden at runtime
- Don't confuse
requirements.txt(dependencies) withconfig.yaml(runtime settings)