archive/skills/time-report/SKILL.md
Generate a time report grouped by client/project
npx skillsauth add deusXmachina-dev/memorylane time-reportInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate a time report grouped by client and project with approximate durations. The output is what you'd submit to a client or paste into a timesheet — hours per client per day, with enough detail to justify the line items.
Before fetching any data, ask the user two things:
Store both answers — you'll use the client list to classify time blocks and the range to set startTime/endTime.
For the requested time range, iterate one day at a time to preserve sequential context:
browse_timeline(startTime="<day start>", endTime="<day end>", limit=200, sampling="uniform")
If the response header shows results were sampled (i.e., more entries exist), re-fetch that day with a higher limit (up to 1000).
For a single-day report, one call is enough. For multi-day ranges, iterate day by day and process each batch before moving on.
Walk through each day's activities chronologically:
Map each time block to a client from the user's list:
get_activity_details(ids) on 1–2 representative entries to inspect OCR text. Keep this to genuinely ambiguous cases.If the user skipped providing a client list in Step 1 (scan-first mode), propose a client list based on the distinct projects/apps you see, ask the user to confirm or adjust, then re-classify.
Format as a markdown table, grouped by client:
## Time Report — [Date range]
### [Client A]
| Date | Time Range | Project / Task | Duration | Details |
|---|---|---|---|---|
| Mon Feb 23 | 9:00 AM – 10:15 AM | API integration | 1h 15m | Editing api.ts, testing endpoints |
| Mon Feb 23 | 2:00 PM – 3:30 PM | API integration | 1h 30m | Debugging auth flow |
| Tue Feb 24 | 10:00 AM – 11:45 AM | Dashboard | 1h 45m | Building chart components |
**Subtotal**: 4h 30m
### [Client B]
| Date | Time Range | Project / Task | Duration | Details |
|---|---|---|---|---|
| Mon Feb 23 | 11:00 AM – 12:00 PM | Landing page | 1h 0m | Designing hero section |
**Subtotal**: 1h 0m
### Internal / Unassigned
| Date | Time Range | Activity | Duration | Details |
|---|---|---|---|---|
| Mon Feb 23 | 10:15 AM – 10:30 AM | *Break* | 15m | |
| Tue Feb 24 | 9:00 AM – 9:45 AM | Email + Slack | 45m | |
**Subtotal**: 1h 0m
---
**Total tracked time**: 6h 30m
**Breaks**: 15m
**Coverage**: Mon Feb 23 – Tue Feb 24
If the range is a single day, drop the Date column. If the report period is still in progress, note it's partial.
If the user asks follow-up questions after the report:
search_context(query) for client-specific or project-specific queries (e.g., "how long did I spend on Client A's API this week?").get_activity_details(ids) when they want exact on-screen text from a specific time block."today" resolves to midnight local time on the server.tools
(new) Turn a process analysis into a polished, client-ready report, first an HTML deck you review, then a matching PDF. Use to package an analysis into an exec report or PDF. Shows the deck for approval before making the PDF, and never makes up numbers.
data-ai
(new) Find a person's repeated tasks from their screen activity, and what each one is worth automating, with the time and money saved. Outputs the numbers and data a report is built from, not the visual. Use to analyze processes, mine workflows, or see what is automatable and what it saves. Every figure is labelled and grounded, never made up.
tools
Write step-by-step automation instructions for a workflow, tailored to your tool (Claude, n8n or Zapier). Best run right after discover-patterns or process-analyst.
tools
Summarize what you've been doing in the last 30 minutes.