mkurman/zorai/hydra
Claude Code and agent skill by mkurman/zorai
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Configuration framework for complex applications (Hydra). Dynamic hierarchical configuration by composition and override via CLI, YAML, and structured configs. Use for ML experiment management, multi-environment deployment, hyperparameter sweeps, and reproducible research workflows. Integrates with PyTorch Lightning, Weights & Biases, MLflow, and Optuna.
Install
npx vskill@latest install mkurman/zorai/hydraSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as mkurman/zorai/hydra.
Hydra
Overview
Hydra is a configuration framework that dynamically creates hierarchical configurations through composition and override. It eliminates hardcoded paths and config files scattered across projects. Use this skill for managing complex ML experiment configurations, multi-environment deployments, hyperparameter sweeps, and reproducible research workflows.
When to Use This Skill
This skill should be used when:
- Managing complex ML experiment configurations across models, datasets, and hardware
- Running hyperparameter sweeps with structured config overrides
- Switching between dev/staging/prod environments without code changes
- Setting up reproducible research with version-controlled configs
- Integrating configuration across PyTorch Lightning, W&B, and other ML tools
- Running multi-run experiments with different parameter combinations
- Organizing large ML codebases with clean separation of config from code
Core Capabilities
1. Installation
2. Basic Configuration Pattern
Directory structure:
conf/config.yaml:
my_app.py:
CLI overrides:
3. Structured Configs (Python dataclasses)
CLI overrides with structured configs:
4. Config Groups (Modular Configs)
Directory:
conf/config.yaml:
conf/model/vit_base.yaml:
Usage:
5. Multi-Run (Hyperparameter Sweeps)
6. Output Management
Hydra automatically creates timestamped output directories:
Access output directory in code:
7. PyTorch Lightning Integration
Config:
Training script:
8. W&B / MLflow Logging Integration
9. Instantiation (hydra.utils.instantiate)
Recursive instantiation:
10. Resolvers (Dynamic Value Resolution)
Built-in resolvers:
Key Patterns
- Separate config from code — all tunable params go in YAML/dataclasses
- Use config groups for model/dataset/optimizer families — modular swapping
- CLI overrides are the source of truth — YAML provides defaults, CLI finalizes
- Use `instantiate()` for object creation from config — reduces boilerplate
- Timestamped output dirs are automatic — no need to manage manually
- Multi-run for sweeps —
--multirunplus comma-separated values - Check in config files — they ARE your experiment documentation
References
- Hydra Documentation
- Structured Configs Tutorial
- OmegaConf Documentation
- lightning-hydra-template — full ML template
- hydra-zen — Pythonic Hydra utilities
Security
- Security scanPassed, 100 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 repositoryCheckingskills/scientific-skills/hydra/SKILL.md
Popularity
- Repository stars
- 318
- Repository forks
- 26
- 7-day trend score
- 29
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
configConfiguration overrides
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/mkurman/zorai/hydra)