Markdown.Summarize
БесплатноБез исполняемых скриптовНе проверенSummarize markdown content into bullet points while preserving header structure
от gpsaggese★ 158 звёзд на GitHubОб этом скилле
Interface Specification
Inputs
| Parameter | Type | Required | Description |
|---|---|---|---|
<INPUT> |
file path or text | Yes | Markdown file or text chunk to summarize |
<NUM_WORDS> |
integer | No* | Target output word count |
<FRACTION> |
float (0-1) | No* | Alternative to <NUM_WORDS>: fraction of original size |
<MAX_HEADER_LEV> |
integer | No | Max header level to preserve (default: preserve all levels) |
<TAG> |
string | No | <INPUT_REF> of the output file name (default: derived from <INPUT>) |
- Exactly one of
<NUM_WORDS>or<FRACTION>must be specified.
Outputs
| Item | Format | Description |
|---|---|---|
| Console output | Text | Header structure preview + summary + statistics |
| Output file | Markdown | markdown.summarize.<TAG>.md in the current dir (overwrites if exists) |
| Word count | Integer | Original and target word counts printed to console |
- Say in the output file how it was generated, with this comment at the top:
<!-- Generated by `.claude/skills/markdown.summarize/SKILL.md` -->
Workflow
Parse Input
- Read the file at
<INPUT> - Extract headers using markdown syntax (
#,##,###, etc.)
Determine Header Strategy
Case A: Input has header structure
- Extract all headers and print the structure to console
Case B: Input is plain text (no headers)
- Skip header extraction. Summarize directly
Apply Header Level Filter
If <MAX_HEADER_LEV> not specified:
- Preserve all header levels from the original
If <MAX_HEADER_LEV> specified:
- Keep only headers with level <=
<MAX_HEADER_LEV> - Summarize each deeper section into chunks (see "Group Into Chunks")
- Each collapsed section becomes a chunk titled after its header text
(shortened if needed)
- A single chunk has no title (see "Group Into Chunks")
- Headers nested inside a collapsed section become sub-bullets
- Each collapsed section becomes a chunk titled after its header text
(shortened if needed)
For every header kept (header fidelity):
- Copy the header line verbatim: same
#level, text, numbering, and order- Do not rename, reword, re-case, renumber, or add numbers to it
- Keep gaps and duplicates in the source numbering
- Do not add, merge, split, or reorder headers. Only headers deeper than
<MAX_HEADER_LEV>are removed - Header fidelity wins over the header rules of
markdown.rules.mdandtext.rules.md(e.g., starting at level 1, capitalizing major words, numbering in order)
Calculate Target Length
- Count the original word count as
<ORIG_NUM_WORDS> - If
<FRACTION>is given:<TARGET_WORDS>=<ORIG_NUM_WORDS>x<FRACTION> - If
<NUM_WORDS>is given:<TARGET_WORDS>=<NUM_WORDS>
Summarize Content
- Convert to chunks of nested bullets. See "Group Into Chunks" and "Compress Content" below
- Follow
.claude/skills/markdown.rules.mdand.claude/skills/text.rules.md- If they conflict with the chunk format, the chunk format wins (e.g., the
##chunk titles in "Example 2" oftext.rules.md)
- If they conflict with the chunk format, the chunk format wins (e.g., the
- Constraints:
- Convert all mathematical formulas to LaTeX
- Wrap text at 85 columns
- Hit
<TARGET_WORDS>within 10% tolerance - Preserve key concepts and important details
Group Into Chunks
- Split the content under each preserved header into chunks of related content
- If the input has no headers, split the whole text into chunks
- Add chunk titles only when a section has two or more chunks (i.e., topics)
- A section with a single chunk has no title line: put its bullets directly under the header, after one blank line
- Do not split a single topic only to justify a title
- In a section with two or more chunks, start each chunk with a title line
* <TITLE>, with no leading spaces- Put the bullets directly under the title, with no blank line in between
- Separate chunks with one blank line
- Do not write bullets outside a chunk
- A chunk:
- Covers one topic or idea
- Has typically 2-5 first-level bullets
- Follows the order of the source
- Start a new chunk when the topic changes
- E.g., from a definition, to why it matters, to its uses, to an example
- Rules for
<TITLE>(same as slide titles inslides.rules.md):- Short noun phrase, 2-6 words, in sentence case
- Names the topic or the claim, not its role
- Bad:
* Overview,* Details,* Point 2 - Good:
* Culture > strategy
- Bad:
- Use
>to express priority or comparison - Use
: <qualifier>for a variant of an earlier chunk's topic- E.g.,
* Core values: EOS Worldwide example
- E.g.,
- No numbering, no trailing punctuation, ASCII only
- Unique within its section
- Use
#only for headers in the source, with their source numbers*chunk titles are never numbered
Compress Content
- Keep:
- Definitions and claims
- Enumerations (e.g., the list of values)
- Cause-effect relations (e.g., culture wins in the long term)
- The few concrete examples that clarify a claim
- Drop:
- Qu
Установить Markdown.Summarize в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл Markdown.Summarize?
Summarize markdown content into bullet points while preserving header structure
Как установить скилл Markdown.Summarize?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Markdown.Summarize запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic