by workhold
Doca|开源文档管理与知识库,支持多人协同编辑、在线文档、Markdown、表格、幻灯片、画布和 AI 助手。Self-hosted document management, knowledge base & real-time collaborative editing for individuals and small teams.
# Add to your Claude Code skills
git clone https://github.com/workhold/docadoca is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by workhold. Doca|开源文档管理与知识库,支持多人协同编辑、在线文档、Markdown、表格、幻灯片、画布和 AI 助手。Self-hosted document management, knowledge base & real-time collaborative editing for individuals and small teams. It has 453 GitHub stars.
doca's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/workhold/doca" and add it to your Claude Code skills directory (see the Installation section above).
doca is primarily written in TypeScript. It is open-source under workhold on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh doca against similar tools.
No comments yet. Be the first to share your thoughts!
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Doca 把在线文档、Markdown、在线表格、幻灯片、无限画布、知识管理和团队协作放在一起。记录个人想法,沉淀团队知识,也可以连接自己的 AI 模型辅助工作。

[!NOTE] 在线演示用于体验,数据会不定期清理,请不要存放重要数据。
| 写下来,一起完善 | 让知识成为团队记忆 | 建立自己的工作空间 |
|---|---|---|
| 写项目方案、记录会议、管理预算、梳理流程。邀请伙伴协同编辑,用评论讨论细节。 | 用知识库目录组织文档,用知识册连接来源、编排和人工审阅,让结论有据可查。 | 部署到自己的服务器,连接自己的 AI 模型,再通过业务插件扩展工作台。 |
用富文本写方案与会议纪要。知识库目录、格式工具、权限和文档历史就在手边。

| 能力 | 可以用来做什么 |
|---|---|
| 在线文档与协同编辑 | 富文本、Markdown、表格、幻灯片和画布,支持实时协同、评论与历史记录。 |
| 知识管理 | 带文档目录的知识库,以及支持编排、来源溯源和人工审阅的多人共建知识册。 |
| 个人 AI 助手 | 围绕有权限访问的文档与文件工作,读取 PDF/Office 附件,生成与编辑图片,分析网页材料。需要配置可用的模型和服务。 |
| 浏览器插件 | Chrome / Edge 网页与选区收录,保留正文、来源和图片;配置保存位置与新建/追加规则,并在侧栏调用 Doca AI 整理网页。 |
| MCP 服务 | 让 Codex 等外部 AI 使用已授权的 Doca 工具和 SKILL;支持个人服务和管理员代用户集成。 |
| 文件与分享 | 个人文件、共享文件夹、邀请、权限、分享链接、搜索、通知和回收站。支持本地或兼容 S3 的文件存储。 |
| 账号与语言 | 密码、OIDC、Google、GitHub、微信扫码和 QQ 登录,中英文界面。外部登录需配置对应服务。 |
| 私有化部署与扩展 | Docker 部署,单机 SQLite,多副本共享 PostgreSQL、Redis 和文件存储。业务插件通过公开 @smartdoca/plugin-sdk 扩展。 |
一次部署只有一套账号系统。默认镜像不安装随手记、邮箱、日历、会员或内容审核插件。模板和素材需要单独安装提供者,详见功能与边界。
在个人设置的「浏览器助手」中配置收录方案,下载本站配置的扩展,在 Chrome / Edge 中加载已解压的文件。插件跟随 Doca 网站登录,可把整页或选区保存到个人文档、知识库目录,或追加到指定文档。当前通过下载包安装,未提供浏览器扩展商店安装。
网页右侧工具条可以收录、打开 Doca 助手和进入设置。侧栏支持总结与整理当前网页,使用站点配置的模型、计量和审批;会话可回到 Doca 继续。来源网页会进入关联资源,浏览器会话以网页名称开头,方便查找。详见浏览器助手安装与使用。
Doca 提供 Streamable HTTP MCP 服务,让支持 MCP 的客户端发现已授权的工具、读取 SKILL 手册、操作文档与文件。个人服务以本人身份执行;公司服务供系统集成使用,每次操作显式指定目标用户。服务授权和资源权限同时生效,token 可以独立重置、关闭或撤销。
在个人设置中启用 MCP 并创建服务,复制界面生成的接入配置;管理员可在后台管理公司 MCP 服务。token 只在创建或重置时显示,保存在客户端环境变量中即可。详见MCP 服务与接入。
| 入口 | 地址 |
|---|---|
| 官网 | i.smartdoca.cc |
| 在线体验 | d.smartdoca.cc |
| 详细文档 | workhold.github.io/doca |
| 插件商城 | store.smartdoca.cc |
| 项目源码 | github.com/workhold/doca |
| 发行版本 | 下载与发行说明 |
| 问题反馈 | 提交问题或功能建议 |
需要 Git、Docker Engine、Docker Compose,以及通过反向代理访问的 HTTP(S) 地址。本流程在新空数据库中安装 main 分支 compose.yaml 指定的镜像。已有部署更换版本前,先阅读发行要求并保留原数据。
# 1. 拉取 main 分支的部署文件
git clone --branch main --depth 1 https://github.com/workhold/doca.git
cd doca
# 2. 配置环境变量
cp docker.env.example .env
# 编辑 .env,将 DOCA_ORIGIN 改成自己的 HTTP(S) 来源。
# 首次安装用 openssl rand -hex 32 生成密钥,替换公开示例的 DOCA_CREDENTIAL_MASTER_KEY。
# 单机部署保留示例中的本地文件存储配置。
# 3. 拉取镜像
docker compose pull
# 4. 启动并检查健康状态
docker compose up -d
docker compose ps
# 等待状态显示 healthy,再初始化管理员
# 5. 初始化管理员账号和密码
bash scripts/bootstrap-admin.sh
密码至少 12 位,没有默认账号。Compose 绑定 127.0.0.1:39120,浏览器访问前需要配置 HTTP(S) 反向代理。SQLite、文件、插件和 AI 数据库保存在 doca_data 卷。
完整快速开始包含 .env、反向代理、健康检查、管理员恢复和数据保留说明。
业务服务器无法访问 GitHub 时,按无需访问 GitHub 的部署转交部署文件即可,不需要 Git 或源码。交付方执行 node scripts/pack-deployment.mjs 生成部署包;指南也提供可复制的 Compose、.env 和初始化步骤。镜像仓库也不通时,可通过 docker save / docker load 离线交付同版本镜像。
需要 Node.js 22.12 或更新版本,以及 pnpm 11.25.0:
pnpm install --frozen-lockfile
cp .env.example .env
# 把存储 root 改为本机可写的绝对路径;首次安装替换公开示例主密钥。
pnpm dev
打开 http://127.0.0.1:39130,通过 bash scripts/bootstrap-admin-local.sh 初始化管理员。pnpm check 执行 TypeScript 检查、测试和 Web 构建。详见开发环境。
预览文档时,执行 pnpm docs:dev 并打开 http://127.0.0.1:39140/#/zh-cn/。pnpm docs:check 校验双语覆盖和本地链接。GitHub Pages 设置见文档维护。
smartdocaMIT。单独发布的富文本、表格、Markdown、画布和幻灯片编辑器采用同一许可证。