Agent skill

Siyuan MCP Create Edit

by yangtaihong59 in yangtaihong59/siyuan-plugins-mcp-sisyphus

MCP playbook for creating and editing SiYuan documents and blocks.

MITAuto-check passedKnowledge Management

Install Siyuan MCP Create Edit

skills CLI
$ npx skills add yangtaihong59/siyuan-plugins-mcp-sisyphus --skill siyuan-mcp-create-edit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install yangtaihong59/siyuan-plugins-mcp-sisyphus siyuan-mcp-create-edit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/yangtaihong59/siyuan-plugins-mcp-sisyphus.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/siyuan-mcp/siyuan-mcp-create-edit .claude/skills/siyuan-mcp-create-edit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
siyuan-mcp-create-edit
GitHub stars
116
Token cost
~665 tokens
SKILL.md length
245 words
Files
2
Skills in repo
30
Repo updated
First seen
Licence
MIT

At a glance

MCP playbook for creating and editing SiYuan documents and blocks.

  • Path-based document creation
  • SKILL.md covers Protected writes and readback, Create documents, Edit blocks and Metadata and daily notes
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Block append/insert/update

What it does

Siyuan MCP Create Edit is an agent skill from yangtaihong59/siyuan-plugins-mcp-sisyphus. MCP playbook for creating and editing SiYuan documents and blocks. Use for path-based document creation, block append/insert/update, metadata, daily notes, and verified edits.

Its SKILL.md is about 670 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Knowledge Management, covering Note-taking and MCP servers. It works with Model Context Protocol. The repository describes itself as: 一个用于连接Agent与Siyuan的工具. The licence is MIT.

When your agent uses it

  • Path-based document creation
  • Block append/insert/update

Example prompts

  • “/siyuan-mcp-create-edit”

What it can do on your machine

Read from SKILL.md and the folder at commit d2ad534. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Siyuan MCP Create Edit loads about 665 tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 245 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~665

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from yangtaihong59/siyuan-plugins-mcp-sisyphus at commit d2ad534, republished under its MIT licence (© yangtaihong59). 245 words, ~665 tokens.

Download SKILL.mdSave it as .claude/skills/siyuan-mcp-create-edit/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
siyuan-mcp-create-edit
description
MCP playbook for creating and editing SiYuan documents and blocks. Use for path-based document creation, block append/insert/update, metadata, daily notes, and verified edits.

Create and Edit SiYuan Content with MCP

Read the target first, choose the highest-level action that preserves intent, perform one bounded change, then read it again.

Protected writes and readback

For a mutation covered by strict safe writes, call the same action and business arguments with validateOnly=true, use the returned precondition field, and submit the server-issued requestId. Never invent or recycle a hash credential. After the write, reread the exact stable ID or resolved path with enough bounded fields to prove the intended change and continue until the response is complete.

If the connection fails after execution may have started, or the result says outcome_unknown or readback_mismatch, do not retry with a new request ID. Inspect the target and resolve the outcome first. A CLI command, raw MCP payload, or Agent-generated call is not by itself evidence that this coordinator path or its guarantees applied; use the current safety response and runtime help.

Create documents

Use a workspace path for convenient path-based creation:

text
fs(action="write", path="/Notebook/Project/Notes", markdown="# Notes\n\nInitial content.")

Use a notebook ID plus notebook-local hpath when low-level control is needed:

text
document(action="create", notebook="<notebook-id>", path="/Project/Notes", markdown="# Notes")

Do not include the notebook name in the low-level hpath.

Edit blocks

text
block(action="append", parentID="<doc-id>", dataType="markdown", data="## New section\n\nParagraph.")
text
block(action="insert", previousID="<block-id>", dataType="markdown", data="Inserted paragraph.")
text
block(action="update", id="<block-id>", dataType="markdown", data="Replacement block content.")

Use block update only when replacing the whole block is intended. Prefer a scoped replacement for a small textual change:

text
block(action="replace", id="<block-id>", edit={"old":"draft","new":"final"})

