本文へ移動
cccskills
無料GitHub で公開

ai-mlops

Runs production ML and LLM systems. Use when deploying, canarying, rolling back, monitoring drift or feature skew, promoting champions, migrating providers, or handling incidents.

インストール方法を見る

含まれるファイル(50)

  • SKILL.md20.9 KB
  • agents/openai.yaml379 B
  • assets/deployment/deployment-readiness-checklist.md7.0 KB
  • assets/deployment/template-api-service.md1.5 KB
  • assets/deployment/template-batch-pipeline.md1.4 KB
  • assets/deployment/template-deployment-mlops.md1.8 KB
  • assets/governance/template-policy-checklist.md835 B
  • assets/governance/template-risk-assessment.md701 B
  • assets/governance/template-security-audit.md1.0 KB
  • assets/incident/template-incident-runbook-safety.md1.1 KB
  • assets/incident/template-jailbreak-investigation.md1.0 KB
  • assets/monitoring/template-drift-retraining.md1.3 KB
  • assets/monitoring/template-monitoring-plan.md1.2 KB
  • assets/ops/template-incident-runbook.md1.6 KB
  • assets/privacy/template-data-anonymization.md784 B
  • assets/privacy/template-pii-handling.md877 B
  • assets/safety/template-guardrail-config.md1.4 KB
  • assets/safety/template-output-filter.md917 B
  • assets/safety/template-safety-prompt.md983 B
  • data/sources.json18.7 KB
  • learnings.consolidated.md584 B
  • learnings.md485 B
  • references/agentops-patterns.md13.3 KB
  • references/api-design-patterns.md3.3 KB
  • references/automated-retraining-patterns.md23.7 KB
  • references/cost-management-finops.md5.4 KB
  • references/data-ingestion-patterns.md13.9 KB
  • references/deployment-lifecycle.md18.4 KB
  • references/deployment-patterns.md5.7 KB
  • references/drift-detection-guide.md9.0 KB
  • references/edge-mlops-patterns.md13.6 KB
  • references/experiment-tracking-patterns.md16.1 KB
  • references/extraction-defense.md16.8 KB
  • references/feature-store-patterns.md28.9 KB
  • references/governance-checklists.md3.1 KB
  • references/incident-response-playbooks.md3.9 KB
  • references/llm-rag-production-patterns.md26.4 KB
  • references/ml-technical-debt-taxonomy.md28.2 KB
  • references/model-provider-migration.md8.3 KB
  • references/model-registry-patterns.md19.9 KB
  • references/monitoring-best-practices.md3.2 KB
  • references/multi-region-patterns.md19.9 KB
  • references/online-evaluation-patterns.md4.2 KB
  • references/privacy-protection.md1.5 KB
  • references/responsible-multimodal-operations.md11.3 KB
  • references/safety-evaluation.md15.7 KB
  • references/threat-models.md3.1 KB
  • scripts/deployment_smoke_test.sh7.5 KB
  • scripts/drift_check.py8.7 KB
  • scripts/test_drift_check.py1.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

MLOps & LLMOps - Production Operations Hub

Operating posture: version every changeable artifact, gate every release with a regression-eval suite in CI, instrument the whole path with OpenTelemetry (pin the GenAI semantic-convention schema version you emit), treat tool/RAG context as untrusted input, and ship rollback plus incident playbooks before launch.

When To Use This Skill

Activate this skill when the user asks for:

  • Deploying an ML, LLM, RAG, or agent-backed system to production
  • Designing serving, batch, hybrid, or multi-region runtime architecture
  • Adding observability, drift detection, alerting, retraining, or release gates
  • Writing incident runbooks, rollback plans, or go/no-go checklists
  • Migrating an LLM system to a new model, model version, provider, or API surface
  • Hardening an AI system against prompt injection, RAG poisoning, tool abuse, or data leakage
  • Building governance artifacts for privacy, auditability, or regulated rollout
  • Choosing how to operate prompts, model artifacts, feature definitions, or agent graphs safely
  • Diagnosing why changes to an ML system keep rippling: entanglement, correction cascades, undeclared consumers, pipeline jungles, or config sprawl
  • Operating fairness, privacy-budget, human-oversight, appeal, watermark/provenance, copyright/memorization, or environmental controls
  • Deploying multimodal image, document, audio, video, vision-language, or diffusion systems with bounded media ingestion, safety, latency, and cost

Scope Boundaries

Keep this skill focused on operating production systems after the architecture exists or while defining production controls for it.

