skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
magnus919/agent-skills118 installs

ml-engineering

Plan and execute production ML engineering work — classifier versus generative model selection, zero-shot baselines, coding specialization, model training and fine-tuning (LoRA/QLoRA), evaluation and eval-set design, quantization decisions, inference deployment, lineage, feature parity, drift response, and regression triage, experimental weight inspection and targeted editing, grounded in practical engineering patterns for production ML systems. Do not use for statistical modeling and experimental design (that's the data scientist) or for operating a specific inference engine (that's a tool skill such as llama-cpp or vllm).

How do I install this agent skill?

npx skills add https://github.com/magnus919/agent-skills --skill ml-engineering
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill provides a comprehensive set of methodology guides, templates, and local audit scripts for ML engineering tasks, including fine-tuning, evaluation, and quantization. The included tools perform data leakage detection and task comparison locally using the standard Python library, without external dependencies or risky code execution.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

ML Engineering Methodology

Machine learning engineering is the bridge between model research and production systems. This methodology covers the engineering disciplines needed to train, evaluate, deploy, and maintain ML models reliably.

The ML Engineer's Domain

You ownYou don't own
Model training — LoRA/QLoRA fine-tuning, full fine-tuning, distributed trainingStatistical modeling and experimental design — that's the data scientist
Model evaluation — benchmark suites, custom eval sets, regression testingCausal inference and hypothesis testing — that's the data scientist
Quantization — GGUF, GPTQ, AWQ, bitsandbytesTraining data collection and labeling — that's the data/ML ops team
Inference serving — vLLM, llama.cpp, TGI, TritonBusiness metrics and KPI definition — that's the product manager
Evaluation harness — lm-eval-harness, custom pipelinesData pipeline architecture — that's the data engineer
Model deployment — containerization, versioning, A/B testingInfrastructure provisioning — that's the platform engineer

Reference Files

ReferenceWhen to load
references/nli-classification.mdNLI premise/hypothesis contracts, binary/ternary heads, score modes and truncation
references/nli-evaluation.mdDomain/language validation, calibration, abstention, cost and adaptation experiments
references/nli-sources.mdPrimary NLI evidence and limitations
references/task-specific-extraction.mdSpan/encoder/generative extraction, offsets, source grounding, critical recall and receipts
references/task-specific-summarization.mdExtractive/abstractive model choice, source/target retention, factuality and downstream compaction
references/text-model-sources.mdPrimary extraction/summarization evidence and uncertainty
references/tabular-representations.mdSelf-supervised tabular encoders, corruption/contrastive objectives, row-context and fair comparisons
references/sequence-sources.mdPrimary-source findings and uncertainty for tabular and sequence representations
references/transaction-sequences.mdOrdered-event representation, windows, label maturity, forward/entity validation and stateful serving
references/specialization-decisions.mdChoosing rules/classifiers/zero-shot/prompt/SFT/RL, designing fixed-budget comparisons and interpreting verifier or case-study claims
references/specialization-evidence.mdPrimary-source findings, contradictory results and local validation limits
references/weight-space-programming.mdDirect tensor inspection/editing hypotheses, feedback budgets, negative results and artifact validation
references/fine-tuning.mdSetting up a LoRA/QLoRA/ full fine-tuning run — data prep, hyperparameters, validation strategy
references/evaluation.mdEvaluating a model — benchmark selection, custom eval sets, regression tracking, comparison methodology
references/evaluation-and-lineage.mdMetric/configuration decisions, repeated stochastic comparisons, end-to-end lineage, temporal feature parity, drift response, and adaptation/serving tradeoffs
references/local-serving-selection.mdWorkload-first engine selection, actual inference overlap, concurrency sweeps beyond ten, task throughput and bounded stop criteria
references/local-serving-sources.mdPrimary serving documentation, version boundaries and limits of benchmark/video claims
references/quantization-inference.mdQuantizing a model and serving it — GGUF/GPTQ/AWQ/bitsandbytes comparison, calibration data strategies, KV cache quantization, vLLM/llama.cpp/TGI/Triton architecture, production considerations
references/training-infrastructure.mdSelecting and provisioning training infrastructure — GPU selection, VRAM budgeting, multi-GPU strategies (DDP/FSDP/DeepSpeed), cloud vs on-prem, storage, monitoring

Templates

