dex-obsidian-setup

dex-obsidian-setup is a skill for Claude Code, Codex from davekilleen/Dex. It costs 68 tokens per session (1,224 once invoked), scanned A, original, MIT.

An Obsidian setup tool that enables Obsidian mode and changes a vault to wiki links. Obsidian is a note-taking app, and wiki links connect notes using internal links.

In plain words
What is it for?
Enabling wiki links and migrating an Obsidian vault to use them.
Why use it?
It adapts an existing vault to Obsidian-style links when a project or workflow expects that format.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; installed under .agents/ (shared by several agents).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python core/obsidian/migrate_to_wikilinks.py.

Good fit Enabling wiki links and migrating an Obsidian vault to use them.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/davekilleen/Dex
agentmods
npx agentmods add skills/davekilleen/dex/dex-obsidian-setup

Made for: Claude Code, Codex.

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 dex-obsidian-setup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/davekilleen/dex/dex-obsidian-setup"><img src="https://agentmods.dev/badge/skills/davekilleen/dex/dex-obsidian-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,224 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.00068 $0.01224
Opus 5.5 $0.00027 $0.00490
Sonnet 5.5 $0.00014 $0.00245
Haiku 4.5 $0.00007 $0.00122

Measured 29d ago against content hash 4b7236262d2b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dex-obsidian-setup 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 29d ago.

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.

.agents/skills/dex-obsidian-setup/SKILL.md · 152 lines

How it starts

The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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)

Read the full file on GitHub · 152 lines

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. 29d ago Changed 4b7236262d2b
  2. 1mo ago First seen · 152 lines · 68 tokens per session scan A 4cf8171aeb07

Subscribe to this mod's changes

dex-obsidian-setup is a skill published in the GitHub repository davekilleen/Dex (508 stars, last pushed yesterday), licensed MIT. It adds 68 tokens to every session and 1,224 once invoked, about $0.0003 per session on Opus 5.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-09-02.