Agent Skills: Obsidian Plugin & Theme Management

|

UncategorizedID: laurigates/claude-plugins/plugins-themes

Install this agent skill to your local

pnpm dlx add-skill https://github.com/laurigates/claude-plugins/tree/HEAD/obsidian-plugin/skills/plugins-themes

Skill Files

Browse the full folder contents for plugins-themes.

Download Skill

Loading file tree…

obsidian-plugin/skills/plugins-themes/SKILL.md

Skill Metadata

Name
plugins-themes
Description
|

Obsidian Plugin & Theme Management

Manage community plugins, themes, and developer tools using the official Obsidian CLI.

Prerequisites

  • Obsidian desktop v1.12.4+ with CLI enabled
  • Obsidian must be running

When to Use

Use this skill automatically when:

  • User wants to list, enable, or disable Obsidian plugins
  • User needs to reload a plugin during development
  • User wants to switch or list themes
  • User needs to run JavaScript in the Obsidian runtime
  • User wants to take screenshots of the Obsidian app

Plugin Management

List Plugins

# All installed plugins
obsidian plugins

# JSON output
obsidian plugins format=json

Enable / Disable

# Enable a plugin by ID
obsidian plugin:enable id=dataview

# Disable a plugin
obsidian plugin:disable id=dataview

Reload (Development)

# Hot-reload a plugin during development
obsidian plugin:reload id=my-plugin

Theme Management

List Themes

# Available themes
obsidian themes

Switch Theme

# Set active theme
obsidian theme:set name="Minimal"

Developer Tools

Eval (JavaScript Execution)

# Execute JavaScript in Obsidian's runtime context
obsidian eval code="app.vault.getFiles().length"

# Access the full Obsidian API
obsidian eval code="app.workspace.getActiveFile()?.path"

Screenshot

# Capture Obsidian window
obsidian dev:screenshot path=~/screenshot.png

Agentic Optimizations

| Context | Command | |---------|---------| | List plugins (structured) | obsidian plugins format=json | | Enable plugin | obsidian plugin:enable id=X | | Disable plugin | obsidian plugin:disable id=X | | Reload during dev | obsidian plugin:reload id=X | | List themes | obsidian themes | | Switch theme | obsidian theme:set name="X" | | Run JS in Obsidian | obsidian eval code="expression" |

Related Skills

  • vault-files — Core file operations the plugins operate on
  • publish-sync — Publish and sync workflows