Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Worktree Viewer

Sebastian WinklerSebastian Winkler55 downloads

Watch git worktrees live from your vault: agent presence dots, per-worktree diffs and previews, one-click commit and pull request creation.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

Watch AI agents (or anyone) work in git worktrees, live, from inside your vault — then accept their work with one click.

Every Obsidian git plugin versions your vault. This one inverts that: your vault becomes the cockpit for repos changing beneath it. Built for the parallel-agent era — run several Claude Code sessions in worktrees and watch their edits stream in while you write.

What it does

  • Live worktree panel — every worktree of your repo, refreshed every 4s while open (and fully idle when closed). No flicker: rows re-render only when their state changes, and your own typing doesn't redraw agent rows.
  • Agent presence dots — a pulsing dot on any worktree where a Claude Code session is actively writing, read from the session's own transcripts. "idle 4m" when it stops.
  • Changed files per worktree — diffed against the merge-base (no phantom changes after siblings merge), untracked files included, click any file for a colored diff or a fully rendered preview of the worktree's version of the note.
  • Commit all & create PR — one click commits the agent's uncommitted work, pushes the branch, and opens a pull request (via gh, with a GitHub compare-page fallback). Nothing is deleted; the worktree stays until the PR merges.
  • Safe by construction — all polling uses --no-optional-locks so the plugin never contends with your agents' own git operations.

Install

In Obsidian: Settings → Community plugins → Browse, search for "Worktree Viewer", install and enable. (Directory listing)

Manual: download main.js, manifest.json, styles.css from the latest release into <vault>/.obsidian/plugins/worktree-viewer/, then enable it in Settings → Community plugins.

Setup

Settings → Worktree Viewer → Repository path: the absolute path of the git repo whose worktrees you want to watch (defaults to the vault folder). Works when the vault is a subfolder of the repo. Then open the panel via the git-branch ribbon icon.

Requirements: desktop only; git on PATH; gh (optional — enables direct PR creation, otherwise you get the GitHub compare page).

Disclosures

Per Obsidian's developer policies, this plugin:

  • Accesses files outside your vault. That is its purpose: it reads the git repository you configure in settings (which may contain your vault), its worktrees, and — for the agent presence dots — file modification times and the cwd field of Claude Code session transcripts under ~/.claude/projects/. All reads are local; transcript contents are never displayed, stored, or transmitted.
  • Executes local binaries. It shells out to your installed git (read-only polling with --no-optional-locks; write operations only when you explicitly click Create PR) and, optionally, the GitHub CLI (gh).
  • Uses the network only on your explicit action. Clicking "Create PR" runs git push to your repository's origin remote and creates a pull request via gh (or opens the GitHub compare page). There is no other network activity — no telemetry, no ads, no update mechanism, no remote code.

Development

Plain JavaScript, no build step, zero dependencies. Tests use node's built-in runner:

node --test

The suite includes scratch-repo integration tests that exercise real git worktrees, pushes, and the PR sequence against a local bare origin.

License

MIT © Sebastian Winkler

HealthExcellent
ReviewSatisfactory
About
Watch AI agents or collaborators work live in your repo's git worktrees from inside your vault, with presence dots and per-worktree changed-file lists. Review colored diffs or rendered previews and accept agent work with one click to commit, push, and open a pull request.
GitReviewCollaboration
Details
Current version
0.3.2
Last updated
4 weeks ago
Created
4 weeks ago
Updates
3 releases
Downloads
55
Compatible with
Obsidian 1.0.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
Sebastian WinklerSebastian Winklersjwinkler19
GitHubsjwinkler19
  1. Community
  2. Plugins
  3. Git
  4. Worktree Viewer

Related plugins

Git

Integrate Git version control with automatic backup and other advanced features.

Fit

Minimalist File gIT (FIT) to sync your files across mobile and desktop devices using GitHub.

GitHub

GitHub Sync

Sync vault to personal GitHub.

Journal Review

Review your daily notes on their anniversaries, like "what happened today last year".

Simple Note Review

Simple, customizable plugin for easy note review, resurfacing and repetition.

Quartz Syncer

Manage and publish your notes to Quartz, the fast, batteries-included static-site generator.

Plugin Update Tracker

Know when installed plugins have updates and evaluate the risk of upgrading.

Note Linker

Automatically find and create new links between notes.

LearnKit

A native study system for your Obsidian vault. LearnKit turns notes into durable knowledge with flashcards, spaced repetition, tests, and more.

Relay

Collaborate in real time with live cursors. Share folders. Manage access to updates.