Skip to content

1181652815-hub/clean-windows-c-drive-skill / skills/clean-windows-c-drive

clean-windows-c-drive

Verified

Provide a standalone Simplified Chinese Windows app and CLI workflows to assess C: drive health, clean a fixed allowlist of regenerable junk, find large user files, detect exact duplicates with SHA-256, and relocate or recycle explicitly approved ordinary user files without breaking Windows or installed applications. Use for the C: cleanup app, safe or deep cleanup, large-file or duplicate cleanup, health checks, space diagnosis, or moving ordinary files off C:. Always run the health gate and preview, protect system/personal/configuration data, keep one duplicate per group, and require explicit approval before changes.

scripts/Find-CDriveLargeFiles.ps1

View on GitHub
[CmdletBinding()]
param(
    [ValidateRange(10, 102400)][int]$MinimumSizeMB = 500,
    [ValidateRange(1, 2000)][int]$MaximumResults = 300
)

$ErrorActionPreference = 'Stop'
. (Join-Path $PSScriptRoot 'UserFileSafety.ps1')

$minimumBytes = [long]$MinimumSizeMB * 1MB
$files = @(Get-SafeCDriveUserFiles | Where-Object Length -ge $minimumBytes |
    Sort-Object Length -Descending | Select-Object -First $MaximumResults)

$items = @($files | ForEach-Object {
    [pscustomobject]@{
        Selected = $false
        Category = Get-CDriveUserFileCategory -Path $_.FullName
        SizeGiB = [math]::Round($_.Length / 1GB, 3)
        Size = [long]$_.Length
        LastWriteTime = $_.LastWriteTime.ToString('yyyy-MM-dd HH:mm')
        Path = $_.FullName
    }
})
$totalBytes = 0L
if ($items.Count -gt 0) { $totalBytes = [long](($items | Measure-Object Size -Sum).Sum) }

[pscustomobject]@{
    GeneratedAt = (Get-Date).ToString('o')
    Scope = 'Current user known folders on C: only'
    MinimumSizeMB = $MinimumSizeMB
    Count = $items.Count
    TotalGiB = [math]::Round($totalBytes / 1GB, 3)
    Items = $items
} | ConvertTo-Json -Depth 5
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall