Ai Mlops 标志

Ai Mlops

社区
vasilyu1983
ai-mlops

运维机器学习、LLM、负责任 AI 和多模态系统。适用于部署、监控、治理系统,或响应生产环境中的 AI 故障。

Add to TypingMind

概览

发布者vasilyu1983
代码仓库AI-Agents-public
技能名称ai-mlops
星标数
87
复刻数
19
附带文件
53
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 53 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 vasilyu1983 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Ai Mlops AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/vasilyu1983/AI-Agents-public/tree/main/frameworks/shared-skills/skills/ai-mlops
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vasilyu1983/AI-Agents-public.git /tmp/AI-Agents-public
mkdir -p .claude/skills
cp -r /tmp/AI-Agents-public/frameworks/shared-skills/skills/ai-mlops .claude/skills/ai-mlops
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Ai Mlops,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Ai Mlops。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Ai Mlops 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

MLOps & LLMOps - Production Operations Hub

July 2026 posture: version every changeable artifact, gate every release with a regression-eval suite in CI, instrument the whole path with OpenTelemetry (pin GenAI convention version — the spec now lives in its own repo and is still evolving), treat tool/RAG context as untrusted input, and ship rollback plus incident playbooks before launch.

This skill is the execution hub for operating AI systems in production:

  • Classical ML ops: ingestion, registries, feature stores, drift, retraining, promotion
  • LLMOps: serving, prompt/config lifecycle, online evals, cost controls, safety gates
  • Agent runtime ops: tracing, tool governance, approval paths, MCP-aware telemetry, rollback
  • Governance: privacy, supply chain, auditability, AI Act readiness, safety incident handling

Use this skill for production architecture, release gates, monitoring, incidents, and governance. Use adjacent skills for modelling, retrieval depth, agent design, or inference internals.

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
  • 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

  • EDA, feature engineering, training, SQL transformation -> ai-ml-data-science
  • Prompt strategy, tuning, eval design, fine-tuning ROI -> ai-llm
  • Retrieval architecture, chunking, reranking, search quality -> ai-rag
  • Latency, batching, quantization, GPU serving internals -> ai-llm-inference
  • Deep agent architecture, MCP server design, handoffs, memory -> ai-agents

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

ASCII Flow

text
AI system ready for operation
  |
  v
release artifact
  model/prompt/retrieval/tool versions + owner + eval report + rollback target
  |
  v
production controls
  CI/CD + registry + telemetry + policy gates + security review
  |
  v
rollout
  shadow -> canary -> gradual promotion -> rollback on SLO/eval breach
  |
  v
operate
  monitor drift/cost/latency/safety + incident response + retrain/retire loop

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, TGI, BentoMLHigh-throughput text generation endpoints
Registry / promotionMLflow 3 (alias-based: champion/challenger), W&B, ZenMLVersioning, 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 version — spec moved to its own repo, still evolving as of July 2026Expect churn; verify at github.com/open-telemetry/semantic-conventions-genai (opentelemetry.io/docs/specs/semconv/gen-ai/ is now a stub redirect)
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

text
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
    │   ├─ <500 ms 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

