{
  "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": {
    "downloadMode": "redirect",
    "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",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/index.html",
      "scripts/server.mjs",
      "skill.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/markdown-editor-with-chat"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/markdown-editor-with-chat",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Markdown Editor with Chat",
        "body": "A lightweight, self-contained markdown editor that serves files from a local directory with optional OpenClaw gateway chat integration."
      },
      {
        "title": "Features",
        "body": "Filesystem-based: Point to any directory containing markdown files\nNo database: Files are the source of truth\nFolder navigation: Browse nested directories\nLive preview: See rendered markdown as you type\nOptional chat: Connect to OpenClaw gateway for AI assistance\nZero external dependencies: Pure Node.js, self-contained HTML"
      },
      {
        "title": "Quick Start",
        "body": "# Start with CLI arguments (recommended)\nnode scripts/server.mjs --folder /path/to/markdown --port 3333\n\n# Or short form\nnode scripts/server.mjs -f /path/to/markdown -p 3333\n\n# With gateway chat enabled (via env vars)\nexport OPENCLAW_GATEWAY_URL=http://127.0.0.1:18789\nexport OPENCLAW_GATEWAY_TOKEN=your-token\nnode scripts/server.mjs -f /path/to/markdown\n\nThen open http://localhost:3333 in your browser."
      },
      {
        "title": "CLI Arguments",
        "body": "ArgumentShortRequiredDefaultDescription--folder-fYes*-Directory containing markdown files--port-pNo3333Server port--host-hNo127.0.0.1Server host (localhost only by default)--helpNoShow help message\n\n*Required unless MARKDOWN_DIR env var is set."
      },
      {
        "title": "Environment Variables (fallback)",
        "body": "VariableRequiredDefaultDescriptionMARKDOWN_DIRYes*-Directory containing markdown filesPORTNo3333Server portHOSTNo127.0.0.1Server hostOPENCLAW_GATEWAY_URLNo-Gateway URL for chat featureOPENCLAW_GATEWAY_TOKENNo-Gateway auth token\n\nCLI arguments take precedence over environment variables."
      },
      {
        "title": "Security",
        "body": "Localhost only by default: Server binds to 127.0.0.1, rejects public IPs\nSame-origin only: No CORS headers, browser enforces same-origin policy\nPath traversal protection: Cannot access files outside MARKDOWN_DIR\nNo credentials in code: All secrets via environment variables\nGateway proxy: Tokens never exposed to browser\n\nThis is a local development tool. The API is intentionally simple (no auth) because it's designed for localhost use on directories you control."
      },
      {
        "title": "API Endpoints",
        "body": "GET / - Serves the editor UI\nGET /api/files - List files and folders\nGET /api/files/:path - Get file content\nPUT /api/files/:path - Save file content\nPOST /api/files/:path - Create new file\nPOST /api/chat - Proxy chat to gateway (if configured)"
      },
      {
        "title": "Use Cases",
        "body": "Browse and edit OpenClaw pearls\nPersonal markdown wiki\nNote-taking with AI assistance\nDocumentation browser"
      }
    ],
    "body": "Markdown Editor with Chat\n\nA lightweight, self-contained markdown editor that serves files from a local directory with optional OpenClaw gateway chat integration.\n\nFeatures\nFilesystem-based: Point to any directory containing markdown files\nNo database: Files are the source of truth\nFolder navigation: Browse nested directories\nLive preview: See rendered markdown as you type\nOptional chat: Connect to OpenClaw gateway for AI assistance\nZero external dependencies: Pure Node.js, self-contained HTML\nQuick Start\n# Start with CLI arguments (recommended)\nnode scripts/server.mjs --folder /path/to/markdown --port 3333\n\n# Or short form\nnode scripts/server.mjs -f /path/to/markdown -p 3333\n\n# With gateway chat enabled (via env vars)\nexport OPENCLAW_GATEWAY_URL=http://127.0.0.1:18789\nexport OPENCLAW_GATEWAY_TOKEN=your-token\nnode scripts/server.mjs -f /path/to/markdown\n\n\nThen open http://localhost:3333 in your browser.\n\nCLI Arguments\nArgument\tShort\tRequired\tDefault\tDescription\n--folder\t-f\tYes*\t-\tDirectory containing markdown files\n--port\t-p\tNo\t3333\tServer port\n--host\t-h\tNo\t127.0.0.1\tServer host (localhost only by default)\n--help\t\tNo\t\tShow help message\n\n*Required unless MARKDOWN_DIR env var is set.\n\nEnvironment Variables (fallback)\nVariable\tRequired\tDefault\tDescription\nMARKDOWN_DIR\tYes*\t-\tDirectory containing markdown files\nPORT\tNo\t3333\tServer port\nHOST\tNo\t127.0.0.1\tServer host\nOPENCLAW_GATEWAY_URL\tNo\t-\tGateway URL for chat feature\nOPENCLAW_GATEWAY_TOKEN\tNo\t-\tGateway auth token\n\nCLI arguments take precedence over environment variables.\n\nSecurity\nLocalhost only by default: Server binds to 127.0.0.1, rejects public IPs\nSame-origin only: No CORS headers, browser enforces same-origin policy\nPath traversal protection: Cannot access files outside MARKDOWN_DIR\nNo credentials in code: All secrets via environment variables\nGateway proxy: Tokens never exposed to browser\n\nThis is a local development tool. The API is intentionally simple (no auth) because it's designed for localhost use on directories you control.\n\nAPI Endpoints\nGET / - Serves the editor UI\nGET /api/files - List files and folders\nGET /api/files/:path - Get file content\nPUT /api/files/:path - Save file content\nPOST /api/files/:path - Create new file\nPOST /api/chat - Proxy chat to gateway (if configured)\nUse Cases\nBrowse and edit OpenClaw pearls\nPersonal markdown wiki\nNote-taking with AI assistance\nDocumentation browser"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/musketyr/markdown-editor-with-chat",
    "publisherUrl": "https://clawhub.ai/musketyr/markdown-editor-with-chat",
    "owner": "musketyr",
    "version": "1.1.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}