跳到正文
Skillpedia
调研51k · #3512

open-notebook

它能做什么

把你的研究资料和笔记整理成数字笔记本。你可以添加文档、网页、音频和视频作为信息来源,与 AI 就这些内容进行对话,还能进行细致的搜索。

适用场景

  • ✓整理课堂或讲座笔记时。
  • ✓研究某个主题、需要整合多个来源时。
  • ✓为长视频或长音频生成摘要时。

技能链接

https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/open-notebook/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/open-notebook/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请根据我提供的 PDF 和链接,整理我关于项目 X 的研究笔记。”

每周 5 个新技能,1 分钟读完。

工作原理

你添加文档和链接,工具会把它们整理好。之后,你可以向 AI 提问关于这些内容的问题,它会在回答时标注引用的来源。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Open Notebook

Overview

Open Notebook organizes sources, notes, and AI conversations into research notebooks. It supports several AI providers through Esperanto, full-text and vector search, custom transformations, and podcast generation with speaker profiles. Application storage is self-hosted; content sent to configured cloud models is not local-only.

This skill targets the latest published release observed on 2026-09-30, v1.14.0. Request/response contracts were checked against its official source and current main commit 3127f14ea9dbb519f0e4ddc64a0742ca644ba6ef. Bundled helpers have mocked HTTP regression tests; deployment, ingestion, and paid AI calls were not run against a live instance. Deployment and remote workflow examples are illustrative.

Quick Start

Installation

Use Docker Desktop/Engine with Compose. The upstream docker-compose file configures SurrealDB v2 and the lfnovo/open_notebook:v1-latest application image. It mounts ./notebook_data at /app/data and ./surreal_data at /mydata.

curl --fail --location --output docker-compose.yml \
  https://raw.githubusercontent.com/lfnovo/open-notebook/v1.14.0/docker-compose.yml

Before starting, edit the downloaded Compose file: replace the literal OPEN_NOTEBOOK_ENCRYPTION_KEY=change-me-to-a-secret-string value, or change it to ${OPEN_NOTEBOOK_ENCRYPTION_KEY:?Set OPEN_NOTEBOOK_ENCRYPTION_KEY} and supply that variable. Exporting a shell variable alone does not replace the upstream literal. Retain the key across restarts; it encrypts provider credentials, not source documents. Set OPEN_NOTEBOOK_PASSWORD in the application's container environment when password protection is wanted; clients then send Authorization: Bearer <instance-password>. For a reproducible deployment, resolve and record an image digest; v1-latest moves.

docker compose up -d
docker compose logs --tail=100 open_notebook
  • Web UI: http://localhost:8502
  • Backend: http://localhost:5055; API base: http://localhost:5055/api
  • Instance contracts: /docs, /redoc, /openapi.json

Source installation is also supported; it needs a separate processing worker. See configuration for persistence and provider setup.

Configure AI providers

In Manage → Models, add a configuration/credential, test it, discover models, and register the particular models needed. Assign chat and embedding defaults; assign speech models separately for transcription/podcasts. OpenAI, Anthropic, Google, Ollama, Groq, and Mistral have different modalities. Discover support from the instance's /api/models/providers; do not infer speech support from LLM support.

Credential discovery returns discovered[] with name and provider, often without a usable model_type. Registration requires models[] containing name, provider, and an explicitly chosen model_type. The four types are language, embedding, speech_to_text, and text_to_speech. They are not llm, stt, or tts. See the API reference and credential example.

Use the bundled helpers

Resolve this skill's directory and run from its scripts/ directory, or add that directory to the Python import path. Install requests in a dedicated environment, for example uv run --isolated --with requests python notebook_management.py --help. Each CLI only lists records; creation, AI calls, and deletion are explicit functions. Set OPEN_NOTEBOOK_URL to the backend origin (an existing /api suffix is also accepted). Set OPEN_NOTEBOOK_PASSWORD only if the instance requires authentication.

from notebook_management import create_notebook
from source_ingestion import add_text_source, wait_for_processing
from chat_interaction import build_context, create_chat_session, send_chat_message

notebook = create_notebook("Methods review", "Compare reported experimental designs")
source = add_text_source(
    notebook["id"], "Pilot study excerpt",
    "Illustrative study: 24 samples were randomized to two treatments.",
    process_async=True, embed=False,
)
wait_for_processing(source["id"])
built = build_context(notebook["id"], source_ids=[source["id"]], note_ids=[])
if not built["context"]["sources"]:
    raise RuntimeError("No source content was included")
session = create_chat_session(notebook["id"], "Methods discussion")

…
常见问题

我可以使用自己的 AI 服务吗?

可以,你可以配置 OpenAI、Anthropic、Google 等 AI 服务商,与这个工具一起使用。

我该如何添加文档?

你可以上传 PDF、音频、视频或 Office 文档,也可以直接把文本和链接粘贴到工具中。

我的数据存放在哪里?

这个工具是自托管的,意味着你的数据会留在你自己的电脑或服务器上,除非你配置它将信息发送到云端 AI 模型。

详情

作者的原始描述

Organizes research with the self-hosted Open Notebook alternative to NotebookLM. Supports source ingestion (PDFs, web pages, audio, video, and Office documents), cited document chat, text and vector search, notes, custom transformations, and multi-speaker podcasts. Use when automating Open Notebook through its REST API or configuring its local or cloud AI providers, including OpenAI, Anthropic, Go

repo: K-Dense-AI/scientific-agent-skills

热度

GitHub 星标
51k
排名
#3512
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能