Token导航 LogoToken导航TokenDH.com
开发操作浏览器github未标认证来源可访问许可证需确认审计通过

markdownMarkdown 控制

Agent Skill

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

总安装

261

周安装

11

GitHub Stars

37

下载量

92
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:markdown(Markdown 控制)
来源仓库:https://github.com/simhacker/moollm
仓库路径:skills/markdown
安装命令:
npx skills add https://github.com/simhacker/moollm --skill markdown
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/simhacker/moollm --skill markdown

简介

markdown 用于辅助文档、README 和内容稿件的整理与改写。

  • 适合提炼结构、统一术语或检查链接,提升文档可读性。
  • 通过 npx skills add 命令从指定仓库安装并使用。
  • 建议保留项目事实,避免夸大能力或输出未确认信息。
  • markdown 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Markdown

*"The source is the destination. Readable raw AND rendered."*

What Is It?

Markdown is the plain text format that powers MOOLLM's human-readable files. It's not just formatting — it's a philosophy:

  • Readable without rendering — Open SESSION.md in any editor, understand it instantly
  • Readable when rendered — GitHub, Obsidian, browsers enhance but don't transform
  • LLM-native — Models are trained on billions of Markdown files; they speak it fluently
  • Git-friendly — Diffs are meaningful, merges work, history is readable
  • No lock-in — Plain text survives every platform, every decade

Why Markdown Won

From Anil Dash's "How Markdown Took Over the World" (January 2025):

The 10 Technical Reasons

ReasonExplanationMOOLLM Parallel
1. Great brand"Markdown" = opposite of "markup"YAML Jazz, SOUL-CHAT, K-lines
2. Solved a real problemHTML too verbose for bloggingYAML too rigid; comments add soul
3. Built on existing behaviorsEmail formatting conventionsIndentation, # headers already intuitive
4. Mirrored RSS in originCurmudgeonly creators, blog platformsOpen source, community-driven
5. Community ready to helpDean Allen (Textile), Aaron SwartzSkill contributions, open protocols
6. Flavors for contextGFM, CommonMark, etc.Adventure YAML vs. session markdown
7. Time of behavior changeBlogging era = new habitsLLM era = new habits
8. Build tool eraMarkdown → HTML in pipelinesYAML → JSON → Browser
9. Works with "view source"Inspectable sourceFiles as state, transparent
10. No IP encumbranceFree, no patentsMIT license everywhere

The Key Insight

*"If markup is complicated, then the opposite of that complexity must be... markdown."* — Anil Dash

Markdown in MOOLLM

Session Logs

# Session: Adventure Uplift

