Skip to content

ZhouYinLong-lab/Dog-LittleTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dog-LittleTools

🐕 9 small Bash tools for CLI power users — each solves one operational annoyance well, without a daemon or cloud service.

license language platform

Why

Each tool is a single Bash script: easy to inspect, easy to patch, friendly to servers where you don't want another daemon. They share a common install/test convention and work independently — pick the ones you need.

Tools

Tool Command What it does
Dog-Cost claudecost Offline Claude Code API spend estimator from JSONL logs
Dog-Explain explain Tells you everything about a binary — path, package, size, type, libs, shebang
Dog-Ghost ghost Find orphaned, detached, stale, and zombie processes via /proc
Dog-Lock gpulock Claim and release GPUs with atomic filesystem locks
Dog-Pick gpick Auto-select the best NVIDIA GPU and run with CUDA_VISIBLE_DEVICES set
Dog-Purge gpurge Find and safely kill orphaned NVIDIA GPU processes
Dog-Scan envscan Scan environment variables and .env files for likely secrets
Dog-TG tg tree with git status inline — your tree should show git status
Dog-Wait waitfor Block until a condition is met (port, file, URL, command), then exec

Install

Each tool has its own install.sh. Install one:

# From the monorepo
cd Dog-Cost && bash install.sh

Or install via curl (installs to ~/.local/bin/):

curl -fsSL https://raw.githubusercontent.com/ZhouYinLong-lab/Dog-LittleTools/main/Dog-Cost/install.sh | bash

Requirements

Bash 4+. Individual tools may need nc, curl, jq, nvidia-smi, or tree depending on functionality — each README documents its dependencies.

Development

Every tool has a test/ directory:

cd Dog-Wait && bash test/run.sh

Related

  • Dog-RigLine — Pure Bash statusline for Claude Code with GPU & system monitoring (standalone repo, more mature with CI/releases)
  • Dog-Skills — 48 Claude Code skills covering dev, design, writing, and more

License

MIT

About

🐕 9 个面向开发者的 Bash CLI 小工具:费用估算、进程巡检、GPU 管理、秘密扫描等。

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages