Skip to content
Back to skills

Genai Observability

ASecurity

"Use for MLflow GenAI observability work: tracing, trace

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
devopspythonbash

Works with

  • cli
  • mcp

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill genai-observability --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Genai Observability?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Genai Observability
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-genai-observability/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-genai-observability)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: genai-observability
description: "Use for MLflow GenAI observability work: tracing, trace
  search/export, OpenTelemetry, prompts, GenAI datasets/evaluation,
  scorers/judges, review queues, assessments, and provider autologging. Routes
  classic experiment/run logging to tracking-and-registry, model flavor
  packaging to models-and-flavors, and deployment/server/MCP commands to
  serving-and-projects."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# GenAI Observability

Use this sub-skill when the task involves MLflow traces, GenAI evaluation, prompts, datasets, feedback, expectations, labeling/review, or provider tracing integrations.

## Route First

- For local app instrumentation, use `@mlflow.trace`, `mlflow.start_span`, `mlflow.get_trace`, `mlflow.search_traces`, and `mlflow.MlflowClient` trace methods; see `references/tracing.md`.
- For evaluation, use `mlflow.genai.evaluate`, `@mlflow.genai.scorers.scorer`, built-in scorers, `mlflow.genai.make_judge`, and trace/dataset-backed evaluation; see `references/genai-evaluation.md`.
- For prompt and dataset lifecycle, use `mlflow.genai.register_prompt`, `load_prompt`, aliases/tags/model config, and `create_dataset`/`search_datasets`; see `references/prompts-and-datasets.md`.
- For OpenAI, Anthropic, Bedrock, Gemini, LangChain, LlamaIndex, and DSPy tracing, prefer provider autologging only when package extras and credentials are installed; keep offline tests on manual tracing.
- For review queues, labeling sessions, feedback, expectations, and assessments, distinguish local tracking-store support from Databricks-only review app features.
- For deployment, auth, AI Gateway, MCP, agent server, and serving commands, route to `serving-and-projects`; for classic run metrics/artifacts/model registry, route to `tracking-and-registry`.

## Safe Workflow

1. Set a tracking URI/experiment deliberately before generating traces or prompts.
2. Instrument deterministic code with manual tracing first; add provider autologging only after extras, credentials, and network access are confirmed.
3. Retrieve traces with `mlflow.get_last_active_trace_id()`, `mlflow.get_trace(..., flush=True)`, or `mlflow.search_traces(...)` before wiring evaluation.
4. Use datasets/prompts as versioned inputs to evaluation; pin prompt aliases or versions explicitly.
5. Add feedback/expectations or custom scorers to make evaluation outcomes inspectable and reproducible.
6. For async/provider traces, flush async logging or wait for export before assertions.

## Bundled Probe

Run the local smoke probe when validating basic tracing without credentials:

```bash
python skills/mlflow/sub-skills/genai-observability/scripts/tracing_smoke.py
```

The script uses a temporary local tracking store, creates nested spans, searches the resulting trace, and emits JSON with the trace id and span count.

Files in this skill

  • SKILL.md2.8 KB
  • references/genai-evaluation.md3.4 KB
  • references/prompts-and-datasets.md2.6 KB
  • references/tracing.md4.5 KB
  • references/troubleshooting.md3.1 KB
  • scripts/tracing_smoke.py3.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.