Metadata and daily notes

text
block(action="set_attrs", id="<block-id>", attrs={"custom-source":"agent"})
text
document(action="create_daily_note", notebook="<notebook-id>")

Before rename, move, delete, or broad replacement, resolve the exact target, show the affected scope, and obtain approval. After every mutation, read by stable ID when possible. Use siyuan://help/action/block/append when any parameter is uncertain.

© yangtaihong59, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/siyuan-mcp/siyuan-mcp-create-edit of yangtaihong59/siyuan-plugins-mcp-sisyphus.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit d2ad534

Compare with similar skills

Siyuan MCP Create Edit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Siyuan MCP Create Edit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Siyuan MCP Create Edit this skillyangtaihong59/siyuan-plugins-mcp-sisyphus116—~665Automated safety check: PassMIT
Joplinalondmnt/joplin-mcp173—~897Automated safety check: PassMIT
Solomdzhitongblog/solomd1.2k—~2kAutomated safety check: PassMIT
Arkon Editnduckmink/arkon1.5k—~1.6kAutomated safety check: PassCustom licence
Arkon Querynduckmink/arkon1.5k—~1kAutomated safety check: PassCustom licence
Arkon Reviewnduckmink/arkon1.5k—~1.3kAutomated safety check: PassCustom licence

Similar skills

  • Joplin

    alondmnt/joplin-mcp

    Orchestration guidance for Joplin note, notebook, and tag management tools

    173 GitHub stars~897 tokensUpdated 29 days ago
    Knowledge ManagementAuto-check passed
  • Solomd

    zhitongblog/solomd

    Read, search, edit, and version-control any folder of Markdown notes via the SoloMD MCP server.

    1.2k GitHub stars~2k tokensUpdated yesterday
    Knowledge ManagementAuto-check passed
  • Arkon Edit

    nduckmink/arkon

    Propose or directly apply edits to Arkon wiki pages, including proposing brand new pages.

    1.5k GitHub stars~1.6k tokensUpdated 4 mo ago
    Knowledge ManagementAuto-check passed
  • Arkon Query

    nduckmink/arkon

    Answer questions using the Arkon knowledge base. An agent skill from nduckmink/arkon.

    1.5k GitHub stars~1k tokensUpdated 4 mo ago
    Knowledge ManagementAuto-check passed
  • Arkon Review

    nduckmink/arkon

    Review, approve, request changes on, or reject pending wiki edit drafts in Arkon.

    1.5k GitHub stars~1.3k tokensUpdated 4 mo ago
    Knowledge ManagementAuto-check passed
  • Sage Wiki

    xoai/sage-wiki

    Reference skill for sage-wiki — local-first knowledge graph with MCP server, REST API, compiled wiki, and Obsidian-compatible output.

    623 GitHub stars~2.4k tokensUpdated 5 days ago
    Knowledge ManagementAuto-check passed

More from yangtaihong59/siyuan-plugins-mcp-sisyphus