Quick Reference

TaskDefault Tooling / PatternWhen to Use
Data ingestiondlt + contracts + lineageAPIs, CDC, warehouse loading, incremental syncs
Batch scoringAirflow, Dagster, PrefectHigh-volume scoring, backfills, delayed labels
Real-time servingFastAPI, gRPC, KServe, BentoMLLow-latency APIs with explicit SLOs
LLM servingvLLM; SGLang when the model or feature needs itHigh-throughput text generation endpoints; TGI is in maintenance mode, so do not start new deployments on it
Registry / promotionMLflow, W&B, ZenML; promote by alias (champion/challenger), not stageVersioning, approvals, rollbacks, lineage
Feature consistencyFeast / managed feature storesBatch + online parity and point-in-time correctness
ObservabilityOpenTelemetry + Prometheus/GrafanaTraces, metrics, alerts, cost and latency budgets
OTel GenAI conventionsPin the semconv schema version you emitBefore relying on attribute names, check the conventions' stability status and location in the OpenTelemetry semantic-conventions project
Drift / retrainingStatistical monitors + gated CTDetect shifts and trigger controlled retraining
Training job orchestrationRay, Slurm, cloud training queues (SageMaker Jobs, Vertex)Queue/schedule fine-tune + eval jobs; avoid runaway GPU spend
Cost chargeback / showbackResource tagging + cost dashboards per team or per modelAllocate LLM API + GPU + storage costs to business units
Eval-as-CI-gateRegression-eval suite blocking model/prompt deploy in CILLM-as-judge: calibrate against human-labeled gold set (judges drift)
Agent runtime opsTrace spans + tool approvals + audit logsTool-using agents, MCP tools, approval flows
Security / governanceThreat model + policy checklists + runbooksGenAI hardening, privacy, AI Act, incident prep

Default Workflow

  1. Pick the runtime pattern with the decision tree below.
  2. Define release artifacts: model/prompt version, owner, rollback target, eval report, runbook.
  3. Instrument first: traces, request IDs, model/prompt/tool versions, latency/cost budgets.
  4. Add policy gates: security review, privacy controls, AI risk notes, approval path.
  5. Roll out gradually: shadow -> canary -> promoted traffic, with automatic rollback criteria.
  6. Close the loop: alerts, incident runbook, feedback collection, retraining or retirement triggers.

Decision Tree: Choose The Operating Pattern

Need to operate an AI system in production:
    ├─ Primary workload is data movement?
    │   ├─ APIs / SaaS syncs -> dlt ingestion + contracts + freshness alerts
    │   ├─ Database replication -> CDC / incremental sync + lineage + replay plan
    │   └─ Streaming events -> queue/stream path + backpressure + schema control
    │
    ├─ Primary workload is inference?
    │   ├─ Scheduled / offline -> batch scoring pipeline
    │   ├─ Latency-sensitive API -> online service with SLOs, timeouts, rollback target
    │   └─ Mix of both -> hybrid deployment + shared registry + feature parity
    │
    ├─ System includes LLM or RAG?
    │   ├─ Yes -> prompt/config versioning + token/cost budgets + safety gates
    │   └─ RAG -> retrieval ACLs + poisoning defenses + answerability / citation checks
    │
    ├─ System includes tool-using agents?
    │   ├─ Yes -> approval gates + least-privilege tools + trace tool calls
    │   └─ MCP tools -> auth + audit + semantic telemetry for MCP sessions and tools
    │
    └─ Need regulated or multi-region rollout?
        ├─ Yes -> residency, tenant isolation, audit evidence, rollback by region
        └─ No -> single-region rollout with standard incident and rollback controls

