AGENT SKILL

recap

Produce a structured markdown briefing of AI coding sessions for a given time window. Groups sessions by project and summarizes each group with intent, outcome, and status. Use this skill when asked to recap recent coding work, summarize today's sessions, show what was worked on, or produce a daily/weekly session summary. Trigger phrases: "recap", "what did I work on", "daily summary", "session summary", "summarize my sessions", "what sessions did I have today", "coding recap". This is the sessions-only public version — no Slack, Jira, or Granola integration.

License 许可
MIT
所属仓库
psacc/omnisess
最近更新
2026-11-05
Stars
★ 1
Forks
1

01 前言 Front Matter

name
recap
license
MIT
metadata
{ "version": "0.13.0" }
description
Produce a structured markdown briefing of AI coding sessions for a given time window. Groups sessions by project and summarizes each group with intent, outcome, and status. Use this skill when asked to recap recent coding work, summarize today's sessions, show what was worked on, or produce a daily/weekly session summary. Trigger phrases: "recap", "what did I work on", "daily summary", "session summary", "summarize my sessions", "what sessions did I have today", "coding recap". This is the sessions-only public version — no Slack, Jira, or Granola integration.
allowed-tools
Bash
argument-hint
[today|yesterday|Nd]

02 资源文件 1

03 SKILL.md 正文

omnisess recap

Produce a structured markdown briefing of AI coding sessions for a given time window.

Usage

/omnisess:recap [today|yesterday|Nd]
  • Default window: today (last 24 hours)
  • yesterday — last 48 hours (rolling approximation — includes today's sessions too)
  • Nd — last N days (e.g., 3d = last 72 hours)

Instructions

Step 1: Binary guard

Check that the omnisess binary is available before proceeding:

if ! command -v omnisess &>/dev/null; then
  echo "omnisess not found. Install it with:"
  echo "  go install github.com/psacc/omnisess@latest"
  exit 1
fi

Step 2: Resolve the time window

Determine the --since duration from the argument (default to today if none provided):

  • today (or no argument) → --since=24h
  • yesterday → --since=48h
  • Nd where N is an integer → --since=<N*24>h (e.g., 3d → --since=72h)

If the argument does not match any of the above patterns, print:

Unknown window: <arg>. Use: today, yesterday, or Nd (e.g., 3d).

and exit 1.

Step 3: Fetch sessions as JSON

Run:

omnisess list --since=<resolved-duration> --json

Capture the JSON output. If the command exits with a non-zero status, print:

No sessions found for <window>.

and exit 1.

Step 4: Filter sessions

From the JSON array, discard:

  1. Sessions where the preview field is empty or missing
  2. Sessions where the preview field starts with / (these are Claude Code slash-command invocations — operational noise, not coding work)

If the filtered list is empty, print:

No sessions found for <window>.

and exit 0.

Step 5: Group by project

Group the remaining sessions by their project field (the project path). Use the basename of the path for display (e.g., ~/prj/myapp → myapp), but preserve the full path for the session detail lines.

Step 6: Summarize each group

For each project group, read the session previews and reason about:

  • Intent: What the user was trying to accomplish in this session
  • Outcome: What was achieved or produced (be specific if the preview contains enough detail)
  • Status: One of complete, in-progress, or unclear

Keep summaries concise (1–2 sentences per session).

Step 7: Render the markdown briefing

Output the following structure:

# Recap: <date range>

_<N> sessions across <M> projects_

## <project-basename>

- **<tool>:<short-id>** (`<full-project-path>`): <intent> — <outcome> · _<status>_

## Pending

- **<tool>:<short-id>** in `<project-basename>`: <reason why in-progress or unclear>

Rules:

  • The date range header uses the resolved window (e.g., "last 24h", "last 3 days")
  • The ## Pending section is omitted entirely if all sessions have status complete
  • List sessions within each project group in reverse chronological order (most recent first)

Notes

This skill is the public sessions-only version of /recap. It does not integrate with Slack, Jira, or Granola. Those integrations belong in a private local skill.

04 同仓库更多 Skills

psacc
psacc/omnisess

stats

Show tool-call counts and file-I/O activity from the transcript SQLite index. Aggregates Read/Write/Edit file paths, line counts, token usage, and error flags across a time window (default 7d) or for a single session. Use this skill when asked which tools were used most, which files saw the most activity, how many tokens were spent, or to inspect a single session's tool-call summary. Trigger phrases: "session stats", "tool stats", "what tools did I use", "tool usage", "files touched", "token usage", "stats for last week", "summarize tool calls", "session tool breakdown".

★ 1
psacc
psacc/omnisess

skills-audit

Classify agent skills by usage tier (Keep / Borderline / Archive / Unknown) using Claude Code session JSONL transcripts as the signal source. Read-only — never modifies skills, sessions, or any file on disk. Use this skill when asked to audit skills, find unused skills, classify skills, check which skills get used, produce a skill usage report, or prune skills. Trigger phrases: "audit skills", "find unused skills", "classify skills", "which skills do I use", "skill usage report", "prune skills", "what skills are unused", "skills I can remove", "trim my skill list". Output is a recommendation (Keep / Borderline / Archive) — acting on it is always a manual step.

★ 1
psacc
psacc/omnisess

show

Show the full detail of a single AI coding session by its ID. Session IDs are in the format <tool>:<id> (e.g., claude:5c3f2742, cursor:a1b2c3d4). Use this skill when asked to show a specific session, inspect a session, read a session, or view the messages in a session. Trigger phrases: "show session", "open session", "inspect session", "read session", "show me claude:5c3f2742", "view session details", "what happened in session".

★ 1
psacc
psacc/omnisess

search

Full-text search across all AI coding sessions (Claude Code, Cursor, Codex, GitHub Copilot CLI). Use this skill when asked to search sessions, find a conversation about a topic, look up what was discussed in past sessions, or find sessions mentioning specific code or concepts. Trigger phrases: "search sessions", "find sessions about", "look up in sessions", "what did I discuss about", "find conversation about", "search my history".

★ 1
psacc
psacc/omnisess

ps

Show live Claude Code and Codex sessions as a process tree, grouped by shared ancestor chain up to launchd. Covers Claude CLI sessions, Claude Desktop agent mode, and Codex sessions (CLI TUI + Codex.app threads). Use this skill when asked about the process tree, ancestor lineage, which terminal or tmux window a Claude or Codex session is running in, or what's currently running. Trigger phrases: "process tree", "what's running", "lineage", "ancestor chain", "which terminal is my claude in", "tmux tree", "claude process tree", "codex process tree", "session lineage". macOS-only: on other platforms the command prints "unsupported" and exits 0.

★ 1
psacc
psacc/omnisess

list

List AI coding sessions across all sources (Claude Code, Cursor, Codex, GitHub Copilot CLI). Use this skill when asked to list sessions, show recent sessions, filter sessions by tool, or get an overview of coding activity. Trigger phrases: "list sessions", "show sessions", "recent sessions", "sessions from cursor", "sessions today", "how many sessions", "show me my sessions".

★ 1