siyuan-plugins-mcp-sisyphus: Instructions file for Claude Code

CLAUDE.md

siyuan-plugins-mcp-sisyphus CLAUDE.md is an instructions file for Claude Code from yangtaihong59/siyuan-plugins-mcp-sisyphus. It costs 2,101 tokens per session, scanned A, original, MIT.

Project-specific coding instructions for a SiYuan plugin that connects to MCP, a standard for connecting AI tools to external services. They describe the project structure, dependencies, build commands, and checks for the plugin and its command-line tool.

In plain words
What is it for?
Use it when installing dependencies, building the plugin, working on its Svelte interface, MCP server, command-line tool, APIs, or aggregated tools.
Why use it?
Without project context, a coding agent may put files in the wrong place or use the wrong build and test steps. These instructions provide the repository facts needed to work consistently.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is yangtaihong59/siyuan-plugins-mcp-sisyphus's own configuration. It tells Claude Code how to work on siyuan-plugins-mcp-sisyphus itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything siyuan-plugins-mcp-sisyphus configures →

Reuse

Borrowing it

Nothing to install: this file belongs to yangtaihong59/siyuan-plugins-mcp-sisyphus. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/yangtaihong59/siyuan-plugins-mcp-sisyphus/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/yangtaihong59/siyuan-plugins-mcp-sisyphus

Made for: Claude Code.

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-plugins-mcp-sisyphus CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/yangtaihong59/siyuan-plugins-mcp-sisyphus/claude-md"><img src="https://agentmods.dev/badge/instructions/yangtaihong59/siyuan-plugins-mcp-sisyphus/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,101 This file is loaded in full into every session.
When invoked 2,101 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.02101 $0.02101
Opus 5 $0.01051 $0.01051
Sonnet 5 $0.00420 $0.00420
Haiku 4.5 $0.00210 $0.00210

Measured 13d ago against content hash 7e5d0378d3f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

siyuan-plugins-mcp-sisyphus CLAUDE.md 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 13d 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.

CLAUDE.md · 155 lines

How it starts

The opening of the file, as written. The whole thing — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SiYuan MCP Sisyphus 项目编码记忆

项目配置(2026-04-01)

环境初始化已完成

按照 plugin-sample-vite-svelte 的配置标准,对本项目进行了配置。

项目信息
  • ✓ 项目名称为:siyuan-plugins-mcp-sisyphus
  • ✓ 作者改为:Taihong Yang
  • ✓ 仓库链接已更新:https://github.com/yangtaihong59/siyuan-plugins-mcp-sisyphus
依赖安装
pnpm install
# 所有依赖已安装,包括:
# - @modelcontextprotocol/{server,client,core,node} ^2.0.0
# - zod ^4.3.6
# - 及所有 devDependencies
构建验证
pnpm build  # 生产构建成功
# 生成文件:
# - dist/index.js (30.56 kB) - 插件UI
# - dist/mcp-server.cjs (283.98 kB) - MCP服务器
# - dist/index.css (0.57 kB)
# - package.zip (302 kB) - 完整包
# - cli/dist/cli.cjs - CLI 自包含 CJS bundle

实测验证

/Applications/SiYuan.app/Contents/MacOS/SiYuan --remote-debugging-port=9222 # 启动思源

项目结构(基于 Vite + Svelte)

src/
├── index.ts          # 插件入口
├── mcp/
│   └── server.ts     # MCP服务器入口
├── cli/              # CLI 源码
│   ├── index.ts      # CLI 入口
│   ├── dispatch.ts   # 命令派发
│   ├── args.ts       # 参数解析
│   ├── flag-mapper.ts
│   ├── render.ts
│   ├── list-help.ts
│   ├── config.ts
│   └── init.ts
├── components/       # Svelte 组件
├── libs/            # 工具库
├── api/             # API 封装
├── tools/           # 10 个聚合工具
│   ├── index.ts     # 工具 barrel export
│   ├── internal/    # 工具层共享基础设施(defineTool/shared/context/ui-refresh 等)
│   ├── notebook/    # 每个工具目录为 index.ts + handlers.ts
│   ├── document/
│   ├── block/
│   ├── av/
│   ├── search/
│   ├── file/
│   ├── system/
│   ├── flashcard/
│   ├── tag/
│   └── mascot/
├── setting/         # 设置面板
├── types/           # 类型定义
└── ...

cli/                # 独立 npm 子包(siyuan-sisyphus)
dist/               # 构建输出(自动生成)
dev/                # 开发模式输出(运行 pnpm dev 时)
tests/              # 测试套件(unit / integration / smoke)
docs/               # VitePress 文档站点
skills/             # Kimi CLI skills

常用开发命令

pnpm dev              # 开发模式:watch 模式实时编译
pnpm build            # 生产模式:优化打包插件
pnpm build:cli        # 构建 CLI:产出 cli/dist/cli.cjs
pnpm publish:cli      # 构建并发布 siyuan-sisyphus 包到 npm
pnpm test             # 运行全部单元/集成测试
pnpm test:watch       # 测试 watch 模式
pnpm test:coverage    # 测试覆盖率报告
pnpm test:smoke       # 冒烟测试
pnpm make-link        # 创建开发链接到 SiYuan 插件目录

Read the full file on GitHub · 155 lines

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. 13d ago First seen · 155 lines · 2,101 tokens per session scan A 7e5d0378d3f3

Subscribe to this mod's changes

siyuan-plugins-mcp-sisyphus CLAUDE.md is an instructions file published in the GitHub repository yangtaihong59/siyuan-plugins-mcp-sisyphus (104 stars, last pushed 2d ago), licensed MIT. It adds 2,101 tokens to every session, about $0.0105 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.

Related

Other instructions, from other repositories

vibe-coding-prompt-template backend.instructions.md

Instructions for KhazP/vibe-coding-prompt-template: Read AGENTS.md, agentdocs/techstack.md, and agentdocs/codepatterns.md.

KhazP/vibe-coding-prompt-template · 139 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,126 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens