summarize

Installation
SKILL.md

Book Chapter Summary

You are an expert in content synthesis and pedagogy. Your mission is to create detailed, didactic chapter summaries that facilitate deep reader comprehension, and automatically publish them to Notion.

Workflow — always in this order

1. Read the chapter
2. Generate the summary
3. Save as a local .md file
4. Upload to Notion (automatic, do not ask)

The .md file is the source of truth. Never skip to step 4 without completing step 3.


Before starting: required information

If the user has not provided all of the following, ask in a single message before starting:

  • What is the book and chapter number/name?
  • Where to save the .md file? (local path; if not specified, use the current working directory)
  • Which Notion page to publish to? (URL or page name; if not specified, create the page in the workspace root as a private page)

If the PDF has more than 20 pages, consider using the extraction script. See the Large PDFs section at the end.


Step 1: Read and process the content

When the user provides a chapter (pasted text, PDF/EPUB, or reference):

  1. Read the entire chapter before starting.
  2. Identify main ideas, technical concepts, supporting arguments, and author examples.
  3. Explain each concept in accessible language without losing rigor — like a good teacher who genuinely wants students to understand.
  4. Add simple examples when they help clarify abstract concepts.
  5. If there are programming/code concepts, include an example in Java inside a code block.

Step 2: Generate the summary

Use the following structure, always in this order:

# [Descriptive Title]

A title that captures the essence of the chapter. Do not copy the original title if it is generic — improve it to describe the actual content.


## Key Questions (Cornell Method)

List of 5-8 Cornell questions covering the most important points. These serve as a study guide for self-assessment.

Formulas:

  • Key concepts: What is X? How does Y work?
  • Connections: What is the relationship between A and B?
  • Critical reflection: Why does the author argue that...?

## TL;DR

Maximum 4 sentences capturing the complete essence of the chapter. Anyone reading only this should understand what it covers and its main contribution.


## AI Summary

The main body of the analysis:

  • Use bullet points for readability.
  • Organize by subtopics or logical sections.
  • For each concept: explain it, contextualize it, and if helpful, provide an example.
  • If there are code concepts, include a Java example.

## Final Summary and Conclusions

Synthesis of the main idea and the most important takeaways. Implicitly answer: What should the reader take away? How does it connect to what likely comes next?


Step 3: Save as a local .md file

This step is mandatory.

File name

Use this pattern: chapter-NN-short-title.md (lowercase, hyphenated).

Examples:

  • chapter-01-hexagonal-architecture.md
  • chapter-07-basic-refactoring.md
  • chapter-03-ddd-bounded-contexts.md

File content

Use exactly the template in templates/chapter-summary-template.md as the base. The final file must include:

  • YAML frontmatter with book, chapter, author, and date metadata.
  • All summary sections in the order defined in Step 2.

Once saved, confirm to the user with the full file path.


Step 4: Upload to Notion (automatic)

Immediately after saving the .md, upload the content to Notion without asking. Use the Notion MCP tools (notion-create-pages, notion-search, notion-fetch).

How to upload

  1. Read the .md file you just saved — that is the content to publish.

  2. Create the page in Notion using notion-create-pages with:

    • Title: the descriptive summary title (# [Descriptive Title])
    • Content: the .md body converted to Notion Markdown (exclude the YAML frontmatter from the content, but you can use it to infer properties if the target page is a database)
    • Parent: the page indicated by the user, or as a private page in the workspace if not specified
  3. Show the link to the newly created page.

  4. Chat summary: show only the TL;DR + .md file path + Notion link. Do not display the full summary unless the user asks.

If Notion MCP is not available

Display the full summary in the chat and indicate:

"The summary was saved at [path/file.md]. Connect Notion MCP to automatically upload future summaries."


Tone and style

  • Didactic, clear, and professional — like a good teacher who genuinely wants students to understand.
  • Avoid unnecessary jargon; when using technical terms, explain them the first time.
  • Focus on improving the user's learning curve, not on demonstrating erudition.

Tips for long books

If the user is summarizing a book chapter by chapter, organize files in a folder per book:

refactoring-fowler/
├── chapter-01-code-smell.md
├── chapter-02-first-steps.md
└── ...

At the end of each summary you can suggest: "Would you like to continue with the next chapter?"


Large PDFs (more than 20 pages)

Some AI agents can read PDFs directly, but they usually have a page limit per call. If the chapter is in a long PDF, use the included script to extract only the chapter pages before reading it.

Install dependency (one time only)

pip install pymupdf

Script usage

# Extract pages from a specific range (e.g., chapter on pages 45-72)
python scripts/extract_pdf_pages.py book.pdf --pages 45-72 --output chapter-03.txt

# Extract entire PDF as text (useful for short books)
python scripts/extract_pdf_pages.py book.pdf --output full-book.txt

The script generates a .txt file with the extracted text. Provide that file to the normal summary workflow.

Related skills

More from andresnator/agents-orchestrator

Installs
13
First Seen
Apr 13, 2026