Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/vladkesler/initrunner/environment-diagnosticsnpx skills add vladkesler/initrunner --skill environment-diagnosticsgit clone --depth 1 https://github.com/vladkesler/initrunnerWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/vladkesler/initrunner/environment-diagnostics)<a href="https://agentmods.dev/skills/vladkesler/initrunner/environment-diagnostics"><img src="https://agentmods.dev/badge/skills/vladkesler/initrunner/environment-diagnostics.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00034 | $0.01232 |
| Opus 5 | $0.00017 | $0.00616 |
| Sonnet 5 | $0.00007 | $0.00246 |
| Haiku 4.5 | $0.00003 | $0.00123 |
Grade A, and why
environment-diagnostics scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s -o /dev/null -w '%{http_code}' --max-time 5 https://api.example.com/health How it starts
The opening of the file, as written. The whole thing — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Environment diagnostics skill for validating configuration and system state.
When to activate
Use this skill when tests fail with configuration or environment errors, when setting up a new development or staging environment, when a deployment fails with missing config or dependency issues, or when onboarding a new developer who needs to verify their local setup.
Environment variables
Check that required variables are set and non-empty:
python -c "
import os, sys
required = ['DATABASE_URL', 'API_KEY', 'SECRET_KEY']
missing = [v for v in required if not os.environ.get(v)]
if missing:
print('Missing or empty:', ', '.join(missing))
sys.exit(1)
print('All required variables present')
"
Common patterns to check:
- DATABASE_URL -- connection string for the primary database
- API_KEY / API_SECRET -- external service credentials
- SECRET_KEY / JWT_SECRET -- application signing keys
- REDIS_URL / CACHE_URL -- cache connection strings
- LOG_LEVEL -- logging configuration
- NODE_ENV / FLASK_ENV / RAILS_ENV -- runtime environment designation
For each variable, verify not just presence but also basic format validity (e.g., DATABASE_URL starts with a known scheme like postgres:// or mysql://).
Config files
Verify expected configuration files exist and parse correctly:
- Existence -- check that each expected config file is present.
- Syntax -- attempt to parse the file in its format:
python -c "import json; json.load(open('config.json'))" # JSON
python -c "import yaml; yaml.safe_load(open('config.yaml'))" # YAML
python -c "import tomllib; tomllib.load(open('pyproject.toml','rb'))" # TOML
- Required fields -- after parsing, verify that mandatory keys exist in the config structure.
- Value validation -- check that numeric values are in expected ranges, URLs are well-formed, and enum values match allowed options.
Port conflicts
Check if expected ports are available or already bound:
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 170 lines · 34 tokens per session scan A 1081c4b6f528
environment-diagnostics is a skill published in the GitHub repository vladkesler/initrunner (41 stars, last pushed 6d ago), licensed Apache-2.0. It adds 34 tokens to every session and 1,232 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
Vizra ADK Evaluation Framework
Test and evaluate AI agents with automated evaluations, assertions, and LLM-as-a-Judge patterns.
Vizra ADK Memory System
Implement persistent memory, session context, and vector memory (RAG) for AI agents.
Vizra ADK Tool Creation
Build custom tools for Vizra ADK agents - includes patterns for database, API, file, and email tools.
Vizra ADK Agent Creation
Create AI agents with Vizra ADK - includes patterns for customer service, data analysis, and content generation agents.
Vizra ADK Workflows
Orchestrate complex multi-agent workflows - sequential, parallel, conditional, and loop patterns.
expansion-grant-guard
YAML-based delegation grant ledger — issues, validates, and tracks scoped permission grants for sub-agent expansions with token budgets and auto-expiry.