work-plan toolkit

Work Plan Viewer: the VS Code extension for work-plan

Work Plan Viewer (stylusnexus.work-plan-viewer, listed as "Work Plan") is the free, MIT-licensed VS Code extension for the work-plan toolkit: it shows your tracks as a sidebar tree and a Mermaid dependency graph, and lets you edit them without leaving the editor.

It contains no planning logic of its own; every read goes through work-plan export --json and every write runs a work-plan CLI subcommand, so the extension and the CLI never disagree.

What Work Plan Viewer shows

Work Plan Viewer adds a Work Plan container with two views, Tracks and Plans, to the VS Code activity bar.

Dependency graph for the track platform-health showing next-up issues #487 and #1556, a depends-on edge to the idea-mode track and blocking issue #4821, above the detail panel's issue table grouped by milestone.
The dependency graph and track detail panel.
The Untracked node in the Work Plan sidebar with three open issues and a context menu item reading Work Plan: Slot Untracked Issue into Track.
The Untracked bucket: open issues no track references, one right-click from a track.

What Work Plan Viewer can change

Every action in Work Plan Viewer runs a work-plan CLI command, and writes into a public repository first show a confirm dialog.

A confirmation dialog stating that stylusnexus/work-plan-toolkit is public or of unknown visibility and the edit will be written there, with Write anyway, Keep private and Cancel buttons.
The public-repo confirm dialog shown before any write into a public repository.
The empty Work Plan Tracks view reading No work-plan repos yet, with an Add a repo button and a Set notes location button.
Starting from empty: add a repo and choose where private notes live.
The Tracks view overflow menu listing Work Plan: New Track, Add Repo, Set Notes Location and Run Hygiene.
The view's overflow menu: New Track, Add Repo, Set Notes Location and Run Hygiene.

Install Work Plan Viewer

Install the extension from either registry, then install the work-plan CLI that it drives.

  1. Install the extension from the VS Code Marketplace or Open VSX (for VSCodium, Cursor and Windsurf), or run code --install-extension stylusnexus.work-plan-viewer.
  2. Install the CLI: npm install -g @stylusnexus/work-plan, or any method on the install section of the overview.
  3. If VS Code cannot find work-plan on its PATH, which is common when it is opened from the Dock or Finder, set workPlan.cliPath to an absolute launcher path and reload the window.

In WSL, Remote-SSH and dev containers the extension runs in the remote environment, so install the CLI, gh, python3 and yq there and sign in with gh auth login inside it.

Requirements

Work Plan Viewer needs VS Code 1.90.0 or later and the work-plan CLI on your PATH or at workPlan.cliPath.

The CLI in turn needs Python 3.9+, git, a signed-in gh and mikefarah yq 4.x. The extension checks the CLI version when it starts and says when an update is needed.

Settings

Work Plan Viewer has 9 settings, all under the workPlan. prefix; the gear button in the view title opens them.

Work Plan Viewer settings
SettingDefaultWhat it does
workPlan.cliPath"work-plan"Path to the work-plan CLI launcher. Set an absolute path if VS Code cannot find the CLI on its PATH, then reload the window.
workPlan.trackStaleDays14Days without activity before an active, in-progress or blocked track counts as stale. Drives the Stale tracks lens; display only.
workPlan.autoRefreshInterval0 (off)Re-poll the CLI in the background every 30, 60, 300 or 900 seconds, useful when teammates push shared-track changes.
workPlan.expandReposByDefaultfalseExpand all repo groups on load. A single-repo workspace always expands.
workPlan.autoFocusRepofalseWhen the open folder is a configured repo, scope the Tracks view to that repo.
workPlan.showNextUpPresettrueShow the active next-up ranking preset in the track detail panel.
workPlan.stallDays"match"How long a plan's declared files can go without a commit before the Plans view calls it stalled: match the CLI, or 14, 30, 45, 60 or 90 days.
workPlan.plansAutoRefreshtrueRe-scan a repo's plans when its git refs change, without a manual refresh.
workPlan.autoSlotConfidenceThreshold0.7Confidence cutoff (0 to 1) for an auto-slot suggestion to land in the one-click Suggested bucket.

See the Work Plan Viewer README for every command and the release history, or the CLI command reference for the commands the extension runs.