Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

huggingface-trackio

Skill by gradio-app

Log, visualize and query ML training metrics and agent traces with Trackio. Useful for ML engineers and LLM agents that run training experiments and need alerts and retrievable results.

  • Score 85
  • 1.8k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install huggingface-trackio

Built from the published package, never by AI.

git clone --depth 1 https://github.com/gradio-app/trackio /tmp/trackio && mkdir -p ~/.claude/skills && cp -r /tmp/trackio/.agents/skills/trackio ~/.claude/skills/hugging-face-trackio

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install huggingface-trackio in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an AI assistant through Trackio, an experiment tracking library for logging and visualizing ML training metrics. Trackio can be used locally or optionally sync to Hugging Face Spaces for real-time monitoring dashboards. The assistant can log metrics with trackio.init(), trackio.log() and trackio.finish(), fire alerts with trackio.alert(), and retrieve metrics, alerts and agent traces through the trackio CLI with JSON output.

Alerts are described as the main mechanism for autonomous experiment iteration. An agent can insert alerts for conditions such as loss spikes, NaN gradients, low accuracy or training stalls, then poll for them with the CLI. Trace analysis covers latency, cost, token usage and tool failures for agent sessions. The skill is aimed at ML practitioners and LLM agents that run training experiments and need to track and analyze results.

Written from the project's SKILL.md and checked against it.

What it can do

  • Logging metricsInitialize tracking and log training metrics from Python scripts with trackio.init() and trackio.log().
  • Firing alertsInsert trackio.alert() calls with INFO, WARN or ERROR levels to flag training diagnostics.
  • Retrieving metrics and alertsUse trackio list, get and query commands to read metrics and alerts, with --json output.
  • Analyzing agent tracesInspect agent sessions for per-operation latency, errors, tokens and cost using trace commands.
  • Remote Space queriesAdd --space to list, get and query commands to read data from a remote Hugging Face Space.
  • Direct SQL queriesRun read-only SQL against logged data with trackio query project.
  • Logbook runsRun training scripts through trackio logbook run to record commands, exit codes, duration and output.
  • Dashboard view stateRead what an embedded dashboard shows, such as selected runs and zoomed x-range, to scope queries.

What you need

  • Trackio installed, providing the Python API and the trackio CLI
  • Hugging Face account and token for syncing to Spaces or querying private Spaces

Try asking

  • Log loss and accuracy from my training script to a Trackio project
  • Add a Trackio alert if loss exceeds 5.0 after 100 steps
  • List all alerts for my-project from the last hour as JSON

Good to know

  • Auto-created Spaces are public by default unless private=True is passed.
  • For background or detached runs, alerts must be polled through the CLI rather than watched in terminal output.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/trackio/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB
  • alerts.md6 KB
  • logbook.md17 KB
  • logging_metrics.md6 KB
  • retrieving_metrics.md13 KB
Show all 7 files
  • storage_schema.md5 KB
  • traces.md9 KB

Alternatives to huggingface-trackio

All alternatives →
kaggle-cliKaggle
94

Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.

AAA Skill 25k
data-loadingmicrosoft
94

Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.

AAA Skill 18k
data-manager-api-setupgoogle
94

Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.

AAA Skill 25k
data-feedsdavila7
94

Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

huggingface-trackio: common questions

Are Trackio metrics public?

Auto-created Hugging Face Spaces are public by default. Pass private=True in trackio.init() if the metrics should not be public.

Can metrics survive after a remote training instance ends?

Yes. Passing space_id for remote or cloud training syncs metrics to a Space dashboard, so they persist after the instance terminates.

How does an agent see training alerts?

Alerts are printed to the terminal, so an agent watching the script output sees them. For background runs the agent can poll with trackio list alerts --json.

How do I install huggingface-trackio?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is huggingface-trackio free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is huggingface-trackio safe to use?

It scores 85 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to huggingface-trackio?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

huggingface-trackio Install

Add to stack

Loading.