# Send Markdown Editor With Chat to your agent
Use the source page and any available docs to guide the install because the item is currently unstable or timing out.
## Fast path
- Open the source page via Review source status.
- If you can obtain the package, extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the source page and extracted files.
## Suggested prompts
### New install

```text
I tried to install a skill package from Yavira, but the item is currently unstable or timing out. Inspect the source page and any extracted docs, then tell me what you can confirm and any manual steps still required. Then review README.md for any prerequisites, environment setup, or post-install checks.
```
### Upgrade existing

```text
I tried to upgrade a skill package from Yavira, but the item is currently unstable or timing out. Compare the source page and any extracted docs with my current installation, then summarize what changed and what manual follow-up I still need. Then review README.md for any prerequisites, environment setup, or post-install checks.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "markdown-editor-with-chat",
    "name": "Markdown Editor With Chat",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/musketyr/markdown-editor-with-chat",
    "canonicalUrl": "https://clawhub.ai/musketyr/markdown-editor-with-chat",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/markdown-editor-with-chat",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=markdown-editor-with-chat",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/index.html",
      "scripts/server.mjs",
      "skill.json"
    ],
    "downloadMode": "manual_only",
    "sourceHealth": {
      "source": "tencent",
      "slug": "markdown-editor-with-chat",
      "status": "unstable",
      "reason": "timeout",
      "recommendedAction": "retry_later",
      "checkedAt": "2026-04-30T13:47:27.000Z",
      "expiresAt": "2026-05-01T01:47:27.000Z",
      "httpStatus": null,
      "finalUrl": null,
      "contentType": null,
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=markdown-editor-with-chat",
        "error": "Timed out after 5000ms",
        "slug": "markdown-editor-with-chat"
      },
      "scope": "item",
      "summary": "Item is unstable.",
      "detail": "This item is timing out or returning errors right now. Review the source page and try again later.",
      "primaryActionLabel": "Review source status",
      "primaryActionHref": "https://clawhub.ai/musketyr/markdown-editor-with-chat"
    },
    "validation": {
      "installChecklist": [
        "Wait for the source to recover or retry later.",
        "Review SKILL.md only after the download returns a real package.",
        "Treat this source as transient until the upstream errors clear."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/markdown-editor-with-chat",
    "downloadUrl": "https://openagent3.xyz/downloads/markdown-editor-with-chat",
    "agentUrl": "https://openagent3.xyz/skills/markdown-editor-with-chat/agent",
    "manifestUrl": "https://openagent3.xyz/skills/markdown-editor-with-chat/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/markdown-editor-with-chat/agent.md"
  }
}
```
## Documentation

### Markdown Editor with Chat

A lightweight, self-contained markdown editor that serves files from a local directory with optional OpenClaw gateway chat integration.

### Features

Filesystem-based: Point to any directory containing markdown files
No database: Files are the source of truth
Folder navigation: Browse nested directories
Live preview: See rendered markdown as you type
Optional chat: Connect to OpenClaw gateway for AI assistance
Zero external dependencies: Pure Node.js, self-contained HTML

### Quick Start

# Start with CLI arguments (recommended)
node scripts/server.mjs --folder /path/to/markdown --port 3333

# Or short form
node scripts/server.mjs -f /path/to/markdown -p 3333

# With gateway chat enabled (via env vars)
export OPENCLAW_GATEWAY_URL=http://127.0.0.1:18789
export OPENCLAW_GATEWAY_TOKEN=your-token
node scripts/server.mjs -f /path/to/markdown

Then open http://localhost:3333 in your browser.

### CLI Arguments

ArgumentShortRequiredDefaultDescription--folder-fYes*-Directory containing markdown files--port-pNo3333Server port--host-hNo127.0.0.1Server host (localhost only by default)--helpNoShow help message

*Required unless MARKDOWN_DIR env var is set.

### Environment Variables (fallback)

VariableRequiredDefaultDescriptionMARKDOWN_DIRYes*-Directory containing markdown filesPORTNo3333Server portHOSTNo127.0.0.1Server hostOPENCLAW_GATEWAY_URLNo-Gateway URL for chat featureOPENCLAW_GATEWAY_TOKENNo-Gateway auth token

CLI arguments take precedence over environment variables.

### Security

Localhost only by default: Server binds to 127.0.0.1, rejects public IPs
Same-origin only: No CORS headers, browser enforces same-origin policy
Path traversal protection: Cannot access files outside MARKDOWN_DIR
No credentials in code: All secrets via environment variables
Gateway proxy: Tokens never exposed to browser

This is a local development tool. The API is intentionally simple (no auth) because it's designed for localhost use on directories you control.

### API Endpoints

GET / - Serves the editor UI
GET /api/files - List files and folders
GET /api/files/:path - Get file content
PUT /api/files/:path - Save file content
POST /api/files/:path - Create new file
POST /api/chat - Proxy chat to gateway (if configured)

### Use Cases

Browse and edit OpenClaw pearls
Personal markdown wiki
Note-taking with AI assistance
Documentation browser
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: musketyr
- Version: 1.1.2
## Source health
- Status: unstable
- Item is unstable.
- This item is timing out or returning errors right now. Review the source page and try again later.
- Health scope: item
- Reason: timeout
- Checked at: 2026-04-30T13:47:27.000Z
- Expires at: 2026-05-01T01:47:27.000Z
- Recommended action: Review source status
## Links
- [Detail page](https://openagent3.xyz/skills/markdown-editor-with-chat)
- [Send to Agent page](https://openagent3.xyz/skills/markdown-editor-with-chat/agent)
- [JSON manifest](https://openagent3.xyz/skills/markdown-editor-with-chat/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/markdown-editor-with-chat/agent.md)
- [Download page](https://openagent3.xyz/downloads/markdown-editor-with-chat)