Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By zhiluopv1.0.0MITIn 2 marketplaces
Edits SiYuan Note files with wiki links and block references, generates Excalidraw diagrams and imports web articles into your notebooks. Needs a running SiYuan instance and an API token in a config file. Docs are in Chinese.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Of the plugin's README
Chinese
2 marketplaces, most starred first
siyuan, note-taking, knowledge-management, wiki-links, excalidraw, markdown, article-import, pkm ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
思源笔记(SiYuan Note)技能集合,采用分层设计提供基础知识和专用工具。
这些 skills 遵循 Claude Skills 规范,可被 Claude Code 和其他兼容 agent 使用。
{local_path}/data/assets/本仓库包含多个针对思源笔记的 Claude Code Skills,采用分层设计:
skills/
├── siyuan/ # 基础层:核心知识库
├── siyuan-article-import/ # 应用层:文章导入
├── siyuan-excalidraw/ # 应用层:图表生成
└── siyuan-markdown/ # 格式层:Markdown 编辑
层级:基础层
用途:提供思源笔记的核心概念、通用 API 调用方法、模板语法、闪卡系统等基础知识。
使用场景:
关键内容:
.action{})依赖关系:其他所有 skills 依赖此 skill 提供的基础知识
层级:应用层
用途:从网络抓取文章(微信公众号、知乎、掘金、博客等)并导入思源笔记。
使用场景:
核心功能:
触发关键词:"导入文章"、"保存网页"、"抓取内容"
依赖关系:依赖 siyuan 基础知识
层级:应用层
用途:为思源笔记创建流程图、思维导图、架构图等可视化内容。
使用场景:
核心功能:
触发关键词:"绘图"、"画流程图"、"创建架构图"、"可视化"
依赖关系:依赖 siyuan 基础知识
层级:格式层
用途:处理思源笔记风味 Markdown(SFMD)的编辑和语法。
使用场景:
核心功能:
[[文档]])((块ID)))关键语法:
[[文档名]] - 维基链接((块ID)) - 块引用{{SQL}} - SQL 查询嵌入依赖关系:依赖 siyuan 基础知识
┌─────────────────────────────────────────┐
│ siyuan (基础知识库) │
│ 核心概念、API、模板、块操作 │
│ ↓ │
│ ┌────────────┼────────────┐ │
│ ↓ ↓ ↓ │
│ 应用层 应用层 格式层 │
│ (导入) (绘图) (编辑) │
│ siyuan- siyuan- siyuan- │
│ article- excalidraw markdown │
│ import
└─────────────────────────────────────────┘
| 任务 | 使用 Skill |
|---|---|
| 了解思源笔记基本概念 | siyuan |
| 导入网络文章 | siyuan-article-import |
| 创建图表/流程图 | siyuan-excalidraw |
| 编辑 Markdown 文件 | siyuan-markdown |
| 调用思源 API | siyuan |
| 插入图片到文档 | siyuan-markdown |
将 skills/ 目录复制到 ~/.claude/skills/ 或项目根目录的 /.claude/skills/。
推荐在仓库根目录放置 .claude/siyuan.json(也兼容根目录 siyuan.json):
{
"api_url": "http://127.0.0.1:6806",
"api_token": "your-api-token",
"local_path": "/path/to/siyuan",
"remote_path": {
"webdav": true,
"url": "https://your-webdav-server.com",
"username": "username",
"password": "password",
"assets_path": "/assets"
}
}
💡 路径说明:
local_path应指向思源笔记的工作目录(包含data/、conf/等目录的根目录)- 全局 assets 路径为:
{local_path}/data/assets/- 图片引用语法:
assets/filename.ext(相对于 data 目录)- 如果思源运行在 Docker 中,而 skill/脚本运行在宿主机上,
local_path应填写宿主机可访问的挂载路径- 只有当脚本本身也运行在容器内时,
local_path才应填写容器内路径(例如/siyuan/workspace/)- 如果不使用 WebDAV,保留
local_path即可;remote_path可以省略,或保留但设置webdav: false示例目录结构:
Y:\note\siyuan\ # local_path 指向这里 ├── data/ │ ├── assets/ # 全局资源目录 │ └── {笔记本ID}/ └── conf/
如果你的思源跑在 Docker 容器里,需要先判断这个 skill 是在哪里执行:
local_path 填宿主机挂载出来的目录,例如 /Users/you/siyuan-workspacelocal_path 才填写容器内路径,例如 /siyuan/workspaceremote_path 只有在需要通过 WebDAV 上传资源时才需要配置;否则可以关闭 webdav 或直接不填该段。
当前仓库里的图片/资源处理分成两种模式,不是都通过思源 API 上传二进制文件:
满足以下条件时启用:
local_path 已配置处理方式:
{local_path}/data/assets/assets/文件名 这种相对路径引用这种模式下,不需要配置 remote_path。
适用于以下场景:
这时需要配置:
{
"remote_path": {
"webdav": true,
"url": "https://your-webdav-server.com",
"username": "username",
"password": "password",
"assets_path": "/assets"
}
}
处理方式:
PUT 上传资源文件assets/文件名 供文档引用remote_pathlocal_path,而且脚本能直接访问思源工作目录当前实现里,思源 API 主要用于:
当前实现里,图片文件本身不是通过思源 API 上传的,而是:
data/assets/欢迎贡献!请遵循 skill-creator 标准创建新 skills。
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
npx claudepluginhub zhiluop/siyuan-skills --plugin siyuan