← Back to Skills Marketplace
jimliu

Baoyu Format Markdown

by Jim Liu 宝玉 · GitHub ↗ · v1.117.2 · MIT-0
cross-platform ⚠ suspicious
2778
Downloads
0
Stars
61
Active Installs
10
Versions
Install in OpenClaw
/install baoyu-format-markdown
Description
Formats plain text or markdown files with frontmatter, titles, summaries, headings, bold, lists, and code blocks. Use when user asks to "format markdown", "b...
Usage Guidance
Install only if you are comfortable with a formatter that may create extra analysis/backup files, alter article metadata and structure, and in one mode modify the original file directly. Prefer running it on copies or in a clean git branch, and disable spacing or review the autocorrect-node dependency path unless you trust npx runtime package execution.
Capability Assessment
Purpose & Capability
The purpose is markdown/article formatting, and most capabilities fit that purpose, but the artifacts go beyond cosmetic formatting by creating analysis files, generating frontmatter/title/summary text, reorganizing structure, and sometimes editing the original file directly while also claiming not to add, delete, or rewrite content.
Instruction Scope
The workflow usually writes a separate formatted file and prompts for choices, but it also offers a typography-only path that modifies the original file in place, supports auto-selection that can skip title/summary prompts, and contains contradictory instructions about content preservation versus generated metadata and structure.
Install Mechanism
The skill declares bun/npx and includes lockfiles for markdown dependencies, but scripts/autocorrect.ts invokes npx autocorrect-node at runtime even though that package is not pinned in package.json, creating an under-disclosed dependency and possible network/package-fetch path.
Credentials
Reading and writing user-specified markdown files is proportionate for a formatter, and there is no evidence of credential access, broad local indexing, or exfiltration; the main concern is unpinned external execution plus durable edits to user files.
Persistence & Privilege
There is no background persistence, privilege escalation, or hidden service installation, but the skill intentionally creates analysis/formatted/backup files and can overwrite the original document in the typography-only path.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install baoyu-format-markdown
  3. After installation, invoke the skill by name or use /baoyu-format-markdown
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.117.2
## 1.117.2 - 2026-05-17 ### Documentation - `baoyu-cover-image`: ban programmatic text repair on generated bitmaps — disallow ImageMagick / Pillow / Canvas / SVG / HTML overlays to cover, rewrite, or replace title/subtitle text; regenerate from a corrected prompt or switch to a lower-text or no-title variant instead - `baoyu-article-illustrator`, `baoyu-comic`, `baoyu-image-cards`, `baoyu-xhs-images`, `baoyu-infographic`, `baoyu-slide-deck`: sync the same text-repair ban with skill-specific text categories (labels/captions, dialogue/sound effects, titles/body/tags, headings/data values, slide titles/bullets)
v1.115.4
### Documentation - Image generation backend selection: emphasize Codex `imagegen` as the priority runtime-native tool (invoke via the `Skill` tool with `skill: "imagegen"`) and forbid SVG/HTML/canvas substitution when no raster backend can be resolved — fall through to asking the user instead of silently emitting code-based art. Updated in `docs/image-generation-tools.md` and inlined into `baoyu-article-illustrator`, `baoyu-comic`, `baoyu-cover-image`, `baoyu-image-cards`, `baoyu-infographic`, `baoyu-slide-deck`, and `baoyu-xhs-images`.
v1.103.2
- Added section specifying user input tool selection priority; now prefers agent's built-in user-input tools before falling back to plain-text prompts. - Clarified that "AskUserQuestion" and similar are examples; substitute whichever input tool the agent provides. - Updated EXTEND.md location checking instructions for clarity and priority order. - No changes to the core formatting, workflow, or script logic.
v1.103.1
## 1.103.1 - 2026-04-13 ### Fixes - `baoyu-markdown-to-html`: decode HTML entities and strip tags from article summary - `baoyu-post-to-weibo`: decode HTML entities and strip tags from article summary
v1.103.0
## 1.103.0 - 2026-04-12 ### Features - baoyu-diagram: add multi-diagram mode for article-wide diagram generation ### Fixes - baoyu-article-illustrator: prevent color names and hex codes from appearing as visible text in generated images - baoyu-cover-image: prevent color names and hex codes from appearing as visible text in generated images - baoyu-image-cards: prevent color names from appearing as visible text in generated images - baoyu-post-to-wechat: decode HTML entities and strip tags from article summary
v1.76.2
- Removed the file: scripts/bun.lock - No changes to code or workflow; existing functionality unaffected - Housekeeping update to repository contents only
v1.76.1
No changes detected in this version (1.76.1) compared to the previous release. - No file or documentation changes found. - Functionality and workflow remain unchanged.
v1.70.0
### Features - Optimize title generation with formula-based recommendations and straightforward alternatives - Auto-generate dual summaries (`summary` + `description`) in frontmatter
v1.60.0
## 1.60.0 - 2026-03-11 ### Features - `baoyu-url-to-markdown`: support reusing existing Chrome CDP instances and fix port detection order ### Fixes - `baoyu-post-to-x`: add missing `fs` import in x-article ### Refactor - Unify all CDP skills to use shared `baoyu-chrome-cdp` package with vendored copies - Simplify CLAUDE.md, move detailed documentation to `docs/` directory - Publish skills directly from synced vendor, removing separate artifact preparation step
v1.0.0
baoyu-format-markdown 1.0.0 - Initial release of the markdown/text formatter. - Formats plain text or markdown with structured frontmatter, headings, bolding, lists, and code blocks. - Provides workflow for analyzing and improving readability without altering the original content. - Supports user-customizable preferences through EXTEND.md in various locations. - Offers multiple modes: optimize formatting, keep original, or apply typography fixes only.
Metadata
Slug baoyu-format-markdown
Version 1.117.2
License MIT-0
All-time Installs 61
Active Installs 61
Total Versions 10
Frequently Asked Questions

What is Baoyu Format Markdown?

Formats plain text or markdown files with frontmatter, titles, summaries, headings, bold, lists, and code blocks. Use when user asks to "format markdown", "b... It is an AI Agent Skill for Claude Code / OpenClaw, with 2778 downloads so far.

How do I install Baoyu Format Markdown?

Run "/install baoyu-format-markdown" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Baoyu Format Markdown free?

Yes, Baoyu Format Markdown is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Baoyu Format Markdown support?

Baoyu Format Markdown is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Baoyu Format Markdown?

It is built and maintained by Jim Liu 宝玉 (@jimliu); the current version is v1.117.2.

💬 Comments