Have the DSH agent organize the current conversation into Markdown and export it as a Hammer Note, saving it to the note service or generating a note long image.
$ dsh plugin --profile web add github:zhaoolee/notesRun the command above in your terminal to install this plugin via the dsh CLI. You can switch Profile in the top-right corner. New to dsh? Read the beginner tutorial
Let the DeepSeek Harness intelligent agent organize the current conversation into Markdown and export it as a Smartisan Note—when the note service is configured, it directly writes to the cloud workspace; when not configured, it falls back to the demo server to generate a note long image.
note_id; when updating, category, starred, and pinned attributes that are not explicitly passed retain their original values@deepseek-ai/dsh-tools, @deepseek-ai/cordis, @deepseek-ai/schemastery, Node built-in node:fetch/node:fs/node:cryptonotes-export line in the host composition via cordis.patch.yml, registered as a Host-side tool by apply(ctx, config) calling ctx.tools.register(defineTool(...)); client only depends on Node built-in capabilities and can be tested independently without DSHdsh-plugin/src/index.ts (tool registration); dsh-plugin/src/notes-client.ts (note service API client)Used when intelligent agent users want to沉淀 the current conversation or long-form content into their Smartisan Notes list; especially suitable for one-click saving of code reviews, research summaries, and conversation minutes. When note service is not configured, can also generate note long images for direct sharing, posting to WeChat public accounts, or screenshot saving.
| Dependency | Minimum Version | Description |
|---|---|---|
| DSH Host Runtime | 0.1.0-rc.6+ | Plugin injects tools via cordis.patch.yml, requires @deepseek-ai/dsh-tools ^0.1.0-rc.6 and @deepseek-ai/cordis ^4.0.1 (peerDependencies) |
| Node.js | Not declared | Source code only uses built-in modules like node:crypto / node:fs/promises / node:os / node:path, no engines declared in package.json |
| Platform | Cross-platform | Only depends on Node built-in fetch, no native modules |
dsh plugin --profile web add github:zhaoolee/notes
| Config | Type | Description | Default |
|---|---|---|---|
baseUrl | string | Note service base address, e.g., http://127.0.0.1:18080; when not configured, falls back to default demo server (image mode) | None |
token | string | Stable Bearer Token (starts with notes_sk_v1.), takes precedence over username/password | None |
username | string | Used to request Token from /api/auth/skill-token when no token | None |
password | string | Same as above, paired with username | None |
demoServer | string | Demo server to fall back to when baseUrl is not configured | https://notes.fangyuanxiaozhan.com |
Configuration priority: plugin config > process environment variable
NOTES_API_*> built-in defaults.
Q: After installation, the intelligent agent won't call it automatically. What do I need to say?
A: Restart the target profile after installation to activate the plugin. The intelligent agent has registered the notes_export_conversation tool. Say "export our conversation as a note" or similar to trigger it. The tool will automatically organize the conversation into Markdown and call it.
Q: Can I use it directly without any configuration?
A: Yes. The plugin will automatically fall back to the default demo server notes.fangyuanxiaozhan.com, render the conversation as a Smartisan Note long image PNG and save it locally. This mode cannot write to the note list, only suitable for trial or temporary sharing.
Q: I want to save notes to my own service. How do I configure it?
A: Set the note service address (NOTES_API_BASE_URL or plugin config's baseUrl), and provide a token or username/password. The intelligent agent will write the conversation as a note to the current account's cloud workspace, creating new or updating by note_id. If baseUrl is configured but no credentials are provided, it will explicitly error and won't silently fall back to the demo server.
Q: What are the action types returned by the tool, and what do they mean?
A: created means a new note was written; updated means an existing note was updated by note_id; exported-image means it was rendered as a note long image via the demo server (image mode), returning the local PNG path instead of a note link.
Q: Where does the note title come from?
A: It takes the first line of the full Markdown; the plugin removes heading symbols, quotes, and list markers, truncating to within 38 characters. It is recommended to write the title as # Title on the first line of the body.
Q: What note themes are supported?
A: Image mode supports default, smartisan-dark, apple-notes, apple-notes-light, bear, telegraph six themes; in write mode, the theme is determined by the note service side, and the tool does not modify the theme.
Q: Can I use version 0.1.0?
A: Not recommended. 0.1.0 will abort the session on first call with DSH 0.1.0-rc.6 due to duplicate installation of the host runtime. Please use version 0.1.1 or above (current latest 0.1.2).
Q: How to completely uninstall?
A: Execute dsh plugin --profile web remove @zhaoolee/dsh-notes, then restart the target profile; also clean up NOTES_API_* environment variables and credentials in the plugin config.
Beginner — no configuration needed to generate note long images via the demo server; to write to your own note list, just set an address and credentials, which ordinary conversation users can complete.
notes.fangyuanxiaozhan.com's anonymous export interface for image rendering; the interface does not save to any account workspace, but for sensitive conversations, please configure your own note service firstbaseUrl is configured but no token or username/password provided, write mode will explicitly error and won't silently fall back to demo servergithub:zhaoolee/notes) is 0.1.2; old version 0.1.0 will abort the session on first call with DSH 0.1.0-rc.6 due to duplicate installation of the host tool runtime, please avoid using itnote_id; the interface will return error "Notes in trash cannot be modified"


