dex-obsidian-setup
Skill509 starsChanged 3 months agoMITView on GitHub
Turn on Obsidian mode and migrate the vault to wiki links. Use when the user says 'I use Obsidian', 'enable wiki links', 'make this work in Obsidian'. Not for connecting an external tool/API; use `create-mcp`/`integrate-mcp`.
- Deletes or force-pushes
In this repository153 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .claude/plugins/compound-engineering/CLAUDE.mdCLAUDE.md
- .cursor/rules/search-routing.mdcCursor rule
- anthropic-algorithmic-artSkill
- anthropic-brand-guidelinesSkill
- anthropic-doc-coauthoringSkill
- anthropic-docxSkill
- anthropic-frontend-designSkill
- anthropic-internal-commsSkill
- anthropic-mcp-builderSkill
- anthropic-pptxSkill
- anthropic-slack-gif-creatorSkill
- anthropic-theme-factorySkill
- anthropic-webapp-testingSkill
- anthropic-web-artifacts-builderSkill
- anthropic-xlsxSkill
- atlassian-setupSkill
- backup-nowSkill
- backup-restoreSkill
- backup-setupSkill
- calendar-setupSkill
- commitmentsSkill
- create-mcpSkill
- daily-planSkill
- daily-reviewSkill
- decision-logSkill
- delegate-checkSkill
- dex-backlogSkill
- dex-doctorSkill
- dex-improveSkill
- dex-rollbackSkill
- dex-updateSkill
- dex-whats-newSkill
- diff-profileSkill
- enable-semantic-searchSkill
- getting-startedSkill
- goal-backlogSkill
- google-workspace-setupSkill
- granola-setupSkill
- identity-snapshotSkill
- industry-truthsSkill
- initiative-kickoffSkill
- integrate-mcpSkill
- journalSkill
- manage-capabilitiesSkill
- meeting-closeoutSkill
- meeting-prepSkill
- ms-teams-setupSkill
- pipedrive-setupSkill
- pipeline-syncSkill
- process-meetingsSkill
- product-briefSkill
- project-healthSkill
- prompt-improverSkill
- relationship-radarSkill
- reviewSkill
- save-insightSkill
- scrapeSkill
- skill-scoreSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. About 0 are common, 15 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈15
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Read System/user-profile.yaml and check obsidian_mode field.
- Distinctive: line 18
If user says no, exit
- Distinctive: line 19
If user says yes, continue to Step 3 (skip Step 2)
- Very specific: line 29
All person/company/project references become clickable wiki links
- Distinctive: line 50
Call the migration script using Shell tool (run from the vault root directory):
- Distinctive: line 63
Wait for the script to complete and show the output to the user.
- Very specific: line 67
Update System/user-profile.yaml to set obsidian_mode: true:
- Distinctive: line 69
Read the current file
- Distinctive: line 70
Use StrReplace to update the obsidian_mode field (or add it if missing)
- Distinctive: line 71
If the file uses YAML format, preserve the structure
- Distinctive: line 75
Ask: "Want me to generate an Obsidian configuration optimized for Dex?
- Distinctive: line 84
Run the config generator (from vault root):
- Distinctive: line 98
Ask: "Want to enable bidirectional sync?
- Distinctive: line 99
Check a task in Obsidian → syncs to Tasks.md, person pages, meeting notes
- Distinctive: line 100
Check a task in Cursor → syncs to Obsidian
- Distinctive: line 106
Run the daemon installer (from vault root):
- Distinctive: line 122
Check the graph view: Ctrl/Cmd + G
- Distinctive: line 127
Search: Cmd/Ctrl + O for quick open
- Very specific: line 149
Call track_event with event_name obsidian_enabled (no properties).
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- Generated from `.claude/skills/dex-obsidian-setup/SKILL.md` by `scripts/generate-agents-skills.py`. Do not edit. -->Purpose
Convert Dex vault to Obsidian wiki link format for graph-based navigation.
Step 1: Check Current State
Read System/user-profile.yaml and check obsidian_mode field.
If already enabled:
- Say: "Obsidian mode is already enabled. Want to re-run migration? (Safe to run multiple times)"
- If user says no, exit
- If user says yes, continue to Step 3 (skip Step 2)
If not enabled:
- Continue to Step 2
Step 2: Explain Obsidian Integration
Say: "This will enable Obsidian mode in your Dex vault:
What changes:
- All person/company/project references become clickable wiki links
- Example:
John_Doe→[[John_Doe]] - Your existing files will be converted automatically
What stays the same:
- File structure (PARA folders)
- File contents (just adds
[[ ]]around references) - All MCP functionality
Time estimate: I'll scan your vault first and show you exactly how long it will take.
Safety: I'll create a git backup before any changes. Easy to revert if needed.
Ready to proceed?"
If NO: Say "No problem! You can run /dex-obsidian-setup anytime." and exit.
If YES: Continue to Step 3
Step 3: Run Migration
Call the migration script using Shell tool (run from the vault root directory):
python core/obsidian/migrate_to_wikilinks.pyThe script handles:
- Estimation and user confirmation
- Git backup
- Progress tracking
- macOS notification on completion
- Error handling
Wait for the script to complete and show the output to the user.
Step 4: Update User Profile
Update System/user-profile.yaml to set obsidian_mode: true:
- Read the current file
- Use StrReplace to update the obsidian_mode field (or add it if missing)
- If the file uses YAML format, preserve the structure
Step 5: Optional - Generate Obsidian Config
Ask: "Want me to generate an Obsidian configuration optimized for Dex? This includes:
- Recommended settings (wiki link format, auto-update links)
- Hotkeys for common actions (Cmd+G for graph view)
- Workspace layout (file explorer + backlinks)
These are stored in .obsidian/ and only affect Obsidian (not Cursor/terminal)."
If YES:
Run the config generator (from vault root):
python core/obsidian/generate_obsidian_config.pySay: "✅ Obsidian config generated! Open your vault in Obsidian to see the optimized setup."
If NO:
Say: "No problem! You can always run this later with python core/obsidian/generate_obsidian_config.py"
Step 6: Optional - Start Sync Daemon
Ask: "Want to enable bidirectional sync? This keeps task checkboxes synced between Obsidian and Dex:
- Check a task in Obsidian → syncs to Tasks.md, person pages, meeting notes
- Check a task in Cursor → syncs to Obsidian
Runs in background, zero maintenance."
If YES:
Run the daemon installer (from vault root):
bash core/obsidian/install_sync_daemon.shIf NO:
Say: "No problem! You can enable it later by running bash core/obsidian/install_sync_daemon.sh"
Step 7: Completion
Say: "✅ Obsidian mode enabled!
Next steps:
- Open Obsidian: File → Open Folder → select your Dex vault folder
- Check the graph view: Ctrl/Cmd + G
- Click any wiki link to navigate
Tips:
- Graph filters: Focus on specific areas (People, Projects)
- Search: Cmd/Ctrl + O for quick open
- Backlinks pane: See everywhere a note is referenced
Resources:
- See
06-Resources/Dex_System/Obsidian_Guide.mdfor detailed tips - Watch the beginner's guide if you're new to Obsidian
You can still use Dex in Cursor/terminal exactly as before. Wiki links work everywhere."
Notes
- This skill is safe to run multiple times (idempotent)
- Migration creates a git backup before making changes
- Revert anytime with
git reset --hard HEAD~1 - Works with vaults of any size (10K+ files tested)
Track Usage (Silent)
Call the mark_feature_used tool on the dex-analytics MCP server with dex-obsidian-setup. This ticks the feature's box in System/usage_log.md, which is what /dex-level-up reads to recommend features that have not been tried. It writes locally and sends nothing, so it runs whether or not analytics is enabled.
Analytics (Silent):
Call track_event with event_name obsidian_enabled (no properties).
This only fires if the user has opted into analytics. No action needed if it returns "analytics_disabled".
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

