today
Skill2 starsChanged 8 months agoMITView on GitHub
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.
23 other projects use a version of this.
Adopted by
Most recently taken up by
- philippe-desplats/second-braintheir own version, first seen Nov 29, 2026
- rasielchang/braintheir own version, first seen Nov 29, 2026
- ninestonelee/gpters-lifeostheir own version, first seen Nov 29, 2026
- jexchan/dailyup-second-brain-startertheir own version, first seen Nov 26, 2026
- WItaZhang/codex-job-agenttheir own version, first seen Nov 22, 2026
- conorbronsdon/agent-workspacetheir own version, first seen Nov 18, 2026
Used with
Projects with it also use weekly-review, update and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
QuixiAISkillweekly-review
Review the past week across goals, tasks, calendar, journal, and commitments, then propose the next week
Also in 4 projects that use this
AnthropicSkillupdate
Sync tasks and refresh memory from your current activity. Use when pulling new assignments from your project tracker into TASKS.md, triaging stale or overdue tasks, filling memory gaps for unknown people or projects, or running a comprehensive scan to catch todos buried in chat and email.
Also in 3 projects that use this
AnthropicSkillstart
Set up your bio-research environment and explore available tools. Use when first getting oriented with the plugin, checking which literature, drug-discovery, or visualization MCP servers are connected, or surveying available analysis skills before starting a new project.
Also in 3 projects that use this
Other versions23 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 23
- bradautomates/second-brain★ 217same name
- kv0906/pm-kit★ 138same name
- jexchan/dailyup-second-brain-starter★ 36same name
- aleksander-dytko/ai-pm-workspace★ 34same name
- flurdy/agent-skills★ 10same name
- flowing-abyss/obsidian-vault-skills★ 9same name
- philippe-desplats/second-brain★ 8same name
- ARCASSystems/FounderOS★ 7same name
- ninestonelee/gpters-lifeos★ 4same name
- SidU/claude-today-skill★ 4same name
13 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository41 other files it gives its agents.
- skills/react-doctor/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ai-prsSkill
- ai-radarSkill
- blog-postSkill
- brainstorming-namesSkill
- chrome-doctorSkill
- commitSkill
- context-window-statuslineSkill
- create-agents-mdSkill
- design-reviewSkill
- explainSkill
- explore-exploitSkill
- first-time-contributorsSkill
- gpt-imageSkill
- id-photo-sheetSkill
- mac-cleanupSkill
- make-pdfSkill
- og-inspectSkill
- pr-deskSkill
- presentationSkill
- pr-leaderboardSkill
- pr-reviewSkill
- pr-walkthroughSkill
- questionSkill
- quick-pr-reviewSkill
- react-doctorSkill
- recallSkill
- reflectSkill
- release-notesSkill
- scoreSkill
- standupSkill
- start-issueSkill
- studio-debugSkill
- sync-prSkill
- sync-skillsSkill
- teachSkill
- todoSkill
- travel-routesSkill
- unworktreeSkill
- worktreeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 4 are distinctive, and 11 are very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
All data lives under ~/.claude/:
- Very specific: line 27
Run a Python script to parse ~/.claude/history.jsonl and extract all entries where the timestamp falls on today's date.
- Very specific: line 105
Search both user messages (display field, message.content) and assistant messages.
- Very specific: line 109
Read directories under ~/.claude-intents/in-progress/.
- Distinctive: line 152
Use 24-hour time format
- Very specific: line 157
After generating the report, save it as both Markdown and HTML files in ~/claude-today/.
- Very specific: line 159
File naming: Use the target date (the date whose data was requested) for the filename, not necessarily today's date.
- Very specific: line 163
Consolidation: If ~/claude-today/YYYY-MM-DD.md already exists, read it first and merge:
- Very specific: line 172
Write the .md file first using the Write tool
- Distinctive: line 178
Use a Python script with basic regex-based markdown-to-HTML conversion (no external dependencies)
- Distinctive: line 261
Output to user: After saving, print the paths to both files:
- Very specific: line 269
If the user passes a date argument (e.g., /today 2026-02-09), use that date instead of today.
- Distinctive: line 278
Always run the Python extraction scripts via Bash, do not try to read history.jsonl directly (it can be very large)
- Very specific: line 279
File output: Always save to ~/claude-today/YYYY-MM-DD.md and .html using the target date.
- Very specific: line 280
Consolidation: When the .md file already exists, merge new data with existing data — deduplicate timeline entries by (time, project, prompt …
“Common” is measured: kept by at least 6 in 10 of the 18 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Today — Daily Activity Report
Generate an enriched summary of today's Claude Code activity, showing branches, PRs, Linear issues, and session details.
Data Sources
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 |
Workflow
Step 1: Extract Today's Prompts from history.jsonl
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}')
PYEOFReplace __HOME__ with the actual home directory path.
Step 2: Extract Branches from Session Transcripts
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
PYEOFStep 3: Deep Scan for PR URLs, Linear Issues, and Branch References
Scan all today's session transcript .jsonl files for:
- GitHub PR URLs: regex
https://github\.com/[^\s\)"'<>]+/pull/\d+ - GitHub repo URLs: regex
https://github\.com/[^\s\)"'<>]+ - Linear issue IDs: regex
\b[A-Z]{2,10}-\d+\b(exclude false positives like UTF-8, ISO-8859) - Branch names with issue prefixes: extract from
gitBranchfield
Search both user messages (display field, message.content) and assistant messages.
Step 4: Check Active Intents
Read directories under ~/.claude-intents/in-progress/. For each intent folder, read spec.md to extract:
- Intent name (folder name contains date, issue ID, and description)
- Linear issue ID and URL from the spec content
- Current status
Step 5: Format the Report
Group the output into these sections:
Format Template
## 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:
- Omit any section that has no items
- Group prompts under their branch/PR/issue when possible
- Show the session timeline as a compact table
- Extract issue titles from intent specs when available
- For branches containing issue IDs (e.g.,
stu-1287-some-description), link them to the corresponding Linear issue - Use 24-hour time format
- Show project names in short form (strip the home directory prefix)
Step 6: Save Report to ~/claude-today/
After 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:
- Parse the existing file's Session Timeline table entries
- Combine with the newly extracted entries
- Deduplicate by (Time, Project, What) — keep unique rows only
- Re-sort the timeline by time
- Rebuild all sections (Branches, PRs, Linear Issues) as the union of old + new data
- Overwrite both
.mdand.htmlwith the consolidated result
HTML generation: Convert the final Markdown report to a styled HTML file. Use this approach:
- Write the
.mdfile first using the Write tool - Then generate the
.htmlfile by wrapping the markdown content in a simple HTML template with:- A
<style>block with clean typography (system font stack, max-width 800px, centered) - Table styling with borders and padding
- Code/pre styling with background color
- Convert markdown to HTML: headers (
#-><h1>), tables, lists, bold, code spans, links - Use a Python script with basic regex-based markdown-to-HTML conversion (no external dependencies)
- A
python3 << '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}")
PYEOFOutput to user: After saving, print the paths to both files:
Saved: ~/claude-today/YYYY-MM-DD.md
Saved: ~/claude-today/YYYY-MM-DD.htmlStep 7: Show Optional Argument Support
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.
Important Notes
history.jsonltimestamps are epoch milliseconds — divide by 1000 for Python'sdatetime.fromtimestamp()- Session
.jsonlfiles are named<sessionId>.jsonl— the sessionId in history.jsonl maps to these files - Project directory names encode the path with
-replacing/(e.g.,-Users-<username>-Documents-projects-studio) - Agent transcript files start with
agent-prefix — skip these when scanning for sessions - The
stats-cache.jsondailyActivityarray may not include today if it hasn't been recomputed yet — fall back to counting from history.jsonl - Always run the Python extraction scripts via Bash, do not try to read history.jsonl directly (it can be very large)
- File output: Always save to
~/claude-today/YYYY-MM-DD.mdand.htmlusing the target date. Create the directory if needed. - Consolidation: When the
.mdfile 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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

