gptme-wrapped
БесплатноБез исполняемых скриптовНе проверенAnalyze your gptme conversation history for insights like token usage, costs, model preferences, and usage patterns — inspired by Spotify Wrapped.
от gptme★ 19 звёзд на GitHubОб этом скилле
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:
~/.local/share/gptme/logs/
├── 2025-12-25-running-red-cat/
│ ├── conversation.jsonl # Messages with metadata
│ ├── config.toml # Conversation config (model, tools)
│ ├── branches/ # Conversation branches
│ └── workspace -> /path # Symlink to workspace
└── ...
Message Format (conversation.jsonl)
Each line is a JSON object representing a message:
{
"role": "assistant",
"content": "...",
"timestamp": "2025-12-25T22:47:40.922775",
"metadata": {
"model": "anthropic/claude-sonnet-4-20250514",
"input_tokens": 33970,
"output_tokens": 50,
"cache_read_tokens": 30000,
"cache_creation_tokens": 0,
"cost": 0.0123
}
}
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)
[chat]
name = "Conversation Name"
model = "anthropic/claude-sonnet-4-20250514"
tools = ["shell", "ipython", "save", "patch", ...]
workspace = "~/Programming/project"
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
Установить gptme-wrapped в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл gptme-wrapped?
Analyze your gptme conversation history for insights like token usage, costs, model preferences, and usage patterns — inspired by Spotify Wrapped.
Как установить скилл gptme-wrapped?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл gptme-wrapped запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic