跳到正文
TakoAPI
返回技能列表

markdown-editor-with-chat

由 musketyr 提供

Coding Agents & IDEs
461下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Lightweight markdown editor with optional OpenClaw gateway chat.

描述

该技能的功能

A local Node.js server that serves markdown files from any directory you point it at. Includes a browser-based editor with live preview and optional AI chat via OpenClaw gateway. No database, no external dependencies.

Running entirely on localhost with no database means setup is a single command and files stay in whatever directory structure you already use.

何时使用

  • Editing a folder of markdown notes in the browser
  • Browsing and updating OpenClaw pearls locally
  • Running a personal wiki from a git-tracked directory
  • Adding AI chat assistance while writing documentation
  • Quick local documentation browser for a project

示例工作流

输入

User asks: start the editor for my notes folder

智能体
  1. 1

    Runs node scripts/server.mjs --folder /path/to/notes --port 3333

  2. 2

    Server reads the directory and lists all markdown files

  3. 3

    User opens http://localhost:3333 in browser

  4. 4

    User selects a file, edits it with live preview

  5. 5

    Server saves the file back to disk via PUT /api/files/:path

输出

Edited markdown file saved to the local filesystem

前置要求

  • MARKDOWN_DIR environment variable or --folder CLI argument pointing to a local directory
  • OPENCLAW_GATEWAY_URL and OPENCLAW_GATEWAY_TOKEN if using the chat feature

安装

clawhub install musketyr/markdown-editor-with-chat

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接