Agent skill

Siyuan Sisyphus Search Query

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

CLI-only playbook for finding and querying SiYuan content with siyuan-sisyphus.

MITAuto-check passedMarketing & SEO

Install Siyuan Sisyphus Search Query

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

At a glance

CLI-only playbook for finding and querying SiYuan content with siyuan-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 Sisyphus Search Query is an agent skill from yangtaihong59/siyuan-plugins-mcp-sisyphus. CLI-only playbook for finding and querying SiYuan content with siyuan-sisyphus. Use for fulltext, semantic search, read-only SQL, backlinks, references, assets, dynamic query blocks, and safe find-replace.

Its SKILL.md is about 480 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 Link building and SQL. It works with 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-sisyphus-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 (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 Search Query loads about 477 tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 110 words of instructions outside code blocks.

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

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). 110 words, ~477 tokens.

Download SKILL.mdSave it as .claude/skills/siyuan-sisyphus-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-sisyphus-search-query
description
CLI-only playbook for finding and querying SiYuan content with siyuan-sisyphus. Use for fulltext, semantic search, read-only SQL, backlinks, references, assets, dynamic query blocks, and safe find-replace.

Search and Query SiYuan with the CLI

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

bash
siyuan-sisyphus search fulltext --query 'keyword' --page '1' --page-size '20' --json
bash
siyuan-sisyphus search semantic --query 'concept or meaning' --type-shortcodes-json '["h","p"]' --page '1' --page-size '20' --json
bash
siyuan-sisyphus search fulltext --query 'keyword' --parent-id '<doc-id>' --type-shortcodes-json '["h","p"]' --json
bash
siyuan-sisyphus search query-sql --stmt 'SELECT id, hpath, content FROM blocks WHERE type = '"'"'p'"'"' ORDER BY updated DESC LIMIT 10' --json
bash
siyuan-sisyphus search get-backlinks --id '<block-or-doc-id>' --mode 'both' --json
bash
siyuan-sisyphus search search-refs --id '<block-id>' --before-len '512' --json
bash
siyuan-sisyphus search search-assets --query 'diagram' --exts-json '["png","jpg","webp"]' --json

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.

bash
siyuan-sisyphus search find-replace --k 'old text' --r 'new text' --ids-json '["<doc-id>"]' --json

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-sisyphus help 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-sisyphus/siyuan-sisyphus-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 Sisyphus 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 Sisyphus Search Query compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Siyuan Sisyphus Search Query this skillyangtaihong59/siyuan-plugins-mcp-sisyphus116—~477Automated safety check: PassMIT
Company Brain Company QAtopoteretes/cognee32k—~750Automated safety check: NotesApache-2.0
Sf Datacloud RetrieveJaganpro/sf-skills424—~1.4kAutomated safety check: PassMIT
Paw Mkt Dashboardpawbytes/skill-suites113—~4.3kAutomated safety check: PassMIT
Pp Sentrymvanhorn/printing-press-library2.1k—~2.8kAutomated safety check: NotesApache-2.0
Evolving The Data ModelTriliumNext/Trilium38k—~2.1kAutomated safety check: PassAGPL-3.0

Similar skills

  • Company Brain Company QA

    topoteretes/cognee

    Build one company memory from a SQL database, a support ticket export and a folder of documents, linked into one graph by cognee, then answer questions that need several of those sources together.

    32k GitHub stars~750 tokensUpdated yesterday
    Sales & SupportAuto-check: notes
  • Sf Datacloud Retrieve

    Jaganpro/sf-skills

    Salesforce Data Cloud Retrieve phase. An agent skill from Jaganpro/sf-skills.

    424 GitHub stars~1.4k tokensUpdated 5 mo ago
    Sales & SupportAuto-check passed
  • Paw Mkt Dashboard

    pawbytes/skill-suites

    Generates SvelteKit + sql.js dashboards with LLM-built UI. An agent skill from pawbytes/skill-suites.

    113 GitHub stars~4.3k tokensUpdated 8 days ago
    DatabasesAuto-check passed
  • Pp Sentry

    mvanhorn/printing-press-library

    A broad Sentry API CLI with local search, SQL, export, and MCP surfaces for incident work.

    2.1k GitHub stars~2.8k tokensUpdated yesterday
    DatabasesAuto-check: notes
  • 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
  • FLOW SEO Framework

    AgriciDaniel/claude-seo

    Brings the FLOW framework's stage-specific SEO prompts into the agent, from keyword discovery through backlinks, on-page work and conversion to local SEO, loaded on demand.

    19k GitHub starsUsed in 2 repos~1.4k tokens
    Marketing & SEOAuto-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

Works with

Questions about Siyuan Sisyphus Search Query

What does Siyuan Sisyphus Search Query do?

CLI-only playbook for finding and querying SiYuan content with siyuan-sisyphus. Siyuan Sisyphus Search Query is an agent skill from yangtaihong59/siyuan-plugins-mcp-sisyphus. CLI-only playbook for finding and querying SiYuan content with siyuan-sisyphus.

When should I use Siyuan Sisyphus Search Query?

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

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

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

How do I install Siyuan Sisyphus Search Query in Codex?

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

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

What does Siyuan Sisyphus Search Query need to run?

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

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

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

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

Skills that share tags, products or a category with Siyuan Sisyphus Search Query: Company Brain Company QA (topoteretes/cognee, 32k stars), Sf Datacloud Retrieve (Jaganpro/sf-skills, 424 stars), Paw Mkt Dashboard (pawbytes/skill-suites, 113 stars) and Pp Sentry (mvanhorn/printing-press-library, 2.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

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