Db Stats
Description
Show database statistics and recent analysis summaries. Execute the following steps: 1. Check database file: ```bash ls -lh ./data/summaries.db ``` 2. Show total records and basic stats: ```bash sqlite3 ./data/summaries.db " SELECT COUNT(*) AS total_summaries, MIN(timestamp) AS first_analysis, MAX(timestamp) AS last_analysis, ROUND(SUM(cost_usd), 4) AS total_cost_usd FROM summaries;" ``` 3. Show status distribution: ```bash sqlite3 -h
Installation
Installs to ~/.claude/commands/olegiv-logwatch-ai-go-db-stats.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/olegiv/logwatch-ai-go/HEAD/.claude/commands/db-stats.md -o ~/.claude/commands/olegiv-logwatch-ai-go-db-stats.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Skills
mcp-server-postgres
Read-only PostgreSQL database access.
Data mcp-server-sqlite
SQLite database interaction and querying.
Data mcp-server-google-maps
Google Maps integration for location data.
Data Bitbucket Data Center
---
Data Csv Data Summarizer
Automatically analyze CSV files and generate comprehensive insights with visualizations
Data Financial Services
Reference agents, skills, and data connectors for the financial-services workflows we see most — investment ba
Data