AI Agent Hub
Back to skills
Markdown AI Rewriter icon

Markdown AI Rewriter

Content Creation Updated 2026.08.29

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md and install @user_2c495456/markdown-ai-rewriter.

About this skill

What it solves

Existing Markdown drafts often need polishing, rewriting, style changes, or terminology cleanup. Direct LLM rewrites can easily break heading hierarchy, code blocks, tables, and image placement. Batch work also needs to balance provider availability, token cost, output stability, and downstream publishing steps. Markdown AI Rewriter focuses on improving an existing document while preserving Markdown structure as much as possible.

How it works

It processes text in section or full mode. section splits the document by headings and calls the model chapter by chapter, which suits long technical articles, blog posts, and newsletters with controllable cost and speed. full sends the whole document at once, producing a more coherent tone but using more tokens on long files. It can use OpenAI, Anthropic, Gemini, DeepSeek, Doubao, MiniMax, and other providers, switching via -p and API keys. Beyond rewriting, it can explicitly enable image, video, and music generation for captions, demo clips, or background audio. Retention of lists and quotes depends on model output; if strict structure matters, state in the prompt to preserve tables, code blocks, and lists.

Limits

It is best for existing Markdown, not for writing from scratch, pure MD-to-HTML conversion, or structure analysis without rewriting. Rewrite, image, video, and music features are disabled by default and must be enabled explicitly. Output structure is not guaranteed lossless; test small samples first to verify headings, code, tables, and image positions before connecting it to a cleaning or publishing pipeline.

Use Cases

  • Technical editors polish long drafts chapter by chapter while keeping code blocks, tables, and headings.
  • Content ops unify Markdown style and reduce repetitive phrasing before publishing newsletters.
  • Engineers rewrite README or news drafts into formal technical docs, then check layout integrity.
  • Video editors add generated images, short clips, or background music to an article package.

Best For

  • Content editors who polish technical blog or newsletter drafts
  • Content engineering teams switching providers to control model cost
  • Developers wiring cleaned Markdown into publishing pipelines
  • Creators adding images, videos, or background music to articles