证据快照复核于 2026-09-16GitHub 数据核对日期: 2026-08-21
证据已验证Plugin Bundle集成与连接Web Profile

dsh-cubox

将 Cubox 收藏同步到 DeepSeek Harness,支持本地搜索,并可导出 Markdown 或 AI 每日简报到 Obsidian。

快速了解

它能做什么

将 Cubox 收藏同步到 DeepSeek Harness,支持本地搜索,并可导出 Markdown 或 AI 每日简报到 Obsidian。

本站提供的是中文说明,不代表该项目或 Plugin 自身提供中文界面;语言支持请以上游文档为准。

使用场景
集成与连接自动化文件搜索
适配技术
deepseek-harnesscuboxobsidianopenai-compatible-llm
兼容性

Web Profile
Not declared in supplied evidence

可信度与状态

证据已验证
核对日期 2026/9/11 UTC 14:10

有代码证据的贡献

它为 DSH 增加什么

Cubox 智能体工具

提供 Cubox 配置、同步、状态查看和收藏查询工具。

机制证据
Cubox 设置面板

添加 Web 设置面板,用于配置 Cubox 凭据、同步频率、导出选项和 AI 简报设置。

机制证据

选择前先看

dsh-cubox 是一个 DeepSeek Harness Web 插件,可按需或定时同步近期 Cubox 收藏。它会在本地缓存卡片和标注,供智能体查询,并可将单卡 Markdown 和由 LLM 生成的每日简报导出到指定本地文件夹。

适合谁

使用 Cubox 收集待读内容,并希望在 DeepSeek Harness 中检索、整理或导出到 Obsidian 的用户。

常见任务

  • 通过 cubox_sync 同步今天或最近几天的 Cubox 收藏。
  • 按关键词、时间范围、是否有标注、是否加星或已读状态搜索收藏卡片。
  • 将每张收藏卡片连同链接和标注导出为 Markdown。
  • 配置 LLM 后,按自定义提示词模板生成每日收藏简报。

权限与数据

需要 Cubox API Extension 凭据;生成 AI 简报时还需要可选的兼容 OpenAI 的 LLM 凭据。

权限
  • 通过提供的 API Extension 凭据读取,并可能修改 Cubox 数据。
  • 在 ~/.dsh/dsh-cubox-cache.json 写入本地缓存。
  • 在 ~/.dsh/dsh-cubox.json 保存凭据;README 声明其权限模式为 0600。
  • 在用户选择的输出文件夹写入 Markdown 导出和 AI 简报。
数据处理
  • 在本地缓存书签卡片和标注。
  • 生成 AI 简报时,会将配置的收藏内容发送给所配置的 LLM 服务。
外部服务
  • Cubox 内部 /c/api/cli 接口。
  • 可选的兼容 OpenAI 的 LLM 接口;文档默认使用 DeepSeek。
凭据
  • Cubox API Extension 链接。
  • 生成 AI 每日简报时可选的 LLM API 密钥。

局限

  • README 表明收藏读取依赖 Cubox 内部接口,而非公开 Open API。
  • 提供的证据没有声明 Harness 版本范围。
  • 未实际执行安装或运行,也未独立审计运行行为。
  • 未审计 npm tarball 中的软件包内容。

DSHub 已核对

  • 已验证固定 Git 源和插件包结构。
  • 清单声明了 Web 客户端插件包,以及 Node ^22.19.0 或 >=24.0.0。
  • 仓库文档描述了定时同步、本地缓存、查询工具、Markdown 导出和可选 AI 简报。

DSHub 未核对

  • 在 DeepSeek Harness 环境中成功安装。
  • Cubox API 的实际行为、数据修改范围和定时同步可靠性。
  • 任意配置 LLM 提供方的输出质量、费用和运行行为。

固定版本安装

安装 dsh-cubox

这个Plugin Bundle没有 DSH Plugin 安装操作,请根据源码文档使用真实交付方式。

访问源码项目

维护者原文

项目 README

查看 commit 8436566 对应的 README
维护者编写的上游内容原文于 2026/9/11README.md 获取,正文和仓库相对媒体固定到 commit 84365663d52a,内容哈希为 57f3b08d86fe。以下是未经 DSHub 翻译的上游原文,语言可能与当前页面不同;第三方托管的 badge 可能独立更新。

dsh-cubox

English | 中文

Cubox sync for DeepSeek Harness: scheduled sync of your Cubox collection, with an AI daily brief generated from your own prompt template and written straight into Obsidian — via the same /c/api/cli endpoints the official cubox-cli uses. Agent tools plus a web settings panel.

