بنقرة واحدة
init-vault
ThirdSpace 知识库初始化子 Skill。 仅在用户明确触发时加载("初始化"、"setup"、"install"、"配置知识库")。 日常知识库操作不加载本 Skill,避免无谓 token 消耗。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
ThirdSpace 知识库初始化子 Skill。 仅在用户明确触发时加载("初始化"、"setup"、"install"、"配置知识库")。 日常知识库操作不加载本 Skill,避免无谓 token 消耗。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when turning collected web, video, Feishu, or reading material into ThirdSpace knowledge cards, study notes, or long-term topic notes.
深度反思引擎 — 让知识卡片的深度思考真正产生行动价值
智能工作日志管理系统。 支持: - 自动生成当日工作日志 - 智能分类追加内容到对应章节 - 索引重建与关键词提取 - 周报生成 当用户提到: - "帮我生成今天的工作日志" - "补充工作日志:[内容]" - "重建索引" - "生成周报" 时使用此 Skill。
Use when handling ThirdSpace interpersonal events, relationship analysis, people profiles, LifeOS records, event retrospectives, or decisions involving people and context.
激活词:知识库。任何时候用户说"知识库"、"存进知识库"、"记到知识库"、"查知识库"、"整理知识库", 或涉及 ThirdSpace vault 的操作(创建笔记、归类文件、工作区路由、Frontmatter 规范、审计结构), 立即加载本 Skill。从任意目录工作,无需用户手动指定路径。 Activation: any mention of "知识库", "ThirdSpace", "vault", or knowledge-base operations.
Use when working inside ThirdSpace `04-项目`, creating or updating project files, auditing project categories, or deciding where an active project belongs.
| name | init-vault |
| description | ThirdSpace 知识库初始化子 Skill。 仅在用户明确触发时加载("初始化"、"setup"、"install"、"配置知识库")。 日常知识库操作不加载本 Skill,避免无谓 token 消耗。 |
| triggers | ["初始化知识库","初始化","setup","install","配置知识库","帮我配置","第一次使用"] |
| parent | thirdspace-vault |
本 Skill 负责在新机器上完成知识库的自举配置。
不决策用户环境:Agent 自行感知运行环境(OS、Shell、可用工具链、当前使用的 Agent 平台), 选择合适的安装方式。本 Skill 只描述需要做什么和脚本在哪里,不写死命令。
vault 根必须存在以下文件,缺失则从 .thirdspace/schema/ 下的模板补全:
.thirdspace/workspace-index.yaml ← vault 根锚点
.thirdspace/schema/frontmatter.yaml
.thirdspace/schema/taxonomy.yaml
.thirdspace/schema/subsystems.yaml
.thirdspace/schema/event-capture.yaml
.thirdspace/schema/workspace-tools.yaml
作用:每次 Agent session 结束时,检测重大产出并提示记录工作日志。
脚本位置:./00-系统/运行时/hooks/claude-stop-hook.sh
需要做的事:将脚本注册为 Agent 平台的 session stop / post-conversation hook。 不同平台注册方式不同,由 Agent 根据当前平台自行判断:
~/.claude/hooks/session-stop.sh用户可以跳过此步,不影响知识库核心功能。
作用:每次 git commit 后自动记录提交事实到工作日志。
脚本位置:./00-系统/运行时/hooks/global-post-commit.sh(全局)或 repo-post-commit.sh(单 repo)
需要做的事:注册为 git post-commit hook,方式因环境而异。
用户可以跳过此步。
作用:每日定时触发工作日志归档等任务。
配置模板位置:./00-系统/运行时/crontab/
需要做的事:按用户环境注册定时任务(crontab / systemd timer / Task Scheduler 等)。
用户可以跳过此步。
作用:让 Agent 从 vault 目录之外也能加载 thirdspace-vault Skill。
需要做的事:将 ./00-系统/Skills/thirdspace-vault 链接或复制到 Agent 平台的全局 skills 目录。
不同 Agent 平台位置不同,由 Agent 自行判断。
插件已随 vault 分发,位于:.obsidian/plugins/thirdspace-dashboard/
用户需要在 Obsidian 中手动启用(无法自动化): 设置 → 第三方插件 → 允许社区插件 → 启用 ThirdSpace Dashboard
完成初始化后,运行以下检查确认基础结构就绪:
# 1. 工作区结构
find . -maxdepth 2 -name WORKSPACE.md | sort
# 2. Schema 完整性
find .thirdspace/schema -type f | sort
# 3. 无硬编码绝对路径(期望:0)
grep -r "/Users/\|/home/\|C:\\\\" .thirdspace/ CLAUDE.md AGENTS.md 2>/dev/null | grep -v ".git" | wc -l
初始化结束后,Agent 用自然语言告知用户: