Skip to content
Agentmart
Submit a tool

summarize

Generate a summary document from the current work session

Skill by brian-lai

IndexedMIT★ 7
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/brian-lai-summarize

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Generate a summary document from the current work session

Use cases: documents

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/summarize

What's inside

Skill name
summarize
Description
Generate a summary document from the current work session
License
MIT
Instructions
50 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • summary-template.md

SKILL.md (first lines)

Generate a summary document from the current work session. Supports both simple and phased plans.

## Usage

```
/para:summarize                   # Auto-detect active plan/phase
/para:summarize --phase=N         # Summarize specific phase
```

## What It Does

1. Reads `worktree_path` from `context/context.md` JSON metadata
2. Analyzes git changes from the worktree using `git -C {worktree_path} diff main...HEAD` and `git -C {worktree_path} log main..HEAD`
3. Reviews the active plan (or phase) from `context/context.md`
4. Creates summary in the **main working tree**: `context/summaries/YYYY-MM-DD-task-name-summary.md` (or `...-phase-N-summary.md`)
5. Updates `context/context.md`: moves plan from `active_context` to `completed_summaries`, updates timestamp
6. For phased plans, marks phase status as "completed"

## Summary Sections

- **Date & Status** -- when completed, success/failure
- **Changes Made** -- files modified/created with line references (from worktree diff)
- **Rationale** -- why these changes were made
- **MCP Tools Used** -- preprocessing tools utilized
- **Key Learnings** -- insights, follow-up tasks, gotchas
- **Test Results** -- pass/fail status, coverage metrics

## Implementation

1. Get current date in `YYYY-MM-DD` format
2. Read `context/context.md` to find active plan and `worktree_path`
3. If `worktree_path` is set, analyze changes with:
   - `git -C {worktree_path} diff main...HEAD` for file-level changes
   - `git -C {worktree_path} log main..HEAD --oneline` for commit history
4. If no `worktree_path` (legacy or `--no-worktree` execution), fall back to `git diff` and `git status` on current branch
5. Extract task name from plan filename
6. Create summary file in main working tree with template from `summary-template.md`
7. Update `context/context.md` metadata
8. Display summary location

## Post-Summarize Guidance

If `/para:summarize` was run standalone (not as part of `/para:workflow`), the next steps are:
1. Push the branch: `git -C {worktree_path} push -u origin para/{task-name}`
2. Create a PR: `gh pr create` from the worktree branch
3. Run `/para:archive` to clean up the worktree and archive context

If `/para:summarize` was invoked as Step 4 of `/para:workflow`, the PR was already created in Step 2 of the workflow — skip the manual push/PR instructions above.

From brian-lai/para-programming-plugin, MIT.

Signals

Stars
7
Forks
1
Open issues
0
Last commit (this folder)
Apr 27, 2026 (6 months ago)
Last release
Apr 30, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from brian-lai

Cite this page

summarize skill. Agent Mart. https://agentmart.dev/skills/brian-lai-summarize (last updated 2026-10-24)