Skip to content
Monitoring
Skill

/recent-activity

Summarize what you've been doing in the last 30 minutes.

From plugin
memorylane
1246 skills1 MCP

Claude Code

$ npx -y skills add deusXmachina-dev/memorylane --skill recent-activity --agent claude-code

SKILL.md

recent-activity.SKILL.md
name: recent-activity
allowed-tools: mcp__memorylane__browse_timeline, mcp__memorylane__search_context, mcp__memorylane__get_activity_details
description: Summarize what you've been doing in the last 30 minutes.

Recent Activity

Summarize the user's recent screen activity.

Before you start

This skill reads live data from the desktop app, so it uses only the local tools (`search_context`). Never use the remote tools here, even if local returns nothing: remote data syncs daily, so it can't show the last 30 minutes.

Tools can load on demand, so search for them first. If the local tools don't turn up, stop and reply with exactly:

> Recent activity needs the MemoryLane desktop app on this computer. In the app, open **Settings > Integrations** and click **Connect** or **Reconnect** next to **Claude Cowork**, then run this again. Connector data syncs daily, so it can't show the last 30 minutes.

Do not suggest plugin settings, Retry, or toggling the plugin.

Instructions

Step 1 — Fetch Recent Activity

Call `browse_timeline(startTime="30 minutes ago", endTime="now", limit=50, sampling="recent_first")`.

Step 2 — Handle Empty Results

  • **If nothing returned**: Widen the window to `browse_timeline(startTime="2 hours ago", endTime="now", limit=50, sampling="recent_first")`.
  • **If the wider window also returns nothing**: Report that MemoryLane may not be capturing (the app might not be running, or there has been no screen activity). Stop here.
  • **If the wider window returns results but the 30-minute window didn't**: Note the gap to the user (e.g., "No activity in the last 30 minutes, but here's what you were doing earlier").

Step 3 — Group and Summarize

From the returned entries:

1. Identify distinct apps from the activity summaries. 2. Cluster entries by task — use the summary text to group related activities together. 3. Estimate approximate time spent on each cluster from the timestamps of its entries. 4. Order groups by recency (most recent first).

Step 4 — Drill Into Details (only if needed)

Only call `get_activity_details(ids)` when a summary is ambiguous and the exact on-screen text would genuinely help clarify what the user was doing. Do not fetch OCR speculatively.

Step 5 — Present the Summary

Format as a brief narrative followed by bullet points:

**Last 30 minutes** (N activities recorded)

You were primarily working on [main task].

- **[App Name]** (~X min) — [what you were doing]
- **[App Name]** (~X min) — [what you were doing]

If the results came from the wider 2-hour window, adjust the heading accordingly.

Notes

  • **Summaries are the primary source of truth.** They are pre-generated from the captured activity and are sufficient for most reporting. Reserve `get_activity_details` for ambiguous cases.
  • Use `search_context(query)` if the user asks follow-up questions like "what was I doing in Chrome?" or "find that thing I was reading about X".
  • `recent_first` sampling is used instead of `uniform` because the user cares most about what just happened, and the window is short enough that uniform sampling would not add value.
Read more
@deusxmachina-dev
Ships withmemorylane
1246 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
124
Star history of deusXmachina-dev/memorylane on GitHub, a chart by star-history.com

Other skills on memorylane.

build-report

build-report

Turn a process analysis into a polished, client-ready report, first an HTML deck you review, then a matching PDF. Use to package…

More skills from other plugins.

agentdb-advanced

agentdb-advanced

Master advanced AgentDB features including QUIC synchronization, multi-database management, custom distance metrics, hybrid…

ruview13d102k
@ruvnet@ruvnetInstall Skill
install

install

Kubeshark installation and deployment skill. Use this skill whenever the user wants to install Kubeshark, deploy Kubeshark to a…

@kubeshark@kubesharkInstall Skill
scan

scan

Scan a project with sentrux to get structural health grades (A-F) across 14 dimensions including coupling, cycles, cohesion, dead…

sentrux8mo3.3k
@sentrux@sentruxInstall Skill
phone-input

phone-input

Call the user on the phone for real-time voice conversations. Use this when you need input, want to report on completed work, or…

callme7mo2.7k
@zeframlou@zeframlouInstall Skill

Questions about recent-activity.

Which coding agents can use recent-activity?
recent-activity installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.