← 返回 Skills 市场
wangjipeng977

Markdown To Summary

作者 王继鹏 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
154
总下载
1
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install markdown-to-summary
功能描述
Use when (1) user provides a long markdown document and asks to summarize, abstract, or condense it. (2) user says "summarize this", "tl;dr", "give me the ke...
使用说明 (SKILL.md)

Markdown to Summary

Use when (1) user provides a long markdown document and asks to summarize, abstract, or condense it. (2) user says "summarize this", "tl;dr", "give me the key points", or "what's the main idea". (3) user pastes a README, article, or doc and wants a short version.

Core Position

This skill solves the specific problem of: long markdown content needs to be distilled into its essential points without losing critical information.

This skill IS NOT:

  • A translation tool — it condenses, it does not translate language
  • An analysis tool — it summarizes facts, not opinions or sentiment
  • A code documentation tool — for code comments use code-to-mindmap instead

This skill IS activated ONLY when: markdown text + summary/condense intent are both present.

Modes

/markdown-to-summary

Default mode. Produces a concise summary preserving key information structure.

When to use: User provides markdown and wants a shorter version covering main points.

/markdown-to-summary/bullet

Outputs key points as a structured bullet list instead of prose.

When to use: User wants action items, highlights, or a quick-scan list rather than paragraph summary.

/markdown-to-summary/tl-dr

Produces a single-sentence and single-paragraph tl;dr.

When to use: User wants the absolute shortest version possible.

Execution Steps

Step 1 — Analyze the Document Structure

  1. Receive markdown input (pasted text, file, or path)
  2. Detect document type:
    • Technical doc (README, API docs, guide): preserve architecture, setup steps, key concepts
    • Article/post: preserve main argument, evidence, conclusion
    • Meeting notes: preserve decisions, action items, owners
    • Changelog/release notes: preserve version, key changes, breaking changes
  3. Extract hierarchy: H1/H2/H3 headings define primary sections; body text fills them
  4. Identify key content signals:
    • Repeated terms → core topics
    • Numbers/dates → factual claims worth preserving
    • Code blocks → technical detail to keep reference to
    • Tables → structured data to preserve

Step 2 — Extract Key Points

For each major section (H2 level):

Section Type Keep Discard
Technical doc Prerequisites, setup steps, key concepts, examples Installation chatter, release notes noise
Article Thesis statement, supporting evidence, conclusion Digressions, tangents, filler examples
Meeting notes Decisions made, action items, owners Meeting meta (time, attendees unless relevant)
Changelog New features, bug fixes, breaking changes Version numbers, dates, contributor lists unless significant

Step 3 — Compose Summary

Choose output format based on mode:

  • Default: prose paragraphs, ~20-30% of original length
  • Bullet: labeled bullet points, one per H2 section
  • Tl;dr: 1 sentence + 1 paragraph max

Key principles:

  • Preserve specific numbers, names, dates, and version numbers
  • Keep code examples as references (not full code)
  • Use original heading structure as outline
  • Maintain logical flow (don't reorder unrelated sections)

Step 4 — Validate

  • Summary length is ≤40% of original (unless user specified a different ratio)
  • Every major H2 section has at least one mention
  • No new information added that wasn't in the original
  • Technical accuracy preserved (version numbers, commands, paths match)

Mandatory Rules

Do not

  • Do not add opinions, analysis, or commentary not in the original
  • Do not reorder sections — keep the original logical flow
  • Do not change technical values (version numbers, paths, commands)
  • Do not produce a summary longer than the original without explicit permission

Do

  • Preserve exact technical values (version numbers, URLs, paths)
  • Keep section structure aligned with original headings
  • Flag when a section was condensed significantly vs. kept intact
  • Note any sections that were dropped entirely and why

Quality Bar

A good output:

  • Every major section appears in the summary
  • Technical facts match the original exactly
  • Length is 20-40% of original
  • Structure mirrors original (sections in same order)

A bad output:

  • Introduces new information not in source
  • Drops an entire H2 section with no mention
  • Changes technical specifics (wrong version number, command)
  • Summary is longer than original

Good vs. Bad Examples

Scenario Bad Output Good Output
2000-word README 200-word summary missing setup steps Preserves: prerequisites, key commands, architecture
Changelog with 20 entries Lists all 20 Groups: 3 features, 5 fixes, 1 breaking change
Article with digression Includes the tangent Skips digression, keeps main argument
API doc with code examples Rewrites code in prose Keeps code block, summarizes surrounding text

References

  • references/ — Document type taxonomies, summary length guidelines by use case
安全使用建议
Treat this as an incomplete review rather than clearance: the local artifact files should be inspected successfully before installing or approving the skill.
能力评估
Purpose & Capability
Artifact coherence could not be verified because local file inspection failed before commands ran.
Instruction Scope
SKILL.md instructions could not be reviewed, so scope claims are unverified.
Install Mechanism
Install metadata and file contents could not be inspected, so install behavior is unverified.
Credentials
Runtime environment needs could not be compared against the skill purpose.
Persistence & Privilege
No artifact-backed persistence or privilege concern was found, but the artifact files were not readable in this run.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install markdown-to-summary
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /markdown-to-summary 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Update README with real Features and 功能特性 content
v1.0.0
Initial release
元数据
Slug markdown-to-summary
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Markdown To Summary 是什么?

Use when (1) user provides a long markdown document and asks to summarize, abstract, or condense it. (2) user says "summarize this", "tl;dr", "give me the ke... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 154 次。

如何安装 Markdown To Summary?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install markdown-to-summary」即可一键安装,无需额外配置。

Markdown To Summary 是免费的吗?

是的,Markdown To Summary 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Markdown To Summary 支持哪些平台?

Markdown To Summary 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Markdown To Summary?

由 王继鹏(@wangjipeng977)开发并维护,当前版本 v1.0.1。

💬 留言讨论