Back to skills
SKILL.md
Siyuan
ASecurity思源笔记 (SiYuan Note) 联动。支持管理笔记本、文档、块,支持 SQL 查询内容。当需要从思源笔记中读取、写入或搜索内容时使用。
- 225 stars
- 0 votes
- 0 copies
- 8 views
- Added September 4, 2026
Works with
Security analysis
100/100Pro scans all 13 files and shows the line behind each finding
npx -y skills add NeverSight/skills_feed --skill siyuan --agent claude-codeAre you the author of Siyuan?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/neversight-siyuan)---
name: siyuan
description: "思源笔记 (SiYuan Note) 联动。支持管理笔记本、文档、块,支持 SQL 查询内容。当需要从思源笔记中读取、写入或搜索内容时使用。"
---
# 思源笔记 (SiYuan Note) 联动
本 Skill 允许 Antigravity 与用户的思源笔记进行交互。
## 核心功能
- **笔记本管理**:列出 (`list_notebooks`)、创建、重命名笔记本。
- **文档管理**:创建 (`create_doc`)、移动、删除文档。
- **块操作**:在文档中插入 (`insert_block`)、更新、删除内容块。
- **搜索与查询**:执行 SQL 查询 (`sql_query`) 或全文搜索。
- **导出**:导出 Markdown 或资源文件。
## 使用须知
1. **思源笔记必须启动**:确保本地思源笔记软件正在运行。
2. **API 令牌**:需要 `SIYUAN_TOKEN`(在思源笔记 -> 设置 -> 关于中获取)。
3. **环境变量**:默认地址为 `127.0.0.1:6806`。
## 如何调用
Antigravity 可以通过运行内置的 `scripts/siyuan_executor.py` 来调用具体的功能。
### 示例用法
#### 列出所有笔记本
```bash
python .agent/skills/siyuan/scripts/siyuan_executor.py list_notebooks
```
#### 创建文档
```bash
python .agent/skills/siyuan/scripts/siyuan_executor.py create_doc --notebook "id" --path "/path" --markdown "# Content"
```
#### SQL 查询
```bash
python .agent/skills/siyuan/scripts/siyuan_executor.py sql_query "SELECT * FROM blocks LIMIT 5"
```
Files in this skill
- SKILL.md
- description_ar.txt
- description_cn.txt
- description_de.txt
- description_en.txt
- description_es.txt
- description_fr.txt
- description_it.txt
- description_ja.txt
- description_ko.txt
- description_ru.txt
- description_tw.txt
- stats.json
Attribution
Related skills
View all in development →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.