siyuan-mcp-import-migration

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

A staged playbook for moving Markdown or external database content into SiYuan, a local note-taking and knowledge-management application. It uses explicit targets, field mappings, limited writes, and checks after writing.

In plain words
What is it for?
Use it for controlled migrations into SiYuan when the source has already been prepared with metadata such as a hash, transformation report, image references, and link mappings.
Why use it?
It reduces the risk of importing content into the wrong place, applying unclear business rules, or losing a recoverable backup. It requires the source and destination details to be settled before changes begin.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it for controlled migrations into SiYuan when the source has already been prepared with metadata such as a hash, transformation report, image references, and link mappings.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yangtaihong59/siyuan-plugins-mcp-sisyphus/siyuan-mcp-import-migration"><img src="https://agentmods.dev/badge/skills/yangtaihong59/siyuan-plugins-mcp-sisyphus/siyuan-mcp-import-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,532 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00034 $0.01532
Opus 5 $0.00017 $0.00766
Sonnet 5 $0.00007 $0.00306
Haiku 4.5 $0.00003 $0.00153

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

Security

Grade A, and why

siyuan-mcp-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

Copies of this mod

1 near-identical copy found in the catalogue:

skills/siyuan-mcp/siyuan-mcp-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 MCP

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.

system(action="get_version")
notebook(action="list")
notebook(action="get_permissions")
system(action="conf", mode="summary")
fs(action="tree", path="<target-workspace-path>", maxDepth=4)

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.

fs(action="read", path="<staged-workspace-document>", blockStart=0, blockLimit=50, tokenBudget=2000, includeBlockIds=true)
fs(action="search", path="<staged-workspace-root>", query="<source-keyword>", page=1, pageSize=20)
file(action="list_templates", query="<template-keyword>", page=1, pageSize=20)
file(action="read_template", path="<resolved-template-path>", offset=0, limit=8000)

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 e47694219476
  2. 12d ago First seen · 139 lines · 34 tokens per session scan A 7de03ed5a5c9

Subscribe to this mod's changes

siyuan-mcp-import-migration is a skill published in the GitHub repository yangtaihong59/siyuan-plugins-mcp-sisyphus (104 stars, last pushed yesterday), licensed MIT. It adds 34 tokens to every session and 1,532 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.