agentleFS
willfanguywillfanguy/work-summary-kit/skills/weekly-summary/SKILL.md

weekly-summary

Skill0 starsChanged 7 months agoMITView on GitHub

Generate a weekly work summary by aggregating daily summaries. Calculates velocity trends, project health, and next-week priorities. Run /weekly-summary at the end of the week (typically Friday afternoon). Requires daily summaries to exist.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. 0 are common, 13 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 13

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If missing, tell user to run /summary-init first.

    line 38
  2. Distinctive:

    Commit count and line changes (from Code Activity or Metrics)

    line 63
  3. Distinctive:

    Read each section of the daily file.

    line 77
  4. Distinctive:

    Look for the previous week's summary:

    line 108
  5. Distinctive:

    If it exists, read it and extract the same metrics for comparison.

    line 114
  6. Distinctive:

    If no previous week exists, skip the comparison section.

    line 121
  7. Distinctive:

    This is the most important step: Don't just concatenate daily items.

    line 125
  8. Distinctive:

    Write a synthesized 2-3 line summary that captures the full week's progress

    line 130
  9. Distinctive:

    Add an impact statement

    line 131
  10. Distinctive:

    Blocked: No tasks completed, explicit blockers, dependency waiting

    line 143
  11. Distinctive:

    Follow the template format to generate the weekly summary with all aggregated data.

    line 152
  12. Very specific:

    Update state file with new weekStartDate (next Monday).

    line 170
  13. Distinctive:

    Synthesize over repeat: Never just list daily items.

    line 181
  14. Distinctive:

    Trends matter: Always compare to previous week when available.

    line 182
  15. Distinctive:

    Keep scannable: Use consistent formatting, metrics at the top, details below.

    line 186

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

Weekly Summary Generator

Step 0: Initialize

Get current date/time:

TZ={timezone from config} date "+%Y-%m-%d %H:%M:%S %Z (%A)"

Calculate the current ISO week number and week date range:

TZ={timezone} date "+%V"          # ISO week number
TZ={timezone} date -v-Mon "+%Y-%m-%d"  # Monday of this week (macOS)
TZ={timezone} date -v-Fri "+%Y-%m-%d"  # Friday of this week (macOS)

For Linux, use date -d "last monday" / date -d "next friday" equivalents.

Step 1: Load Configuration

Read ~/.config/work-summary/config.json.

If missing, tell user to run /summary-init first.

Resolve paths (same as daily-summary skill).

Step 2: Locate Daily Summaries

Find all daily summaries from this week in the configured daily output directory:

ls {daily_output_dir}/

Match files from Monday through Friday (or today if running mid-week).

If no daily summaries exist, tell the user:

No daily summaries found for this week. Run /daily-summary first to generate them.

If only some days have summaries, note which days are missing and proceed with available data.

Step 3: Read and Parse Daily Summaries

For each daily summary file, read it and extract:

Metrics

  • Tasks completed count (from Metrics or Completed Tasks section)
  • Commit count and line changes (from Code Activity or Metrics)
  • JIRA tickets mentioned (from JIRA section)
  • Meeting count and total hours (from Meetings section)
  • Focus time hours (from Meetings section)
  • Slack message count (from Slack section)

Content

  • Accomplishments by project
  • Key decisions made
  • Blockers (resolved and new)
  • Action items

Parsing approach

Read each section of the daily file. Look for the section headers that match the template format:

  • ## Executive Summary or ## Summary
  • ## Metrics
  • ## Code Activity
  • ## JIRA Ticket Updates
  • ## Meetings or ## Meetings & Time Allocation
  • ## Slack Activity
  • ## Completed Tasks
  • ## Active Blockers or ## Blockers

Extract numbers from metrics lines (regex for digits following labels).

Step 4: Aggregate Metrics

Sum and average across all daily summaries:

total_tasks = sum of daily task counts
total_commits = sum of daily commit counts
total_lines_added = sum of daily additions
total_lines_removed = sum of daily removals
total_meeting_hours = sum of daily meeting hours
total_meeting_count = sum of daily meeting counts
total_focus_hours = sum of daily focus hours
working_days = number of daily summaries found
avg_tasks_per_day = total_tasks / working_days
avg_commits_per_day = total_commits / working_days

Step 5: Compare to Previous Week

Look for the previous week's summary:

previous_week_file = {weekly_output_dir}/{previous week filename}

If it exists, read it and extract the same metrics for comparison.

Calculate week-over-week changes:

change_pct = ((this_week - last_week) / last_week) * 100

If no previous week exists, skip the comparison section.

Step 6: Synthesize Accomplishments

This is the most important step. Don't just concatenate daily items.

For each project that appears across multiple days:

  1. Collect all accomplishments from each day
  2. Identify the narrative arc (started -> worked on -> completed)
  3. Write a synthesized 2-3 line summary that captures the full week's progress
  4. Add an impact statement

Example:

  • Monday: "Created prompt template" + Tuesday: "Documented template" + Wednesday: "Launched to team"
  • Synthesis: "Prompt template system created, documented, and launched. 80% reduction in setup time."

Step 7: Assess Project Health

For each project mentioned in daily summaries:

Strong: 2+ tasks completed this week, active commits, no open blockers, forward progress Needs Attention: Some progress but challenges noted, approaching deadline Blocked: No tasks completed, explicit blockers, dependency waiting

Step 8: Generate Output

Load the weekly template:

{kit_path}/templates/{config.output.weekly_template}.md

Follow the template format to generate the weekly summary with all aggregated data.

Step 9: Write File

Determine filename from config.output.weekly_file_naming:

PatternReplacement
YYYY4-digit year
WWISO week number (zero-padded)
[text]Literal text

Default: YYYY-[W]WW.md -> 2026-W10.md

Write to {weekly_output_dir}/{filename}.

Step 10: Update State

Update state file with new weekStartDate (next Monday).

Step 11: Report

Tell the user:

  • Where the file was written
  • Key highlights: top accomplishments, velocity trend, project health summary
  • Any missing daily summaries

Quality Rules

  1. Synthesize over repeat: Never just list daily items. Always combine related work into narratives.
  2. Trends matter: Always compare to previous week when available.
  3. Focus on outcomes: Lead with impact, not process.
  4. Project-centric: Organize by project health and momentum.
  5. Forward-looking: End with next week's priorities.
  6. Keep scannable: Use consistent formatting, metrics at the top, details below.

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.