Borrowing it
Nothing to install: this file belongs to alessandro9110/Speech-To-Text-With-Databricks. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/alessandro9110/Speech-To-Text-With-Databricks/main/.claude/skills/analyze-mlflow-chat-session/SKILL.mdgit clone --depth 1 https://github.com/alessandro9110/Speech-To-Text-With-DatabricksWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/alessandro9110/speech-to-text-with-databricks/analyze-mlflow-chat-session)<a href="https://agentmods.dev/skills/alessandro9110/speech-to-text-with-databricks/analyze-mlflow-chat-session"><img src="https://agentmods.dev/badge/skills/alessandro9110/speech-to-text-with-databricks/analyze-mlflow-chat-session/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/alessandro9110/speech-to-text-with-databricks/analyze-mlflow-chat-session"><img src="https://agentmods.dev/badge/skills/alessandro9110/speech-to-text-with-databricks/analyze-mlflow-chat-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00107 | $0.02745 |
| Opus 5.5 | $0.00043 | $0.01098 |
| Sonnet 5.5 | $0.00021 | $0.00549 |
| Haiku 4.5 | $0.00011 | $0.00275 |
Grade A, and why
analyzing-mlflow-session scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
100% identical to analyzing-mlflow-session — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 181 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Analyzing an MLflow Chat Session
What is a Session?
A session groups multiple traces that belong to the same chat conversation or user interaction. Each trace in the session represents one turn: the user's input and the system's response. Traces within a session are linked by a shared session ID stored in trace metadata.
The session ID is stored in trace metadata under the key mlflow.trace.session. This key contains dots, which affects filter syntax (see below). All traces sharing the same value for this key belong to the same session.
Reconstructing the Conversation
Reconstructing a session's conversation is a multi-step process: discover the input/output schema from the first trace, extract those fields efficiently across all session traces, then inspect specific turns as needed. Do NOT fetch full traces for every turn — use --extract-fields on the search command instead.
Step 1: Discover the schema. First, find a trace ID from the session, then fetch its full JSON to inspect the schema:
# Get the first trace in the session
mlflow traces search \
--experiment-id <EXPERIMENT_ID> \
--filter-string 'metadata.`mlflow.trace.session` = "<SESSION_ID>"' \
--order-by "timestamp_ms ASC" \
--extract-fields 'info.trace_id' \
--output json \
--max-results 1 > /tmp/first_trace.json
# Fetch the full trace (always outputs JSON, no --output flag needed)
mlflow traces get \
--trace-id <TRACE_ID_FROM_ABOVE> > /tmp/trace_detail.json
Find the root span — the span with parent_span_id equal to null (i.e., it has no parent). This is the top-level operation in the trace:
# Find the root span
jq '.data.spans[] | select(.parent_span_id == null)' /tmp/trace_detail.json
Examine its attributes dict to identify which keys hold the user input and system output. These could be:
- MLflow standard attributes:
mlflow.spanInputsandmlflow.spanOutputs(set by the MLflow Python client) - Custom attributes: Application-specific keys set via
@mlflow.traceormlflow.start_span()with custom attribute logging - Third-party OTel attributes: Keys following GenAI Semantic Conventions, OpenInference, or other instrumentation conventions
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 181 lines · 107 tokens per session scan A 1d49369ebfe6
analyzing-mlflow-session is a skill published in the GitHub repository alessandro9110/Speech-To-Text-With-Databricks (4 stars, last pushed 8mo ago), licensed MIT. It adds 107 tokens to every session and 2,745 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to analyzing-mlflow-session, differing in 0 lines, and is treated as a copy.
analyzing-mlflow-session compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| analyzing-mlflow-sessionalessandro9110/Speech-To-Text-With-Databricks | Skill | 4 | 8mo ago | MIT | A | 107 | Claude Code |
| databricks-expertpersonamanagmentlayer/pcl | Skill | 44 | 11d ago | Apache-2.0 | A | 74 | Claude Code |
| redosPurpleAILAB/Decepticon | Skill | 6.5k | 8d ago | Apache-2.0 | A | 117 | Claude Code |
| potpie-clipotpie-ai/potpie | Skill | 5.8k | 7d ago | Apache-2.0 | A | 60 | Codex |
| pattern-exhaustionPurpleAILAB/Decepticon | Skill | 6.5k | 8d ago | Apache-2.0 | A | 33 | Claude Code, Codex |
| potpie-debug-memorypotpie-ai/potpie | Skill | 5.8k | 7d ago | Apache-2.0 | A | 41 | Claude Code, Codex |
| scanner-overviewPurpleAILAB/Decepticon | Skill | 6.5k | 8d ago | Apache-2.0 | A | 40 | Claude Code, Codex |