novel-obsidian

novel-obsidian is a skill for Claude Code from TulanCN/vibe-noveling. It costs 30 tokens per session (795 once invoked), scanned A, original, MIT.

A synchronization tool that puts entity relationships from a project’s knowledge graph into an Obsidian vault. Obsidian is a note-taking app that can display linked notes as a visual graph.

In plain words
What is it for?
Use it to set up an Obsidian vault, sync relationship links, preview changes with a dry run, and create a dashboard with Dataview queries.
Why use it?
It makes relationships between characters, places, factions, items, and other entities easier to browse. Managed sections limit synchronization changes to the relationship content in each note.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/you/Documents/修真界知识图谱.

Part of the vibe-noveling plugin — 16 skills, 4 agents shipped together

Good fit Use it to set up an Obsidian vault, sync relationship links, preview changes with a dry run, and create a dashboard with Dataview queries.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add TulanCN/vibe-noveling
Claude Code
/plugin install vibe-noveling

Made for: Claude Code.

Or install vibe-noveling, the plugin that ships this one along with the rest of its 16 skills, 4 agents.

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 novel-obsidian

README.md
[![agentmods](https://agentmods.dev/badge/skills/tulancn/vibe-noveling/novel-obsidian/github.svg)](https://agentmods.dev/skills/tulancn/vibe-noveling/novel-obsidian)
Your own site
<a href="https://agentmods.dev/skills/tulancn/vibe-noveling/novel-obsidian"><img src="https://agentmods.dev/badge/skills/tulancn/vibe-noveling/novel-obsidian/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 novel-obsidian

Your own site · 80×15
<a href="https://agentmods.dev/skills/tulancn/vibe-noveling/novel-obsidian"><img src="https://agentmods.dev/badge/skills/tulancn/vibe-noveling/novel-obsidian.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 795 The whole file, excluding the scripts and references it only reads on demand.
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.00030 $0.00795
Opus 5 $0.00015 $0.00398
Sonnet 5 $0.00006 $0.00159
Haiku 4.5 $0.00003 $0.00080

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

Security

Grade A, and why

novel-obsidian 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 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/obsidian_sync.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/vibe-noveling/skills/novel-obsidian/SKILL.md · 104 lines

What it actually says

Obsidian 知识图谱可视化

将实体关系数据同步到 Obsidian vault,利用 Obsidian 图谱视图 + Graph Link Types 插件可视化知识图谱。

前提

  • 已安装 Obsidian(https://obsidian.md)
  • vault 中安装了以下插件:
    1. Dataview(Graph Link Types 的依赖)
    2. Graph Link Types(在图谱边上显示关系类型)

命令

python {SKILL_DIR}/scripts/obsidian_sync.py <command> [args]

setup — 初始化 Obsidian vault

python {SKILL_DIR}/scripts/obsidian_sync.py setup <vault_path>

创建 vault 目录,建立 entities/ 符号链接指向项目的 memory/entities/,生成仪表盘笔记。

示例:

python {SKILL_DIR}/scripts/obsidian_sync.py setup /Users/you/Documents/修真界知识图谱

然后在 Obsidian 中 "Open folder as vault" 打开该目录。

sync — 同步关系数据

python {SKILL_DIR}/scripts/obsidian_sync.py sync [--dry-run]

读取 _graph.json,为每个实体文件注入 [[wiki links]] 关系区块。

  • --dry-run:预览变更,不写入文件
  • rebuild 后自动调用,也可手动执行

dashboard — 生成仪表盘

python {SKILL_DIR}/scripts/obsidian_sync.py dashboard

在 vault 根目录生成 知识图谱总览.md,包含 Dataview 查询。

同步机制

脚本在实体文件正文末尾注入受管理的区块:

<!-- OBSIDIAN-SYNC-START -->
## 关系图谱

### 出向关系
- **located_in** → [[九天大陆]] (九天大陆北方冰原)

### 入向关系
- **capital_of** ← [[北境三族]] (北境三族的都城)
<!-- OBSIDIAN-SYNC-END -->
  • 只替换 OBSIDIAN-SYNC-START/END 标记之间的内容
  • 不修改 frontmatter,不影响 knowledge_graph.py 的解析
  • 幂等:多次运行结果一致

自动调用时机

以下场景会自动调用 sync

  1. novel-sync 完成后:rebuild 知识图谱后自动同步
  2. novel-discuss 落盘后:创建/修改实体后自动同步

工作流

novel-discuss / novel-sync
    → knowledge_graph.py rebuild
    → obsidian_sync.py sync
    → Obsidian 图谱视图实时更新

Vault 结构

<vault_path>/
├── .obsidian/           # Obsidian 配置(自动生成)
├── entities/ → <project>/memory/entities/   # 符号链接
└── 知识图谱总览.md      # Dataview 仪表盘(自动生成)
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 104 lines · 0 tokens per session scan A cbb4901d5787

Subscribe to this mod's changes

novel-obsidian is a skill published in the GitHub repository TulanCN/vibe-noveling (23 stars, last pushed 3mo ago), licensed MIT. It adds 30 tokens to every session and 795 once invoked, about $0.0002 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 skills, from other repositories

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

establishing-project-context

Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.

GanyuanRan/Aegis · 45 tokens