| Crates.io | hoards |
| lib.rs | hoards |
| version | 0.3.0 |
| created_at | 2026-01-14 16:13:25.432623+00 |
| updated_at | 2026-01-17 15:06:24.578389+00 |
| description | A tool management system with SQLite database and AI-assisted discovery |
| homepage | https://github.com/chrisbataille/hoards |
| repository | https://github.com/chrisbataille/hoards |
| max_upload_size | |
| id | 2043156 |
| size | 1,176,147 |
AI-powered CLI tool manager with usage analytics and multi-source tracking.
"Know what you use. Discover what you need."
Hoards tracks your CLI tools across multiple package managers, provides usage analytics from shell history, and offers AI-powered categorization and discovery.
Launch the TUI for visual tool management:
hoards tui # or just: hoards
Highlights:
/ to filter tools instantlyj/k/g/G and arrow keysSpace to select, Ctrl+a for all: for vim-style commandst to change themesSee the TUI Guide for complete documentation.
# From crates.io
cargo install hoards
# From source
git clone https://github.com/chrisbataille/hoards.git
cd hoards
cargo install --path .
# First-time setup (interactive wizard)
hoards init
# Or manually:
hoards sync --scan # Scan system for tools
hoards sync --github # Fetch GitHub data
hoards sync --usage # Parse shell history
hoards sync --all # Do everything
# Daily maintenance
hoards maintain # Quick health check + sync
# See what you have
hoards discover list # List all tools
hoards insights overview # Usage stats dashboard
| Command | Description |
|---|---|
hoards init |
First-time setup wizard |
hoards maintain |
Daily maintenance (sync + health check) |
hoards cleanup |
Find and remove unused tools |
hoards sync # Sync installation status
hoards sync --scan # Include tool discovery
hoards sync --github # Include GitHub data
hoards sync --usage # Include usage tracking
hoards sync --descriptions # Fetch descriptions
hoards sync --all # Everything
hoards discover list # List all tools
hoards discover search <query> # Search tools
hoards discover categories # Browse by category
hoards discover labels # Browse by label
hoards discover missing # Tools you might want
hoards discover recommended # Based on your usage
hoards discover similar <tool> # Find related tools
hoards discover trending # Popular tools (GitHub stars)
hoards insights overview # Dashboard
hoards insights usage [tool] # Usage statistics
hoards insights unused # Tools you never use
hoards insights health # Database health check
hoards insights stats # Database statistics
Two modes for tracking tool usage:
# Configure tracking mode
hoards usage config # View current mode
hoards usage config --mode scan # Manual history scanning
hoards usage config --mode hook # Real-time shell hooks (recommended)
# With hook mode, also run:
hoards usage init # Set up shell hooks automatically
# Manual commands
hoards usage scan # Scan shell history
hoards usage show # Show usage stats
hoards usage tool <name> # Usage for specific tool
hoards usage reset # Reset all counters
hoards completions status # Show completion status for all shells
hoards completions install # Install for detected shells
hoards completions install fish # Install for specific shell
hoards completions uninstall # Remove all completions
Supported shells: Fish, Bash, Zsh. Completions are auto-installed during hoards init.
| Command | Description |
|---|---|
hoards add <name> |
Add a tool to the database |
hoards show <name> |
Show tool details |
hoards remove <name> |
Remove from database |
hoards install <name> |
Install a tool |
hoards uninstall <name> |
Uninstall a tool |
hoards upgrade <name> |
Upgrade or switch sources |
hoards bundle create <name> <tools...> # Create bundle
hoards bundle list # List bundles
hoards bundle show <name> # Show contents
hoards bundle install <name> # Install all tools
hoards bundle add <name> <tools...> # Add tools
hoards bundle remove <name> <tools...> # Remove tools
hoards bundle delete <name> # Delete bundle
# Configuration
hoards ai config set <provider> # Set provider (claude, gemini, codex)
hoards ai config show # Show current config
hoards ai config test # Test connection
# Enrichment
hoards ai enrich # Interactive menu
hoards ai enrich --categorize # Auto-categorize tools
hoards ai enrich --describe # Generate descriptions
hoards ai enrich --all # Both operations
# Extract from GitHub README
hoards ai extract <github-url> # Extract tool info from README
hoards ai extract url1 url2 url3 # Batch mode
hoards ai extract url --yes # Skip confirmation
# Smart Bundle Suggestions
hoards ai suggest-bundle # AI suggests bundles based on usage
hoards ai suggest-bundle --count 3 # Suggest 3 bundles
# Tool Cheatsheets
hoards ai cheatsheet <tool> # Generate quick reference
hoards ai cheatsheet ripgrep # Example: ripgrep cheatsheet
hoards ai cheatsheet git --refresh # Regenerate cached cheatsheet
# Contextual Discovery
hoards ai discover "<query>" # Find tools for your workflow
hoards ai discover "kubernetes dev" # Example: K8s development tools
hoards ai discover "data science" --limit 5 # Limit results
hoards ai discover "rust cli" --dry-run # Show without prompting
hoards config link <name> --source <path> --target <path>
hoards config list # List managed configs
hoards config sync # Create symlinks
hoards config status # Check symlink status
~/.local/share/hoards/hoards.db~/Library/Application Support/hoards/hoards.db~/.config/hoards/
├── config.toml # Main configuration
├── prompts/ # Custom AI prompts
└── topic-mapping.toml # GitHub topic → category mapping
# Set your preferred AI provider
hoards ai config set claude
# Test the connection
hoards ai config test
hoards add ripgrep \
--description "Fast grep replacement written in Rust" \
--category search \
--source cargo \
--binary rg
# Create a bundle of modern Unix tools
hoards bundle create modern-unix ripgrep fd bat eza zoxide \
--description "Modern replacements for classic Unix tools"
# Install everything
hoards bundle install modern-unix
# Scan usage first
hoards sync --usage
# Find tools you never use
hoards insights unused
# Clean up
hoards cleanup
# Clone
git clone https://github.com/chrisbataille/hoards.git
cd hoards
# Enable pre-commit hooks
git config core.hooksPath .githooks
# Build & test
cargo build
cargo test
cargo clippy
See CONTRIBUTING.md for development workflow.
MIT License - see LICENSE for details.