npx claudepluginhub wanderingstan/vibe-checkWant just this skill?
Then install: npx claudepluginhub u/[userId]/[slug]
Query Claude Code usage statistics from the vibe-check database. Use when user says "claude stats", "usage stats", "my claude usage", or "how much have I used claude".
This skill uses the workspace's default tool permissions.
Claude Usage Statistics
Purpose: Query the local vibe-check database to show Claude Code usage statistics using the MCP server
Using the MCP Tool
The vibe-check MCP server provides a vibe_stats tool that handles all statistics queries automatically.
Tool: mcp__vibe-check__vibe_stats
Parameters:
days(optional): Limit to last N daysrepo(optional): Filter to specific repository name
Usage Flow
When user requests statistics:
-
Extract filters from user's question:
- Time range (if specified) → convert to
daysparameter - Repository (if specified) → use
repoparameter
- Time range (if specified) → convert to
-
Call the MCP tool with appropriate parameters
-
Present results - the tool returns formatted output with:
- Overview (total events, sessions, days active, date range)
- Event type breakdown with percentages
- Top repositories with session and event counts
- Recent daily activity
-
Offer follow-up actions based on the data shown
Example Interactions
Example 1: Overall Stats
User: "show me my claude stats"
Claude: [Calls mcp__vibe-check__vibe_stats with no parameters]
[Tool returns formatted stats including overview, event types, top repos, daily activity]
Example 2: Recent Stats
User: "how much have I used Claude in the last 7 days?"
Claude: [Calls mcp__vibe-check__vibe_stats with days=7]
[Tool returns filtered stats for last 7 days]
Example 3: Repo-Specific Stats
User: "show me stats for the vibe-check project"
Claude: [Calls mcp__vibe-check__vibe_stats with repo="vibe-check"]
[Tool returns stats filtered to vibe-check repository]
Example 4: Combined Filters
User: "how much did I work on my-app in the last month?"
Claude: [Calls mcp__vibe-check__vibe_stats with days=30, repo="my-app"]
[Tool returns stats for my-app in last 30 days]
Related Tools
Use these complementary MCP tools:
mcp__vibe-check__vibe_recent: Show recent sessions with detailsmcp__vibe-check__vibe_search: Search for specific conversationsmcp__vibe-check__vibe_tools: Analyze which tools are used mostmcp__vibe-check__vibe_open_stats: Open web-based stats page in browser
Error Handling
The MCP tool handles errors automatically:
- If database not found, it provides helpful file path information
- If database is empty, it explains that no data has been collected yet
- All database locking is handled internally with read-only mode
Tips
- Use without parameters first to get overall picture
- Add
daysparameter to focus on recent activity - Add
repoparameter to see project-specific usage - Use
vibe_open_statsto open the web interface for interactive exploration - Use
vibe_toolsfor detailed analysis of which Claude tools you use most
Advanced: Custom SQL Queries
For custom statistics not covered by vibe_stats, use the mcp__vibe-check__vibe_sql tool:
mcp__vibe-check__vibe_sql(
query="SELECT DATE(event_timestamp), COUNT(*) FROM conversation_events GROUP BY DATE(event_timestamp)",
limit=100
)
This provides read-only access to the full database with custom SQL. See the vibe-check-sql skill for more examples.
For schema information, see ~/.vibe-check/SCHEMA.md (auto-generated) or use the Read tool.
Similar Skills
Expert guidance for Next.js Cache Components and Partial Prerendering (PPR). **PROACTIVE ACTIVATION**: Use this skill automatically when working in Next.js projects that have `cacheComponents: true` in their next.config.ts/next.config.js. When this config is detected, proactively apply Cache Components patterns and best practices to all React Server Component implementations. **DETECTION**: At the start of a session in a Next.js project, check for `cacheComponents: true` in next.config. If enabled, this skill's patterns should guide all component authoring, data fetching, and caching decisions. **USE CASES**: Implementing 'use cache' directive, configuring cache lifetimes with cacheLife(), tagging cached data with cacheTag(), invalidating caches with updateTag()/revalidateTag(), optimizing static vs dynamic content boundaries, debugging cache issues, and reviewing Cache Component implementations.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.