TemplateWhen to Use
templates/nli-experiment.md, templates/nli-logits.jsonNLI study worksheet and synthetic saved-logit contract
templates/text-model-record.md, templates/extraction-receipt.json, templates/summary-receipt.jsonTask/lineage worksheet and synthetic extraction/summary contracts
templates/sequence-model-record.mdRepresentation, pretraining exposure, time/window/state and evaluation record
templates/sequence-windows.jsonSynthetic time-aware window audit contract
templates/specialization-study.mdPreregistering task-matched alternatives, data freeze, quality/resource guardrails and stopping rules
templates/task-run-baseline.json, templates/task-run-candidate.jsonSynthetic saved-receipt contract examples; not model results
templates/weight-edit-study.mdPreregistering a targeted weight repair, exact patch lineage, controls and rollback
templates/training-run-record.mdRecording a training or fine-tuning run — model and data versions, full config, environment, eval results — so it can be reproduced
templates/eval-regression-table.mdTracking model quality across runs and triaging a regression — one row per eval case or capability subset
templates/local-serving-study.mdFreezing a serving comparison, memory budget, load sweep, task acceptance and source/measurement evidence
templates/quantization-decision-record.mdRecording a quantization decision — baseline, candidates compared, quality threshold, and rollback path
templates/model-lineage-record.mdLinking data/features, code/configuration, runs, artifacts, evaluations, registry state, and deployed serving versions
templates/drift-response-record.mdRecording drift signals, thresholds, diagnosis, retrain/rollback decisions, and post-action evidence

Scripts

ScriptWhen to Use
scripts/nli_score_contract.pySaved NLI score arithmetic and mapping/shape checks; no model execution or calibration
scripts/audit_text_outcomes.pyExact source-span and summary-receipt consistency checks; no model or semantic judgment
scripts/audit_sequence_windows.pyDeclared window availability, identity, outcome and fold-boundary screen; no model execution
scripts/compare_task_runs.pyDescriptive paired task comparison with matched pins/roster, incomplete-evidence rejection and group bootstrap; no release approval
scripts/check-eval-overlap.pyChecking a training corpus against an eval corpus for test-set leakage (shared n-grams); --json for CI, exit 1 when an eval file exceeds the overlap threshold

Evals

evals/evals.json — output-quality eval manifest for this skill: fine-tuning plan review, eval-set design, quantization decision, deployment plan, regression triage, training-run reproducibility, and workload-first serving comparisons. Serving rubric changes and synthetic challenge examples are in evals/local-serving-challenges.md.

Specialization decision boundary

Start from the required outcome and permitted prediction-time information. Include simpler rules, supervised or zero-shot classifiers where appropriate; classification scores are not automatically calibrated probabilities. A proprietary LLM case study is orientation, not proof of architecture optimality. Compare matched context/policy/budgets, preserve critical regressions and require every registered guardrail before promotion. New helper exit zero is descriptive comparison completion only; model execution and release remain separate evidence.

Route training operations to unsloth, typed decisions to system-one, labels/provenance to training-data-annotation, experimental analysis/calibration to data-scientist, and agent-level evaluation to agent-evals-and-observability.

For tabular foundation-model choice, read references/tabular-foundations.md; for named TabPFN setup/context/inference/fine-tuning, use tabpfn.

Local serving decision boundary

Select a compatible stack against the actual workload; do not infer capacity from single-stream tok/s, nominal model size or an idle agent roster. Distinguish aggregate generation throughput from accepted tasks/hour and measure actual inference overlap. Start with a configurable 1, 2, 4, 8, 10 concurrency ladder and extend beyond ten when useful within registered memory, quality, latency and time limits. Preserve matched context/output/reasoning settings and all errors/retries. Use references/local-serving-selection.md and templates/local-serving-study.md. SGLang is a candidate, not a new tool skill. Keep task/trajectory grading in agent-evals-and-observability; reuse compare_task_runs.py only for its matched single-attempt receipt contract. Finish with measured operating limits or a plan explicitly marked not run.

Core Principles

Measure before you optimize — Never quantize, prune, or distill a model without first measuring its baseline performance. Optimization without measurement is guessing.

Reproducibility is non-negotiable — Every training run needs a reproducible config: seed, data version, hyperparameters, and evaluation methodology. If you can't reproduce it, you can't ship it.

Baseline first — Before running an expensive fine-tuning run, establish a baseline with the base model. If the base model is already good enough, the fine-tuning budget is better spent elsewhere.

Test at the boundary — Model evaluation is most informative at the edges of the capability distribution, not at the center. Hard examples reveal more than easy ones.

The evaluation set is a liability — Every example in your eval set is a potential test-set leak. Use held-out sets, rotate examples, and periodically audit for contamination with the overlap checker.

When not to use

Do not use this skill for statistical modeling, experimental design, or causal inference — that's the data scientist's discipline. Do not use it to operate a specific inference engine: for llama.cpp installation, model loading, benchmarking, and troubleshooting, load the llama-cpp tool skill instead; for vLLM deployment, model configuration, benchmarking, batching tuning, GPU operation, and upgrade/rollback, load the vllm tool skill instead. This skill provides the methodology (eval-set design, quantization trade-offs, deployment plans, regression triage); the tool skills own the runbooks.

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/magnus919/agent-skills/ml-engineering">View ml-engineering on skillZs</a>