All 30 skills in this repo
  • Siyuan Built Cjs Live Test

    yangtaihong59/siyuan-plugins-mcp-sisyphus

    使用仓库刚构建的 dist/mcp-server.cjs 与 cli/dist/cli.cjs,在真实思源实例的隔离测试笔记本中执行端到端验收。用于验证工具或 action 修改、严格安全写入、短哈希预检租约、幂等重放、状态变化拒绝、HTTP/stdio/CLI 一致性,以及用户要求“实际测试”“真实笔记本测试”“全部 action 测试”或“不要只跑 mock”时。

    116 GitHub stars~1.3k tokensUpdated 3 days ago
    Auto-check passed
  • Claude Desktop MCP App

    yangtaihong59/siyuan-plugins-mcp-sisyphus

    Configure, repair, and verify MCP servers and MCP Apps in Claude Desktop on macOS.

    116 GitHub stars~1.2k tokensUpdated 3 days ago
    Auto-check passed
  • Git Workflow Cn

    yangtaihong59/siyuan-plugins-mcp-sisyphus

    Chinese git workflow conventions including commit message generation and merge practices.

    116 GitHub stars~941 tokensUpdated 3 days ago
    Auto-check passed
  • Siyuan MCP Browse Read

    yangtaihong59/siyuan-plugins-mcp-sisyphus

    MCP playbook for browsing and reading SiYuan notes. An agent skill from yangtaihong59/siyuan-plugins-mcp-sisyphus.

    116 GitHub stars~684 tokensUpdated 3 days ago
    Auto-check passed
  • Siyuan MCP Sisyphus

    yangtaihong59/siyuan-plugins-mcp-sisyphus

    Top-level skill for operating SiYuan Note through the Sisyphus MCP server.

    116 GitHub stars~1.3k tokensUpdated 3 days ago
    Auto-check passed
  • Siyuan MCP Timeline

    yangtaihong59/siyuan-plugins-mcp-sisyphus

    MCP playbook for SiYuan document timelines. An agent skill from yangtaihong59/siyuan-plugins-mcp-sisyphus.

    116 GitHub stars~647 tokensUpdated 3 days ago
    Auto-check passed

Questions about Siyuan MCP Create Edit

What does Siyuan MCP Create Edit do?

MCP playbook for creating and editing SiYuan documents and blocks. Siyuan MCP Create Edit is an agent skill from yangtaihong59/siyuan-plugins-mcp-sisyphus. MCP playbook for creating and editing SiYuan documents and blocks.

When should I use Siyuan MCP Create Edit?

Siyuan MCP Create Edit fits situations like: path-based document creation; block append/insert/update.

How do I install Siyuan MCP Create Edit in Claude Code?

Run `npx skills add yangtaihong59/siyuan-plugins-mcp-sisyphus --skill siyuan-mcp-create-edit -a claude-code`. Or copy the skill folder (skills/siyuan-mcp/siyuan-mcp-create-edit in yangtaihong59/siyuan-plugins-mcp-sisyphus) into .claude/skills/siyuan-mcp-create-edit in your project. Claude Code loads it when a task matches its description.

How do I install Siyuan MCP Create Edit in Codex?

Run `npx skills add yangtaihong59/siyuan-plugins-mcp-sisyphus --skill siyuan-mcp-create-edit -a codex`. Or copy the skill folder (skills/siyuan-mcp/siyuan-mcp-create-edit in yangtaihong59/siyuan-plugins-mcp-sisyphus) into .agents/skills/siyuan-mcp-create-edit in your project. Codex loads it when a task matches its description.

Can I use Siyuan MCP Create Edit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add yangtaihong59/siyuan-plugins-mcp-sisyphus --skill siyuan-mcp-create-edit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/siyuan-mcp-create-edit, .gemini/skills/siyuan-mcp-create-edit, .github/skills/siyuan-mcp-create-edit and .opencode/skills/siyuan-mcp-create-edit in your project.

What does Siyuan MCP Create Edit need to run?

SKILL.md names no scripts, command-line tools or credentials: Siyuan MCP Create Edit is instructions for the agent only.

Does Siyuan MCP Create Edit access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Siyuan MCP Create Edit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Siyuan MCP Create Edit use?

Siyuan MCP Create Edit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Siyuan MCP Create Edit use?

About 665 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Siyuan MCP Create Edit?

Skills that share tags, products or a category with Siyuan MCP Create Edit: Joplin (alondmnt/joplin-mcp, 173 stars), Solomd (zhitongblog/solomd, 1.2k stars), Arkon Edit (nduckmink/arkon, 1.5k stars) and Arkon Query (nduckmink/arkon, 1.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Siyuan MCP Create Edit?

yangtaihong59 (a GitHub user) maintains it in yangtaihong59/siyuan-plugins-mcp-sisyphus, which has 116 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on October 8, 2026.

Source: yangtaihong59/siyuan-plugins-mcp-sisyphus on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.