Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

obsidian

БесплатноБез исполняемых скриптовНе проверен

Build plugins, automate workflows, and manage knowledge bases in Obsidian. Use when a user asks to create Obsidian plugins, set up vault structures, automate…

TerminalSkillsот TerminalSkills★ 221 звезда на GitHub14 установок в других каталогах

Об этом скилле

Obsidian

Overview

Extend and automate Obsidian — the local-first knowledge management app built on plain Markdown files. This skill covers vault architecture for scalable PKM systems, plugin development (TypeScript), Dataview queries for dynamic views, Templater automation, custom CSS/themes, and publishing pipelines. Everything stays as files on disk — portable, version-controllable, and yours.

Instructions

Step 1: Vault Architecture

Zettelkasten (atomic notes):

vault/
├── 0-inbox/           # Capture first, organize later
├── 1-fleeting/        # Quick thoughts, raw ideas
├── 2-literature/      # Notes from sources
├── 3-permanent/       # Refined, atomic, linked notes
├── 4-projects/        # Active project folders
├── 5-areas/           # Ongoing responsibilities
├── 6-resources/       # Reference material
├── 7-archive/         # Completed/inactive items
├── templates/         # Note templates
└── attachments/       # Images, PDFs, files

PARA method: Projects/, Areas/, Resources/, Archive/, _templates/.

Configure it in Settings, Files and links: default location for new notes (newFileLocation: "folder", newFileFolderPath: "0-inbox" in .obsidian/app.json), attachmentFolderPath: "attachments", and automatically update internal links (alwaysUpdateLinks). Edit app.json only while Obsidian is closed, or it overwrites your change. Use descriptive titles for atomic notes, YYYY-MM-DD prefix for date-based notes.

Step 2: Templates with Templater

Install the Templater community plugin. Place templates in templates/.

Daily note (templates/daily.md):

---
date: <% tp.date.now("YYYY-MM-DD") %>
tags: [daily]
---
# <% tp.date.now("dddd, MMMM D, YYYY") %>
## Top 3 Priorities
- [ ]
## Notes
## Completed Today

Meeting note (templates/meeting.md):

---
date: <% tp.date.now("YYYY-MM-DD") %>
type: meeting
tags: [meeting]
---
# Meeting: <% tp.file.title %>
**Date:** <% tp.date.now("YYYY-MM-DD HH:mm") %>
**Attendees:**
## Agenda
## Notes
## Action Items
- [ ]

Configure Templater: set template folder, enable trigger on new file creation, map folder templates (e.g., 0-inbox → templates/inbox.md).

Step 3: Dataview Queries

Install the Dataview community plugin to query your vault like a database.

Each query goes in its own dataview code block (Dataview has no comment syntax, so do not put -- lines inside):

TASK WHERE !completed SORT file.mtime DESC LIMIT 50
TABLE status, deadline, file.mtime AS "Last Modified"
FROM #project WHERE status = "active" SORT deadline ASC
LIST WHERE length(file.inlinks) = 0
  AND !contains(file.path, "templates") AND !contains(file.path, "attachments")

DataviewJS must be enabled in the plugin settings. Obsidian also ships Bases (core plugin, .base files) for table, list, cards and map views of notes filtered by properties; prefer Bases for simple views that need no plugin, and Dataview for queries and inline computation.

DataviewJS for complex logic:

const pages = dv.pages('#project AND -"templates"');
const overdue = pages.where(p => p.status === "active" && p.deadline && dv.date(p.deadline) < dv.date("today"));
dv.header(3, `Overdue Projects (${overdue.length})`);
dv.table(["Project", "Deadline", "Days Overdue"],
  overdue.map(p => [p.file.link, p.deadline, Math.floor((Date.now() - new Date(p.deadline)) / 86400000)])
);

Step 4: Plugin Development

git clone https://github.com/obsidianmd/obsidian-sample-plugin my-plugin
cd my-plugin && npm install

The template needs Node.js 18 or newer and compiles src/main.ts to main.js. Keep a plugin's id in manifest.json identical to its folder name in .obsidian/plugins/.

Basic plugin (main.ts):

import { App, Plugin, PluginSettingTab, Setting, Notice, TFile, MarkdownView } from "obsidian";

interface MyPluginSettings { defaultFolder: string; enableFeature: boolean; }
const DEFAULT_SETTINGS: MyPluginSettings = { defaultFolder: "inbox", enableFeature: true };

export default class MyPlugin extends Plugin {
  settings: MyPluginSettings;

  async onload() {
    await this.loadSettings();
    this.addRibbonIcon("dice", "My Plugin", () => new Notice("Hello from My Plugin!"));
    this.addCommand({ id: "do-something", name: "Do something useful", callback: () => this.doSomething() });
    this.registerEvent(this.app.vault.on("create", (file) => {
      if (file instanceof TFile && file.extension === "md") console.log(`New: ${file.path}`);
    }));
    this.addSettingTab(new MyPluginSettingTab(this.app, this));
  }

  async doSomething() {
    const file = this.app.workspace.getActiveFile();
    if (!file) { new Notice("No active file"); return; }
    const content = await this.app.vault.read(file);
    await this.app.vault.modify(file, content + "\n\n---\nProcessed by My Plugin");
    new Notice("Done!");
  }

  async l
Полный SKILL.md на GitHub

Установить obsidian в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_scores.json

FAQ

Что делает скилл obsidian?

Build plugins, automate workflows, and manage knowledge bases in Obsidian. Use when a user asks to create Obsidian plugins, set up vault structures, automate note-taking workflows, build templates with Templater, write Dataview queries, create custom CSS themes, integrate Obsidian with external tools, build publishing pipelines, manage Zettelkasten or PKM systems, implement daily notes workflows, or extend Obsidian with community plugins. Covers plugin development, vault architecture, automation, and publishing.

Как установить скилл obsidian?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл obsidian запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить obsidian с