## 📑 Index
1. [Overview](#1-overview)
2. [Decisions](#2-decisions)

---

## 1. Overview

<details open>
<summary><strong>🎯 Mission</strong></summary>

Build `adventure.py` to compile adventures to web apps.

</details>

<details open>
<summary><strong>📋 Technical Details</strong></summary>

Architecture decisions go here...

</details>

READMEs

# Skill Name

> *"One-liner that captures the essence"*

## What Is It?
Brief explanation.

## When to Use
- Scenario 1
- Scenario 2

## Dovetails With
- [related-skill/](../related-skill/)

Embedded Data

Markdown + YAML code blocks = structured data in narrative:

Here's the configuration:

​```yaml
rooms:
  - start
  - maze
  - end
​```

And the reasoning behind it...

GitHub-Flavored Markdown (GFM)

MOOLLM session logs use GFM extensions:

Tables

| Feature | Status |
|---------|--------|
| Navigation | ✅ Done |
| Inventory | 🚧 WIP |

Task Lists

- [x] Define schema
- [ ] Build linter
- [ ] Compile to JSON

Collapsible Sections

<details open>
<summary>Click to expand</summary>

Hidden content goes here.

</details>

Syntax Highlighting

​```python
def hello():
    print("Hello, world!")
​```

Alerts (GitHub-specific)

> [!NOTE]
> Useful information.

> [!WARNING]
> Critical information.

Mermaid Diagrams

GitHub renders Mermaid diagrams natively! Perfect for:

  • Flowcharts
  • Sequence diagrams
  • State machines
  • Entity relationships
  • Architecture diagrams
​```mermaid
flowchart TD
    YAML[YAML Microworld] --> Python[Python Loader]
    Python --> JSON[adventure.json]
    JSON --> Browser[Browser Engine]
    Browser --> Player[Player Experience]
​```

Renders as:

flowchart TD
    YAML[YAML Microworld] --> Python[Python Loader]
    Python --> JSON[adventure.json]
    JSON --> Browser[Browser Engine]
    Browser --> Player[Player Experience]

Common Mermaid Patterns

Flowchart (process flow):

flowchart LR
    A[Start] --> B{Decision}
    B -->|Yes| C[Action 1]
    B -->|No| D[Action 2]
    C --> E[End]
    D --> E

Sequence diagram (interactions):

sequenceDiagram
    Player->>Room: LOOK
    Room->>Objects: Query visible
    Objects-->>Room: [lamp, key]
    Room-->>Player: Description + objects

State diagram (room states):

stateDiagram-v2
    [*] --> start
    start --> maze: GO NORTH
    maze --> end: SOLVE PUZZLE
    maze --> maze: WANDER
    end --> [*]

Entity relationship (data model):

erDiagram
    ROOM ||--o{ OBJECT : contains
    ROOM ||--o{ EXIT : has
    CHARACTER ||--o{ OBJECT : carries
    EXIT }o--|| ROOM : leads_to

LLMs and Markdown

From Hacker News discussion (January 2025):

*"It's fundamentally text. No format/vendor lock-in and very amenable to living in a git repo. I can tell an LLM to look at the code in this repo and make me an API_documentation.md and it'll grasp that I want a text-based summary."* — @Havoc

Why LLMs Prefer Markdown

PropertyBenefit
Training dataBillions of.md files in training corpus
StructureHeaders, lists, code blocks = clear semantics
Low overheadNo bracket matching (unlike JSON)
Comments in code blocksContext preserved
Human-readableModel can "think out loud" naturally

LLM Output Patterns

LLMs naturally output:

  • # headers for sections
  • - bullets for lists
  • ``
  • **bold** for emphasis
  • Tables for structured comparisons

Match this in your prompts — write instructions in Markdown, get Markdown back.


The "Source is Destination" Principle

Markdown's power: it's both the source AND the readable output.

FormatSourceDestinationGap
LaTeX.texPDFLarge
HTML.htmlBrowserMedium
Markdown.md.md (or rendered)None

This is why YAML Jazz matters:

# This comment is readable in the source
# AND visible to the LLM
# AND preserved in the file
config:
  setting: value

The source IS the documentation. The documentation IS the source.


Best Practices for MOOLLM

1. Indexes at Top

Long documents need navigation:

## 📑 Index

1. [Section One](#section-one)
2. [Section Two](#section-two)

---

## Section One
...

2. Collapsible Details (CRITICAL!)

This is one of Markdown's superpowers. Hide complexity, show structure. Let readers scan summaries without drowning in details.

<details open>
<summary><strong>🎯 Important Section — Open by Default</strong></summary>

Critical content that readers need to see immediately.

</details>

<details open>
<summary><strong>📋 Technical Details — Collapsed by Default</strong></summary>

Dense content that only some readers need.
Click to expand when curious.

</details>

LLM-Generated Summaries in <summary> Tags

Key insight: The <summary> tag should contain a descriptive summary that tells readers what's inside WITHOUT opening. LLMs are great at generating these!

Bad:

<details open>
<summary>Click to see more</summary>
...content...
</details>

Good:

<details open>
<summary><strong>🎤 Gary Drescher's Talk — Schema Mechanism + LLM = Flight</strong></summary>

Full transcript of Gary explaining how LLMs complete what Made-Up Minds started...

</details>

Even better — with key points in summary:

<details open>
<summary><strong>🏗️ Architecture Decisions</strong> — YAML source, JSON compile, SPA output, staged development</summary>

Detailed architecture documentation...

</details>

Nesting Collapsibles

For complex documents, nest sections:

<details open>
<summary><strong>📚 Part 1: The Gathering</strong></summary>

Overview of who attended...

<details open>
<summary>Living Legends (25 people)</summary>

Full list with bios...

</details>

<details open>
<summary>Memorial Candles (10 people)</summary>

Those speaking through memory...

</details>

</details>

When to Use Each Pattern

PatternUse When
<details open>Main content, must-read sections
<details open> (closed)Supporting details, optional depth
Nested <details open>Hierarchical information (parts > chapters > sections)
Summary with key pointsReader can decide without opening
Summary with just titleSection is self-explanatory

The Session Log Pattern

MOOLLM session logs use this extensively:

## 5. Free-For-All Q&A

<details open>
<summary><strong>🎤 Highlights from the Chaos</strong> — Scott on 16KB, Will on distributed AI, Hofstadter on strange loops</summary>

### On Distributed Intelligence

**SCOTT ADAMS:** "Wait — schemas are literally what I fit in sixteen kilobytes in 1978!"

**WILL WRIGHT:** "We distributed intelligence INTO THE OBJECTS..."

...full transcript...

</details>

The reader sees:

  • Section title
  • Key topics covered
  • Can skip if not interested, or expand for full content

This is why session logs are readable even at 7000+ lines!

3. Tables for Structured Data

When you have parallel information:

| Room | Objects | Exits |
|------|---------|-------|
| start | lamp, key | north |
| maze | torch | north, south, east |

4. Code Blocks for Examples

Always use fenced code blocks with language hints:

​```yaml
name: example
​```

​```python
def example():
    pass
​```

5. Blockquotes for Quotes/Emphasis

> *"The filesystem IS the microworld."*
> — MOOLLM Constitution

Anti-Patterns

Over-nesting headers — More than 4 levels is confusing ❌ Inline HTML everywhere — Defeats plain-text readability ❌ No structure — Wall of text without headers/sections ❌ Proprietary extensions — Stick to GFM for portability ❌ Rendered-only thinking — If it's unreadable raw, rethink it


The Durability Argument

From HN:

*"I don't want to worry about whatever cursed format OneNote uses still being something I can extract in 2035."* — @Havoc

Markdown files from 2004 are still readable today. They'll be readable in 2045. Plain text is forever.

MOOLLM session logs, skill files, and READMEs will outlive any proprietary format.


Dovetails With


Protocol Symbol

MARKDOWN

Invoke when: Writing documentation, session logs, READMEs, or any human-readable prose.


Credits

  • John Gruber — Creator of Markdown (2004)
  • Aaron Swartz — Beta tester, helped refine the format
  • Dean Allen — Textile (prior art, inspiration)
  • GitHub — GFM, mass adoption
  • Anil Dash — "How Markdown Took Over the World" (2025)
  • CommonMark — Standardization effort

*"The trillion-dollar AI industry's system for controlling their most advanced platforms is a plain text format one guy made up for his blog and then bounced off of a 17-year-old kid before sharing it with the world for free."* — Anil Dash

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.32%
按下载量换算32

Claude

30.6%
按下载量换算28

Cursor

20.13%
按下载量换算19

Gemini CLI

8.32%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills