← 返回 Skills 市场
musketyr

Markdown Editor With Chat

作者 Vladimir Orany · GitHub ↗ · v1.1.2
cross-platform ⚠ suspicious
867
总下载
0
收藏
3
当前安装
7
版本数
在 OpenClaw 中安装
/install markdown-editor-with-chat
功能描述
Lightweight markdown editor with optional OpenClaw gateway chat. Filesystem-based, no database required.
安全使用建议
This package appears to be what it says: a local markdown editor that serves files from a directory and can optionally proxy chat requests to an OpenClaw gateway. Before installing/running, consider the following: - Set MARKDOWN_DIR to a directory you control and do not point it at system or secret-bearing directories (e.g., /, /root, ~/.ssh). The server will read and write files under that directory. - If you enable chat, the server will make outbound requests to OPENCLAW_GATEWAY_URL using OPENCLAW_GATEWAY_TOKEN; the token is sent only by the server (not exposed to the browser) but you should ensure the gateway endpoint is trusted. - The server enforces a localhost/private-host binding by default, but verify you run it on a safe host and do not deliberately expose it to the public internet. - The code uses the Node global fetch API — run with a modern Node.js (Node 18+). If you need higher assurance, you can review the complete scripts/server.mjs and index.html (both included) locally before running; otherwise running it in an isolated environment (e.g., a throwaway VM or container) is a reasonable precaution.
功能分析
Type: OpenClaw Skill Name: markdown-editor-with-chat Version: 1.1.2 The skill is classified as suspicious due to a client-side Cross-Site Scripting (XSS) vulnerability in the custom markdown renderer within `scripts/index.html`. The `renderMarkdown` function directly embeds user-controlled `href` values from markdown links into `<a>` tags without sanitizing the protocol, allowing `javascript:` URLs to execute arbitrary code in the user's browser. Additionally, the chat feature presents a prompt injection risk against the OpenClaw gateway AI, as it sends the current markdown file content as context, which could be manipulated by a malicious user to influence AI responses. While server-side security measures are robust (e.g., path traversal protection, host binding to localhost/private IPs), the client-side XSS is a significant vulnerability.
能力评估
Purpose & Capability
The name/description (filesystem markdown editor with optional gateway chat) aligns with the files and runtime: node is required, MARKDOWN_DIR is required, and the server implements file listing, reading, writing, and an optional chat proxy. No unrelated binaries or credentials are requested.
Instruction Scope
SKILL.md instructs running the provided Node server with a folder argument or MARKDOWN_DIR; the runtime instructions and APIs in server.mjs stay within that scope (serve UI, list/get/save .md files, proxy chat). The server implements path traversal protection and blocks dotfiles and non-.md files.
Install Mechanism
There is no install spec (instruction-only skill besides bundled source). No external downloads or package installs are requested. The only runtime dependency is the node binary (no npm modules), which is proportional for a pure-Node script.
Credentials
Only MARKDOWN_DIR is required; OPENCLAW_GATEWAY_URL and OPENCLAW_GATEWAY_TOKEN are optional and relevant only for the chat proxy feature. The declared sensitive env var (gateway token) matches its use. No unrelated secrets or multiple external credentials are requested.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or system-wide settings. It runs a local HTTP server and stores files only under the supplied MARKDOWN_DIR, which is consistent with its purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install markdown-editor-with-chat
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /markdown-editor-with-chat 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.2
Security: restrict file access to .md only, block dotfiles
v1.1.1
Release v1.1.1
v1.1.0
Textarea chat input, markdown rendering for responses, improved chat bubble styling
v1.0.3
GFM table support, Create button
v1.0.2
Add Create button, remove Delete action
v1.0.1
Remove CORS wildcard
v1.0.0
Release v1.0.0
元数据
Slug markdown-editor-with-chat
版本 1.1.2
许可证
累计安装 3
当前安装数 3
历史版本数 7
常见问题

Markdown Editor With Chat 是什么?

Lightweight markdown editor with optional OpenClaw gateway chat. Filesystem-based, no database required. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 867 次。

如何安装 Markdown Editor With Chat?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install markdown-editor-with-chat」即可一键安装,无需额外配置。

Markdown Editor With Chat 是免费的吗?

是的,Markdown Editor With Chat 完全免费(开源免费),可自由下载、安装和使用。

Markdown Editor With Chat 支持哪些平台?

Markdown Editor With Chat 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Markdown Editor With Chat?

由 Vladimir Orany(@musketyr)开发并维护,当前版本 v1.1.2。

💬 留言讨论