| 支持手机版 | 一键发送公众号 |
|---|---|
![]() | ![]() |
可以在 DSH 的“插件市场”中搜索 notes 直接安装;源码仓库已经携带预编译产物,
无需开启 allowBuilds。也可以通过命令行安装 npm 版本:
dsh plugin --profile web add @zhaoolee/dsh-notes
安装后请重启目标 profile,使插件生效。重启后,在 DeepSeek Harness 对话中说:把我们的对话导出成便签, 智能体会自动整理当前对话并调用插件生成便签。
| Deepseek Harness 生成分享便签 | 导出效果 |
|---|---|
![]() | ![]() |
clawhub地址 https://clawhub.ai/zhaoolee/notes-export-api
从clawhub安装 notes-export-api这个 skill,
联网获取最近一周 AI 相关的新闻,将新闻转化为 markdown 生成便签图片,把便签图片绝对路径返回给我,把图片往“下载”文件夹复制一份
只要你喜欢,可以把底部的「锤子便签」改成「凿子便签」或「榔头便签」




登陆后,复制一行专属链接,粘贴给Hermes Agent或OpenClaw,即可获取包含登身份认证的skill包,实现人机协同

可以给AI分配一个账号,人类分配一个账号,数据严格隔离

在手机的网页写完,直接一键粘贴到公众号即可发送,文本格式和图片,统统自动处理好!
| 子公司主题 | 母公司主题 |
|---|---|
![]() | ![]() |
| 暖白纸感 | 深夜便签 |
|---|---|
![]() | ![]() |
![]() | ![]() |
便签管理和 PNG 导出统一使用 NOTES_API_BASE_URL,可写入
skills/notes-export-api/.env,或通过 --base-url 传入:
NOTES_API_BASE_URL=http://127.0.0.1:18080
认证及完整配置见 skills/notes-export-api/SKILL.md。
单镜像同时包含 Web 前端和后端服务,便签管理、图片导入和 PNG 导出均可在本地 运行。公众号复制和 AI 等可选功能需另行配置相应服务。
需要登录、多端同步或 Skill 工作区管理时,先复制 .env.example,并配置
SUPERADMIN、SUPERADMINPASSWORD 和高熵 SESSION_SECRET:
cp .env.example .env
mkdir -p ./storage/images ./storage/data
docker run -d \
--restart unless-stopped \
--name notes \
-p 127.0.0.1:18080:3001 \
--env-file .env \
-v "$(pwd)/storage/images:/app/storage/images" \
-v "$(pwd)/storage/data:/app/storage/data" \
zhaoolee/notes:latest
启动后访问 http://127.0.0.1:18080。storage/images 保存图片和导出的 PNG,
storage/data 保存账号与云端工作区,两者都应持久化和备份。仅使用匿名编辑与导出
时可省略 --env-file .env;需要局域网访问时可将端口映射改为
-p 18080:3001,公网部署应使用 HTTPS 反向代理。