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,533 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,533 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.01533
Opus 5.5 $0.00014 $0.00613
Sonnet 5.5 $0.00007 $0.00307
Haiku 4.5 $0.00003 $0.00153

Measured 8d ago against content hash 8e25b7667c6e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 8d ago.

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. 8d ago Changed 8e25b7667c6e
  2. 1mo ago Changed e47694219476
  3. 1mo 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 (119 stars, last pushed today), licensed MIT. It adds 34 tokens to every session and 1,533 once invoked, about $0.0001 per session on Opus 5.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.

Related

Other skills, from other repositories

lark-base

A guide for managing Lark Base, Feishu's spreadsheet-like database and workspace tool. It covers tables, fields, records, views, formulas, forms, dashboards, applications, workflows, and permissions.

Pinvou/pinvou-agent · 174 tokens

smart-data-collection

A workflow for extracting structured information from images and documents such as PDFs, Word files, and spreadsheets, then storing it in a database.

UnicomAI/wanwu · 115 tokens

entity-model

Creates entity model documents with Mermaid.js ER diagrams and attribute tables defining entities, relationships, data types, and validation rules. Use when the user asks to "create an entity model", "design a data model", "draw an ERD", "define database schema", "model entities", or mentions entity-relationship…

AI-Unified-Process/marketplace · 153 tokens

paper-interpretation

A Chinese-language workflow for explaining an academic paper from a PDF file or URL in accessible Markdown, with illustrations and critical assessment.

digoal/blog · 100 tokens

data-export-and-restore

Enforces user-facing data portability in an offline-first app — backup/restore (exact, machine round-trippable) kept strictly separate from export/report (human, lossy, never a restore source); a versioned envelope carrying formatVersion, schemaVersion, appVersion, exportedAtUtc and a payload checksum so a restore…

zakariaf/Flutter-Skills · 219 tokens

okf-sqlite

SQLite connector that produces and ingests Open Knowledge Format (OKF) bundles from database schemas and comments, CGO-free via modernc.org/sqlite. Use when documenting or cataloging a SQLite database, extracting its schema into OKF, or comparing/validating a database against an OKF bundle.

xSAVIKx/okf-skills · 67 tokens