← Back to Skills Marketplace
Markdown Editor With Chat
by
Vladimir Orany
· GitHub ↗
· v1.1.2
867
Downloads
0
Stars
3
Active Installs
7
Versions
Install in OpenClaw
/install markdown-editor-with-chat
Description
Lightweight markdown editor with optional OpenClaw gateway chat. Filesystem-based, no database required.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install markdown-editor-with-chat - After installation, invoke the skill by name or use
/markdown-editor-with-chat - Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Frequently Asked Questions
What is Markdown Editor With Chat?
Lightweight markdown editor with optional OpenClaw gateway chat. Filesystem-based, no database required. It is an AI Agent Skill for Claude Code / OpenClaw, with 867 downloads so far.
How do I install Markdown Editor With Chat?
Run "/install markdown-editor-with-chat" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Markdown Editor With Chat free?
Yes, Markdown Editor With Chat is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Markdown Editor With Chat support?
Markdown Editor With Chat is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Markdown Editor With Chat?
It is built and maintained by Vladimir Orany (@musketyr); the current version is v1.1.2.
More Skills