siyuan-sisyphus-import-migration

siyuan-sisyphus-import-migration is a skill for Codex from yangtaihong59/siyuan-plugins-mcp-sisyphus. It costs 36 tokens per session (1,824 once invoked), scanned A, a copy of siyuan-mcp-import-migration, MIT.

A command-line playbook for staged migration of Markdown and external database or template data into SiYuan, a note-taking and knowledge-management application. It uses explicit targets, field mappings, bounded writes, and readback checks.

In plain words
What is it for?
Checking the SiYuan version, notebooks, permissions, configuration, and target tree; validating an external source; planning mappings and conflicts; writing data in controlled batches; and reading results back after migration.
Why use it?
It reduces the risk of writing imported data to the wrong place or losing track of how source fields map to the destination. It also defines when to stop, such as when permissions, targets, or safety copies are unclear.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Checking the SiYuan version, notebooks, permissions, configuration, and target tree; validating an external source; planning mappings and conflicts; writing data in controlled batches; and reading results back after migration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yangtaihong59/siyuan-plugins-mcp-sisyphus/siyuan-sisyphus-import-migration
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-import-migration
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-import-migration

README.md
[![agentmods](https://agentmods.dev/badge/skills/yangtaihong59/siyuan-plugins-mcp-sisyphus/siyuan-sisyphus-import-migration/github.svg)](https://agentmods.dev/skills/yangtaihong59/siyuan-plugins-mcp-sisyphus/siyuan-sisyphus-import-migration)
Your own site
<a href="https://agentmods.dev/skills/yangtaihong59/siyuan-plugins-mcp-sisyphus/siyuan-sisyphus-import-migration"><img src="https://agentmods.dev/badge/skills/yangtaihong59/siyuan-plugins-mcp-sisyphus/siyuan-sisyphus-import-migration/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-import-migration

Your own site · 80×15
<a href="https://agentmods.dev/skills/yangtaihong59/siyuan-plugins-mcp-sisyphus/siyuan-sisyphus-import-migration"><img src="https://agentmods.dev/badge/skills/yangtaihong59/siyuan-plugins-mcp-sisyphus/siyuan-sisyphus-import-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,824 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 97% 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.00036 $0.01824
Opus 5 $0.00018 $0.00912
Sonnet 5 $0.00007 $0.00365
Haiku 4.5 $0.00004 $0.00182

Measured yesterday against content hash 604d905c9e4e, 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-import-migration 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

97% identical to siyuan-mcp-import-migration — 122 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-import-migration/SKILL.md · 139 lines

How it starts

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

SiYuan Import and Migration with the CLI

Use this scenario for caller-preprocessed Markdown or external database/template migration. It does not parse arbitrary local files, promise NodeCallout conversion, read exact .sy files, preserve source IDs, decrypt notebooks, or perform browser UI acceptance.

P0: freeze the contract

Record source descriptor/hash, target notebook/path, scope, conflict policy, business-profile boundary, recoverable safety net, one-writer state, confirmation, and the three acceptance gates before W3 writes.

siyuan-sisyphus system get-version --json
siyuan-sisyphus notebook list --json
siyuan-sisyphus notebook get-permissions --json
siyuan-sisyphus system conf --mode 'summary' --json
siyuan-sisyphus fs tree --path '<target-workspace-path>' --max-depth '4' --json

Stop on an ambiguous target, missing authorization or safety net, multiple writers, unresolved business rules, or a direct .sy/encrypted request. Titles, labels, search hits, and UI positions are discovery hints, never foreign keys.

P1: validate the external source

The caller or a separately reviewed preprocessor supplies preprocessed Markdown, source hash, transform report, ordered image refs, stable wikilink map, and unresolved diagnostics. It removes YAML frontmatter and normalizes supported image/callout/list syntax without inventing IDs or silently dropping values.

siyuan-sisyphus fs read --path '<staged-workspace-document>' --block-start '0' --block-limit '50' --token-budget '2000' --include-block-ids --json
siyuan-sisyphus fs search --path '<staged-workspace-root>' --query '<source-keyword>' --page '1' --page-size '20' --json
siyuan-sisyphus file list-templates --query '<template-keyword>' --page '1' --page-size '20' --json
siyuan-sisyphus file read-template --path '<resolved-template-path>' --offset '0' --limit '8000' --json

fs.read reads a SiYuan workspace path, not an arbitrary local file. Unsupported syntax, path escape, unmapped dot-prefixed image, or unresolved wikilink blocks apply until the caller supplies a policy.

Read the full file on GitHub · 139 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 604d905c9e4e
  2. 12d ago First seen · 139 lines · 36 tokens per session scan A c25d0398899b

Subscribe to this mod's changes

siyuan-sisyphus-import-migration is a skill published in the GitHub repository yangtaihong59/siyuan-plugins-mcp-sisyphus (104 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 1,824 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to siyuan-mcp-import-migration, differing in 122 lines, and is treated as a copy.