obsidian-devtools

Inspect and automate Obsidian using Chrome DevTools Protocol

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "obsidian-devtools" with this command: npx skills add zpankz/mcp-skillset/zpankz-mcp-skillset-obsidian-devtools

Obsidian DevTools Skill

Enables deep inspection of the Obsidian application state via the Chrome DevTools Protocol.

Capabilities

  • Execute arbitrary JavaScript in the Obsidian context (app.vault.getFiles())
  • Read console logs for debugging plugins
  • Inspect the DOM to understand UI state

Setup

This skill requires the obsidian-devtools MCP server to be running or available. The tools usually auto-launch Obsidian with --remote-debugging-port=9222.

Tools

obsidian_launch_debug

Launches or connects to Obsidian with remote debugging enabled.

  • restart: (bool) Force restart Obsidian to enable debugging (default: False)

obsidian_eval

Executes JavaScript code in the Obsidian app context.

  • expression: (str) JavaScript code to run
  • await_promise: (bool) Wait for promises to resolve (default: True)

obsidian_inspect_dom

Gets a simplified snapshot of the DOM structure.

  • selector: (str) CSS selector for root element (default: "body")

obsidian_read_console

(Experimental) Reads console logs. Currently requires persistent listener mode.

Examples

Get Vault Name:

app.vault.getName()

List Plugins:

Object.keys(app.plugins.manifests)

Get Active File:

app.workspace.getActiveFile()?.path

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

code refactoring

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

dspy-code

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

code-refactor

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

screenapp-cli

No summary provided by upstream source.

Repository SourceNeeds Review