Debug Obsidian
saberzero1/quartz-syncer
Debug and investigate plugin issues in a running Obsidian instance — collect diagnostic data, inspect state, trace events, and identify root causes via the operability facade.
Drive the running Obsidian instance to verify plugin changes — build, reload, eval, screenshot.
$ npx skills add aidenlx/zotlit --skill obsidian-debug -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aidenlx/zotlit obsidian-debug --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/aidenlx/zotlit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/obsidian-debug .claude/skills/obsidian-debug && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "obsidian-debug" agent skill from https://github.com/aidenlx/zotlit/tree/main/.agents/skills/obsidian-debug into .claude/skills/obsidian-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "obsidian-debug", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/aidenlx/zotlit/tree/main/.agents/skills/obsidian-debugType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add aidenlx/zotlit --skill obsidian-debug -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aidenlx/zotlit obsidian-debug --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aidenlx/zotlit.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/obsidian-debug .agents/skills/obsidian-debug && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "obsidian-debug" agent skill from https://github.com/aidenlx/zotlit/tree/main/.agents/skills/obsidian-debug into .agents/skills/obsidian-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "obsidian-debug", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aidenlx/zotlit --skill obsidian-debug -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aidenlx/zotlit obsidian-debug --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aidenlx/zotlit.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/obsidian-debug .cursor/skills/obsidian-debug && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "obsidian-debug" agent skill from https://github.com/aidenlx/zotlit/tree/main/.agents/skills/obsidian-debug into .cursor/skills/obsidian-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "obsidian-debug", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/aidenlx/zotlit.git --path .agents/skills/obsidian-debug--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add aidenlx/zotlit --skill obsidian-debug -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aidenlx/zotlit obsidian-debug --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aidenlx/zotlit.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/obsidian-debug .gemini/skills/obsidian-debug && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "obsidian-debug" agent skill from https://github.com/aidenlx/zotlit/tree/main/.agents/skills/obsidian-debug into .gemini/skills/obsidian-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "obsidian-debug", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install aidenlx/zotlit obsidian-debugInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add aidenlx/zotlit --skill obsidian-debug -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aidenlx/zotlit.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/obsidian-debug .github/skills/obsidian-debug && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "obsidian-debug" agent skill from https://github.com/aidenlx/zotlit/tree/main/.agents/skills/obsidian-debug into .github/skills/obsidian-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "obsidian-debug", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aidenlx/zotlit --skill obsidian-debug -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aidenlx/zotlit obsidian-debug --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aidenlx/zotlit.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/obsidian-debug .opencode/skills/obsidian-debug && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "obsidian-debug" agent skill from https://github.com/aidenlx/zotlit/tree/main/.agents/skills/obsidian-debug into .opencode/skills/obsidian-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "obsidian-debug", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
obsidian-debugDrive the running Obsidian instance to verify plugin changes — build, reload, eval, screenshot.
Obsidian Debug is an agent skill from aidenlx/zotlit. Drive the running Obsidian instance to verify plugin changes — build, reload, eval, screenshot. Use after editing plugin UI or behavior to confirm the change works in the real app, when debugging why something looks wrong at runtime, or when another skill says "verify in Obsidian." Also use when the user asks to test, check, run, or screenshot the plugin.
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Debugging. It works with Obsidian. The repository describes itself as: Bring your Zotero library into Obsidian. Create literature notes, insert citations, and annotate PDFs without leaving your vault. The licence is AGPL-3.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 27f5752. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pnpmvaultFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
obsidian.mdFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Obsidian Debug loads about 1.5k tokens when it runs. Until then it costs about 93 tokens; SKILL.md has 698 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from aidenlx/zotlit at commit 27f5752, republished under its AGPL-3.0 licence (© aidenlx). 698 words, ~1,497 tokens.
.claude/skills/obsidian-debug/SKILL.md (or your agent's skills folder).Drive the running Obsidian app through obsidian to verify plugin changes against real
rendered state. The DOM is the source of truth.
obsidian version. If the command is missing, follow the official
Obsidian CLI installation guide,
then restart the terminal. Use the registered obsidian command on every
platform.packages/scripts/scripts/obsidian-vault.ts --help.<command> --help output.packages/scripts/scripts/obsidian-vault.ts check. Vault setup is
complete when the command succeeds. Follow its recovery instructions when
it fails.open command to prepare this
worktree's Development Vault:pnpm --filter @zotlit/obsidian build:devEditing the Fixture Spec or its committed vault-page assets changes the next
Fixture build, not the open Development Vault. Use the live open command
before you look for those changes. Use the live remove command when you tear
the vault down.
| Command | What it does |
|---|---|
obsidian vault=<id> plugin:reload id=zotlit | Reload the plugin after a build |
obsidian vault=<id> commands filter=zotlit | List available plugin commands |
obsidian vault=<id> command id=zotlit:<cmd> | Run a command |
obsidian vault=<id> eval code='<js>' | Run JS in the app, returns the value |
obsidian vault=<id> dev:screenshot path=<abs> | Capture the window (absolute path required) |
obsidian vault=<id> dev:errors | Captured errors |
obsidian vault=<id> dev:console | Console output |
The CLI always exits 0. Read the output text: => prefixes a result, and failures come back as
Error: … or Vault not found.
pnpm --filter @zotlit/obsidian build:dev copies the bundle into
this worktree's Development Vault.obsidian vault=<id> plugin:reload id=zotlit.obsidian command id=zotlit:<cmd>, or eval to mount a view in a specific split.obsidian eval code='…' with getComputedStyle(el) /
el.getBoundingClientRect() to assert what actually rendered. A computed-style assertion is
worth more than eyeballing a screenshot, and it is the only way to catch a state that expires
on its own — a flash class is gone by the time the capture lands.obsidian dev:screenshot path=<absolute-path>. Save inside the workspace.obsidian dev:errors / obsidian dev:console.Values change through code, and DOM ops check how the UI looks and behaves.
| Target | Expression |
|---|---|
| Obsidian app config | app.vault.setConfig(key, value) |
| ZotLit setting | app.plugins.plugins.zotlit.settingTab.setControlValue("citation.at-trigger", false) |
setControlValue runs the same SettingsService path the rendered control does and persists to
the plugin's data.json; getControlValue reads the effective value back. Read the value first
and put it back when you are done.
app.setting.open() renders into a separate Electron window by default since 1.13.4, and eval,
dev:dom, and dev:screenshot all address the main one — so settings read as never opened. Run
/obsidian-settings → "Verifying on screen" for the config that brings the modal back into the
main window, and for reaching the separate window when its own chrome is the thing under test.
await in evalCode runs in a non-async wrapper — top-level await is a syntax error. Fire the promise and
verify in a follow-up eval, or grab references synchronously. Hold the leaf from getLeaf(...)
and revealLeaf(it) in the same call rather than re-querying getLeavesOfType(...) after an
async setViewState (races, returns []).
A capture taken right after reload or revealLeaf may show old DOM while the change is already
live. Cross-check against an eval DOM/computed-style query — if they disagree, the DOM query
wins. Re-shoot. A DevTools window open over Obsidian can also steal the capture — close it first.
An untargeted command goes to the focused window, which may belong to another worktree. Pass
vault=<id>, and confirm with eval code='app.vault.adapter.basePath' — it must print the
Development Vault path reported by obsidian-vault.ts --help for the worktree you build
from. data.json edits target that same path.
When document.visibilityState === "hidden", scroll events don't dispatch and the compositor
stops repainting — scroll-driven UI (e.g. TanStack Virtual) looks frozen and screenshots return
stale frames. Drive scrolling with el.scrollTop = x; el.dispatchEvent(new Event("scroll")) and
assert via DOM queries.
Build a Stress Build with pnpm fixture stress. Read the current Device Override before you
change it:
obsidian vault=<id> eval \
code='app.plugins.plugins.zotlit.services.zoteroPref.dataDirOverride'Point the live plugin at the absolute tmp/acceptance-fixture/zotero-data path:
obsidian vault=<id> eval \
code='app.plugins.plugins.zotlit.services.zoteroPref.setDataDir("<absolute path>")'Afterwards, call setDataDir again with the previous value, or null when it was empty. This
restores the vault-scoped Device Override and reconnects the database service.
© aidenlx, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/obsidian-debug of aidenlx/zotlit.
Open the folder on GitHubat commit 27f5752
Obsidian Debug next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Obsidian Debug this skillaidenlx/zotlit | 1k | — | ~1.5k | Automated safety check: Pass | AGPL-3.0 | |
| Debug Obsidiansaberzero1/quartz-syncer | 139 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Obsidian CLI Devtoolshashgraph-online/awesome-codex-plugins | 1.2k | — | ~874 | Automated safety check: Pass | Apache-2.0 | |
| Self LearnPratiyush/llm-wiki | 395 | — | ~1.6k | Automated safety check: Pass | MIT | |
| JSON Canvasheyitsnoah/claudesidian | 2.6k | 18 repos | ~3.5k | Automated safety check: Pass | MIT | |
| Trellis Session Insightmindfold-ai/Trellis | 15k | 4 repos | ~1.7k | Automated safety check: Pass | AGPL-3.0 |
saberzero1/quartz-syncer
Debug and investigate plugin issues in a running Obsidian instance — collect diagnostic data, inspect state, trace events, and identify root causes via the operability facade.
hashgraph-online/awesome-codex-plugins
A skill your agent uses when the user needs Obsidian runtime debugging or developer introspection through official desktop Obsidian CLI developer commands, including devtools, console/errors…
Pratiyush/llm-wiki
Extract reusable patterns from recent sessions, propose framework improvements, and (with approval) update the framework docs.
heyitsnoah/claudesidian
Create and edit JSON Canvas files (.canvas) with nodes, edges, groups, and connections.
mindfold-ai/Trellis
Reach into past AI conversation history through the trellis mem CLI.
CherryHQ/cherry-studio-app
A skill your agent uses when implementing or debugging ANY network request, API call, or data fetching.
aidenlx/zotlit
Obsidian house style for the wording of user-facing UI strings — command names, setting labels, button text, notices, modal copy.
aidenlx/zotlit
Style Obsidian plugin UI with Tailwind + native components. An agent skill from aidenlx/zotlit.
aidenlx/zotlit
Typed regex authoring with arkregex in this repo. An agent skill from aidenlx/zotlit.
aidenlx/zotlit
Write a user-facing changelog entry under apps/docs/content/changelog/.
aidenlx/zotlit
Draft a Discord announcement from a changelog entry. An agent skill from aidenlx/zotlit.
aidenlx/zotlit
Define ZotLit UI messages in the Inlang Message Format and consume them through the generated JSON Language Pack facade.
Works with
Categories
Drive the running Obsidian instance to verify plugin changes — build, reload, eval, screenshot. Obsidian Debug is an agent skill from aidenlx/zotlit. Drive the running Obsidian instance to verify plugin changes — build, reload, eval, screenshot.
Obsidian Debug fits situations like: the user asks to test; screenshot the plugin.
Run `npx skills add aidenlx/zotlit --skill obsidian-debug -a claude-code`. Or copy the skill folder (.agents/skills/obsidian-debug in aidenlx/zotlit) into .claude/skills/obsidian-debug in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aidenlx/zotlit --skill obsidian-debug -a codex`. Or copy the skill folder (.agents/skills/obsidian-debug in aidenlx/zotlit) into .agents/skills/obsidian-debug in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aidenlx/zotlit --skill obsidian-debug -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/obsidian-debug, .gemini/skills/obsidian-debug, .github/skills/obsidian-debug and .opencode/skills/obsidian-debug in your project.
Going by SKILL.md and its folder, Obsidian Debug needs the command-line tools its instructions call (pnpm and vault).
SKILL.md names 1 domain. As links in the text: obsidian.md. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Obsidian Debug is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Obsidian Debug: Debug Obsidian (saberzero1/quartz-syncer, 139 stars), Obsidian CLI Devtools (hashgraph-online/awesome-codex-plugins, 1.2k stars), Self Learn (Pratiyush/llm-wiki, 395 stars) and JSON Canvas (heyitsnoah/claudesidian, 2.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
aidenlx (a GitHub user) maintains it in aidenlx/zotlit, which has 1,026 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on October 7, 2026.
Source: aidenlx/zotlit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.