ワンクリックで
livos-vault-doctor
Audit vault for broken [[wikilinks]] and orphaned memory files. Report-only — no auto-fix.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Audit vault for broken [[wikilinks]] and orphaned memory files. Report-only — no auto-fix.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Computer-use capability for Liv AI agents — click, type, screenshot, key, scroll on the LivOS desktop via the Luse MCP server. Use when the task requires direct interaction with a graphical application on the host.
Guide for assistant-cloud persistence and authorization. Use when setting up thread persistence, file uploads, or authentication.
Build generative UI apps with OpenUI and OpenUI Lang — the token-efficient open standard for LLM-generated interfaces. Use when mentioning OpenUI, @openuidev, generative UI, streaming UI from LLMs, component libraries for AI, or replacing json-render/A2UI. Covers scaffolding, defineComponent, system prompts, the Renderer, and debugging OpenUI Lang output.
Guide for assistant-ui UI primitives - ThreadPrimitive, ComposerPrimitive, MessagePrimitive. Use when customizing chat UI components.
Guide for assistant-ui runtime system and state management. Use when working with runtimes, accessing state, or managing thread/message data.
Setup and configure assistant-ui in a project. Use when installing packages, configuring runtimes, setting up chat UI, or troubleshooting setup issues.
SOC 職業分類に基づく
| name | livos-vault-doctor |
| description | Audit vault for broken [[wikilinks]] and orphaned memory files. Report-only — no auto-fix. |
You are auditing the LivOS Obsidian vault rooted at the current working directory. Do not modify any files. Produce a single Markdown report and stop.
Use the Glob tool with pattern **/*.md to list every Markdown file inside the vault. Exclude inbox/ from broken-link scanning (inbox entries are autonomous-agent outputs and can legitimately reference future memory files).
For each non-inbox file, use Read to load the contents. Match [[<target>]] references with a simple regex: capture target (the text between the first [[ and the matching ]], ignoring any |alias suffix and any #heading suffix).
For each unique target, decide which file it points to using this resolution order (first hit wins):
<vault>/memory/<target>.md<vault>/memory/<subdir>/<target>.md for each subdir under memory/ (feedback, projects, references, user)<vault>/<target>.md (top-level)If none of the candidate files exists, the link is broken.
List every file under memory/**. A file is orphaned if no [[wikilink]] resolved to it in Step 3.
Write the final report inline in the chat reply — do NOT create any file. Structure:
# Vault Doctor Report
_Audit run: <ISO timestamp>_
## Broken Wikilinks (<N>)
| Source file | Broken target | Suggested fix |
| --- | --- | --- |
| <relative path> | <target> | rename / create stub / remove link |
## Orphaned Memory Files (<N>)
| Path | Last modified |
| --- | --- |
| memory/foo.md | <ISO> |
## Summary
- Files scanned: <N>
- Broken links: <N>
- Orphans: <N>
If both sections are empty: emit # Vault Doctor Report + _All clean — no broken wikilinks, no orphans._ and stop.
_(truncated — showing first 500 of <total>)_ in the summary.[[wikilinks]] recursively into target file contents.