ray-obsidian
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ray-obsidian" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-170f9783d4b0c9e4a2d824e147a4c4d0c95a50e9d27feb24ff32be31171cfb17. Verify the upstream source and version against https://github.com/imraywang/rayskills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Create, inspect, or incrementally adapt a local Obsidian vault for long-term knowledge and content production, reusing Ray materials, knowledge, topic candidates, writing tasks, research, articles and scripts, publishing feedback, and layered knowledge return. Intended for requests like “help me set up an Obsidian vault,” “prepare a local vault for ray-writer,” “connect an existing vault to a content production pipeline,” or “check if vault structure is complete,” and used when ray-writer cannot find a compatible knowledge base. Only fills missing structure and does not overwrite, move, or delete the user's existing notes, nor does it force-install plugins, sync services, or Git.
Introduction source: third_party · imraywang · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: ray-obsidian
description: 新建、检查或适配面向内容生产的 Obsidian 知识库结构(资料、知识、选题、写作、发布、回流)。用于“搭一个 Obsidian 知识库”“把 vault 接入内容管线”“检查知识库结构”,或 ray-writer 找不到知识库时。只补缺失结构,不动已有笔记。Ray Obsidian
把内容生产的地基装进用户自己的本地目录。先确定知识库根目录,再审计、初始化和复核;已有库只做增量补齐。
固定原则
- 不默认使用
rays-brain,也不假设知识库位于 iCloud、用户主目录或当前项目。 - 原始资料、长期知识、创作过程和发布成品分开保存;链接表达关系,目录表达职责。
- 用户已有文件优先。不得覆盖同名文件,不得自动移动、改名、删除或批量改 frontmatter。
- 不修改
.obsidian/,不强制插件、同步服务、Git 或特定云盘。Obsidian 只是编辑器,普通 Markdown 工具同样能使用这套结构。 - 初始化只建立最小可用骨架。采集自动化、网页剪藏、X 数据和发布连接器在用户需要时另行配置。
- 初始化后必须执行检查;目录存在不等于知识库可用。
1. 确定知识库根目录
按以下顺序定位:
- 用户明确给出的目录。
- 当前目录或父目录中的
.ray-obsidian.json。 - 当前目录或父目录中同时存在
10-创作/、20-知识/、30-资料/、50-系统/的兼容知识库。 - 仍无法确定时,只问一个问题:知识库要建在哪个本地目录?
路径确定后先报告绝对路径。不要把一个普通项目目录误当知识库,也不要因为目录名含 brain、notes 或 vault 就直接写入。
2. 先检查,后初始化
使用 Skill 加载时报告的根目录运行:
python3 <skill-base>/scripts/vault_setup.py check --vault <知识库目录>
检查结果为 ready 时直接交付;为 incomplete 或 missing 时,阅读 vault-schema.md,向用户简要说明将新增哪些目录和模板。已知的 ray-content-v1 会标记为可升级,按增量初始化补齐现行结构;未知版本仍然停止。
对已有 Obsidian 库,额外阅读 migration.md。只做兼容层增量初始化,不整理旧笔记。
3. 安全初始化
先预演:
python3 <skill-base>/scripts/vault_setup.py init --vault <知识库目录> --name <知识库名称> --dry-run
确认目标没有跑偏后执行:
python3 <skill-base>/scripts/vault_setup.py init --vault <知识库目录> --name <知识库名称>
脚本只会:
- 创建缺失目录。
- 从
assets/vault-template/复制缺失的说明、流程和模板。 - 新建
.ray-obsidian.json供其他 Ray Skill 发现结构版本。 - 保留所有已存在的文件并在结果中列为
preserved。
出现同名文件时以用户文件为准。已知的 ray-content-v1 只升级 manifest、补齐缺失结构并保留全部旧目录和文件;若现有 manifest 无法解析或声明了未知结构版本,停止并报告,不覆盖修复。
4. 复核真实结果
初始化后重新执行 check,并实际读取:
HOME.md00-入口/10-工作台/知识工作台.md00-入口/10-工作台/创作工作台.md50-系统/30-模板/内容成稿包.md50-系统/30-模板/快速口播母稿.md50-系统/20-流程/个人知识库工作流.md
完成状态必须是 ready,且脚本报告没有覆盖文件。用户只要求检查时不得借机初始化。
5. 交接内容生产
向用户交付知识库绝对路径,并说明三个最小入口:
- 新资料进入
30-资料/,自己的即时想法进入10-创作/10-灵感/inbox.md。 - 值得表达的角度先进入
10-创作/10-灵感/20-候选选题/;确认本次角度后,才在10-创作/20-写作任务/建立成稿包。 - 图文母稿进入
10-创作/30-文章草稿/;直接以口播起稿时使用50-系统/30-模板/快速口播母稿.md,唯一母稿进入10-创作/25-口播草稿/;确认发布后才进入40-发布/,并在40-发布/00-内容反馈/复盘。
用户接着要求写文章时,把知识库根目录、材料路径和目标平台交给 ray-writer。不要复制整套知识库到 Skill 目录,也不要把用户笔记吸收成 Skill 样本。
完成标准
- 根目录由用户或可验证结构确定,没有靠目录名猜测。
- 初始化前完成预演;已有文件零覆盖、零移动、零删除。
- manifest、目录和核心模板齐全,最终检查为
ready。 - 用户知道如何在 Obsidian 中打开该目录,以及如何从资料进入成稿包和草稿。
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决用户搭建面向内容生产的 Obsidian 知识库的刚需场景
- 支持增量适配已有 vault,避免破坏性操作
Highlights
- 触发词覆盖全面,包括“搭知识库”“接入内容管线”等多种变体
- 边界清晰,不易误触或漏触
Areas to improve
-
缺少 When to Use 显式章节 Reported severity: Minor
典型使用场景已在 description 中描述,但未单独设立 When to Use 章节
Recommendation: 建议在正文开头增加 When to Use 小节以提升可读性
Highlights
- Phase 划分清晰,有预演机制和完成标准
- 强调安全原则:不覆盖、不移动、不删除用户文件
Areas to improve
-
引用文件未确认存在 Reported severity: Minor
文中引用 [vault-schema.md] 和 [migration.md],但未验证这些文件是否在 ZIP 包中提供
Recommendation: 请确保 references/vault-schema.md 和 references/migration.md 文件已打包上传
-
Python 脚本依赖与环境未说明 Reported severity: Minor
使用 vault_setup.py 脚本但未说明所需 Python 版本及第三方依赖
Recommendation: 建议在文档或脚本注释中注明运行环境要求(如 Python 3.8+)
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.