Token导航 LogoToken导航TokenDH.com
研究检索只读clawhub未标认证来源可访问clear审计通过

refine-markdown-to-mkdocsrefine Markdown TO mkdocs 搜索

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

3,730

周安装

157

GitHub Stars

公开资料未说明

下载量

1,306
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:refine-markdown-to-mkdocs(refine Markdown TO mkdocs 搜索)
来源仓库:https://github.com/smilingwayne/refine-markdown-to-mkdocs
安装命令:
openclaw skills install refine-markdown-to-mkdocs
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install refine-markdown-to-mkdocs

简介

整理 Markdown 文档,合并相似想法并消除冗余内容。

  • 适合提炼结构、补齐章节或统一术语,输出 mkdocs 格式。
  • 保留项目事实和路径,避免写成确定结论。
  • 安装命令:openclaw skills install refine-markdown-to-mkdocs。
  • 涉及对外文案时应控制语气,避免过度营销或夸大能力。

SKILL.md

name
refine-markdown-to-mkdocs
description
Refines raw reading notes by merging similar ideas, removing noise, and summarizing key points. Outputs structured markdown with different format (mkdocs materials style), e.g., Admonitions, bullet points, hightlights, blockquotes and so on. Use for "clean up notes", "summarize reading", "refine bookmarks", "get highlight cores".

refine-markdown-to-mkdocs

Transforms raw, scattered reading notes into structured, high-density knowledge modules. Unlike the Formatter, this Skill IS ALLOWED to delete, merge, add (minor), or rewrite content flexibily for clarity and brevity.

Core Principle: Domain-Adaptive Structuring, Category-Specific Logic, Controlled Fidelity and High-Density Output.

Workflow

Step 1: Read & Detect category or content type

Read the input file. Identify the source material (Book Title, Author, Nation, Chapter, Genre, Style).

You MUST classify it into the following categories (quick reference):

  1. Philosophy theory, thoughts
  2. Plays (tragedy, comedy, stage play etc)
  3. Novels
  4. Poetry (epic, sonnet,lyric, narrative, satirical etc.)
  5. Literary Theory and Criticism (poem/novel/prose/play etc. theories)
  6. Prose
  7. History and history notes
  8. Art Theory and collections
  9. Biography (philosophers, celebrities, leaders etc.)
  10. Programming and Computer Science (Artificial Intelligence, Deep Learning, Large Language Models etc.)
  11. Mathematical models and theory (Operations Research, Linear Algebra, Calculus, Algorithms etc)
  12. Integration of materials without a clear focus
  13. Others (notes that don't belong to any of the above)

Sure about category: Pause and ask the user for confirmation to continue, present:

One category detected.

- [Category A]:

Confirm, or choose a custom category: (Y/N)

Y for yes and N for no. If N, If not, enumrate the full categories to user with numebr in front and ask user to pick one. Note your recommended one with (recommended).

Not sure or ambigous about category: Pause and ask the user: "Mutliple categories covered. What genre or category do you believe it belongs to?" Generate 2~3 different categories candidates, present to user:

Pick a genre:

1. [Category A] - (recommend)
2. [Category B] - (category note)
3. [Category C] - (category note)

Enter number, or type a custom category:

The category you present and user select MUST be in the given categories. If not, enumrate the full categories to user with numebr in front and ask user to pick one. Note your recommended one with (recommended)

Step 2: Semantic Clustering (Analysis)

Based on category chosen in Step.1, view the classification rules of the specific category in references/notes_classify.md. The category-specific Primary Focus and High/Medium/Low Value Classification Rules are the guidelines you follow.

For example, category Novels follows:

**Primary Focus:** Narrative voice, character development, thematic depth, and stylistic devices.

**Classification Rules:**

1.  **High Value:** Character arcs (psychological evolution), narrative perspective shifts, symbolic imagery, author's stylistic signatures, critical reception. -> **Keep & Polish**
2.  **Medium Value:** Plot points, setting details, secondary character profiles, timeline of events. -> **Merge & Summarize**
3.  **Low Value:** Minor plot details, redundant summaries, subjective emotional rants without textual evidence. -> **Delete (Log in report)**

After your analysis and cluster, save your plans in the Output Plan File: {filename}-plan.md

Structure:

# Refinement Plan

## Cluster 1: [Theme Name]

- Source snippets: [Line numbers or quotes]
- Action: Merge into 1/2/3 Admonition block
- Draft Summary: [One sentence]

## Cluster 2: [Theme Name]

...

## Deletion List

- [Snippet content] -> Reason: Redundant/Unclear

Pause for User Confirmation: Show the plan. Ask: "Proceed with this refinement structure? (Yes/No/Edit)"

Step 3: Content Reconstruction (The Core)

Generate the refined content based on the approved plan.

Writing Rules:

  1. One Block, One Idea: Each semantic cluster becomes one Admonition block.
  2. Summary First: Every Admonition must start with a 1-sentence summary (bolded or as title).
  3. Merge Smoothly: When combining snippets, rewrite transitions so it reads like a coherent paragraph, not a list of quotes.
  4. Preserve Voice: If it's literature, keep the emotional tone. If non-fiction, keep the logical precision, if philosophy, follow strict logic, etc.
  5. No Hallucination: Do not add new knowledge not found in the notes. Only clarify existing knowledge.

Apply formatting guided by the Step 2 analysis to make markdown text prettier. Encouraged to use different styles to make text prettier. The goal is making the content scannable and the key points impossible to miss.

Formatting toolkit:

ElementWhen to useFormat
HeadingsNatural topic boundaries, section breaks##, ### hierarchy
BoldKey conclusions, important terms, core takeaways**bold**
Unordered listsParallel items, feature lists, examples- item
Ordered listsSequential steps, ranked items, procedures1. item
HighlightsCritical details, important comparisons for quick and short attention==text==
Color highlightColored emphasis where standard bold are insufficient<span style="color:red;font-weight:bold">text</span>
TablesComparisons, structured data, option matricesMarkdown table
CodeCommands, file paths, technical terms, variable names` inline ` or fenced blocks
BlockquotesNotable quotes, important warnings, cited text> blockquotes
AdmonitionMore notable quotes, definition, examples, conclusionFollow Admonition Syntax Rules below.
SeparatorsMajor topic transitions---

For Unordered lists, Ordered lists (e.g., - TEXT and 1. TEXT), there MUST be one empty line before the very beginning and one empty line after the end.

  • Correct Format:
This is the previous text.

- This is bullet point 1; (correct, 1 empty line before)
- This is bullet point 2;

This is the line afterwards (correct. ).
  • Incorrect Format (DO NOT DO THIS):
This is the previous text.
- This is bullet point 1; (Wrong! MUST be 1 empty line)
- This is bullet point 2;
This is the line afterwards (Wrong! No empty line away from bullet points).

For Admonition you created, strictly follows Admonition Syntax Rules below.

Admonition Syntax Rules

Strict Enforcement. When using MkDocs-style admonitions (e.g., !!! note, !!! example, !!! warning), you must follow these indentation rules strictly. Markdown parsers require content inside blocks to be indented.

  • Correct Format:
!!! note "Title Text"

    This is the content. It must start with 4 spaces, and the above line is empty.

    This is a second paragraph. It also needs **4** spaces indentation.

    - List items also follows. The end line should have an empty line with no indent below.
    - List items follows too.

This is the line outside admonition (correct).
  • Incorrect Format (DO NOT DO THIS):
!!! note "Title Text"
This content has no indent. (Wrong - breaks indent rule)

!!! note "Title Text"

    First paragraph ok.

Second paragraph has no indent. (Wrong - breaks the block)

Syntax rules:

  1. Indentation: All content belonging to the admonition must be indented 4 spaces relative to the !!!.
  2. Paragraph Breaks: Blank lines inside the block must also be indented (or simply ensure the next paragraph starts with 4 spaces).
  3. Nested Lists/Code: If using lists or code inside an admonition, indent them 8 spaces total.
  4. Consistency: Do not mix tabs and spaces. Use 4 spaces consistently.

### Step 4: Save & Backup

Save as `{filename}-refined.md`.
Backup existing refined file if present (same logic as Formatter).

### Step 5: Completion Report

Report specifically on **Content Changes**:

Refinement Complete

Stats:

  • Original Snippets: X
  • Refined Blocks: Y
  • Deletion Rate: Z%

Major Mergers:

  • [Theme A]: Merged 5 snippets into 1 block
  • [Theme B]: Merged 3 snippets into 1 block

Deleted Content (Summary):

  • Removed 10+ repetitive observations about [Character X]
  • Removed incomplete thoughts regarding [Topic Y]

Files:

  • Plan: {filename}-plan.md
  • Refined: {filename}-refined.md

## Notes

- **Safety**: Never delete a direct quote without marking it as deleted in the report.
- **Category-Specific Mode**: based on the category you detected (user selected), cluster contents via different standards and perspectives without diminish the inner cores.
- **Admonition Integrity**: Must generate correct structure initially to avoid parsing errors.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

96.24%
按下载量换算1,257

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills