[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-cc799791-7209-495d-b47b-ea68c7405cda":3,"$fSknWqcGGwkCNJLhrw_u5JpaTPDxqE5HWVIl0SkfOjYw":43},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":34},"cc799791-7209-495d-b47b-ea68c7405cda","obsidian-cli","使用Obsidian CLI读取、创建、搜索和管理保险库内容，或从命令行开发和调试Obsidian插件和主题。","cat_life_career","mod_other","sickn33,other","---\nname: obsidian-cli\ndescription: \"Use the Obsidian CLI to read, create, search, and manage vault content, or to develop and debug Obsidian plugins and themes from the command line.\"\nrisk: unknown\nsource: \"https:\u002F\u002Fgithub.com\u002Fkepano\u002Fobsidian-skills\"\ndate_added: \"2026-03-21\"\n---\n\n# Obsidian CLI\n\nUse the `obsidian` CLI to interact with a running Obsidian instance. Requires Obsidian to be open.\n\n## When to Use\n- Use when managing vault content through the Obsidian CLI.\n- Use when developing or debugging Obsidian plugins and themes from the command line.\n- Use when the user wants shell-driven interaction with a running Obsidian app.\n\n## Command reference\n\nRun `obsidian help` to see all available commands. This is always up to date. Full docs: https:\u002F\u002Fhelp.obsidian.md\u002Fcli\n\n## Syntax\n\n**Parameters** take a value with `=`. Quote values with spaces:\n\n```bash\nobsidian create name=\"My Note\" content=\"Hello world\"\n```\n\n**Flags** are boolean switches with no value:\n\n```bash\nobsidian create name=\"My Note\" silent overwrite\n```\n\nFor multiline content use `\\n` for newline and `\\t` for tab.\n\n## File targeting\n\nMany commands accept `file` or `path` to target a file. Without either, the active file is used.\n\n- `file=\u003Cname>` — resolves like a wikilink (name only, no path or extension needed)\n- `path=\u003Cpath>` — exact path from vault root, e.g. `folder\u002Fnote.md`\n\n## Vault targeting\n\nCommands target the most recently focused vault by default. Use `vault=\u003Cname>` as the first parameter to target a specific vault:\n\n```bash\nobsidian vault=\"My Vault\" search query=\"test\"\n```\n\n## Common patterns\n\n```bash\nobsidian read file=\"My Note\"\nobsidian create name=\"New Note\" content=\"# Hello\" template=\"Template\" silent\nobsidian append file=\"My Note\" content=\"New line\"\nobsidian search query=\"search term\" limit=10\nobsidian daily:read\nobsidian daily:append content=\"- [ ] New task\"\nobsidian property:set name=\"status\" value=\"done\" file=\"My Note\"\nobsidian tasks daily todo\nobsidian tags sort=count counts\nobsidian backlinks file=\"My Note\"\n```\n\nUse `--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.\n\n## Plugin development\n\n### Develop\u002Ftest cycle\n\nAfter making code changes to a plugin or theme, follow this workflow:\n\n1. **Reload** the plugin to pick up changes:\n   ```bash\n   obsidian plugin:reload id=my-plugin\n   ```\n2. **Check for errors** — if errors appear, fix and repeat from step 1:\n   ```bash\n   obsidian dev:errors\n   ```\n3. **Verify visually** with a screenshot or DOM inspection:\n   ```bash\n   obsidian dev:screenshot path=screenshot.png\n   obsidian dev:dom selector=\".workspace-leaf\" text\n   ```\n4. **Check console output** for warnings or unexpected logs:\n   ```bash\n   obsidian dev:console level=error\n   ```\n\n### Additional developer commands\n\nRun JavaScript in the app context:\n\n```bash\nobsidian eval code=\"app.vault.getFiles().length\"\n```\n\nInspect CSS values:\n\n```bash\nobsidian dev:css selector=\".workspace-leaf\" prop=background-color\n```\n\nToggle mobile emulation:\n\n```bash\nobsidian dev:mobile on\n```\n\nRun `obsidian help` to see additional developer commands including CDP and debugger controls.\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,157,1779,"2026-05-16 13:31:37",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"其他","other","mdi-page-next-outline","其他类型Skill",5,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":32,"skillCount":33,"createdAt":26},"职场发展","career","mdi-briefcase-outline","面试准备、简历优化、职业规划",4,575,[35],{"id":36,"skillId":4,"version":37,"fileName":38,"fileSize":39,"filePath":40,"fileHash":41,"manifest":42,"createdAt":19},"2e9c27fe-c2c4-43db-aa2c-5d67f4255dce","1.0.0","obsidian-cli.zip",1699,"uploads\u002Fskills\u002Fcc799791-7209-495d-b47b-ea68c7405cda\u002Fobsidian-cli.zip","0fecd566e9268b2eb177e09d44df483e08ad7f43956402a642630b2fac6c05b9","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":3516}]",{"code":44,"message":45,"data":46},200,"success",{"items":47,"stats":48,"page":51},[],{"averageRating":49,"totalRatings":49,"ratingCounts":50},0,[49,49,49,49,49],{"limit":52,"offset":49,"hasMore":53,"nextOffset":52,"ratedOnly":16},15,false]