← 返回 Skills 市场
sawana-multicul/official-docs-to-mdx
作者
multicul-silver-wolf
· GitHub ↗
· v1.0.0
434
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install sawana-multicul-official-docs-to-mdx
功能描述
Download and normalize official documentation pages into local .mdx files at user-specified paths using markdown.new. Use when user asks to fetch docs from a...
安全使用建议
This skill is coherent with its stated goal, but before installing: 1) Understand it fetches content via https://markdown.new/<your-supplied-URL> — you are trusting that external service to retrieve and render the page. 2) The script will overwrite the output path you provide and will create parent directories; do not point it at system or important files. 3) If you plan to run it autonomously, review generated MDX for sensitive content before distributing. 4) The presence of an invisible unicode character in a regex is probably benign (it matches Docusaurus anchor markers) but you can inspect the script locally to confirm it does only the described cleaning steps.
功能分析
Type: OpenClaw Skill
Name: sawana-multicul-official-docs-to-mdx
Version: 1.0.0
The skill is classified as suspicious due to a critical path traversal vulnerability in `scripts/mdnew_to_mdx.sh`. The script uses the user-provided output file path (`$out_file`) directly in `mkdir -p` and file redirection (`> "$out_file"`) without sanitization. This allows an attacker to write files to arbitrary locations on the filesystem using `../` sequences, enabling unauthorized file creation or modification outside the intended directory. There is no clear evidence of intentional malicious behavior, but this vulnerability poses a significant risk.
能力评估
Purpose & Capability
The name/description say: fetch docs via markdown.new and produce .mdx snapshots. The included shell script and SKILL.md perform exactly that (curl to markdown.new, extract Markdown Content, normalize frontmatter, write output). No unrelated credentials, binaries, or install steps are requested.
Instruction Scope
Runtime instructions are narrowly scoped: run the provided script with a source URL and output path. SKILL.md also instructs the agent to add index.mdx files for folders (post-processing), which the bundled script does not perform; that requires the agent to modify or create other files in the workspace. This is reasonable for a docs-snapshot workflow but worth noting because the agent will write/overwrite files.
Install Mechanism
There is no external install step or remote download; the behavior is implemented entirely by the included shell script. This minimizes install-time risk.
Credentials
The skill requests no environment variables or credentials. It uses standard CLI tools (bash, curl, awk, mktemp, date) which are declared in SKILL.md and appropriate for the task.
Persistence & Privilege
always:false and no platform-wide changes. The script will create directories and overwrite the specified output file without additional confirmation; users should avoid passing sensitive system paths as the output path. Autonomous invocation is allowed by default (normal) but not elevated here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install sawana-multicul-official-docs-to-mdx - 安装完成后,直接呼叫该 Skill 的名称或使用
/sawana-multicul-official-docs-to-mdx触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
align naming with local convention sawana-multicul/*
元数据
常见问题
sawana-multicul/official-docs-to-mdx 是什么?
Download and normalize official documentation pages into local .mdx files at user-specified paths using markdown.new. Use when user asks to fetch docs from a... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 434 次。
如何安装 sawana-multicul/official-docs-to-mdx?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install sawana-multicul-official-docs-to-mdx」即可一键安装,无需额外配置。
sawana-multicul/official-docs-to-mdx 是免费的吗?
是的,sawana-multicul/official-docs-to-mdx 完全免费(开源免费),可自由下载、安装和使用。
sawana-multicul/official-docs-to-mdx 支持哪些平台?
sawana-multicul/official-docs-to-mdx 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 sawana-multicul/official-docs-to-mdx?
由 multicul-silver-wolf(@multicul-silver-wolf)开发并维护,当前版本 v1.0.0。
推荐 Skills