Agent skill

Siyuan Sisyphus Import Migration

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

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

MITAuto-check passedDatabases

Install Siyuan Sisyphus Import Migration

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

At a glance

CLI-only 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 Database migrations
  • 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 Sisyphus Import Migration is an agent skill from yangtaihong59/siyuan-plugins-mcp-sisyphus. CLI-only staged playbook for Markdown and external database migration with explicit targets, mappings, bounded writes, and layered readback.

Its SKILL.md is about 1.8k 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 Database migrations. The repository describes itself as: 一个用于连接Agent与Siyuan的工具. The licence is MIT.

When your agent uses it

  • Tasks that involve Database migrations

Example prompts

  • “/siyuan-sisyphus-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 (its code samples are bash).

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

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

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). 467 words, ~1,795 tokens.

Download SKILL.mdSave it as .claude/skills/siyuan-sisyphus-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-sisyphus-import-migration
description
CLI-only staged playbook for Markdown and external database migration with explicit targets, mappings, bounded writes, and layered readback.

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.

bash
siyuan-sisyphus system get-version --json
bash
siyuan-sisyphus notebook list --json
bash
siyuan-sisyphus notebook get-permissions --json
bash
siyuan-sisyphus system conf --mode 'summary' --json
bash
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.

bash
siyuan-sisyphus fs read --path '<staged-workspace-document>' --block-start '0' --block-limit '50' --token-budget '2000' --include-block-ids --json
bash
siyuan-sisyphus fs search --path '<staged-workspace-root>' --query '<source-keyword>' --page '1' --page-size '20' --json
bash
siyuan-sisyphus file list-templates --query '<template-keyword>' --page '1' --page-size '20' --json
bash
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.

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.

bash
siyuan-sisyphus document lookup --notebook '<notebook-id>' --hpath '<target-parent-hpath>' --include-json '["id","path","hpath","docInfo"]' --json
bash
siyuan-sisyphus document create --notebook '<notebook-id>' --path '<target-document-path>' --markdown '<preprocessed-markdown>' --json
bash
siyuan-sisyphus document lookup --id '<returned-document-id>' --include-json '["id","path","hpath","docInfo"]' --json
bash
siyuan-sisyphus file upload-asset --assets-dir-path '<approved-assets-dir>' --local-file-path '<approved-staged-file>' --json
bash
siyuan-sisyphus av get --av-id '<av-id>' --block-id '<database-block-id>' --json
bash
siyuan-sisyphus av get-attribute-view-keys --av-id '<av-id>' --json

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.

bash
siyuan-sisyphus block append --parent-id '<resolved-parent-id>' --data-type 'markdown' --data '<one-reviewed-block>' --json
bash
siyuan-sisyphus block insert --blocks-json '[{"previousID":"<resolved-previous-id>","dataType":"markdown","data":"<one-reviewed-block>"}]' --json
bash
siyuan-sisyphus block update --items-json '[{"id":"<reviewed-leaf-block-id>","dataType":"markdown","data":"<replacement-block-content>"}]' --json
bash
siyuan-sisyphus block set-attrs --id '<reviewed-block-id>' --attrs-json '{"custom-source-key":"<stable-source-key>"}' --json
bash
siyuan-sisyphus av add-rows --av-id '<av-id>' --block-ids-json '["<bound-document-block-id>"]' --view-id '<view-id>' --json
bash
siyuan-sisyphus av set-cells --av-id '<av-id>' --cells-json '[{"rowID":"<row-item-id>","columnID":"<column-key-id>","valueType":"text","text":"<typed-value>"}]' --json

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.

bash
siyuan-sisyphus document get-doc --id '<returned-document-id>' --mode 'markdown' --block-start '0' --block-limit '50' --token-budget '2000' --include-block-ids --json
bash
siyuan-sisyphus block get-kramdown --id '<written-block-id>' --json
bash
siyuan-sisyphus block get-children --id '<resolved-parent-id>' --page '1' --page-size '200' --json
bash
siyuan-sisyphus block dom --id '<written-block-id>' --json
bash
siyuan-sisyphus block get-attrs --id '<reviewed-block-id>' --json
bash
siyuan-sisyphus file get-doc-assets --id '<returned-document-id>' --asset-type 'all' --json
bash
siyuan-sisyphus av get --av-id '<av-id>' --json
bash
siyuan-sisyphus av render --av-id '<av-id>' --view-id '<view-id>' --page '1' --page-size '50' --json

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-sisyphus/siyuan-sisyphus-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 Sisyphus 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 Sisyphus Import Migration compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Siyuan Sisyphus Import Migration this skillyangtaihong59/siyuan-plugins-mcp-sisyphus116—~1.8kAutomated safety check: PassMIT
Evolving The Data ModelTriliumNext/Trilium38k—~2.1kAutomated safety check: PassAGPL-3.0
Creating Database MigrationsNangoHQ/nango13k—~449Automated safety check: PassCustom licence
Openwrt Package UpdateNethServer/nethsecurity192—~841Automated safety check: PassCustom licence
Free Willsyahiidkamil/Software-Engineer-AI-Agent-Atlas401—~3.4kAutomated safety check: PassNone
Ecto Migrationsoperately/operately579—~1.2kAutomated safety check: PassCustom licence

Similar skills

  • Evolving The Data Model

    TriliumNext/Trilium

    A skill your agent uses when adding a DB migration or a new column/field to a Becca entity in Trilium ("add a migration", "new column on notes/attributes", "ALTER TABLE", "add a field to…

    38k GitHub stars~2.1k tokensUpdated today
    DatabasesAuto-check passed
  • A skill your agent uses when adding or editing Nango database migrations - covers migration directory selection, timestamped .cjs naming, matching recent migration style, down migration decisions…

    13k GitHub stars~449 tokensUpdated yesterday
    DatabasesAuto-check passed
  • Openwrt Package Update

    NethServer/nethsecurity

    A skill your agent uses when updating any forked OpenWrt package in a NethSecurity workspace from the upstream openwrt/packages feed.

    192 GitHub stars~841 tokensUpdated 2 days ago
    DatabasesAuto-check passed
  • Free Will

    syahiidkamil/Software-Engineer-AI-Agent-Atlas

    Deliberate-choice procedure for a medium-to-high-stakes engineering fork — when the first plausible solution (the instinct, the default next-token pull) would be costly to get wrong.

    401 GitHub stars~3.4k tokensUpdated 3 mo ago
    DatabasesAuto-check passed
  • Ecto Migrations

    operately/operately

    Rules for Operately schema migrations (app/priv/repo/migrations/) and data migrations (app/lib/operately/data/change.ex).

    579 GitHub stars~1.2k tokensUpdated yesterday
    DatabasesAuto-check passed
  • DB Migrate

    simstudioai/sim

    Author or review a Drizzle DB migration for zero-downtime safety — expand/contract phasing, backward-compatibility with the deployed app version, and writing the -- migration-safe acknowledgment the…

    30k GitHub stars~2k tokensUpdated today
    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

Categories

Questions about Siyuan Sisyphus Import Migration

What does Siyuan Sisyphus Import Migration do?

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

When should I use Siyuan Sisyphus Import Migration?

Siyuan Sisyphus Import Migration fits situations like: tasks that involve Database migrations.

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

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

How do I install Siyuan Sisyphus Import Migration in Codex?

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

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

What does Siyuan Sisyphus Import Migration need to run?

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

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

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

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

Skills that share tags, products or a category with Siyuan Sisyphus Import Migration: Evolving The Data Model (TriliumNext/Trilium, 38k stars), Creating Database Migrations (NangoHQ/nango, 13k stars), Openwrt Package Update (NethServer/nethsecurity, 192 stars) and Free Will (syahiidkamil/Software-Engineer-AI-Agent-Atlas, 401 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Siyuan Sisyphus 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.