agentleFS
davekilleendavekilleen/Dex/.agents/skills/dex-obsidian-setup/SKILL.md

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

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
  1. Very specific:

    Read System/user-profile.yaml and check obsidian_mode field.

    line 14
  2. Distinctive:

    If user says no, exit

    line 18
  3. Distinctive:

    If user says yes, continue to Step 3 (skip Step 2)

    line 19
  4. Very specific:

    All person/company/project references become clickable wiki links

    line 29
  5. Distinctive:

    Call the migration script using Shell tool (run from the vault root directory):

    line 50
  6. Distinctive:

    Wait for the script to complete and show the output to the user.

    line 63
  7. Very specific:

    Update System/user-profile.yaml to set obsidian_mode: true:

    line 67
  8. Distinctive:

    Read the current file

    line 69
  9. Distinctive:

    Use StrReplace to update the obsidian_mode field (or add it if missing)

    line 70
  10. Distinctive:

    If the file uses YAML format, preserve the structure

    line 71
  11. Distinctive:

    Ask: "Want me to generate an Obsidian configuration optimized for Dex?

    line 75
  12. Distinctive:

    Run the config generator (from vault root):

    line 84
  13. Distinctive:

    Ask: "Want to enable bidirectional sync?

    line 98
  14. Distinctive:

    Check a task in Obsidian → syncs to Tasks.md, person pages, meeting notes

    line 99
  15. Distinctive:

    Check a task in Cursor → syncs to Obsidian

    line 100
  16. Distinctive:

    Run the daemon installer (from vault root):

    line 106
  17. Distinctive:

    Check the graph view: Ctrl/Cmd + G

    line 122
  18. Distinctive:

    Search: Cmd/Ctrl + O for quick open

    line 127
  19. Very specific:

    Call track_event with event_name obsidian_enabled (no properties).

    line 149

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<!-- 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.py

The 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:

  1. Read the current file
  2. Use StrReplace to update the obsidian_mode field (or add it if missing)
  3. 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.py

Say: "✅ 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.sh

If 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:

  1. Open Obsidian: File → Open Folder → select your Dex vault folder
  2. Check the graph view: Ctrl/Cmd + G
  3. 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.md for 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".

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.