Agent skill

Siyuan MCP Search Query

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

MCP playbook for finding and querying SiYuan content. An agent skill from yangtaihong59/siyuan-plugins-mcp-sisyphus.

MITAuto-check passedMarketing & SEO

Install Siyuan MCP Search Query

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

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

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

At a glance

MCP playbook for finding and querying SiYuan content. An agent skill from yangtaihong59/siyuan-plugins-mcp-sisyphus.

  • Semantic search
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Dynamic query blocks
  • Safe find-replace

What it does

Siyuan MCP Search Query is an agent skill from yangtaihong59/siyuan-plugins-mcp-sisyphus. MCP playbook for finding and querying SiYuan content. Use for fulltext, semantic search, read-only SQL, backlinks, references, assets, dynamic query blocks, and safe find-replace.

Its SKILL.md is about 420 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 Marketing & SEO, covering MCP servers, Link building and SQL. It works with Model Context Protocol and SQL. The repository describes itself as: 一个用于连接Agent与Siyuan的工具. The licence is MIT.

When your agent uses it

  • Semantic search
  • Dynamic query blocks
  • Safe find-replace

Example prompts

  • “/siyuan-mcp-search-query”

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 Search Query loads about 424 tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 106 words of instructions outside code blocks.

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

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). 106 words, ~424 tokens.

Download SKILL.mdSave it as .claude/skills/siyuan-mcp-search-query/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
siyuan-mcp-search-query
description
MCP playbook for finding and querying SiYuan content. Use for fulltext, semantic search, read-only SQL, backlinks, references, assets, dynamic query blocks, and safe find-replace.

Search and Query SiYuan with MCP

Search to identify candidates, read the target by ID or path, and only then edit. Use explicit pagination for repeatable results.

text
search(action="fulltext", query="keyword", page=1, pageSize=20)
text
search(action="semantic", query="concept or meaning", typeShortcodes=["h","p"], page=1, pageSize=20)
text
search(action="fulltext", query="keyword", parentId="<doc-id>", typeShortcodes=["h","p"])
text
search(action="query_sql", stmt="SELECT id, hpath, content FROM blocks WHERE type = 'p' ORDER BY updated DESC LIMIT 10")
text
search(action="get_backlinks", id="<block-or-doc-id>", mode="both")
text
search(action="search_refs", id="<block-id>", beforeLen=512)
text
search(action="search_assets", query="diagram", exts=["png","jpg","webp"])

SQL must be read-only and must include LIMIT. Useful tables include blocks, blocks_fts, attributes, refs, spans, and assets.

Find and replace

This action mutates content. First search, read each target, show the exact old/new text and IDs, and obtain explicit approval.

text
search(action="find_replace", k="old text", r="new text", ids=["<doc-id>"])

Read the changed blocks again. Recent writes can take time to enter the search index; verify a fresh mutation by ID or path rather than assuming an empty search means failure. Use siyuan://help/action/search/query_sql for live SQL action constraints.

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

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit d2ad534

Compare with similar skills

Siyuan MCP Search Query 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 Search Query compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Siyuan MCP Search Query this skillyangtaihong59/siyuan-plugins-mcp-sisyphus116—~424Automated safety check: PassMIT
Tune Monitorsickn33/agentic-awesome-skills47k1 repos~3.3kAutomated safety check: PassApache-2.0
Sap Hana CLIsecondsky/sap-skills462—~3.1kAutomated safety check: NotesGPL-3.0
Nvidia Ontology QueryNVIDIA/skills3.6k—~1.7kAutomated safety check: PassApache-2.0
Relational Database MCP CloudbaseMicrock/ordinary-claude-skills4042 repos~1.3kAutomated safety check: PassCustom licence
Dune MCP Skillholon-run/uxc116—~1.2kAutomated safety check: PassMIT

Similar skills

  • 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
  • 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 2 days ago
    DatabasesAuto-check passed
  • Relational Database MCP Cloudbase

    Microck/ordinary-claude-skills

    This is the required documentation for agents operating on the CloudBase Relational Database.

    404 GitHub starsUsed in 2 repos~1.3k tokens
    Agent WorkflowsAuto-check passed
  • Dune MCP Skill

    holon-run/uxc

    Use Dune MCP through UXC for blockchain table discovery, SQL query creation/execution, execution result retrieval, and visualization with help-first schema inspection, explicit auth binding, and…

    116 GitHub stars~1.2k tokensUpdated 26 days ago
    DatabasesAuto-check passed
  • Find MCP Directories

    jeremylongshore/tons-of-skills-marketplace

    A skill your agent uses whenever the user wants to find, rank, or shortlist directories and registries where they can submit or list an MCP server (Model Context Protocol server) — to get backlinks…

    2.8k GitHub stars~3.4k tokensUpdated yesterday
    Marketing & SEOAuto-check: notes

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 Search Query

What does Siyuan MCP Search Query do?

MCP playbook for finding and querying SiYuan content. An agent skill from yangtaihong59/siyuan-plugins-mcp-sisyphus. Siyuan MCP Search Query is an agent skill from yangtaihong59/siyuan-plugins-mcp-sisyphus. MCP playbook for finding and querying SiYuan content.

When should I use Siyuan MCP Search Query?

Siyuan MCP Search Query fits situations like: semantic search; dynamic query blocks; safe find-replace.

How do I install Siyuan MCP Search Query in Claude Code?

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

How do I install Siyuan MCP Search Query in Codex?

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

Can I use Siyuan MCP Search Query 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-search-query -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-search-query, .gemini/skills/siyuan-mcp-search-query, .github/skills/siyuan-mcp-search-query and .opencode/skills/siyuan-mcp-search-query in your project.

What does Siyuan MCP Search Query need to run?

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

Does Siyuan MCP Search Query 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 Search Query 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 Search Query use?

Siyuan MCP Search Query 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 Search Query use?

About 424 tokens (SKILL.md is roughly 1.7k 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 Search Query?

Skills that share tags, products or a category with Siyuan MCP Search Query: Tune Monitor (sickn33/agentic-awesome-skills, 47k stars), Sap Hana CLI (secondsky/sap-skills, 462 stars), Nvidia Ontology Query (NVIDIA/skills, 3.6k stars) and Relational Database MCP Cloudbase (Microck/ordinary-claude-skills, 404 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Siyuan MCP Search Query?

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.