Show enriched daily activity from Claude Code sessions — branches, PRs, Linear issues, and what you worked on. Use when the user wants to see what they did today, review their daily work, or get a summary of their sessions.
Ships in sejas-ai-code-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate an enriched summary of today's Claude Code activity, showing branches, PRs, Linear issues, and session details.
All data lives under ~/.claude/:
| Source | Path | Contains |
|---|---|---|
| User prompts | ~/.claude/history.jsonl | Every message you typed, with timestamp, project, sessionId |
| Session transcripts | ~/.claude/projects/<encoded-path>/<sessionId>.jsonl | Full conversations with gitBranch field per message |
| Session log | ~/.claude/session-log.txt | Session durations and project names |
| Active intents | ~/.claude-intents/in-progress/ | Intent specs with Linear issue links |
| Stats cache | ~/.claude/stats-cache.json | Aggregate daily message/session/token counts |
Run a Python script to parse ~/.claude/history.jsonl and extract all entries where the timestamp falls on today's date. Each entry has: timestamp (epoch ms), project, sessionId, display (the user's message text), pastedContents.
python3 << 'PYEOF'
import json
from datetime import datetime
today = datetime.now().strftime('%Y-%m-%d')
with open('__HOME__/.claude/history.jsonl') as f:
for line in f:
d = json.loads(line)
ts = d.get('timestamp', '')
if isinstance(ts, (int, float)):
dt = datetime.fromtimestamp(ts / 1000)
if dt.strftime('%Y-%m-%d') == today:
project = d.get('project', '?').split('/')[-1]
sid = d.get('sessionId', '?')[:8]
display = d.get('display', '')[:120]
print(f'{dt.strftime("%H:%M")} | {project} | {sid} | {display}')
PYEOF
Replace __HOME__ with the actual home directory path.
Scan all session .jsonl files modified today across ~/.claude/projects/*/. Read the first line of each file to get the gitBranch field. Collect unique (project, branch) pairs where branch is not "main" or "trunk".
python3 << 'PYEOF'
import json, glob, os
from datetime import datetime
today = datetime.now().strftime('%Y-%m-%d')
project_dirs = glob.glob(os.path.expanduser('~/.claude/projects/*/'))
seen = set()
for pdir in project_dirs:
for jf in glob.glob(os.path.join(pdir, '*.jsonl')):
if os.path.basename(jf).startswith('agent-'):
continue
mtime = datetime.fromtimestamp(os.path.getmtime(jf))
if mtime.strftime('%Y-%m-%d') != today:
continue
try:
with open(jf) as f:
for line in f:
line = line.strip()
if not line:
continue
d = json.loads(line)
branch = d.get('gitBranch', '')
sid = d.get('sessionId', '')
if not sid:
continue
project = pdir.rstrip('/').split('/')[-1]
key = (project, sid)
if key not in seen and branch:
seen.add(key)
import os
home_prefix = '-' + os.path.expanduser('~').replace('/', '-')
short = project.replace(home_prefix + '-', '').replace(home_prefix, '~')
print(f'{short} | {branch} | {sid[:8]}')
break
except:
pass
PYEOF
Scan all today's session transcript .jsonl files for:
https://github\.com/[^\s\)"'<>]+/pull/\d+https://github\.com/[^\s\)"'<>]+\b[A-Z]{2,10}-\d+\b (exclude false positives like UTF-8, ISO-8859)gitBranch fieldSearch both user messages (display field, message.content) and assistant messages.
Read directories under ~/.claude-intents/in-progress/. For each intent folder, read spec.md to extract:
Group the output into these sections:
## Today's Activity (YYYY-MM-DD)
### Branches Worked On
- **project-name** on `branch-name`
- HH:MM — First prompt in this session
- HH:MM — Another prompt...
### Pull Requests
- [repo/owner#number](url) — description from first mention
- Context from the session messages
### Linear Issues
- [ISSUE-ID](linear-url) — Issue title (from intent spec if available)
- Linked to branch: `branch-name`
- Intent status: In Progress
### Session Timeline
| Time | Project | What |
|------|---------|------|
| HH:MM | project | First 100 chars of prompt... |
### Stats
- X sessions, Y messages, Z tool calls (from stats-cache.json for today)
Rules:
stu-1287-some-description), link them to the corresponding Linear issueAfter generating the report, save it as both Markdown and HTML files in ~/claude-today/.
File naming: Use the target date (the date whose data was requested) for the filename, not necessarily today's date. For example, /today 2026-02-09 produces 2026-02-09.md and 2026-02-09.html.
Directory: ~/claude-today/ — create it if it doesn't exist (mkdir -p ~/claude-today).
Consolidation: If ~/claude-today/YYYY-MM-DD.md already exists, read it first and merge:
.md and .html with the consolidated resultHTML generation: Convert the final Markdown report to a styled HTML file. Use this approach:
.md file first using the Write tool.html file by wrapping the markdown content in a simple HTML template with:
<style> block with clean typography (system font stack, max-width 800px, centered)# -> <h1>), tables, lists, bold, code spans, linkspython3 << 'PYEOF'
import re, os
date = "TARGET_DATE" # replaced by the actual target date
md_path = os.path.expanduser(f"~/claude-today/{date}.md")
html_path = os.path.expanduser(f"~/claude-today/{date}.html")
with open(md_path) as f:
md = f.read()
# Basic markdown to HTML conversion
html = md
html = re.sub(r'^### (.+)$', r'<h3>\1</h3>', html, flags=re.MULTILINE)
html = re.sub(r'^## (.+)$', r'<h2>\1</h2>', html, flags=re.MULTILINE)
html = re.sub(r'^# (.+)$', r'<h1>\1</h1>', html, flags=re.MULTILINE)
html = re.sub(r'\*\*(.+?)\*\*', r'<strong>\1</strong>', html)
html = re.sub(r'`([^`]+)`', r'<code>\1</code>', html)
html = re.sub(r'\[([^\]]+)\]\(([^)]+)\)', r'<a href="\2">\1</a>', html)
# Convert tables
def convert_table(match):
lines = match.group(0).strip().split('\n')
rows = [l for l in lines if not re.match(r'^\|[-| ]+\|$', l)]
out = '<table>\n'
for i, row in enumerate(rows):
cells = [c.strip() for c in row.strip('|').split('|')]
tag = 'th' if i == 0 else 'td'
out += '<tr>' + ''.join(f'<{tag}>{c}</{tag}>' for c in cells) + '</tr>\n'
out += '</table>'
return out
html = re.sub(r'(\|.+\|(?:\n\|.+\|)+)', convert_table, html)
# Convert list items
html = re.sub(r'^- (.+)$', r'<li>\1</li>', html, flags=re.MULTILINE)
html = re.sub(r'^ - (.+)$', r'<li class="nested">\1</li>', html, flags=re.MULTILINE)
html = re.sub(r'(<li[^>]*>.*</li>\n?)+', lambda m: '<ul>' + m.group(0) + '</ul>', html)
# Wrap paragraphs (lines not already tagged)
lines = html.split('\n')
result = []
for line in lines:
stripped = line.strip()
if stripped and not stripped.startswith('<'):
result.append(f'<p>{stripped}</p>')
else:
result.append(line)
html = '\n'.join(result)
template = f"""<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Activity Report — {date}</title>
<style>
body {{ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; max-width: 800px; margin: 2rem auto; padding: 0 1rem; color: #1a1a1a; line-height: 1.6; }}
h1, h2, h3 {{ margin-top: 1.5em; }}
h1 {{ border-bottom: 2px solid #333; padding-bottom: 0.3em; }}
h2 {{ border-bottom: 1px solid #ddd; padding-bottom: 0.2em; }}
table {{ border-collapse: collapse; width: 100%; margin: 1em 0; }}
th, td {{ border: 1px solid #ddd; padding: 8px 12px; text-align: left; }}
th {{ background: #f5f5f5; font-weight: 600; }}
tr:nth-child(even) {{ background: #fafafa; }}
code {{ background: #f0f0f0; padding: 2px 6px; border-radius: 3px; font-size: 0.9em; }}
ul {{ padding-left: 1.5em; }}
li.nested {{ margin-left: 1.5em; }}
a {{ color: #0066cc; }}
</style>
</head>
<body>
{html}
</body>
</html>"""
with open(html_path, 'w') as f:
f.write(template)
print(f"Saved: {html_path}")
PYEOF
Output to user: After saving, print the paths to both files:
Saved: ~/claude-today/YYYY-MM-DD.md
Saved: ~/claude-today/YYYY-MM-DD.html
If the user passes a date argument (e.g., /today 2026-02-09), use that date instead of today. Filter history.jsonl and session files by that date. The output files will be named with the requested date, not today's date.
history.jsonl timestamps are epoch milliseconds — divide by 1000 for Python's datetime.fromtimestamp().jsonl files are named <sessionId>.jsonl — the sessionId in history.jsonl maps to these files- replacing / (e.g., -Users-<username>-Documents-projects-studio)agent- prefix — skip these when scanning for sessionsstats-cache.json dailyActivity array may not include today if it hasn't been recomputed yet — fall back to counting from history.jsonl~/claude-today/YYYY-MM-DD.md and .html using the target date. Create the directory if needed..md file already exists, merge new data with existing data — deduplicate timeline entries by (time, project, prompt text), union all branches/PRs/issues, and re-sort chronologically. Never lose previously recorded entries.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/sejas-ai-code-skills:todayfrom sejas-ai-code-skills
sejas-ai-code-skills@cascade-code-general-misc-3 is listed by joshuarweaver/cascade-code-general-misc-3 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-general-misc-3 --plugin sejas-ai-code-skills40 skills in this plugin
/ai-prsList all open PRs targeting the Studio AI command with draft status, approval state, and requested reviewers/ai-radarUse when Antonio wants to catch up on frontier AI — "what's new in AI", "AI radar", "what is karpathy working on", "AI trends", "research digest", "what should I learn next", "where to invest learning time", or /ai-radar./blog-postThis skill should be used when the user asks to "write a blog post", "draft a blog post", "create a blog post", "write an article about", or wants to produce a markdown blog post on any topic. Outputs to ~/claude.nosync/posts/./brainstorming-namesUse when the user wants to name or rename something — a product, feature, brand, project, command, or company — or asks to "brainstorm names", "find a better name", "naming ideas", or invokes /brainstorming-names./chrome-doctorUse when Claude in Chrome doesn't work or the user wants Claude to drive their real Chrome — "chrome doesn't work", "browser tools missing", "it fails from T3", "troubleshoot chrome", "control my browser", or /chrome-doctor [task]. Diagnoses why the mcp__claude-in-chrome__* tools are missing or failing (headless/T3 launches without --chrome, extension not connected, wrong browser), fixes what it can, then runs the optional task in their Chrome./commitWrite a commit message and create a git commit. Use when the user wants to commit changes, asks for a commit message, or says "commit this" or "make a commit".