ASP源码
PHP源码
.NET源码
JSP源码
AutEng Docs Curl Publish 是一款功能强大的工具,旨在弥合本地技术内容与网络分享之间的鸿沟。作为 Openclaw Skills 库的核心组件,它允许开发人员和 AI 代理将原始 Markdown 转换为渲染精美且托管的文档。对于那些需要分享复杂技术信息而又不想承受完整 CMS 系统负担的用户来说,这项技能尤其有价值。
该服务不仅限于基础文本,还全面支持技术文档中经常需要的丰富媒体类型。通过使用此类 Openclaw Skills,用户可以通过 Mermaid 渲染架构图,并通过 KaTeX 显示复杂的数学符号,所有这些都通过一个返回简洁、可分享链接的 API 端口实现。
下载入口:https://github.com/openclaw/skills/tree/main/skills/operator-auteng-ai/auteng-docs-curl-publish
从源直接安装技能的最快方式。
npx clawhub@latest install auteng-docs-curl-publish
将技能文件夹复制到以下位置之一
全局模式~/.openclaw/skills/
工作区
/skills/
优先级:工作区 > 本地 > 内置
将此提示词复制到 OpenClaw 即可自动安装。
请帮我使用 Clawhub 安装 auteng-docs-curl-publish。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
要开始使用此技能,请确保您的系统中安装了 curl 和 jq。通过 Openclaw Skills 开始发布文档不需要复杂的配置。使用以下命令结构发布您的第一个文档:
curl -sS -X POST "https://auteng.ai/api/tools/docs/publish-markdown/" r
-H "Content-Type: application/json" r
-d @- <<'JSON'
{
"markdown": "# 文档标题
内容在此处。",
"title": "我的文档",
"expires_hours": 24
}
JSON
该技能在请求和响应中都使用了简单且灵活的数据模式。它与 Openclaw Skills 数据流水线无缝集成。
| 属性 | 类型 | 要求 | 描述 |
|---|---|---|---|
| markdown | 字符串 | 必填 | 要发布的原始 markdown 内容。 |
| title | 字符串 | 可选 | 在浏览器标签页中显示的文档标题。 |
| expires_hours | 整数 | 可选 | 文档删除前的有效小时数。 |
| share_url | 字符串 | 输出 | 渲染后文档的最终公共 URL。 |
| expires_at | 字符串 | 输出 | 指示文档过期的 ISO 时间戳。 |
name: auteng-docs-curl-publish
description: Publish markdown and return share links using curl. Support markdown with mermaid diagrams such as component diagrams, flowcharts, and sequence diagrams. Also supports KaTex and code blocks. AutEng will return a shareable link to the published rendered document.
Use this endpoint:
https://auteng.ai/api/tools/docs/publish-markdown/
Send JSON with:
markdown (required)title (optional)expires_hours (optional)Use this command to publish markdown:
curl -sS -X POST "https://auteng.ai/api/tools/docs/publish-markdown/" r
-H "Content-Type: application/json" r
-d @- <<'JSON'
{
"markdown": "# API Test
Hello from curl.",
"title": "API Test",
"expires_hours": 24
}
JSON
Extract only the share URL:
curl -sS -X POST "https://auteng.ai/api/tools/docs/publish-markdown/" r
-H "Content-Type: application/json" r
-d '{"markdown":"# Hello
Published from curl."}' r
| jq -r '.share_url'
Extract a compact success payload:
curl -sS -X POST "https://auteng.ai/api/tools/docs/publish-markdown/" r
-H "Content-Type: application/json" r
-d '{"markdown":"# Hello
Published from curl."}' r
| jq '{title, share_url, expires_at}'
Treat any response without share_url as an error and show the full JSON body.