agentsclimarketplace

Session recap

Skill neumie/almanac/skills/productivity/session-recap

Personal agent toolkit — curated skills for LLM coding agents

Install
npx -y skills add neumie/almanac --skill session-recap

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when summarizing the current branch or session. Gathers git log, diff, branch, PR status, uncommitted changes. Triggers: recap, catch me up, what did I do, where was I.

SKILL.md

3.6 KB, 874 tokens by cl100k_base, as published. Nobody here has run it

Session Recap

Summarize what happened on the current branch so the user can pick up where they left off.

Gather Context

These commands run automatically when the skill loads — output replaces each line below. Use whatever succeeded.

  • Current branch: !git branch --show-current
  • Working tree (short): !git status --short
  • Unstaged stat: !git diff --stat
  • Staged stat: !git diff --cached --stat
  • Recent commits: !git log --oneline -10
  • Base detection: !git rev-parse --verify origin/main 2>/dev/null && echo "BASE=main" || (git rev-parse --verify origin/master 2>/dev/null && echo "BASE=master") || true
  • Branch commits: !git log "origin/$(git rev-parse --verify origin/main >/dev/null 2>&1 && echo main || echo master)..HEAD" --oneline 2>/dev/null || true
  • Branch commit messages: !git log "origin/$(git rev-parse --verify origin/main >/dev/null 2>&1 && echo main || echo master)..HEAD" --format="%h %s%n%b" 2>/dev/null || true
  • Branch diff stat: !git diff "origin/$(git rev-parse --verify origin/main >/dev/null 2>&1 && echo main || echo master)..HEAD" --stat 2>/dev/null || true
  • Open PR: !gh pr view --json number,title,url,state,body,reviews,statusCheckRollup 2>/dev/null || true

If any output was empty, that information is unavailable for this repo — skip the corresponding section in the recap.

Produce the Recap

Print a concise summary using this structure. Omit any section that has no content.

## Session Recap: <branch-name>

### Goal
<1-2 sentences describing WHY this work exists — the initial task or motivation.
 Infer from: branch name (e.g. feat/add-user-avatar → "Add user avatar support"),
 PR description body (if exists), first commit message, and the overall shape of changes.
 If the PR body contains context, prefer that — it's the most intentional description.>

### What was done
<1-5 bullet points summarizing the commits, grouped by intent — not one bullet per commit.
 Derive intent from commit messages, branch name, and the diff.>

### Current state
- Branch: <branch> (<N commits ahead of <base>>)
- PR: #<N> <title> (<state>) — <url>   OR   No PR yet
- CI: <passing/failing/pending>   (from statusCheckRollup, if available)
- Uncommitted changes: <none / N files modified, M staged>

### What might be next
<1-3 bullets. Infer from:
 - Uncommitted changes → unfinished work
 - No PR yet → create one
 - PR is draft → mark ready
 - CI failing → fix CI
 - PR has review comments → address feedback
 - Everything clean and merged → done>

Edge Cases

  • On main with no divergent commits: Report "On main — no branch work in progress." Show uncommitted changes if any, otherwise say the working tree is clean.
  • Detached HEAD: Report the detached state and show recent commits from git log -5 --oneline. Skip PR and branch-relative sections.
  • No remote configured: Skip PR and base-branch comparison. Use git log -10 --oneline and uncommitted changes only.
  • Brand new repo (no commits): Report "New repository — no commits yet." Show staged/untracked files if any.
  • gh CLI unavailable: Skip PR section entirely. Do not error.

Rules

  • This is read-only — never modify files, branches, or PRs.
  • Keep the output compact. The user wants a glance, not a report.
  • Do not print raw diffs or full file contents. Summarize.
  • If everything is clean (on main, no changes, no open PR), say so in one line and stop.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.