gptme/gptme-contrib/gptme-wrapped
- community
Checking that the SKILL.md file is still in the repository.
Analyze your gptme conversation history for insights like token usage, costs, model preferences, and usage patterns — inspired by Spotify Wrapped.
Install
npx vskill@latest install gptme/gptme-contrib/gptme-wrappedSKILL.md
gptme Wrapped - Conversation Analytics
Description: Analyze your gptme conversation history for insights like token usage, costs, model preferences, and usage patterns - inspired by Spotify Wrapped.
Overview
"gptme Wrapped" provides year-end (or any period) analytics for your gptme usage, similar to Spotify's annual Wrapped feature. It analyzes conversation logs stored locally to provide insights about:
- Token usage: Input/output tokens, cache hits
- Cost tracking: Spending by model, day, conversation
- Model preferences: Most used models, provider breakdown
- Usage patterns: Peak hours, conversation lengths, topics
- Context efficiency: Average context sizes, compression ratios
Storage Structure
gptme stores conversations in ~/.local/share/gptme/logs/ with this structure:
Message Format (conversation.jsonl)
Each line is a JSON object representing a message:
Key metadata fields:
model: The model used for generationinput_tokens: Tokens sent to the modeloutput_tokens: Tokens generated by the modelcache_read_tokens: Tokens read from prompt cache (saves cost)cache_creation_tokens: Tokens written to prompt cachecost: Cost in USD (when available)
Note: Token metadata is only populated for assistant messages when the LLM API returns usage data. Historical conversations before this feature may not have metadata.
Config Format (config.toml)
Best Practices
- Wait for data accumulation: Metadata tracking is recent; 2026 will have fuller data.
- Filter by year: Use timestamp filtering to focus on specific periods.
- Handle missing metadata: Older conversations may not have token/cost data.
- Consider local models: Token counts exist but costs are $0 for local models.
- Cache efficiency varies: Depends on conversation patterns and model support.
Plugin Integration
See plugins/wrapped/ for the analytics plugin that provides:
wrapped_stats(year): Get comprehensive year statswrapped_report(year): Generate formatted ASCII reportwrapped_export(year, format): Export to HTML/JSON
Related Skills
- Cost Tracking: Understanding gptme's cost tracking system
- Context Management: Managing token usage efficiently
- Model Selection: Choosing the right model for tasks
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/gptme-wrapped/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/gptme/gptme-contrib/gptme-wrapped)