返回顶部
n

nudocsNudocs文档操作

Upload, edit, and export documents via Nudocs.ai. Use when creating shareable document links for collaborative editing, uploading markdown/docs to Nudocs for rich editing, or pulling back edited content. Triggers on "send to nudocs", "upload to nudocs", "edit in nudocs", "pull from nudocs", "get the nudocs link", "show my nudocs documents".

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.2.0
安全检测
已通过
2,058
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

nudocs

Nudocs

将文档上传至 Nudocs.ai 进行富文本编辑,获取可分享的链接,并拉取编辑结果。

设置

  1. 1. 安装 CLI:
bash npm install -g @nutrient-sdk/nudocs-cli
  1. 2. 从 https://nudocs.ai 获取 API 密钥(登录后点击集成)
  1. 3. 配置密钥:
bash

方式 1:环境变量

export NUDOCSAPIKEY=nudocsyourkey_here

方式 2:配置文件

mkdir -p ~/.config/nudocs echo nudocsyourkeyhere > ~/.config/nudocs/apikey

命令

bash
nudocs upload # 上传并获取编辑链接
nudocs list # 列出所有文档
nudocs link [ulid] # 获取编辑链接(未指定 ULID 则使用上次上传的文档)
nudocs pull [ulid] [--format fmt] # 下载文档(默认格式:docx)
nudocs delete # 删除文档
nudocs config # 显示配置信息

工作流程

上传流程

  1. 1. 创建/编写文档内容
  2. 保存为 markdown(或其他支持的格式)
  3. 运行:nudocs upload
  4. 将返回的编辑链接分享给用户

拉取流程

  1. 1. 用户请求取回文档
  2. 运行:nudocs pull [ulid] --format
  3. 读取并展示下载的文件

格式选择

场景推荐格式
用户进行了富文本编辑docx(默认)
纯文本/代码内容
md | | 最终交付/分享 | pdf |

完整格式支持请参见 references/formats.md。

自然语言触发

识别以下用户意图:

上传/发送:

  • - 发送到 nudocs
  • 上传到 nudocs
  • 在 nudocs 中打开
  • 在 nudocs 中编辑
  • 让我在 nudocs 中编辑
  • 把这个放到 nudocs

拉取/获取:

  • - 拉取回来
  • 从 nudocs 拉取
  • 获取那个文档
  • 从 nudocs 获取
  • 从 nudocs 下载
  • 获取更新版本
  • 我改了什么
  • 获取我的编辑内容

链接:

  • - 获取 nudocs 链接
  • 分享链接
  • 那个文档在哪
  • nudocs 网址

列表:

  • - 显示我的 nudocs
  • 列出我的文档
  • 我有哪些文档
  • 我的 nudocs 文档

文档最佳实践

上传前,确保结构良好:

  • - 清晰的标题层级(H1 → H2 → H3)
  • 一致的间距
  • 合适的列表格式
  • 简洁的段落(3-5 句)

模板和指南请参见 references/document-design.md。

示例会话

用户:帮我写一篇关于远程工作的博客文章,并发送到 Nudocs

助手:

  1. 1. 编写结构良好的 blog-remote-work.md
  2. 运行:nudocs upload blog-remote-work.md
  3. 返回:这是您的 Nudocs 链接:https://nudocs.ai/file/01ABC...

用户:在 Nudocs 中编辑,添加格式和图片
用户:拉取回来

助手:

  1. 1. 运行:nudocs pull --format docx
  2. 读取下载的文件
  3. 返回:已获取更新后的文档!以下是更改内容...

错误处理

错误原因解决方案
未找到 API 密钥缺少凭据设置 NUDOCSAPIKEY 或创建配置文件
文档数量已达上限
免费版限制(10 个文档) | 删除旧文档或升级到 Pro 版 | | 未授权 | API 密钥无效 | 在 Nudocs 设置中重新生成密钥 | | 未提供 ULID | 缺少文档 ID | 指定 ULID 或先上传文档 |

链接

  • - CLI:https://github.com/PSPDFKit/nudocs-cli(npm 上的 @nutrient-sdk/nudocs-cli)
  • MCP 服务器:https://github.com/PSPDFKit/nudocs-mcp-server
  • Nudocs:https://nudocs.ai

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 nudocs-1776394151 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 nudocs-1776394151 技能

通过命令行安装

skillhub install nudocs-1776394151

下载

⬇ 下载 nudocs v1.2.0(免费)

文件大小: 7.29 KB | 发布时间: 2026-4-17 16:22

v1.2.0 最新 2026-4-17 16:22
Fix scanner flags: declare ~/.config/nudocs/api_key config path, link npm package to GitHub repo for provenance

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部