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

pathclaw

v1.3.0

Published

AI-powered file system optimizer CLI agent

Readme

🦅 PathClaw

AI-powered file system optimizer CLI agent

PathClaw scans, organizes, and optimizes your file system using AI. It detects junk files, finds duplicates, organizes folders semantically, and clears caches — all from the terminal with a conversational AI interface.

Features

  • 🔍 Smart Scanning — Detects junk files, temp files, duplicates (SHA-256), and large files
  • 📂 AI Organization — Semantically groups files into meaningful folders (not just by extension)
  • 🧹 Safe Cleanup — Clears temp files, caches, and DNS with safety guardrails
  • ⚡ System Optimization — RAM clearing, startup analysis, and system health checks
  • 💬 Natural Language Chat — Just tell PathClaw what to do in plain English
  • 📱 Telegram Remote Control — Control your PC from anywhere via Telegram Bot
  • 🦸‍♂️ Autonomous Agent (God Mode) — Agent executes multi-step plans and shell commands
  • 🔒 Safety First — Blacklisted system paths, confirmation prompts, and shell command allowlists

Installation

npm install -g pathclaw

Quick Start

# 1. Configure your AI provider
pathclaw setup

# 2. Check system health
pathclaw status

# 3. Scan for junk files
pathclaw scan ~/Downloads

# 4. Chat with PathClaw
pathclaw chat

Commands

| Command | Description | |---------|-------------| | pathclaw setup | Configure AI provider and preferences | | pathclaw status | Show disk, RAM, and system health | | pathclaw scan [path] | Scan for junk, temp files, duplicates, large files | | pathclaw organize [path] | AI semantic folder organization | | pathclaw clear | Clear junk, temp, and cache files | | pathclaw optimize | Full system optimization | | pathclaw chat | Natural language mode | | pathclaw dupes [path] | Interactive duplicate file reviewer | | pathclaw schedule [action] | Auto-schedule scans (set/status/clear/run) | | pathclaw telegram | Start the Telegram Bot for remote PC control |

AI Providers

PathClaw supports multiple AI backends:

| Provider | Setup | Cost | |----------|-------|------| | Gemini OAuth | Reuses Gemini CLI login | Free | | Gemini API | Requires API key | Free tier available | | Claude | Requires Anthropic API key | Paid | | Groq | Requires Groq API key | Free tier | | NVIDIA NIM | Requires NVIDIA API key | High performance | | Ollama | Local models | Free (runs locally) |

Run pathclaw setup to configure your preferred provider.

Command Options

Scan

pathclaw scan ~/Downloads        # Scan a directory
pathclaw scan . --deep           # Deep scan including hidden files
pathclaw scan . --no-ai          # Skip AI analysis

Organize

pathclaw organize ~/Desktop                     # AI-organize a folder
pathclaw organize ~/Documents --dry-run         # Preview without moving
pathclaw organize . --rules "group by project"  # Custom rules

Clear

pathclaw clear           # Clear junk + cache
pathclaw clear --temp    # Temp files only
pathclaw clear --cache   # Cache only
pathclaw clear --force   # Skip confirmation

Dupes

pathclaw dupes ~/Downloads       # Review duplicates interactively
pathclaw dupes . --deep          # Include hidden files
pathclaw dupes ~/Photos --dry-run  # Preview without deleting

Schedule

pathclaw schedule set        # Configure auto-scan schedule
pathclaw schedule status     # Show config & scan history
pathclaw schedule run        # Start scheduler daemon
pathclaw schedule clear      # Remove schedule

Optimize

pathclaw optimize            # Full optimization
pathclaw optimize --ram      # Clear RAM cache
pathclaw optimize --startup  # Analyze startup programs

Safety

PathClaw never touches:

  • C:\Windows, Program Files, system directories
  • .git, node_modules, .ssh, .aws, .kube
  • .env, .pem, .key, private key files

Every destructive action shows a preview table and requires explicit confirmation. Shell commands are restricted to an allowlist and require a second confirmation.

License

ISC