Features

  • Scheduled sync — a timer pulls your latest bookmarks into a local cache (~/.dsh/dsh-cubox-cache.json) every N minutes (default 60, configurable; 0 disables the timer). Manual sync anytime with cubox_sync.
  • AI daily brief — write your own prompt template (e.g. "今日收藏简报", {collection} is replaced with the formatted collection for the sync window: title / source / summary / annotations). When an LLM key is configured, every sync generates a brief into the output dir — 今日收藏简报-YYYY-MM-DD.md for a 1-day sync, 最近N日收藏简报-YYYY-MM-DD.md for wider windows (each window gets its own file).
  • Markdown export — set outputDir and optionally keep one markdown file per card (frontmatter + title + description + Cubox/original links + annotations, same layout as the official Cubox Obsidian plugin). Toggle exportCards off to write only the AI brief.
  • Querycubox_cards filters by keyword, time window, annotated/starred/read status.
  • Config & statuscubox_config / cubox_status; credentials persist to ~/.dsh/dsh-cubox.json (mode 0600), secrets never echoed.
  • Settings panel — Settings → Cubox: paste the API-extension link, set the sync interval, pick the local export folder (OS folder chooser), toggle per-card export, edit the AI brief prompt and LLM settings (OpenAI-compatible, defaults to DeepSeek).

Install

# after publishing to GitHub (repo tagged with the `dsh-plugin` topic)
dsh plugin --profile web add github:zhengjy01/dsh-cubox

# local development
dsh plugin --profile web add link:/path/to/dsh-cubox

Restart dsh web. The plugin ships pre-built — lib/index.js is plain ESM.

Configure

  1. Open Cubox preferences → Extensions & Automation → API Extension → enable it and copy your unique link (e.g. https://cubox.pro/c/api/save/abcd12345).

  2. Give the link to the plugin — either in the settings panel (Settings → Cubox), or just ask the agent:

    帮我配置 Cubox,API 链接是 https://cubox.pro/c/api/save/abcd12345
    

    The agent calls cubox_config to persist it. cubox.pro is the default server; cubox.cc is the international instance (auto-detected from the link).

  3. (Optional) Set the export dir + AI brief: choose the local folder, paste an OpenAI-compatible API key (DeepSeek by default), and edit the prompt template. {collection} is replaced with today's collection list.

Then:

同步一下今天的收藏                → cubox_sync (days=1)
查一下收藏里关于 LLM 的文章       → cubox_cards (keyword="LLM")

The API link and the LLM key are credentials — anyone holding them can read (and modify) your Cubox data or spend your LLM quota. They are stored in ~/.dsh/dsh-cubox.json (mode 0600). To rotate, refresh in the Cubox API-extension page, then re-configure.

Tools

Tool Purpose
cubox_status Connection & cache status
cubox_config Set / clear apiLink, server, token, syncMinutes, outputDir, exportCards, llmBaseUrl, llmApiKey, llmModel, llmPrompt
cubox_sync Pull the last N days (default today) into the local cache + export markdown + AI brief
cubox_cards Query the collection (keyword / days / annotated / starred / read)

Notes

  • The public Cubox "open API" only accepts saves; reads go through the internal /c/api/cli/* family (same endpoints as the official cubox-cli).
  • The sync cache is a plain JSON snapshot (cards + today's annotations, deduped by id, newest first) — agents can answer "what did I save" without extra round trips.
  • License: MIT

有意识地管理

安装与管理

前置条件与目标 Profile

目标 Web Profile

交付方式 Git Bundle — zhengjy01/dsh-cubox#84365663d52aea6251865bf18c5584ceae7ab6d7

验证、更新与移除

显示生命周期命令
验证
dsh plugin --profile web list

兼容性与访问范围

DeepSeek Harness web bundle; Node 22.19+ or 24+ Not declared in supplied evidence

检查兼容性证据

风险事实

凭据

Stores a Cubox API-extension link and optional LLM API key locally; either credential may permit Cubox changes or consume LLM quota.

证据
external-api

Reads Cubox data through internal /c/api/cli endpoints and can call an OpenAI-compatible LLM service for daily briefs.

证据
证据与编辑审查Manifest、Bundle patch、分发与新鲜度

不可变证据

审查状态与源码活动

AI 已审查

请使用项目文档提供的 Git 插件包安装路径,并将 Cubox 链接与 LLM 密钥视为敏感凭据。

AI 审查于 2026/9/11 UTC 14:11GitHub 事实核对日期: 2026/9/11 UTC 14:11

自当前证据基线以来,没有记录到重要源码变化。

下一步

按 Plugin 安装流程操作

订阅重要变化: dsh-cubox