Skip to content
Back to skills

Zotero Rdp Debug

ASecurity

Ground truth from the running Zotero plugin over RDP. Use to inspect Zotero runtime state, to diagnose an observer or notifier that misfires, or to verify the plugin's outbound HTTP notifications. Also covers "debug the plugin" or "check it in Zotero."

  • 1,096 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 14, 2026
researchgoexpressdatabase

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 14, 2026

npx -y skills add aidenlx/zotlit --skill zotero-rdp-debug --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Zotero Rdp Debug?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Zotero Rdp Debug
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aidenlx-zotero-rdp-debug/badge)](https://www.skillsdirectory.com/skills/aidenlx-zotero-rdp-debug)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: zotero-rdp-debug
description: |
  Ground truth from the running Zotero plugin over RDP. Use to inspect Zotero runtime state,
  to diagnose an observer or notifier that misfires, or to verify the plugin's outbound HTTP
  notifications. Also covers "debug the plugin" or "check it in Zotero."
---

# Debug the Zotero plugin over RDP

Source tells you what should happen; the running app tells you what does. Evaluate in
Zotero's parent process with `packages/scripts/scripts/zotero-rdp.ts` (written `zotero-rdp.ts`
below), run from the repo root.

1. **Contract** — run `zotero-rdp.ts --help`. Done when you know how it finds the port, how
   to write a sync and an async expression, and what its exit codes mean.
2. **Paired Run** — reuse a running one: the Fixture database admits one Zotero, so a second
   launch fails. Otherwise start one in the background — it keeps running after readiness
   (prerequisites: `docs/fixture.md`, "Run a Paired Run"):
   `pnpm fixture dev --for <duration> > .scratch/fixture-dev.log 2>&1 &`. It holds a Desktop Slot for that Lease (up to 60 min), so it also wraps the walk; exit 75 in the log means blocked by the holder it names. Done when `zotero-rdp.ts 'Zotero.version'` prints a version — the
   Fixture's Zotero, which can differ from the source checkout.
3. **Probe** — evaluate until the runtime answers your question. Eval can also drive the app
   (open readers, select tabs, save items) and fires the same notifiers and observers as a
   user action does.
4. **Stop** — once the question is answered, stop a Paired Run you started. Send SIGINT to
   the whole process group of `pnpm fixture dev`, as `Ctrl-C` does:
   `kill -INT -- -<pgid>`. SIGINT to the inner `fixture.ts` process alone leaves the run and
   its Zotero up. Close a Paired Zotero that `pnpm fixture open` started with
   `pnpm fixture stop`. Leave a reused run up. Done when `zotero-rdp.ts 'Zotero.version'` reports
   no live Paired Run.

## Gotchas

- **`Zotero.Prefs.get` prepends `extensions.zotero.`** unless the second argument is `true`.
  `Zotero.Prefs.get("extensions.zotlit.notify")` returns `undefined`; use
  `Zotero.Prefs.get("extensions.zotlit.notify", true)`.
- **Notifier types are validated.** An unknown type string throws. When an observer never
  fires, confirm in the Zotero source that `Zotero.Notifier.trigger` runs for that event and
  type.

## Outbound HTTP

When the question is whether a notification leaves Zotero, follow
[capture-server.md](capture-server.md).

Files in this skill

  • SKILL.md2.5 KB
  • capture-server.md868 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in research →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.