Operating Rules

  • OpenTelemetry first: standardize traces and metrics for requests, prompts, models, tools, and MCP interactions, using the OTel GenAI (and, where relevant, MCP) semantic conventions. Pin the exact convention schema version or commit you emit and record it with the telemetry; before shipping, check the conventions' stability status in the OpenTelemetry project, because experimental attribute names change and dashboards keyed on them break silently.
  • Eval-as-CI-gate: every model, prompt, feature, retrieval, or agent-graph change must pass a regression-eval suite before deployment. This skill owns the wiring: where the gate runs in CI, what blocks a deploy, and the rollback path (online-evaluation-patterns.md). Suite design, LLM-judge calibration against human labels, and threshold setting belong to ai-evals.
  • Treat retrieved content and tools as untrusted: RAG context, tool outputs, external APIs, and MCP servers all need containment, validation, and audit logs.
  • Version the full runtime: model artifact, feature definitions, prompt/config, safety policies, tool schemas, and agent graphs.
  • Promote by alias, not stage: point serving at a registry alias (@champion, @challenger) and promote or roll back by moving the alias; never let a lifecycle stage or "latest version" decide what serves. Check your registry's docs for how it names and protects aliases.
  • Serving-engine versions are migration work: engine flags, deprecated execution paths, and semantic differences (log-probabilities, sampling defaults) belong to ai-llm-inference; here, treat an engine upgrade like a model change and put it through the same eval gate and canary.
  • Regulatory timing is a lookup, not a memory: before committing a compliance roadmap, read the regulation's official journal text and the regulator's implementation timeline for the obligations that apply to the system's risk class, and treat "politically agreed" or "adopted" as distinct from "in force". The canonical AI Act statement and its lookup steps live in startup-compliance-enterprise-readiness regulatory-overlays.

Canary Promotion Gate

Define offline blockers, shadow checks, canary cohort, observation window, rollback trigger, and accountable owner before changing production traffic. Promote only when model quality, feature or retrieval skew, latency, error, cost, and safety metrics clear their slice-specific bounds and the rollback path has restored the previous full runtime in rehearsal. A healthy endpoint or registry alias change is deployment evidence, not production-behavior evidence.

Known Traps

  • Shipping a model, prompt, or agent change before instrumentation is in place to tell you what broke.
  • Versioning only the model artifact while prompt config, tool schema, safety policy, or retrieval contract changes out-of-band.
  • Treating safety incidents as ordinary runtime failures with no dedicated escalation path, evidence capture, or owner.
  • Building retraining triggers with no gated promotion step, rollback target, or shadow evaluation.
  • Assuming one global runbook covers ML, RAG, and agent failures equally well when the blast radius and evidence requirements differ.

Scripts

ScriptPurpose
scripts/drift_check.pyPSI and KL on per-bin counts, with sparse-bin pooling, smoothing, and a per-feature no-drift noise floor (PSI noise shrinks as windows grow). Exit 1 on ALERT, 2 on invalid input.
scripts/deployment_smoke_test.shShadow/canary smoke verifier for an OpenAI-compatible endpoint: health, models list, JSON-parsed chat content and finish_reason, latency. Fails closed: every expected check must report.

Navigation

Release & Architecture

  • Data Ingestion Patterns - Use for contracts, CDC, incremental loading, lineage, replay, and schema evolution.
  • Deployment Patterns - Use to choose batch, online, hybrid, or streaming deployment modes.
  • Deployment Lifecycle - Use for promotion, rollout, rollback, and decommissioning workflow.
  • Model & Provider Migration - Use when swapping an LLM model, version, provider, or API surface: contract inventory, API-surface comparison, eval replay, canary, and rollback triggers.
  • Model Registry Patterns - Use for metadata, artifact packaging, and promotion governance.
  • Feature Store Patterns - Use for batch/online parity, latency budgets, and point-in-time correctness.
  • Multi-Region Patterns - Use for residency, failover, disaster recovery, and regional rollback.
  • ML Technical Debt Taxonomy - Use to diagnose boundary erosion/CACHE, correction cascades, undeclared consumers, data/config/pipeline debt, and feedback loops, each with a detection signal and mitigation.

Observability, Evals & Cost

  • Monitoring Best Practices - Use for SLOs, alert routing, dashboards, and production metric coverage. Includes OTel GenAI maturity caveat.
  • Drift Detection Guide - Use for feature, label, concept, and embedding drift response.
  • Automated Retraining Patterns - Use for trigger selection, validation gates, safe retraining rollout, and training job queue/scheduler guidance.
  • Online Evaluation Wiring - Use for eval-gate placement in CI/CD, rollout and rollback wiring, and feedback logging; experiment and judge design link out to ai-evals.
  • Experiment Tracking Patterns - Use for run naming, artifact retention, registry handoff, and auditability.
  • ML Cost Levers - Use for ML-specific cost levers (tagging, spot checkpoint interval, retraining cadence, tuning budgets, GPU utilization); commitments, budgets, and chargeback live in ops-cost-optimization.
  • Incident Response Playbooks - Use for first-response steps, triage flow, and postmortem coverage.
  • AgentOps Patterns - Use for agent traces, replay, tool-call telemetry, and runtime debugging.

Security & Governance

API & Runtime Interfaces

