npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

gsd-ml

v0.1.2

Published

Claude Code native autonomous ML research tool. Distributed as an npm package following GSD patterns.

Readme

gsd-ml

Claude Code native autonomous ML research tool.

npm version License: MIT

What is this?

gsd-ml turns Claude Code into an autonomous ML researcher. Claude Code edits train.py, runs experiments via Bash, parses metrics, and makes keep/revert decisions through git — no subprocesses, no double-billing. Ships as an npm package (skills and workflows into ~/.claude/) plus a Python utilities package (gsd_ml) for data profiling, checkpointing, and diagnostics.

Install

# 1. Install skills + workflows
npm install -g gsd-ml
gsd-ml                    # copies skills/workflows to ~/.claude/

# 2. Install Python utilities
pip install gsd-ml        # from PyPI
# or from repo:
pip install ./python

Optional extras for deep learning and fine-tuning:

pip install "gsd-ml[dl]"   # torch, timm, transformers
pip install "gsd-ml[ft]"   # torch, peft, trl, transformers

Quick Start

In Claude Code, run:

/gsd:ml data.csv target_column

This profiles your dataset, scaffolds a .ml/ experiment directory, runs iterative training with automatic keep/revert decisions, and exports the best model.

For other domains:

/gsd:ml images/ --domain dl --task image_classification
/gsd:ml data.csv target --domain dl --task text_classification
/gsd:ml data.jsonl --domain ft --model-name meta-llama/Llama-3-8B

Domains

| Domain | Command | Models | |--------|---------|--------| | Tabular | /gsd:ml data.csv target | sklearn, XGBoost, LightGBM | | DL Image | /gsd:ml images/ --domain dl --task image_classification | timm (ResNet, EfficientNet, ...) | | DL Text | /gsd:ml data.csv target --domain dl --task text_classification | transformers | | Fine-Tuning | /gsd:ml data.jsonl --domain ft --model-name meta-llama/... | peft, trl (LoRA/QLoRA) |

DL and FT domains check for GPU availability at startup. CPU-only machines still work but run slowly.

Skills

| Skill | Purpose | |-------|---------| | /gsd:ml | Run a full ML experiment | | /gsd:ml-status | Show experiment history and metrics | | /gsd:ml-resume | Resume an interrupted experiment | | /gsd:ml-clean | Remove experiment artifacts (.ml/ directory) | | /gsd:ml-diagnose | Run diagnostics on current model performance |

How It Works

Skill (/gsd:ml) -> Workflow (ml-run.md) -> Claude Code executes with native tools
  1. Skills (~/.claude/commands/gsd-ml/) are Claude Code slash commands with YAML frontmatter
  2. Workflows (~/.claude/gsd-ml/workflows/) are step-by-step markdown instructions that Claude Code follows
  3. Templates (~/.claude/gsd-ml/templates/) provide starter train.py files for each domain (tabular, DL image, DL text, fine-tuning)
  4. References (~/.claude/gsd-ml/references/) are lookup tables (e.g., metric-map.md maps metrics to sklearn scoring strings)
  5. Claude Code reads/writes files, runs training via Bash, parses metrics, and manages experiment state through git

Experiment state lives in .ml/:

  • config.json -- experiment configuration (domain, target, metric, guardrails)
  • checkpoint.json -- current progress (iteration, best score, keeps/reverts)
  • results.jsonl -- metric history across iterations
  • experiments.md -- human-readable journal of each iteration

From mlforge

gsd-ml replaces mlforge's subprocess-spawning CLI with native Claude Code execution.

Migration:

  • Replace from mlforge with from gsd_ml
  • Replace mlforge CLI commands with /gsd:ml slash commands
  • .ml/ directory structure is unchanged
  • All Python utilities carry over with identical APIs

Requirements