Python Sdk

🌐Community
by comet-ml · vlatest · Repository

Helps with machine learning, Python as part of developing backend services and APIs workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add comet-ml-python-sdk npx -- -y @trustedskills/comet-ml-python-sdk
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "comet-ml-python-sdk": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/comet-ml-python-sdk"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The comet-ml-python-sdk skill provides programmatic access to Comet.ml's experiment tracking and model management platform through the Python SDK. It allows agents to log parameters, metrics, artifacts (like models), and other data associated with machine learning experiments. This facilitates reproducibility, collaboration, and analysis of ML workflows.

When to use it

  • Automated Experiment Tracking: Integrate Comet.ml into an automated training pipeline to automatically track experiment results without manual intervention.
  • Model Versioning & Management: Log model versions and associated metadata for easy retrieval and deployment.
  • Debugging & Analysis: Analyze past experiments by accessing logged parameters, metrics, and artifacts to identify areas for improvement.
  • Reproducibility: Ensure that machine learning experiments are fully reproducible by capturing all relevant information in Comet.ml.

Key capabilities

  • Experiment tracking
  • Parameter logging
  • Metric logging
  • Artifact (model) logging
  • Model versioning

Example prompts

  • "Log the current training epoch and loss value to Comet.ml."
  • "Upload the trained model my_model.pth as an artifact to the experiment in Comet.ml."
  • "Record the learning rate and batch size used for this training run with Comet.ml."

Tips & gotchas

The agent needs access to a valid Comet.ml API key to use this skill effectively. Ensure the environment is properly configured with the comet_ml Python package installed before attempting to utilize its features.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
comet-ml
Installs
10

🌐 Community

Passed automated security scans.