<< All versions

Skill v1.0.2

Automated scan100/100
ohdearquant/lionagi/summarize

3 files

──Details
PublishedNovember 8, 2026 at 08:33 PM
Content Hashsha256:54e603c5098488c3...
Git SHA3d04e7f2cf2b
Bump Typepatch
Compare with v1.0.1
──Files
Files (1 file, 3.7 KB)
SKILL.md3.7 KBactive
SKILL.md · 83 lines · 3.7 KB

name: summarize description: > Mid-session context capture and proactive decision/pattern capture. Use when: significant progress made but session continues, approaching context limits, switching topics, checkpoint learnings, significant decisions made, patterns emerge, or session is winding down. Lighter than a full session summary — captures progress and continues. allowed-tools: [Bash, Read, Write, Edit, Glob, Grep] metadata: version: "1.0.2"


Summarize (Mid-Session)

Capture context, learnings, and progress without ending the session. Write a checkpoint, then continue.

When to Use

  • Significant milestone reached but more work ahead
  • Switching to a different topic within the same session
  • Context getting close to its limit — checkpoint before compaction
  • After completing a multi-step task, before starting the next
  • Patterns or decisions have emerged that should be recorded

Not for session-ending summaries — use a full session summary for that.

Proactive Capture Triggers

Fire a capture immediately when any of these occur:

TriggerAction
Decision madeRecord decision + rationale + alternatives considered
Pattern discoveredNote the pattern with "when to use" conditions
Significant work completedCapture what was done + outcome
Problem solvedRecord approach + what worked / what didn't
Session winding downOffer to run a full session summary or auto-capture key points
Topic switchQuick checkpoint before context shifts

Session wind-down signals: "thanks", "that's it", "done for now", long pause after significant work, context switch to unrelated topic, time indicators ("gotta go", "wrapping up").

What's Worth Capturing

Always: architectural decisions, technology choices with rationale, bug root causes + fixes, performance optimizations, security considerations, integration patterns.

When significant: refactoring approaches, test strategies, debugging techniques, file organization decisions, naming conventions.

Skip: routine edits, typo fixes, standard boilerplate, obvious patterns already documented.

Key Principles

  • Fast > thorough: This is a checkpoint, not a dissertation. Keep it brief enough to

preserve momentum.

  • File-first: Write to ./notes/checkpoints/ so checkpoints survive context resets.
  • Continue after: This skill does NOT end the session.
  • Compound: Multiple checkpoints per session is fine — they build a trail.
  • Searchable: Use clear prefixes (CHECKPOINT, PATTERN, DECISION, LESSON) for future grep.
  • Silent capture: Don't interrupt flow. Capture at natural breaks, not mid-thought.

Anti-Patterns

  • Writing a full session summary mid-session (use a full session summary)
  • Spending longer on the checkpoint than the work needs
  • Only commenting in-line without writing a retrievable file
  • Generic summaries without specifics ("worked on stuff")
  • Over-capturing: not every line of code matters

See checkpoint-format.md for detailed checkpoint template, memory type distinction, decision/pattern/lesson capture templates, a delegated-capture example through the plugin's MCP server, and the quality guide.

Relevant Source Files

  • lionagi/cli/_runs.py — run persistence at ~/.lionagi/runs/{run_id}/
  • lionagi/cli/_logging.py — structured logging conventions used in CLI sessions
  • lionhub/src/lionhub/serve/mcp/server.py, lionhub/src/lionhub/serve/mcp/verbs.py — agent.submit / job.output, the MCP

path for delegating a capture to a sub-agent and reading back its saved artifacts

  • lionagi/cli/agent.py — li agent, the checkout-local equivalent; it persists runs without

a flag

← v1.0.1All versionsv1.0.3 →