Implement GitOps workflows with ArgoCD and Flux for automated, declarative Kubernetes...
npx skills add terry-li-hm/skills --skill "history"
Install specific skill from multi-skill repository
# Description
Scan chat history with proper HKT timezone handling. Use when reviewing what was discussed on a specific day.
# SKILL.md
name: history
description: Scan chat history with proper HKT timezone handling. Use when reviewing what was discussed on a specific day.
History
Scan chat history from Claude Code/Codex sources (~/.claude/history.jsonl, ~/.codex/history.jsonl) with proper HKT (UTC+8) day boundaries.
Note: This skill is for Claude Code/Codex history. For OpenClaw sessions, use sessions_history tool or check ~/.openclaw/state/sessions/.
Trigger
/historyβ today's prompts across all tools/history yesterdayβ yesterday's prompts/history 2026-01-18β specific date/history --tool=Codexβ filter by specific tool
Workflow
Run the persistent script at ~/scripts/chat_history.py:
# Today's prompts (all tools)
python ~/scripts/chat_history.py
# Filter by tool (Claude or Codex)
python ~/scripts/chat_history.py --tool=Claude
python ~/scripts/chat_history.py --tool=Codex
# Yesterday's prompts
python ~/scripts/chat_history.py yesterday
# Specific date
python ~/scripts/chat_history.py 2026-01-23
# Show all prompts (not just last 50)
python ~/scripts/chat_history.py --full
# Output as JSON (for programmatic use)
python ~/scripts/chat_history.py --json
Output Format
Date: 2026-01-19 (HKT)
Total: 142 prompts across 8 sessions
Time range: 09:15 - 23:45
Sessions:
[797013a0] 12 prompts (07:16-10:05) - Claude
[f4764f0c] 9 prompts (07:20-09:50) - Codex
...
Recent prompts (last 50):
09:15 [797013a0] (Claude) check my gmail...
09:22 [797013a0] (Claude) update the note...
...
Options
--fullβ Show all prompts (not just last 50)--jsonβ Output as JSON for programmatic parsing
Error Handling
- If history.jsonl missing: Returns error message
- If no prompts for date: Returns empty results
- If invalid date format: Returns "Invalid date. Use YYYY-MM-DD format"
Notes
- Always uses HKT (UTC+8) for day boundaries
- Timestamps in history.jsonl are in milliseconds
- Script location:
~/scripts/chat_history.py - This skill can be called by
/dailyfor chat scanning
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.