跳到正文
Skillpedia
技术文档29k · #9801

cmux-markdown

它能做什么

这项技能把计划、笔记或文档显示在终端旁边的格式化面板中。在工作时,如果你想要清晰的标题、表格和代码块,它会很有用。

适用场景

  • ✓当你的智能体写出计划或任务清单,而你想在终端旁边阅读的时候。
  • ✓当你在编写文档或更新日志,并希望在编辑时看到渲染效果的时候。
  • ✓当另一个进程更新了笔记文件,而你希望面板能跟上这些变化的时候。

技能链接

https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-markdown/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-markdown/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请把计划写入一个 Markdown 文件,并在我的终端旁边打开它,方便我跟着看。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会在 cmux 面板中打开该文件。每次保存文件时,面板都会重新渲染,因此改动无需重新打开即可显示。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Markdown Viewer with cmux

Write a .md file, open it in a panel, and the panel re-renders whenever the file changes on disk. Use it for agent plans and task lists alongside the terminal, documentation and changelogs while working, and notes another process updates progressively.

cmux markdown open plan.md                              # split next to the current terminal
cmux markdown open /path/to/PLAN.md
cmux markdown open design.md --workspace workspace:2    # also --surface, --window

Relative paths resolve against the caller's cwd and ~ expands; the resolved absolute path comes back in the output.

Agent usage

Write the full plan file first, then open it, so the panel never shows a partially written file. After that, overwrite or append freely: each write triggers a re-render, and atomic replacement (editor saves, sed -i, VS Code) is handled.

To instruct coding agents in a project, add to its AGENTS.md:

## Plan Display

When creating a plan or task list, write it to a `.md` file and open it in cmux:

    cmux markdown open plan.md

The panel renders markdown with rich formatting and auto-updates when the file changes.

Rendering

Headings h1-h6 (dividers on h1/h2), fenced code blocks in monospace, inline code with a highlighted background, tables with alternating row colors, nested ordered and unordered lists, blockquotes with a left border, bold/italic/strikethrough, clickable links, horizontal rules, and inline images. Light and dark mode both supported.

Deep-dive references

Reference When to Use
references/commands.md Full command syntax, options, output shape, panel behavior
references/live-reload.md File watching, atomic writes, unavailable-file state, performance
常见问题

每次改动后我都需要重新打开文件吗?

不需要。每次保存都会触发重新渲染,因此面板会自动更新。

面板会显示哪些格式?

它会显示标题、围栏代码块、行内代码、表格、嵌套列表和引用块。

我可以选择文件在哪里打开吗?

可以,打开命令接受选项,可以把文件放在指定的工作区、界面或窗口中。

详情

作者的原始描述

Open markdown files in a formatted viewer panel with live reload. Use when you need to display plans, documentation, or notes alongside the terminal with rich rendering (headings, code blocks, tables, lists).

repo: manaflow-ai/cmux

热度

GitHub 星标
29k
排名
#9801
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能