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.ps1

View on GitHub
[CmdletBinding()]
param()
Set-StrictMode -Version Latest
$ErrorActionPreference = 'Stop'

function Write-Step([string]$Message) { Write-Host "[setup-uv] $Message" }

Write-Step "detected os=$([System.Runtime.InteropServices.RuntimeInformation]::OSDescription) arch=$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)"

$uv = Get-Command uv -ErrorAction SilentlyContinue
if ($null -ne $uv) {
    $current = (& uv --version) | Select-Object -First 1
    Write-Step "uv already installed ($current) - upgrading"
    & uv self update 2>$null
    if ($LASTEXITCODE -ne 0) {
        Write-Step "uv self update unavailable (package-manager install) - trying winget"
        if (Get-Command winget -ErrorAction SilentlyContinue) {
            & winget upgrade --id=astral-sh.uv -e --accept-source-agreements --accept-package-agreements 2>$null
            if ($LASTEXITCODE -ne 0) { & winget install --id=astral-sh.uv -e --accept-source-agreements --accept-package-agreements }
        } else {
            Write-Step "no winget; keeping current uv (already functional)"
        }
    }
} else {
    Write-Step "uv not found - installing latest via the official installer"
    $installed = $false
    try {
        powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
        $installed = $true
    } catch {
        Write-Step "official installer failed ($($_.Exception.Message)) - trying winget"
        if (Get-Command winget -ErrorAction SilentlyContinue) {
            & winget install --id=astral-sh.uv -e --accept-source-agreements --accept-package-agreements
            $installed = ($LASTEXITCODE -eq 0)
        }
    }
    if (-not $installed -and $null -eq (Get-Command uv -ErrorAction SilentlyContinue)) {
        Write-Step "FAIL: could not install uv - install it manually per references/uv-setup.md"
        exit 1
    }
}

if ($null -eq (Get-Command uv -ErrorAction SilentlyContinue)) {
    $localBin = Join-Path $env:USERPROFILE '.local\bin'
    if (Test-Path (Join-Path $localBin 'uv.exe')) { $env:Path = "$localBin;$env:Path" }
}

if ($null -eq (Get-Command uv -ErrorAction SilentlyContinue)) {
    Write-Step "FAIL: uv still not on PATH after install - add %USERPROFILE%\.local\bin to PATH and retry"
    exit 1
}

Write-Step "OK: $((& uv --version) | Select-Object -First 1)"
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