May 2026 Operating Rules

  • OpenTelemetry first: standardize traces and metrics for requests, prompts, models, tools, and MCP interactions. Prefer OTel GenAI semantic conventions and, where relevant, MCP semantic conventions. Caveat: as of mid-2026, gen_ai.* attributes, metrics, events, and spans (including MCP-specific conventions) moved out of the core open-telemetry/semantic-conventions repo into a dedicated open-telemetry/semantic-conventions-genai repo, which as of July 2026 has no tagged releases and no published docs site — treat it as pre-release and pin an exact commit/schema version, not a package tag. The old opentelemetry.io/docs/specs/semconv/gen-ai/ page is now only a "moved" stub. Verify current convention state at https://github.com/open-telemetry/semantic-conventions-genai before shipping.
  • Eval-as-CI-gate (canonical pattern): every model, prompt, feature, retrieval, or agent-graph change must pass a regression-eval suite before deployment. Gate CI on this suite. When using LLM-as-judge scoring, calibrate the judge against a human-labeled gold set — judge scores drift as model versions change and must be periodically re-calibrated. This skill is the canonical owner of this pattern; cross-links from other skills are fine.
  • 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.
  • MLflow 3 alias-based registry: prefer model aliases (e.g., @champion, @challenger) over lifecycle stages for promotion governance. Stages are soft-deprecated in MLflow 3 in favor of aliases. Verify current MLflow docs at https://mlflow.org/docs/latest/ before advising.
  • vLLM V1 engine only: V1 has been the default since v0.8.0 and, per the project's deprecation plan, V0 code was slated for removal starting v0.10 — by mid-2026 V0 is gone, not just deprecated. If a codebase still references V0 flags (VLLM_USE_V1=0, legacy LLMEngine args), treat it as unmaintained and migrate. Reference: https://docs.vllm.ai/en/stable/usage/v1_guide/
  • Document regulatory timing explicitly: as of March 13, 2026, general AI Act obligations apply from August 2, 2026, while general-purpose AI model obligations already started on August 2, 2025. Verify exact applicability for the user’s system before final advice.
  • EU AI Act deadline extension — formally adopted: negotiators reached political agreement on May 7, 2026 to extend high-risk compliance deadlines; the European Parliament formally endorsed the package on June 16, 2026 and the Council gave final green light on June 29, 2026, per a legal briefing updated June 30, 2026. It takes legal effect three days after Official Journal publication (pending at time of writing). High-risk systems under Annex III (biometrics, critical infrastructure, employment, credit, public sector functions) that are new or substantially modified get a 16-month extension to December 2, 2027; AI safety components in regulated products (Annex I) get a 12-month extension to August 2, 2028. General transparency obligations for interactive AI and the general-purpose-AI-model rules are unaffected and still apply from August 2, 2026 / August 2, 2025 respectively. Always verify current Official Journal publication status at https://artificialintelligenceact.eu/implementation-timeline/ before committing any compliance roadmap — treat "adopted by Parliament and Council" as distinct from "in force," since the latter depends on publication date. Source: DLA Piper GENIE briefing, updated June 30, 2026 (https://knowledge.dlapiper.com/dlapiperknowledge/globalemploymentlatestdevelopments/2026/The-Digital-AI-Omnibus-Proposed-deferral-of-high-risk-AI-obligations-under-the-AI-Act).

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.

Common Anti-Patterns

  • Folding LLMOps or AgentOps into generic DevOps dashboards and losing the model, prompt, tool, or retrieval dimensions needed for triage.
  • Running canaries without explicit acceptance criteria for cost, latency, quality, and safety.
  • Treating untrusted retrieved content or tool output as trusted internal state once it crosses one service boundary.
  • Waiting to define governance evidence until a regulated customer or auditor asks for it.

Scripts

ScriptPurpose
scripts/drift_check.pyCompute PSI and KL divergence between baseline and current distributions from JSON inputs. Threshold-based exit code for CI integration.
scripts/deployment_smoke_test.shShadow/canary deployment smoke verifier — health check, models-list, inference latency, and finish_reason assertions against an OpenAI-compatible endpoint.

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 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

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 - Choose prompting, tuning, or evaluation strategy.
  • 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.
  • huggingface-trackio (external huggingface-skills: plugin) - Hugging Face experiment tracking with Trackio.

Fact-Checking

  • Known bugs, regressions, framework/compiler/runtime footguns, and version-specific crash or workaround guidance must be verified against current primary web sources before being treated as current fact.
  • Verify volatile facts, versions, pricing, regulations, and product recommendations with live web sources before final answers.
  • Prefer primary sources and include links when the answer depends on current state.
  • If web access is unavailable, say so and mark vendor or regulatory guidance as unverified.

Learnings Loop

Before applying this skill on a non-trivial task, read learnings.consolidated.md in this directory (and learnings.md if present).

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.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Ai Mlops AI 技能有什么作用?

运维机器学习、LLM、负责任 AI 和多模态系统。适用于部署、监控、治理系统,或响应生产环境中的 AI 故障。

为什么在 TypingMind 中使用 Ai Mlops?

因为您只需安装一次,就能搭配任何模型使用。Ai Mlops 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Ai Mlops?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/vasilyu1983/AI-Agents-public/tree/main/frameworks/shared-skills/skills/ai-mlops。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Ai Mlops?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Ai Mlops 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Ai Mlops 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Ai Mlops AI 技能免费吗?

是的。vasilyu1983 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