z80dev/lemon/session-logs
Claude Code and agent skill by z80dev/lemon
- community
Checking that the SKILL.md file is still in the repository.
Search and analyze your own Lemon session logs (older/parent conversations) using jq.
Install
npx vskill@latest install z80dev/lemon/session-logsSKILL.md
session-logs
Search your complete conversation history stored in Lemon session JSONL files. Use this when a user references older/parent conversations or asks what was said before.
Trigger
Use this skill when the user asks about prior chats, parent conversations, or historical context that isn't in current memory files.
Location
Session logs live under ~/.lemon/agent/sessions/ and are organized by encoded working directory name:
<encoded-cwd>/*.jsonl- Full conversation transcript per session
For example: ~/.lemon/agent/sessions/--home-user-project--/2026...jsonl
The first line in each .jsonl is a session header with metadata.
Structure
Each .jsonl file contains messages with:
type:"session"(metadata header) or"message"(conversation entries)timestamp: Epoch timestampmessage.role:"user","assistant", etc.message.content[]: Text, thinking, or tool calls (filtertype=="text"for human-readable content)message.usage.cost.total: Cost per response
Common Queries
List all sessions by date and size
Find sessions from a specific day
Extract user messages from a session
Search for keyword in assistant responses
Get total cost for a session
Missing assistant usage or prices make the total null, not zero. User/tool messages do not represent provider charges.
Daily cost summary
Count messages and tokens in a session
Tool usage breakdown
Search across ALL sessions for a phrase
Tips
- Sessions are append-only JSONL (one JSON object per line)
- Large sessions can be several MB - use
head/tailfor sampling ~/.lemon/agent/sessionsis the session root in Lemon- No separate
sessions.jsonindex file exists for logs
Fast text-only hint (low noise)
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 repositoryCheckingapps/lemon_skills/priv/builtin_skills/session-logs/SKILL.md
Popularity
- Repository stars
- 133
- Repository forks
- 17
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 May 2026, 5 months ago.
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/z80dev/lemon/session-logs)