markdown.summarize

markdown.summarize is a skill for Claude Code from gpsaggese/helpers. It costs 12 tokens per session (2,171 once invoked), scanned A, original, Apache-2.0.

A Markdown document summarizer that turns a file or text into shorter bullet points while keeping its heading structure. It can target a word count or a fraction of the original length and writes a new Markdown file.

In plain words
What is it for?
Use it to condense project notes, specifications, guides, or other Markdown files while retaining their section layout.
Why use it?
It removes the manual work of finding the main points in long Markdown documents. Preserving headings makes the shortened version easier to navigate.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths.

Good fit Use it to condense project notes, specifications, guides, or other Markdown files while retaining their section layout.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gpsaggese/helpers/markdown.summarize
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gpsaggese/helpers --skill markdown.summarize
Clone the repo
git clone --depth 1 https://github.com/gpsaggese/helpers

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for markdown.summarize

README.md
[![agentmods](https://agentmods.dev/badge/skills/gpsaggese/helpers/markdown.summarize/github.svg)](https://agentmods.dev/skills/gpsaggese/helpers/markdown.summarize)
Your own site
<a href="https://agentmods.dev/skills/gpsaggese/helpers/markdown.summarize"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/markdown.summarize/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for markdown.summarize

Your own site · 80×15
<a href="https://agentmods.dev/skills/gpsaggese/helpers/markdown.summarize"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/markdown.summarize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,171 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00012 $0.02171
Opus 5.5 $0.00005 $0.00868
Sonnet 5.5 $0.00002 $0.00434
Haiku 4.5 $0.00001 $0.00217

Measured yesterday against content hash 8ed486091a9d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

markdown.summarize scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/markdown.summarize/SKILL.md · 208 lines

How it starts

The opening of the file, as written. The whole thing — 208 lines — stays where its author put it; the contents beside it link to each section on 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 Tag for output filename (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 explanation.<tag>.md (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)
    • Headers nested inside a collapsed section become sub-bullets

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.md and text.rules.md (e.g., starting at level 1, capitalizing major words, numbering in order)

Read the full file on GitHub · 208 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 208 lines · 12 tokens per session scan A 8ed486091a9d

Subscribe to this mod's changes

markdown.summarize is a skill published in the GitHub repository gpsaggese/helpers (158 stars, last pushed today), licensed Apache-2.0. It adds 12 tokens to every session and 2,171 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-06.

Related

markdown.summarize compared with skills from other repositories

markdown.summarize next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
markdown.summarizegpsaggese/helpersSkill158todayApache-2.0A12Claude Code
orbit-notionnexu-io/open-designSkill106ktodayApache-2.0A117Claude Code, Codex
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill35ktodayApache-2.0A123Claude Code
apify-youtube-transcript-scrapersickn33/agentic-awesome-skillsSkill49kyesterdayMITA48Claude Code
legal-holdanthropics/claude-for-legalSkill9.9ktodayApache-2.0A68Claude Code
report-to-pdfasgeirtj/system_prompts_leaksSkill71ktodayCC0-1.0A17Claude Code, Codex
artifact-template-minimal-letterheadasgeirtj/system_prompts_leaksSkill71ktodayCC0-1.0A54Claude Code, Codex