← Back to Skills Marketplace
449
Downloads
1
Stars
1
Active Installs
22
Versions
Install in OpenClaw
/install markdown-ai-rewriter
Description
基于 markdown-ai-rewriter 的 Markdown AI 改写 Skill(保留结构、章节/全文模式、多模型、图片生成、视频生成、音乐生成)
Usage Guidance
This skill is internally consistent with its stated purpose, but it runs a third‑party npm package inside the agent process and will use any provider API keys you give it. Before installing: 1) audit the upstream npm package ([email protected]) and its GitHub repo; 2) prefer installing in an isolated environment or VM; 3) avoid placing broad/long-lived credentials in shared env vars (use provider consoles to rotate/restrict keys and scopes); 4) do not enable or supply any shared platform keys unless you trust the provider; 5) verify network endpoints and the package version; and 6) if you need stronger isolation, run the CLI in a controlled subprocess/container rather than allowing an in-process dynamic import.
Capability Analysis
Type: OpenClaw Skill
Name: markdown-ai-rewriter
Version: 1.2.5
The skill is a wrapper for the legitimate 'markdown-ai-rewriter' npm package, providing tools for Markdown rewriting and AI media generation. The launcher script (scripts/run.js) is well-implemented with security in mind, using strict argument validation (length checks and control character filtering) and in-process dynamic imports rather than risky shell execution. The requested permissions and environment variables (API keys for various AI providers) are consistent with the stated functionality, and no evidence of malicious intent or data exfiltration was found.
Capability Tags
Capability Assessment
Purpose & Capability
The name/description (Markdown rewriter with multi-provider image/video/music features) matches the declared env vars, network domains, and CLI behavior. The many API keys listed correspond to the advertised providers (OpenAI, Anthropic, Gemini, MiniMax, etc.), which is proportionate for a multi-provider rewrit er and media generator.
Instruction Scope
SKILL.md contains only expected CLI usage and environment-variable guidance for the providers; the included scripts (postinstall.js, run.js) only print help and load the pinned npm package's CLI. There are no instructions to read unrelated system secrets or exfiltrate data to non-advertised endpoints.
Install Mechanism
There is no embedded download-from-URL. The launcher expects the npm package [email protected] to be installed (npm). The run.js dynamically imports the package's CLI entry and invokes it in-process; this is functional for a CLI integration but increases risk because the third-party package code will execute inside the agent process with filesystem and network capabilities. Review the npm package source and provenance before installing.
Credentials
Requested environment variables map to the advertised model/video/music providers. No unrelated credentials or surprising secret requests are present. SHARED_OPENAI_KEY is optional and should be treated carefully if your platform populates it.
Persistence & Privilege
Skill flags are normal (always:false, user-invocable:true). config.json indicates the skill expects to read *.md files and write under ~/.markdown-ai-rewriter and to contact listed provider domains — appropriate for this use. The notable privilege is in-process loading of an external npm package, which increases blast radius compared with a sandboxed subprocess.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install markdown-ai-rewriter - After installation, invoke the skill by name or use
/markdown-ai-rewriter - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.2.5
No file changes were detected for version 1.2.5.
- Version bumped from 1.2.3 to 1.2.5.
- Documentation updated to reference the latest version.
- No feature, CLI, or API changes noted in this release.
v1.2.4
**Major update: Adds image, video, and music generation; unified explicit feature flags.**
- 新增支持图片生成(MiniMax, OpenAI, Gemini, 豆包等)、视频生成(MiniMax Hailuo, 豆包 Seedance, 可灵, Runway)、音乐生成(MiniMax Music)。
- CLI 默认不启用任何功能,需显式用 `--rewrite`、`--process-images`、`--generate-video` 参数开启相关能力。
- 环境变量与参数支持图片/视频生成相关平台的 API Key(如 KLING_API_KEY、DOUBAO_API_KEY 等)。
- 命令行与文档全面适配多模态场景,适合文章自动生成配图、视频、音乐。
- 精简与调整 scripts 结构,新增 `scripts/postinstall.js`、`scripts/run.js`,移除旧 meta 及改写脚本文件。
v1.2.3
修复 child script argv 索引问题
v1.2.2
markdown-ai-rewriter 1.2.2
- Updated to align with markdown-ai-rewriter npm package v1.2.3.
- Version numbers in documentation and config updated.
- Minor documentation corrections and clarifications in SKILL.md and README.md.
- Configuration files (config.json, scripts) brought in sync with the new version.
v1.2.1
v1.2.1: 新增 MiniMax Music API 音乐生成支持
v1.1.3
升级到 1.1.3,配套 markdown-ai-rewriter ^1.1.3
v1.1.2
升级到 1.1.2,配套 markdown-ai-rewriter ^1.1.2;增强中文思考过程过滤
v1.1.1
升级到 1.1.1,配套 markdown-ai-rewriter ^1.1.1;过滤 AI 思考过程泄露
v1.1.0
升级到 1.1.0,配套 markdown-ai-rewriter ^1.1.0;改进图片位置保护和默认启用图片分析
v1.0.1
升级到 1.0.1,配套 markdown-ai-rewriter ^1.0.0
v0.5.12
统一脚本命名为 run.js;添加 install 规范,修复安全审计问题
v0.5.11
使用 npx 强制指定版本执行,解决 Skill 更新后依赖未升级问题
v0.5.10
同步 markdown-ai-rewriter ^0.5.10,新增 MiniMax VLM 图片分析 provider;忽略 package-lock.json
v0.5.7
版本升至0.5.7
v0.3.6
- Version updated to 0.3.6.
- Added new metadata file (_meta.json).
- Updated SKILL.md and config.json to align with latest versioning and metadata standards.
v0.3.5
- No file changes detected in this release.
- Version number updated to 0.3.5, but functionality, documentation, and requirements remain unchanged from 0.3.3.
v0.3.4
- Updated npm package alignment to markdown-ai-rewriter v0.3.3.
- Documentation now reflects v0.3.3, including new/changed features and version references.
- No feature or usage changes; update is for documentation accuracy only.
v0.3.3
- Updated skill version from 0.3.1 to 0.3.3 in config.json.
- No changes to documentation or functionality.
v0.3.2
- Updated version to 0.3.2.
- Bumped skill manifest version from 0.3.0/0.3.1 to 0.3.2.
- Documentation and metadata updates only; no functional or interface changes.
v0.3.1
- 新增 scripts/rewrite.js 脚本文件,为 skill 提供重写逻辑实现组件。
- 更新 config.json 文件,支持新脚本的配置或集成。
- 增强 skill 的可用性,为后续拓展和自动化提供基础。
Metadata
Frequently Asked Questions
What is Markdown Ai Rewriter?
基于 markdown-ai-rewriter 的 Markdown AI 改写 Skill(保留结构、章节/全文模式、多模型、图片生成、视频生成、音乐生成). It is an AI Agent Skill for Claude Code / OpenClaw, with 449 downloads so far.
How do I install Markdown Ai Rewriter?
Run "/install markdown-ai-rewriter" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Markdown Ai Rewriter free?
Yes, Markdown Ai Rewriter is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Markdown Ai Rewriter support?
Markdown Ai Rewriter is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Markdown Ai Rewriter?
It is built and maintained by PING SI (@sipingme); the current version is v1.2.5.
More Skills