executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
metrics-params-plotsTrack, compare, inspect, and troubleshoot DVC metrics, params, and plots from CLI, dvc.yaml, and the public Python API.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task is about declaring, showing, diffing, comparing, exporting, or debugging DVC metrics, params, or plots. It covers CLI reporting, dvc.yaml declarations, plot configuration, and the public dvc.api.metrics_show() / dvc.api.params_show() helpers.
dvc metrics show, dvc metrics diff, metric declarations in dvc.yaml, -m, -M, JSON/Markdown output, revision comparison, and precision behavior.dvc params diff, params dependencies in dvc.yaml, dvc stage add -p, multiple params files, stage-scoped params, --deps, JSON/Markdown output, and Python API inspection.dvc plots show, dvc plots diff, dvc plots modify, dvc plots templates, top-level plots: definitions, stage plot outputs, Vega/HTML output, CSV/TSV header behavior, image plots, and plot templates.dvc.api.metrics_show() and dvc.api.params_show() for safe JSON-friendly summaries from scripts or notebooks.../data-and-pipelines/SKILL.md for stage construction basics, dvc init, dvc add, dvc repro, dvc status, dependencies, outputs, and cache lifecycle outside metrics/plots declarations.../experiments/SKILL.md for dvc exp show, experiment tables, experiment queueing/runs, experiment comparison semantics, and experiment-specific interpretation of metrics/params.--json for CLI commands or the bundled scripts/summarize_metrics_params.py helper.-m, -M, --plots, --plots-no-cache, and -p) before running dvc repro.dvc metrics diff or dvc params diff; for plots, use dvc plots diff and add --json / --show-vega when browser output is not acceptable.x/y fields, template names, and whether the plot target is a stage output or a top-level plots: definition.dvc metrics show --json --precision 4
dvc metrics diff HEAD workspace --json --precision 4
dvc params diff HEAD workspace --targets params.yaml --deps --json
dvc plots show reports/metrics.tsv --json --show-vega -x step -y accuracy --out dvc_plots
dvc plots diff HEAD workspace --targets reports/metrics.tsv --json --out dvc_plots
This checkout exposes dvc params diff in the CLI and exposes param display through dvc.api.params_show(). Do not promise a dvc params show CLI subcommand unless dvc params --help in the target environment lists it.
references/workflows.md gives CLI and dvc.yaml recipes for metrics, params, and plots.references/api-reference.md documents verified public API signatures, return shapes, duplicate-key behavior, and helper usage.references/data-formats.md explains supported metrics/params/plots data formats, top-level plot definitions, and plots config keys.references/troubleshooting.md maps empty output, duplicate keys, path mistakes, format precision, and malformed files to concrete checks.scripts/summarize_metrics_params.py safely calls the public API and prints JSON without running pipeline commands or opening browsers.From this sub-skill directory, run:
python scripts/summarize_metrics_params.py --repo /path/to/project --rev HEAD --metrics-target reports/metrics.json --params-target params.yaml --stage train --deps
The helper imports dvc.api, calls only read-style API functions, emits JSON, and converts no-data/no-repo/API exceptions into explicit result objects.