obsidian-cli
यह क्या करती है
यह आपके एजेंट को Obsidian command-line इंटरफ़ेस से Obsidian में नोट्स के साथ काम करना सिखाती है। यह उन लोगों के लिए है जो अपने नोट्स Obsidian vault में रखते हैं और चाहते हैं कि AI उन्हें संभालने में मदद करे।
कब इस्तेमाल करें
- ✓जब आप चाहते हैं कि AI आपके Obsidian vault में नोट्स खोजे या पढ़े।
- ✓जब आप Obsidian में नए नोट बनवाना या मौजूदा नोट अपडेट करवाना चाहते हैं।
- ✓जब आप Obsidian के daily notes या tasks में कुछ जोड़ना या जाँचना चाहते हैं।
Skill का लिंक
https://github.com/kepano/obsidian-skills/blob/main/skills/obsidian-cli/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे Obsidian vault में मेरे प्रोजेक्ट के नोट्स खोजिए और आज के daily note में एक सारांश जोड़िए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट चल रहे Obsidian ऐप को कमांड भेजता है, जो फिर आपके नोट्स पढ़ता, लिखता या खोजता है। इसके लिए Obsidian का खुला होना ज़रूरी है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Obsidian CLI
Use the obsidian CLI to interact with a running Obsidian instance. Requires Obsidian to be open.
Command reference
Run obsidian help to see all available commands. This is always up to date. Full docs: https://help.obsidian.md/cli
Syntax
Parameters take a value with =. Quote values with spaces:
obsidian create name="My Note" content="Hello world"
Flags are boolean switches with no value:
obsidian create name="My Note" silent overwrite
For multiline content use \n for newline and \t for tab.
File targeting
Many commands accept file or path to target a file. Without either, the active file is used.
file=<name>— resolves like a wikilink (name only, no path or extension needed)path=<path>— exact path from vault root, e.g.folder/note.md
Vault targeting
Commands target the most recently focused vault by default. Use vault=<name> as the first parameter to target a specific vault:
obsidian vault="My Vault" search query="test"
Common patterns
obsidian read file="My Note"
obsidian create name="New Note" content="# Hello" template="Template" silent
obsidian append file="My Note" content="New line"
obsidian search query="search term" limit=10
obsidian daily:read
obsidian daily:append content="- [ ] New task"
obsidian property:set name="status" value="done" file="My Note"
obsidian tasks daily todo
obsidian tags sort=count counts
obsidian backlinks file="My Note"
Use --copy on any command to copy output to clipboard. Use silent to prevent files from opening. Use total on list commands to get a count.
Plugin development
Develop/test cycle
After making code changes to a plugin or theme, follow this workflow:
- Reload the plugin to pick up changes:
obsidian plugin:reload id=my-plugin - Check for errors — if errors appear, fix and repeat from step 1:
obsidian dev:errors - Verify visually with a screenshot or DOM inspection:
obsidian dev:screenshot path=screenshot.png obsidian dev:dom selector=".workspace-leaf" text - Check console output for warnings or unexpected logs:
obsidian dev:console level=error
Additional developer commands
Run JavaScript in the app context:
obsidian eval code="app.vault.getFiles().length"
Inspect CSS values:
obsidian dev:css selector=".workspace-leaf" prop=background-color
Toggle mobile emulation:
obsidian dev:mobile on
Run obsidian help to see additional developer commands including CDP and debugger controls.
अक्सर पूछे जाने वाले सवाल
क्या Obsidian खुला होना चाहिए?
हाँ। स्किल कहती है कि command-line टूल सिर्फ़ चल रहे Obsidian इंस्टेंस के साथ काम करता है।
यह कौन सा vault इस्तेमाल करती है?
डिफ़ॉल्ट रूप से सबसे हाल में फ़ोकस किया गया vault, लेकिन आप किसी खास vault का नाम दे सकते हैं।
क्या यह tasks और properties संभाल सकती है?
हाँ। स्किल tasks, properties और कुछ और चीज़ें भी कवर करती है।
जानकारी
लेखक का मूल विवरण
Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more. Also supports plugin and theme development with commands to reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM. Use when the user asks to interact with their Obsidian vault, manage notes, search vault content, perform vault operations from the command line, or develop and debug Obsidian plugins and themes.
repo: kepano/obsidian-skills
लोकप्रियता
- GitHub स्टार
- 51k
- रैंकिंग में स्थान
- #3418
- लाइसेंस
- MIT
- अपडेट की गई
- 15/9/2026
कमेंट
- …
इस repository की और skills
defuddle
51kआपके एजेंट को वेब पेज से साफ़, पढ़ने योग्य टेक्स्ट Markdown में निकालना सिखाती है, मेन्यू और विज्ञापन हटाकर।
knap
51kआपके एजेंट को JSON या CSV डेटा से Markdown टेम्पलेट भरना सिखाती है, ताकि एक साथ कई तैयार नोट्स बन सकें।
मिलती-जुलती skills
knowledge-automation
394kयह आपके एजेंट को एक नियमित काम सेट करने देती है जो समय-सारणी पर Knowledge vault में नई सामग्री जोड़ता है, फिर जांचता है कि काम चल रहा है।
knowledge-source-ingest
394kयह आपके एजेंट को चैट चैनल, फ़ीड या मेलबॉक्स से आई नई चीज़ों से Knowledge vault अपडेट रखने देती है, बिना वह दोबारा जोड़े जो पहले से है।
benchmark
280kयह आपके एजेंट को code की speed और performance नापने में मदद करता है। यह पक्का करने और धीमेपन की समस्याएँ ढूँढने में काम आता है।