Templates

Ingestion & Deployment

Monitoring & Incidents

Safety, Privacy & Governance

Recency Protocol For Recommendations

When the user asks for the best, latest, current, or still relevant MLOps/LLMOps tooling:

  1. Start from data/sources.json.
  2. Verify current state using official docs and recent maintenance/release signals.
  3. Confirm volatile facts such as release cadence, hosted-vs-self-hosted posture, pricing model, and managed-service availability.
  4. Separate stable guidance from time-sensitive recommendations in the answer.

Minimum things to verify for tooling comparisons:

  • Latest active documentation or release signal
  • Current maintenance / ecosystem momentum
  • Managed vs self-hosted deployment posture
  • Telemetry, eval, and governance support
  • Lock-in or data residency constraints

External Sources

See data/sources.json for curated references, including:

  • EU AI Act and NIST governance baselines
  • OpenTelemetry GenAI and MCP semantic conventions
  • MCP authorization guidance
  • OWASP GenAI and agentic AI security references
  • Vendor docs for registries, feature stores, orchestration, serving, and observability

For responsible and multimodal operations, start with references/responsible-multimodal-operations.md: release evidence, privacy/fairness controls, poisoning response, oversight and appeals, provenance, environmental accounting, media ingestion, multimodal safety, capacity, and incidents.

Related Skills

  • ai-ml-data-science - Build and validate the model or feature pipeline.
  • ai-llm - Adapt a model (SFT, PEFT, distillation).
  • ai-post-training - Preference optimization and RL on a reward signal.
  • ai-prompt-engineering / ai-evals - Prompt strategy and eval design.
  • ai-rag - Design retrieval and search quality systems.
  • ai-llm-inference - Optimize low-level serving performance.
  • ai-agents - Design agent control flow, MCP servers, handoffs, and memory.
  • data-lake-platform - Broader lakehouse, Kafka, and warehouse infrastructure.
  • qa-observability - Cross-system observability implementation depth.
  • ops-devops-platform - Platform operations and infra rollout depth.
  • ops-cost-optimization - Commitments, budgets, anomaly alerts, chargeback/showback, and API cost control.
  • huggingface-trackio (external huggingface-skills: plugin) - Hugging Face experiment tracking with Trackio.

Learnings Loop

When prior decisions or pitfalls are relevant, consult learnings.consolidated.md if present; use learnings.md only for needed history or as the available fallback. Otherwise skip both.

After applying it, if you encountered a pattern worth remembering, a mistake worth preventing, or a domain fact that surprised you, append one dated bullet to learnings.md via agents-skills-feedback-loop/scripts/append_learning.py. Do not modify SKILL.md itself.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Configures Claude Code hooks and Codex hooks.json/notify. Use when adding PreToolUse guards, Stop hooks, managed hooks, format-on-save, preflight, audits, or worktree/budget hooks.

日本語の概要は準備中です。原文の説明を表示しています。

vasilyu1983/AI-Agents-public932026年10月12日 更新

Configures and hardens Claude Code and Codex MCP servers. Use when connecting databases, APIs, SaaS, building servers, or serving a clearance-filtered knowledge base.

日本語の概要は準備中です。原文の説明を表示しています。

vasilyu1983/AI-Agents-public932026年10月12日 更新

Owns instruction files: AGENTS.md, CLAUDE.md, personal and repo rules. Use when writing, pruning, auditing them, sharing rules across Claude and Codex, or fixing ignored rules.

日本語の概要は準備中です。原文の説明を表示しています。

vasilyu1983/AI-Agents-public932026年10月12日 更新

Creates and audits agent skills: SKILL.md, references, scripts, runtime metadata. Use when writing, validating, or security-reviewing a skill, or fixing truncated skill listings.

日本語の概要は準備中です。原文の説明を表示しています。

vasilyu1983/AI-Agents-public932026年10月12日 更新

Adds per-skill learnings loops for dated patterns, mistakes, and domain facts. Use when wiring skill memory, consolidation, or drift audits.

日本語の概要は準備中です。原文の説明を表示しています。

vasilyu1983/AI-Agents-public932026年10月12日 更新

Chooses subagent, team, workflow, or debate and launches it on Claude Code or Codex. Use when delegating, running agent review boards, or installing shared agents.

日本語の概要は準備中です。原文の説明を表示しています。

vasilyu1983/AI-Agents-public932026年10月12日 更新

vasilyu1983 のスキルをすべて見る

このスキルの問題を報告する