Agent skill

Siyuan MCP Import Migration

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

MCP staged playbook for Markdown and external database migration with explicit targets, mappings, bounded writes, and layered readback.

MITAuto-check passedDatabases

Install Siyuan MCP Import Migration

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

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

GitHub CLI
$ gh skill install yangtaihong59/siyuan-plugins-mcp-sisyphus siyuan-mcp-import-migration --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-import-migration .claude/skills/siyuan-mcp-import-migration && 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-import-migration
GitHub stars
116
Token cost
~1.7k tokens
SKILL.md length
466 words
Files
2
Skills in repo
30
Repo updated
First seen
Licence
MIT

At a glance

MCP staged playbook for Markdown and external database migration with explicit targets, mappings, bounded writes, and layered readback.

  • Works in 3 steps: Schema/data: mapping ledger, IDs/paths,… → Functional view/workflow: relevant AV… → User presentation: approved real UI…
  • Tasks that involve MCP servers
  • SKILL.md covers P0: freeze the contract, P1: validate the external source, P2: resolve identities and… and P3: bounded writes, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Siyuan MCP Import Migration is an agent skill from yangtaihong59/siyuan-plugins-mcp-sisyphus. MCP staged playbook for Markdown and external database migration with explicit targets, mappings, bounded writes, and layered readback.

Its SKILL.md is about 1.7k 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 Databases, covering MCP servers and Database migrations. It works with Model Context Protocol. The repository describes itself as: 一个用于连接Agent与Siyuan的工具. The licence is MIT.

When your agent uses it

  • Tasks that involve MCP servers
  • Tasks that involve Database migrations

Example prompts

  • “/siyuan-mcp-import-migration”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Schema/data: mapping ledger, IDs/paths, blocks, AV definitions/keys/rows/typed cells/relation endpoints, templates, normalization, and…
  2. Functional view/workflow: relevant AV filters/sorts/groups/layouts, relations/rollups, carrier bindings, and one bounded workflow are…
  3. User presentation: approved real UI observation confirms entry pages, visible fields/order/labels, device route, and absence of internal…

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 Import Migration loads about 1.7k tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 466 words of instructions outside code blocks.

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

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). 466 words, ~1,655 tokens.

Download SKILL.mdSave it as .claude/skills/siyuan-mcp-import-migration/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
siyuan-mcp-import-migration
description
MCP staged playbook for Markdown and external database migration with explicit targets, mappings, bounded writes, and layered readback.

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.

text
system(action="get_version")
text
notebook(action="list")
text
notebook(action="get_permissions")
text
system(action="conf", mode="summary")
text
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.

text
fs(action="read", path="<staged-workspace-document>", blockStart=0, blockLimit=50, tokenBudget=2000, includeBlockIds=true)
text
fs(action="search", path="<staged-workspace-root>", query="<source-keyword>", page=1, pageSize=20)
text
file(action="list_templates", query="<template-keyword>", page=1, pageSize=20)
text
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.

P2: resolve identities and dependencies

Resolve exact notebook, parent path, existing targets, and dependencies before writing. Persist one mapping-ledger row per source document/block/asset/AV/field/row/view/template with stable source key, actual target ID/path, status, normalization, and readback evidence.

text
document(action="lookup", notebook="<notebook-id>", hpath="<target-parent-hpath>", include=["id","path","hpath","docInfo"])
text
document(action="create", notebook="<notebook-id>", path="<target-document-path>", markdown="<preprocessed-markdown>")
text
document(action="lookup", id="<returned-document-id>", include=["id","path","hpath","docInfo"])
text
file(action="upload_asset", assetsDirPath="<approved-assets-dir>", localFilePath="<approved-staged-file>")
text
av(action="get", avID="<av-id>", blockID="<database-block-id>")
text
av(action="get_attribute_view_keys", avID="<av-id>")

Create missing documents only after approval. Generated target IDs are recorded; this action set cannot preserve source IDs or force remapping. On lost acknowledgement, perform one identity-fixed read and classify the outcome; never resend blindly.

Show full SKILL.md (222 more words)Show less

P3: bounded writes

Apply a reviewed manifest incrementally under one writer and dependency order. Prefer explicit document.create, additive block.append/insert, scoped block.update, and typed AV actions. Do not root-overwrite documents containing AV, mirrors, super blocks, HTML, media, or other complex native blocks without a separate contract.

text
block(action="append", parentID="<resolved-parent-id>", dataType="markdown", data="<one-reviewed-block>")
text
block(action="insert", blocks=[{"previousID":"<resolved-previous-id>","dataType":"markdown","data":"<one-reviewed-block>"}])
text
block(action="update", items=[{"id":"<reviewed-leaf-block-id>","dataType":"markdown","data":"<replacement-block-content>"}])
text
block(action="set_attrs", id="<reviewed-block-id>", attrs={"custom-source-key":"<stable-source-key>"})
text
av(action="add_rows", avID="<av-id>", blockIDs=["<bound-document-block-id>"], viewID="<view-id>")
text
av(action="set_cells", avID="<av-id>", cells=[{"rowID":"<row-item-id>","columnID":"<column-key-id>","valueType":"text","text":"<typed-value>"}])

Asset upload is an explicit approved local-file operation; use only the returned asset path. It is not a recursive importer. HTTP success remains provisional until exact readback.

P4: structural readback

Read stable IDs and continue every advertised window/page before search or UI observations.

text
document(action="get_doc", id="<returned-document-id>", mode="markdown", blockStart=0, blockLimit=50, tokenBudget=2000, includeBlockIds=true)
text
block(action="get_kramdown", id="<written-block-id>")
text
block(action="get_children", id="<resolved-parent-id>", page=1, pageSize=200)
text
block(action="dom", id="<written-block-id>")
text
block(action="get_attrs", id="<reviewed-block-id>")
text
file(action="get_doc_assets", id="<returned-document-id>", assetType="all")
text
av(action="get", avID="<av-id>")
text
av(action="render", avID="<av-id>", viewID="<view-id>", page=1, pageSize=50)

Check exact notebook/path, document/block identity, parent/sibling order, list containment, tables/images/references, typed AV values, and relation endpoints. Observe whether a callout is NodeCallout or NodeBlockquote; if conversion is needed, report the known gap. file.extract_doc and file.export_md supplement evidence but cannot prove exact .sy or UI state.

P5: three independent gates

  1. Schema/data: mapping ledger, IDs/paths, blocks, AV definitions/keys/rows/typed cells/relation endpoints, templates, normalization, and unresolved items read back.
  2. Functional view/workflow: relevant AV filters/sorts/groups/layouts, relations/rollups, carrier bindings, and one bounded workflow are evidenced.
  3. User presentation: approved real UI observation confirms entry pages, visible fields/order/labels, device route, and absence of internal markers.

Schema/data PASS never implies functional or presentation completion. Without live UI evidence, report presentation as unverified. Never hard-code FLO.W fields, exam labels, Chinese tags, personal notebooks, host paths, ports, tokens, source IDs, or secrets.

© 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-import-migration of yangtaihong59/siyuan-plugins-mcp-sisyphus.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit d2ad534

Compare with similar skills

Siyuan MCP Import Migration 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 Import Migration compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Siyuan MCP Import Migration this skillyangtaihong59/siyuan-plugins-mcp-sisyphus116—~1.7kAutomated safety check: PassMIT
Mesh Memorysickn33/agentic-awesome-skills47k1 repos~1.9kAutomated safety check: PassMIT
Tune Monitorsickn33/agentic-awesome-skills47k1 repos~3.3kAutomated safety check: PassApache-2.0
Alloydb Basicsgoogle/skills21k—~1.7kAutomated safety check: PassApache-2.0
Frontmcp Setupagentfront/frontmcp146—~5.8kAutomated safety check: PassApache-2.0
Sap Hana CLIsecondsky/sap-skills462—~3.1kAutomated safety check: NotesGPL-3.0

Similar skills

  • Mesh Memory

    sickn33/agentic-awesome-skills

    Self-hosted semantic memory for AI agents via MCP. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 1 repo~1.9k tokens
    DatabasesAuto-check passed
  • Tune Monitor

    sickn33/agentic-awesome-skills

    Analyze a Monte Carlo monitor and recommend config changes to reduce alert noise.

    47k GitHub starsUsed in 1 repo~3.3k tokens
    DatabasesAuto-check passed
  • Alloydb Basics

    google/skills

    Official

    Manages clusters, instances, and backups for AlloyDB for PostgreSQL, and integrates with AlloyDB Model Context Protocol (MCP) tools for automated database operations.

    21k GitHub stars~1.7k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Frontmcp Setup

    agentfront/frontmcp

    A skill your agent uses when starting, scaffolding, or organizing a FrontMCP project.

    146 GitHub stars~5.8k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Sap Hana CLI

    secondsky/sap-skills

    Assists with SAP HANA Developer CLI (hana-cli) for database development and administration.

    462 GitHub stars~3.1k tokensUpdated 6 days ago
    DatabasesAuto-check: notes
  • Official

    Query Auto Ontology and validate generated SQL, rows, and answers.

    3.6k GitHub stars~1.7k tokensUpdated yesterday
    DatabasesAuto-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 Create Edit

    yangtaihong59/siyuan-plugins-mcp-sisyphus

    MCP playbook for creating and editing SiYuan documents and blocks.

    116 GitHub stars~665 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

Questions about Siyuan MCP Import Migration

What does Siyuan MCP Import Migration do?

MCP staged playbook for Markdown and external database migration with explicit targets, mappings, bounded writes, and layered readback. Siyuan MCP Import Migration is an agent skill from yangtaihong59/siyuan-plugins-mcp-sisyphus. MCP staged playbook for Markdown and external database migration with explicit targets, mappings, bounded writes, and layered readback.

When should I use Siyuan MCP Import Migration?

Siyuan MCP Import Migration fits situations like: tasks that involve MCP servers; tasks that involve Database migrations.

How do I install Siyuan MCP Import Migration in Claude Code?

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

How do I install Siyuan MCP Import Migration in Codex?

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

Can I use Siyuan MCP Import Migration 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-import-migration -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-import-migration, .gemini/skills/siyuan-mcp-import-migration, .github/skills/siyuan-mcp-import-migration and .opencode/skills/siyuan-mcp-import-migration in your project.

What does Siyuan MCP Import Migration need to run?

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

Does Siyuan MCP Import Migration 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 Import Migration 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 Import Migration use?

Siyuan MCP Import Migration 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 Import Migration use?

About 1.7k tokens (SKILL.md is roughly 6.6k 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 Import Migration?

Skills that share tags, products or a category with Siyuan MCP Import Migration: Mesh Memory (sickn33/agentic-awesome-skills, 47k stars), Tune Monitor (sickn33/agentic-awesome-skills, 47k stars), Alloydb Basics (google/skills, 21k stars) and Frontmcp Setup (agentfront/frontmcp, 146 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Siyuan MCP Import Migration?

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.