| name | gemtracker |
| description | Analyze Ruby gem dependencies, vulnerabilities, outdated packages, maintenance health, and insecure gem sources with the gemtracker CLI. Use when asked to audit Ruby gems, check Gemfile.lock security, review dependency health, or run gemtracker. |
Gemtracker
Use the gemtracker CLI to analyze Ruby gem dependencies.
Agent Usage
Claude Code users can run:
/gemtracker
/gemtracker /path/to/ruby-project
/gemtracker . --json
Codex users can ask naturally:
Use gemtracker to audit this repo.
Check this Ruby project for vulnerable or outdated gems.
Run gemtracker on /path/to/ruby-project and summarize the result.
Workflow
- Check for the CLI:
command -v gemtracker
- If missing, tell the user to install it:
brew tap spaquet/gemtracker && brew install gemtracker
- Pick the target path. Default to the current repo or
..
- Run the bundled wrapper when available:
scripts/analyze.sh . --json
Otherwise run:
gemtracker . --report json
- Summarize vulnerabilities first, then outdated gems, insecure sources, and maintenance risks.
- If a Git pre-commit hook has run, inspect
.git/gemtracker/latest.json before rerunning gemtracker.
Output Formats
- Text:
gemtracker . --report text
- JSON:
gemtracker . --report json
- CSV:
gemtracker . --report csv
Notes
- Dependency files:
Gemfile.lock, gems.locked, or .gemspec.
- Cache:
~/.cache/gemtracker/.
- The shared install script can also add a normal Git
pre-commit hook. That hook writes .git/gemtracker/latest.json for Claude, Codex, IDEs, and terminal workflows to inspect.