agentleFS
letitbkletitbk/claude-academic-setup/skills/catch-up/SKILL.md

catch-up

Skill46 starsChanged 9 months agoMITView on GitHub

Use when returning to a project after time away, starting a work session, or recovering from interruption - provides comprehensive project context and recent activity summary

11 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check Claude Code project history for last session timestamp:

    line 24
  2. Distinctive:

    Use AskUserQuestion to confirm scenario based on detected time:

    line 40
  3. Distinctive:

    Read CLAUDE.md or README if exists

    line 63
  4. Very specific:

    Read from ~/.claude/projects/<project-hash>/ for sessions within time range.

    line 100
  5. Distinctive:

    Only include sections with actual content:

    line 105
  6. Distinctive:

    Use AskUserQuestion with options:

    line 129
  7. Distinctive:

    Not detecting project type from code structure

    line 141

“Common” is measured: kept by at least 6 in 10 of the 10 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Catch Up

Overview

Comprehensive project catch-up that summarizes recent activity, accomplishments, and context. Auto-detects time since last activity and presents relevant information.

When to Use

  • Returning to a project after any time away
  • Starting a new work session
  • Recovering mid-session after interruption
  • User says "catch up" or similar

Process

Step 1: Detect Last Activity

Check Claude Code project history for last session timestamp:

# Get project hash for current directory
PROJECT_DIR=$(pwd)
PROJECT_HASH=$(echo -n "$PROJECT_DIR" | sed 's/\//-/g' | sed 's/^-//')
PROJECT_PATH="$HOME/.claude/projects/$PROJECT_HASH"

# Find most recent session file
ls -t "$PROJECT_PATH"/*.jsonl 2>/dev/null | head -1

Calculate time elapsed since last activity.

Step 2: Confirm Time Range

Use AskUserQuestion to confirm scenario based on detected time:

Time ElapsedSuggested RangeDescription
< 4 hoursLast 4 hoursMid-session recovery
< 24 hoursLast 24 hoursDaily standup
< 7 daysLast 7 daysReturning within week
< 14 daysLast 30 daysReturning after 1-2 weeks
> 14 daysAll historyLong absence

Present with: "You were last here [X time] ago. Show [suggested range]?"

Options:

  • Mid-session (4h)
  • Daily (24h)
  • This week (7d)
  • This month (30d)
  • Full history

Step 3: Gather Information (All Sources, Skip Unavailable)

3a. Project Context (for "What is this project?")

  1. Read CLAUDE.md or README if exists
  2. Analyze directory structure for project type
  3. Extract project understanding from chat history

3b. Recently Modified Files

# Find files modified in time range, exclude noise
find . -type f -mtime -<DAYS> \
  -not -path "./.git/*" \
  -not -path "./node_modules/*" \
  -not -path "./__pycache__/*" \
  -not -name ".DS_Store" \
  -not -name "*.pyc" \
  2>/dev/null | head -50

3c. Git Commits (if available)

git log --oneline --since="<TIME_RANGE>" 2>/dev/null
git diff --stat HEAD~10 2>/dev/null | tail -20

3d. GitHub Activity (if gh CLI available and remote exists)

# Check if GitHub remote exists
git remote -v 2>/dev/null | grep github

# If yes, check PRs and issues
gh pr list --state all --limit 10 2>/dev/null
gh issue list --state all --limit 10 2>/dev/null

3e. Claude Code Chat History

Read from ~/.claude/projects/<project-hash>/ for sessions within time range. Parse JSONL for conversation summaries and key topics.

Step 4: Present Summary

Only include sections with actual content:

## Project: [name]
[1-2 sentence description from docs or inferred]

## What's Been Accomplished
[Key milestones/features from docs and history]

## Recent Focus (last [time range])
[Only show sections with content:]
- **Files:** X modified, Y created - [highlight largest changes]
- **Commits:** Z commits - [highlight key changes]
- **Conversations:** N sessions - [highlight key topics]
- **GitHub:** M PRs, K issues - [highlight activity]

## Highlights
- [Most significant change #1]
- [Most significant change #2]
- [Most significant change #3]

Step 5: Offer Drill-Down

Use AskUserQuestion with options:

  • "Show file changes"
  • "Show commit details"
  • "Show conversation summaries"
  • "Show GitHub activity"
  • "I'm caught up"

Loop until user selects "I'm caught up".

Common Mistakes

  • Showing empty sections (GitHub when no remote exists)
  • Not detecting project type from code structure
  • Missing chat history due to wrong project hash
  • Overwhelming with too much detail in initial summary

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.