[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C67WHP9KTW2HZ18NZK3GR9":3,"skill-same:01M6C67WHP9KTW2HZ18NZK3GR9":86},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":56,"linkOnly":57,"markdownContent":58,"markdownBody":59,"frontMatter":60,"refName":64,"commitSha":65,"skillDirectory":66,"forksCount":67,"repositoryHtmlUrl":68,"repositoryHomepageUrl":17,"ownerHtmlUrl":69,"ownerBlogUrl":17,"ownerDescription":70,"updatedAt":71,"install":72,"resources":85},"01M6C67WHP9KTW2HZ18NZK3GR9","dev-tools","Obsidian 插件主题调试","Obsidian plugin\u002Ftheme dev: DevTools, CDP, JS eval, console\u002Ferror buffers, CSS\u002FDOM inspection, mobile emulation, screenshots. Use when debugging the app.","Obsidian 插件\u002F主题开发：DevTools、CDP、JS 求值、控制台\u002F错误缓冲区、CSS\u002FDOM 检查、移动设备模拟、截图。调试应用时使用。","laurigates\u002Fclaude-plugins","laurigates","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13014001?v=4","01M6C59YHWS9C7KMXKSRX1YXNP","Lauri Gates","01M6C59YP2APG9YAM4DWYQYGFJ",60,"MIT",null,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fobsidian-plugin\u002Fskills\u002Fdev-tools\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRSRYQ3M8N5063NNQPF2B1","调试与故障排查","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55],"dev","Tools","dev tools","eval","inspection","2026","when","emulation","error","false","app","cdp","mobile","use","read","screenshots","grep","js","Bash","devtools","console","debugging","plugin","obsidian","css","2026-11-10 10:12:30",false,"---\ncreated: 2026-04-30\nmodified: 2026-09-22\nreviewed: 2026-09-22\nname: dev-tools\ndescription: \"Obsidian plugin\u002Ftheme dev: DevTools, CDP, JS eval, console\u002Ferror buffers, CSS\u002FDOM inspection, mobile emulation, screenshots. Use when debugging the app.\"\nuser-invocable: false\nallowed-tools: Bash(obsidian *), Read, Grep, Glob\n---\n\n# Obsidian Developer Tools\n\n## When to Use This Skill\n\n| Use this skill when... | Use the alternative instead when... |\n|---|---|\n| Developing or debugging a community plugin \u002F theme | Enabling or disabling plugins as a user — use `plugins-themes` |\n| Running JavaScript against the live `app` API | Triggering an Obsidian command — use `command-palette` |\n| Inspecting CSS or DOM in the running app | Switching themes or snippets in normal use — use `plugins-themes` |\n| Capturing console errors during agent-run plugin tests | Reading note content — use `vault-files` |\n\nThese commands are **for development and diagnostics**. They expose the same\nsurface as the in-app DevTools window plus a captured buffer of console\noutput and JavaScript errors that survives between calls — the leverage\npoint for agentic plugin testing.\n\n## Prerequisites\n\n- Obsidian desktop 1.12.7+ installer with CLI enabled\n- Obsidian must be running\n- For `dev:debug` and `dev:cdp`: Chrome DevTools Protocol available\n  (Electron-based Obsidian — true on desktop)\n\n## DevTools Window\n\n```bash\n# Toggle the in-app DevTools panel\nobsidian devtools\n```\n\n## Eval JavaScript\n\n```bash\n# Read state from the live app\nobsidian eval code=\"app.vault.getFiles().length\"\nobsidian eval code=\"app.workspace.getActiveFile()?.path\"\n\n# Drive the app — anything you could type in the DevTools console\nobsidian eval code=\"app.commands.executeCommandById('editor:toggle-bold')\"\n\n# Multi-statement: wrap in an IIFE\nobsidian eval code=\"(()=>{const f=app.vault.getFiles();return f.filter(x=>x.extension==='md').length})()\"\n```\n\n`eval` returns the expression's value (or last statement's value in an IIFE)\nserialised to text. Use `JSON.stringify(...)` inside the expression for\nstructured output you can parse downstream.\n\n## Captured Console & Errors\n\nThe CLI maintains rolling buffers of `console.*` calls and JavaScript errors\nfrom the running app — invaluable for agent-driven plugin testing where the\nagent doesn't have the DevTools window open.\n\n```bash\n# Recent console messages (default limit 50)\nobsidian dev:console\nobsidian dev:console limit=200\nobsidian dev:console level=error\nobsidian dev:console level=warn\n\n# Clear the console buffer (e.g. before a test run)\nobsidian dev:console clear\n\n# Captured JS errors\nobsidian dev:errors\nobsidian dev:errors clear\n```\n\nTypical agent loop:\n\n```bash\nobsidian dev:errors clear\nobsidian dev:console clear\nobsidian plugin:reload id=my-plugin\nobsidian command id=my-plugin:run-test\nobsidian dev:errors        # any uncaught exceptions?\nobsidian dev:console level=error\n```\n\n## CSS Inspection\n\n```bash\n# All CSS rules matching a selector, with source location\nobsidian dev:css selector=\".workspace-leaf\"\n\n# Filter to one property\nobsidian dev:css selector=\".workspace-leaf\" prop=background-color\n```\n\nUseful for tracking down which snippet or theme is winning a cascade.\n\n## DOM Query\n\n```bash\n# First match — full outerHTML\nobsidian dev:dom selector=\".nav-folder-title\"\n\n# Inner HTML only\nobsidian dev:dom selector=\".nav-folder-title\" inner\n\n# Just the text content\nobsidian dev:dom selector=\".nav-folder-title\" text\n\n# All matches (not just the first)\nobsidian dev:dom selector=\".nav-folder-title\" all\n\n# Element count\nobsidian dev:dom selector=\".nav-folder-title\" total\n\n# Read an attribute or computed CSS prop\nobsidian dev:dom selector=\".workspace-leaf.mod-active\" attr=data-type\nobsidian dev:dom selector=\".workspace-leaf.mod-active\" css=display\n```\n\n## Chrome DevTools Protocol (CDP)\n\n```bash\n# Attach the CDP debugger\nobsidian dev:debug on\nobsidian dev:debug off\n\n# Run an arbitrary CDP method\nobsidian dev:cdp method=Page.captureScreenshot\nobsidian dev:cdp method=Runtime.evaluate params='{\"expression\":\"location.href\"}'\n```\n\nCDP is the right tool when `eval` is too coarse — anything you'd reach for\nin `chrome:\u002F\u002Finspect`.\n\n## Screenshots & Mobile Emulation\n\n```bash\n# Capture the running window\nobsidian dev:screenshot path=\u002Ftmp\u002Fstate.png\n\n# Toggle mobile emulation (responsive testing without leaving desktop)\nobsidian dev:mobile on\nobsidian dev:mobile off\n```\n\n## Common Patterns\n\n### Plugin reload-test loop\n\n```bash\nobsidian dev:console clear\nobsidian dev:errors clear\nobsidian plugin:reload id=my-plugin\nobsidian command id=my-plugin:run-tests\nerrors=$(obsidian dev:errors)\n[ -z \"$errors\" ] && echo \"PASS\" || { echo \"FAIL\"; echo \"$errors\"; }\n```\n\n### Theme regression screenshots\n\n```bash\nfor theme in Default Minimal Things; do\n  obsidian theme:set name=\"$theme\"\n  obsidian dev:screenshot path=\"\u002Ftmp\u002Ftheme-$theme.png\"\ndone\n```\n\n### Probe the active workspace\n\n```bash\nobsidian eval code=\"JSON.stringify({file: app.workspace.getActiveFile()?.path, view: app.workspace.activeLeaf?.view?.getViewType()})\"\n```\n\n## Agentic Optimizations\n\n| Context | Command |\n|---------|---------|\n| Run JS, parseable output | `obsidian eval code=\"JSON.stringify(...)\"` |\n| Errors since last check | `obsidian dev:errors` |\n| Reset error buffer | `obsidian dev:errors clear` |\n| Console (errors only) | `obsidian dev:console level=error` |\n| DOM element count | `obsidian dev:dom selector=X total` |\n| Screenshot for diff | `obsidian dev:screenshot path=\u002Ftmp\u002FX.png` |\n| CSS source for property | `obsidian dev:css selector=X prop=Y` |\n\n## Related Skills\n\n- **plugins-themes** — Plugin\u002Ftheme lifecycle (install\u002Fenable\u002Freload\u002Fdisable)\n- **command-palette** — Trigger commands the plugin registers\n- **workspaces** — Set up the editor state before running diagnostics\n","# Obsidian Developer Tools\n\n## When to Use This Skill\n\n| Use this skill when... | Use the alternative instead when... |\n|---|---|\n| Developing or debugging a community plugin \u002F theme | Enabling or disabling plugins as a user — use `plugins-themes` |\n| Running JavaScript against the live `app` API | Triggering an Obsidian command — use `command-palette` |\n| Inspecting CSS or DOM in the running app | Switching themes or snippets in normal use — use `plugins-themes` |\n| Capturing console errors during agent-run plugin tests | Reading note content — use `vault-files` |\n\nThese commands are **for development and diagnostics**. They expose the same\nsurface as the in-app DevTools window plus a captured buffer of console\noutput and JavaScript errors that survives between calls — the leverage\npoint for agentic plugin testing.\n\n## Prerequisites\n\n- Obsidian desktop 1.12.7+ installer with CLI enabled\n- Obsidian must be running\n- For `dev:debug` and `dev:cdp`: Chrome DevTools Protocol available\n  (Electron-based Obsidian — true on desktop)\n\n## DevTools Window\n\n```bash\n# Toggle the in-app DevTools panel\nobsidian devtools\n```\n\n## Eval JavaScript\n\n```bash\n# Read state from the live app\nobsidian eval code=\"app.vault.getFiles().length\"\nobsidian eval code=\"app.workspace.getActiveFile()?.path\"\n\n# Drive the app — anything you could type in the DevTools console\nobsidian eval code=\"app.commands.executeCommandById('editor:toggle-bold')\"\n\n# Multi-statement: wrap in an IIFE\nobsidian eval code=\"(()=>{const f=app.vault.getFiles();return f.filter(x=>x.extension==='md').length})()\"\n```\n\n`eval` returns the expression's value (or last statement's value in an IIFE)\nserialised to text. Use `JSON.stringify(...)` inside the expression for\nstructured output you can parse downstream.\n\n## Captured Console & Errors\n\nThe CLI maintains rolling buffers of `console.*` calls and JavaScript errors\nfrom the running app — invaluable for agent-driven plugin testing where the\nagent doesn't have the DevTools window open.\n\n```bash\n# Recent console messages (default limit 50)\nobsidian dev:console\nobsidian dev:console limit=200\nobsidian dev:console level=error\nobsidian dev:console level=warn\n\n# Clear the console buffer (e.g. before a test run)\nobsidian dev:console clear\n\n# Captured JS errors\nobsidian dev:errors\nobsidian dev:errors clear\n```\n\nTypical agent loop:\n\n```bash\nobsidian dev:errors clear\nobsidian dev:console clear\nobsidian plugin:reload id=my-plugin\nobsidian command id=my-plugin:run-test\nobsidian dev:errors        # any uncaught exceptions?\nobsidian dev:console level=error\n```\n\n## CSS Inspection\n\n```bash\n# All CSS rules matching a selector, with source location\nobsidian dev:css selector=\".workspace-leaf\"\n\n# Filter to one property\nobsidian dev:css selector=\".workspace-leaf\" prop=background-color\n```\n\nUseful for tracking down which snippet or theme is winning a cascade.\n\n## DOM Query\n\n```bash\n# First match — full outerHTML\nobsidian dev:dom selector=\".nav-folder-title\"\n\n# Inner HTML only\nobsidian dev:dom selector=\".nav-folder-title\" inner\n\n# Just the text content\nobsidian dev:dom selector=\".nav-folder-title\" text\n\n# All matches (not just the first)\nobsidian dev:dom selector=\".nav-folder-title\" all\n\n# Element count\nobsidian dev:dom selector=\".nav-folder-title\" total\n\n# Read an attribute or computed CSS prop\nobsidian dev:dom selector=\".workspace-leaf.mod-active\" attr=data-type\nobsidian dev:dom selector=\".workspace-leaf.mod-active\" css=display\n```\n\n## Chrome DevTools Protocol (CDP)\n\n```bash\n# Attach the CDP debugger\nobsidian dev:debug on\nobsidian dev:debug off\n\n# Run an arbitrary CDP method\nobsidian dev:cdp method=Page.captureScreenshot\nobsidian dev:cdp method=Runtime.evaluate params='{\"expression\":\"location.href\"}'\n```\n\nCDP is the right tool when `eval` is too coarse — anything you'd reach for\nin `chrome:\u002F\u002Finspect`.\n\n## Screenshots & Mobile Emulation\n\n```bash\n# Capture the running window\nobsidian dev:screenshot path=\u002Ftmp\u002Fstate.png\n\n# Toggle mobile emulation (responsive testing without leaving desktop)\nobsidian dev:mobile on\nobsidian dev:mobile off\n```\n\n## Common Patterns\n\n### Plugin reload-test loop\n\n```bash\nobsidian dev:console clear\nobsidian dev:errors clear\nobsidian plugin:reload id=my-plugin\nobsidian command id=my-plugin:run-tests\nerrors=$(obsidian dev:errors)\n[ -z \"$errors\" ] && echo \"PASS\" || { echo \"FAIL\"; echo \"$errors\"; }\n```\n\n### Theme regression screenshots\n\n```bash\nfor theme in Default Minimal Things; do\n  obsidian theme:set name=\"$theme\"\n  obsidian dev:screenshot path=\"\u002Ftmp\u002Ftheme-$theme.png\"\ndone\n```\n\n### Probe the active workspace\n\n```bash\nobsidian eval code=\"JSON.stringify({file: app.workspace.getActiveFile()?.path, view: app.workspace.activeLeaf?.view?.getViewType()})\"\n```\n\n## Agentic Optimizations\n\n| Context | Command |\n|---------|---------|\n| Run JS, parseable output | `obsidian eval code=\"JSON.stringify(...)\"` |\n| Errors since last check | `obsidian dev:errors` |\n| Reset error buffer | `obsidian dev:errors clear` |\n| Console (errors only) | `obsidian dev:console level=error` |\n| DOM element count | `obsidian dev:dom selector=X total` |\n| Screenshot for diff | `obsidian dev:screenshot path=\u002Ftmp\u002FX.png` |\n| CSS source for property | `obsidian dev:css selector=X prop=Y` |\n\n## Related Skills\n\n- **plugins-themes** — Plugin\u002Ftheme lifecycle (install\u002Fenable\u002Freload\u002Fdisable)\n- **command-palette** — Trigger commands the plugin registers\n- **workspaces** — Set up the editor state before running diagnostics\n",{"name":5,"created":61,"modified":62,"reviewed":62,"description":7,"allowed-tools":63,"user-invocable":57},1777507200000,1790035200000,"Bash(obsidian *), Read, Grep, Glob","main","bdd0582f1a2ba53d21061835bfd72d45f2f954f4","obsidian-plugin\u002Fskills\u002Fdev-tools",6,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins","https:\u002F\u002Fgithub.com\u002Flaurigates","Linux enthusiast, cloud engineer, neovim addict, electronics hobbyist.","2026-11-15 03:36:11",{"source":9,"skillName":5,"commands":73,"prompt":83,"zipAvailable":84},[74,77,80],{"tool":75,"command":76},"npx","npx skills add laurigates\u002Fclaude-plugins --skill dev-tools",{"tool":78,"command":79},"bunx","bunx skills add laurigates\u002Fclaude-plugins --skill dev-tools",{"tool":81,"command":82},"pnpm","pnpm dlx skills add laurigates\u002Fclaude-plugins --skill dev-tools","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fobsidian-plugin\u002Fskills\u002Fdev-tools\u002FSKILL.md",true,[],[87,95,116,136,152,175],{"skillNo":88,"name":89,"nameZh":17,"description":90,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":94},"01M7DS1CAJ1ESDX08PENF01J0S","session-workflow-capture","Workflow-tool scripts and workflow friction from this session, filed as issues here or in the plugins repo. Use when a session ran Workflow scripts.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fsession-plugin\u002Fskills\u002Fsession-workflow-capture\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":96,"name":97,"nameZh":17,"description":98,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":56},"01M70PFHMH9ADY0CRE6047Y4B2","kitty-show-image","Show the user an image with a note on what to judge, via a file send or a labelled kitty tab. Use when the user must see an image, or icat fails with no \u002Fdev\u002Ftty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-show-image\u002FSKILL.md",[],[102,103,104,105,106,107,108,109,110,31,44,37,49,111,112,113,114,115,36,45],"show","kitty show image","image","kitty","show image","ls","get","send","open","file","text","with","xdg","via",{"skillNo":117,"name":118,"nameZh":17,"description":119,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":56},"01M70PFEN18HKQ4RCQ1VPGMPTB","kitty-session-persistence","Snapshot and restore kitty terminal sessions on macOS. Use when surviving WindowServer hangs without losing tabs, configuring snapshots, or restoring after a force-reboot.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-session-persistence\u002FSKILL.md",[],[105,123,124,125,40,126,37,49,127,128,129,36,45,130,131,132,133,134,135,44],"kitty session persistence","session","persistence","snapshots","uname","reboot","terminal","write","edit","snapshot","macos","sessions","restore",{"skillNo":137,"name":138,"nameZh":17,"description":139,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":56},"01M70PFC77XGXCVQ1543VGZHYR","kitty-remote-control","Safe kitty remote control from an agent — read panes with kitty @ ls\u002Fget-text, notify, and never mutate the live terminal unasked. Use when running inside kitty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-remote-control\u002FSKILL.md",[],[143,144,105,145,146,107,147,148,108,149,150,44,37,151,49,112,113,129,36,45],"kitty remote control","remote","control","remote control","running","never","panes","notify","query",{"skillNo":153,"name":154,"nameZh":17,"description":155,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":56},"01M70P6WVMCT5JG4SACTM69AF9","docs-reference-check","Dangling doc-reference gate: flag markdown naming repo paths or relative links that no longer exist. Use when docs cite moved\u002Fdeleted files, or wiring a doc-drift lint.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fdocumentation-plugin\u002Fskills\u002Fdocs-reference-check\u002FSKILL.md",[],[159,160,161,162,163,164,165,166,167,168,44,37,49,169,111,170,171,172,173,174],"docs reference check","check","reference check","reference","docs","links","python3","repo","files","auto","drift","lint","wiring","chezmoi","references","cp",{"skillNo":176,"name":177,"nameZh":178,"description":179,"descriptionZh":180,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":181,"categories":182,"keywords":189,"publishedAt":56},"01M6C6NDE7DAQGNWSF22J5CJ0Z","youtube-upload","YouTube 视频上传与编辑","Upload a video to YouTube via the Data API v3 and edit its title, description, tags or thumbnail afterwards. Use when publishing or retitling a YouTube video.","通过 Data API v3 将视频上传到 YouTube，并在之后编辑其标题、描述、标签或缩略图。适用于发布 YouTube 视频或修改其标题。","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fyoutube-plugin\u002Fskills\u002Fyoutube-upload\u002FSKILL.md",[183,186],{"categoryNo":184,"categoryName":185,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98WRP4APE9VKKKKJ6FV","社交媒体与内容平台管理",{"categoryNo":187,"categoryName":188,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C55A3R2M9C8CAKG3W16HTA","内容创作者",[190,191,192,193,165,194,45,195,131,196,197,198,44,49,111,199,200,37,201,202,203,115,36],"youtube upload","upload","youtube","Video","run","uv run","publishing","data","uv","api","v3","tags","id","title"]