Skip to content

code-yeongyu/oh-my-openagent / packages/shared-skills/skills/data-scientist

data-scientist

Flagged

Processes and analyzes data with resident-kernel engines (DuckDB, Polars) and one-shot tools. Use for CSV/parquet/JSON analysis, group-by/join/aggregation, time series, distributions, cleaning, or plotting a dataset.

FileKindSize
SKILL.mdskill md5.9 KB
references/execution-surfaces.mdmarkdown4.0 KB
references/placement.mdmarkdown3.7 KB
references/polars-lane.mdmarkdown3.5 KB
references/uv-setup.mdmarkdown2.8 KB
references/visualization.mdmarkdown4.0 KB
scripts/ensure-js-deps.shexecutablescript983 B
scripts/ensure-py-deps.shexecutablescript1.3 KB
scripts/quick-query.pyscript3.3 KB
scripts/setup-uv.ps1script2.3 KB
scripts/setup-uv.shscript1.8 KB

scripts/setup-uv.sh

View on GitHub
#!/usr/bin/env bash
set -euo pipefail

log() { printf '[setup-uv] %s\n' "$*"; }

os="$(uname -s 2>/dev/null || echo unknown)"
arch="$(uname -m 2>/dev/null || echo unknown)"
log "detected os=${os} arch=${arch}"

case "$os" in
  Darwin|Linux) ;;
  MINGW*|MSYS*|CYGWIN*)
    log "Git Bash / MSYS environment detected - installing the Windows build is not supported here."
    log "Use the Linux installer inside WSL, or run scripts/setup-uv.ps1 in PowerShell instead."
    exit 1
    ;;
  *)
    log "unsupported OS: ${os} - see references/uv-setup.md for manual steps."
    exit 1
    ;;
esac

if command -v uv >/dev/null 2>&1; then
  current="$(uv --version 2>/dev/null | head -n1)"
  log "uv already installed (${current}) - upgrading"
  if uv self update >/dev/null 2>&1; then
    log "uv self update succeeded"
  else
    log "uv self update unavailable (package-manager install) - trying Homebrew"
    if command -v brew >/dev/null 2>&1; then
      brew upgrade uv >/dev/null 2>&1 || brew install uv
    else
      log "no Homebrew; keeping current uv (already functional)"
    fi
  fi
else
  log "uv not found - installing latest via the official installer"
  if command -v curl >/dev/null 2>&1; then
    curl -LsSf https://astral.sh/uv/install.sh | sh
  elif command -v wget >/dev/null 2>&1; then
    wget -qO- https://astral.sh/uv/install.sh | sh
  elif command -v brew >/dev/null 2>&1; then
    log "no curl/wget - installing via Homebrew"
    brew install uv
  else
    log "neither curl, wget, nor brew available - install one of them and re-run."
    exit 1
  fi
fi

if ! command -v uv >/dev/null 2>&1; then
  export PATH="$HOME/.local/bin:$PATH"
fi

if ! command -v uv >/dev/null 2>&1; then
  log "FAIL: uv still not on PATH after install - add \$HOME/.local/bin to PATH and retry."
  exit 1
fi

log "OK: $(uv --version)"
deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
Agent Cost Reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
Agent Cost Reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall