siyuan-mcp-data-files

siyuan-mcp-data-files is a skill for Codex from yangtaihong59/siyuan-plugins-mcp-sisyphus. It costs 47 tokens per session (240 once invoked), scanned A, original, MIT.

A workflow for using SiYuan MCP to manage database tables and files, including documents, images, OCR, templates, Markdown exports, and other resources. MCP is a standard way for software tools to communicate with SiYuan.

In plain words
What is it for?
Use it to edit SiYuan data, upload or export files, extract document content, run OCR, apply templates, and safely manage assets.
Why use it?
It keeps database edits tied to the correct views, rows, columns, and value types. It also adds checks around local file access, uploads, exports, and asset deletion.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to edit SiYuan data, upload or export files, extract document content, run OCR, apply templates, and safely manage assets.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yangtaihong59/siyuan-plugins-mcp-sisyphus/siyuan-mcp-data-files"><img src="https://agentmods.dev/badge/skills/yangtaihong59/siyuan-plugins-mcp-sisyphus/siyuan-mcp-data-files.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 240 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.00047 $0.00240
Opus 5 $0.00023 $0.00120
Sonnet 5 $0.00009 $0.00048
Haiku 4.5 $0.00005 $0.00024

Measured 12d ago against content hash 269ffcadf138, 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-data-files 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 12d 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.

agent-plugin/siyuan-sisyphus/skills/siyuan-mcp-data-files/SKILL.md · 13 lines

What it actually says

Work with SiYuan Databases and Files

For attribute views, inspect the AV and view before changing rows or cells. Keep AV, view, row, column, and block IDs distinct; preserve each column's declared value type and re-render after mutation.

File uploads and local exports are the explicit remote-safety exception because they may access the machine running the server. Confirm exact local paths and scope first. Stop for large-upload confirmation when requested, use a task-specific output directory, and list exact targets before asset deletion or cleanup.

For detailed action sequences, read skill://siyuan-mcp-database/SKILL.md and skill://siyuan-mcp-file-export/SKILL.md. If the experimental Skills extension is disabled, use the stable resources siyuan://skills/siyuan-mcp-database and siyuan://skills/siyuan-mcp-file-export instead.

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. 12d ago First seen · 13 lines · 47 tokens per session scan A 269ffcadf138

Subscribe to this mod's changes

siyuan-mcp-data-files is a skill published in the GitHub repository yangtaihong59/siyuan-plugins-mcp-sisyphus (104 stars, last pushed yesterday), licensed MIT. It adds 47 tokens to every session and 240 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.