siyuan-sisyphus-create-edit

siyuan-sisyphus-create-edit is a skill for Codex from yangtaihong59/siyuan-plugins-mcp-sisyphus. It costs 54 tokens per session (670 once invoked), scanned A, a copy of siyuan-mcp-create-edit, MIT.

A command-line guide for creating and editing SiYuan notes and content blocks. SiYuan is a note-taking application that stores documents in notebooks and lets users work with individual blocks such as paragraphs.

In plain words
What is it for?
Use it to create documents, append or update blocks, set metadata, make daily notes, and edit documents by path. It covers verified writes through the siyuan-sisyphus command-line tool.
Why use it?
It makes edits safer by reading the target first, validating protected changes, using a unique request identifier, and reading the result back. It also explains how to resolve uncertain outcomes before retrying.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to create documents, append or update blocks, set metadata, make daily notes, and edit documents by path. It covers verified writes through the siyuan-sisyphus command-line tool.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yangtaihong59/siyuan-plugins-mcp-sisyphus/siyuan-sisyphus-create-edit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yangtaihong59/siyuan-plugins-mcp-sisyphus --skill siyuan-sisyphus-create-edit
Clone the repo
git clone --depth 1 https://github.com/yangtaihong59/siyuan-plugins-mcp-sisyphus

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for siyuan-sisyphus-create-edit

README.md
[![agentmods](https://agentmods.dev/badge/skills/yangtaihong59/siyuan-plugins-mcp-sisyphus/siyuan-sisyphus-create-edit/github.svg)](https://agentmods.dev/skills/yangtaihong59/siyuan-plugins-mcp-sisyphus/siyuan-sisyphus-create-edit)
Your own site
<a href="https://agentmods.dev/skills/yangtaihong59/siyuan-plugins-mcp-sisyphus/siyuan-sisyphus-create-edit"><img src="https://agentmods.dev/badge/skills/yangtaihong59/siyuan-plugins-mcp-sisyphus/siyuan-sisyphus-create-edit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for siyuan-sisyphus-create-edit

Your own site · 80×15
<a href="https://agentmods.dev/skills/yangtaihong59/siyuan-plugins-mcp-sisyphus/siyuan-sisyphus-create-edit"><img src="https://agentmods.dev/badge/skills/yangtaihong59/siyuan-plugins-mcp-sisyphus/siyuan-sisyphus-create-edit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 670 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.00670
Opus 5 $0.00027 $0.00335
Sonnet 5 $0.00011 $0.00134
Haiku 4.5 $0.00005 $0.00067

Measured yesterday against content hash db2cb446a757, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

siyuan-sisyphus-create-edit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

86% identical to siyuan-mcp-create-edit — 44 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/siyuan-sisyphus/siyuan-sisyphus-create-edit/SKILL.md · 64 lines

How it starts

The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create and Edit SiYuan Content with the CLI

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:

siyuan-sisyphus fs write --path '/Notebook/Project/Notes' --markdown '# Notes

Initial content.' --json

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

siyuan-sisyphus document create --notebook '<notebook-id>' --path '/Project/Notes' --markdown '# Notes' --json

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

Edit blocks

siyuan-sisyphus block append --parent-id '<doc-id>' --data-type 'markdown' --data '## New section

Paragraph.' --json
siyuan-sisyphus block insert --previous-id '<block-id>' --data-type 'markdown' --data 'Inserted paragraph.' --json
siyuan-sisyphus block update --id '<block-id>' --data-type 'markdown' --data 'Replacement block content.' --json

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

siyuan-sisyphus block replace --id '<block-id>' --edit-json '{"old":"draft","new":"final"}' --json

Read the full file on GitHub · 64 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed db2cb446a757
  2. 12d ago First seen · 64 lines · 54 tokens per session scan A a0d145339b3c

Subscribe to this mod's changes

siyuan-sisyphus-create-edit is a skill published in the GitHub repository yangtaihong59/siyuan-plugins-mcp-sisyphus (104 stars, last pushed yesterday), licensed MIT. It adds 54 tokens to every session and 670 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to siyuan-mcp-create-edit, differing in 44 lines, and is treated as a copy.

Related

Other skills, from other repositories