obsidian-ontology-sync

Extract entities and relationships from Obsidian notes into a JSONL ontology graph.

Updated Mar 4, 2026
One-click install
npx skills add https://github.com/velamints2/clawbot-lab --skill obsidian-ontology-sync
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obsidian-ontology-sync
Source: https://github.com/velamints2/clawbot-lab/tree/main/skills/obsidian-ontology-sync
Command: npx skills add https://github.com/velamints2/clawbot-lab --skill obsidian-ontology-sync

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyyaml, and includes scripts (resource) components.

What problem does it solve?

Obsidian notes are human-friendly but lack machine-readable structure. This skill automatically extracts entities and relationships from Markdown files and converts them into a queryable ontology, enabling real-time analytics and smarter note-driven workflows.

Core Features & Use Cases

  • Extracts entities (Person, Organization, Project) and relationships (works_at, assigned_to, met_at) from notes to build a structured graph.
  • Analyzes ontology to surface insights such as data quality, coverage, and relationship patterns.
  • Provides feedback to improve PKM templates and note templates, closing the loop between human notes and machine reasoning.

Quick Start

Configure your vault path, run a dry-run extraction to preview results, then execute the real extraction and enable cron-based automatic syncing.

Frequently Asked Questions about obsidian-ontology-sync

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a queryable knowledge graph from Obsidian notes?

To build a knowledge graph from Obsidian notes, this Skill extracts entities like Person and Project and their relationships into a structured JSONL ontology. It uses an extract-analyze-feedback loop driven by a YAML config.

Can I automate extracting entities from Obsidian markdown files?

Yes, you can automate entity extraction by scheduling cron-based automatic syncing. The script processes references, team notes, and daily-status data to continuously populate your structured ontology without manual intervention.

How do I convert Obsidian contacts and team notes into structured data?

You can convert contacts and team notes into structured data by running a dry-run extraction to preview results, then executing the real extraction. This handles team management and contact tracking workflows to output a JSONL ontology graph.

Does this ontology sync tool require Python dependencies?

Yes, the ontology sync tool requires the pyyaml Python dependency to parse the YAML configuration that drives the extract-analyze-feedback loop and manages the structured ontology output.

What is the best way to analyze relationship patterns in my Obsidian vault?

The best way to analyze relationship patterns is using the built-in analysis feedback loop which surfaces data quality, coverage, and insights. This helps improve your PKM templates by closing the loop between notes and machine reasoning.