Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>SpecwatchNew to Visual Studio Code? Get it now.
Specwatch

Specwatch

wavecoders

| (0) | Free
Watch what an AI agent does at each stage of an OpenSpec change, live in VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Specwatch

Watch an AI agent work through an OpenSpec change, live, inside VS Code.

Specwatch adds an OpenSpec tab to the bottom Panel. It follows the change your AI agent is working on and shows what it is doing at each stage — explore, propose, apply, archive — as it happens, with the real progress of the change beside it.

Why use it

  • Know what the agent is doing without reading the chat. Each task becomes a box in a flow: gather information, make changes, run and check, ask you. A failed check shows a cross, so a failing test run is easy to spot.
  • See where a change really stands. Progress counts the documents written (proposal, specs, design, tasks), the tasks ticked in tasks.md, and whether the change is archived. It comes from your files, not from guesses.
  • Tell at a glance whether the agent is busy. The Active mark shows while the newest step is under a minute old, and Idle with the time since, when it is not.
  • See how far a test run is. While the Test Runner Panel reports a live run of your project (or one of its git worktrees), the chart shows a Running tests box with a progress ring, and its tooltip gives the files done, such as "217/447 files · 49%". The box goes when the run ends. Specwatch only reads the run files the test script writes, so it needs no connection to the extension and works the same without it.
  • Keep the live changes in view. A row of chips, one per change. A change gets a chip when the AI works on it. The row runs from the most recent activity to the least, so a chip moves to the front when its change gets a step, and the change you are looking at stays the same. A dot before each name shows how long ago the change last had activity: green under a minute, yellow up to ten minutes, red after. The state is also in the chip's tooltip, as Active, Idle or Stopped. Click a chip to follow that change, and use its (x) to remove it. A chip stays until you remove it, even when its change is idle, and it leaves by itself once its change is fully archived (while the archive step is still running, it stays). The row is remembered for the workspace. A removed chip comes back only when the AI works on its change again. Changes made in git worktrees get chips too, but creating a worktree does not add chips for the changes it checks out. On first use, the changes the AI worked on in the last 10 minutes get chips.
  • Work before a change exists. An explore chat that has not created a change yet gets a chip "Exploring · started 3:28 PM", with its steps. When it creates the change, that chip is replaced by the change's own. A chat's chip is not remembered after a reload.
  • Pick up work that is already running. Connect while a chat is mid-way and Specwatch finds its stage and follows it from the next step on.
  • Stay in control. Connecting changes a few files you can see in git, and one command undoes it. Nothing is sent anywhere.

Get started

  1. Open a project that has openspec/config.yaml.
  2. Open the bottom Panel (Cmd+J on macOS, Ctrl+J elsewhere) and choose the OpenSpec tab.
  3. Click Connect this project.
  4. Run an OpenSpec skill in Claude Code, for example /openspec-explore, /openspec-propose or /openspec-apply-change. The change gets a chip and its steps show up as they happen.

A Claude Code chat that was already open can keep going. Specwatch only needs it to have started an OpenSpec stage at some point.

What you see

  • A stepper of the four stages. Explore, Propose, Apply and Archive, each with its own colour. The stage with the newest step is open.
  • A flow of boxes in rows by kind of work: gather information, make changes, run and check, ask you.
  • A status area for the open stage: documents written for Propose, tasks ticked for Apply, and a checklist of the newest step. Click any box in the flow to list every task of that step. Under each task you see what it touched or brought back: the files read and the lines, what a search matched, the wiki pages it hit, the line numbers and changed lines of an edit, and each test of a run with a tick or a cross. Its colour follows the step.
  • A progress bar and percentage for the whole change, with the Active or Idle mark beside them.
  • A new change is followed at once. Start a change, for example with /openspec-explore, and its chip goes first in the row and is shown as soon as it appears. Work on a change that already has a chip does not move you.

The view is always live. It follows the newest step, and it does not replay or scrub through history.

Specwatch: Open in editor shows the same view as an editor tab.

What Connect changes

Connecting writes these files at once and then lists them:

Where What
~/.claude/hooks/specwatch-log.mjs the small logging script (outside the project)
~/.claude/settings.json hook entries for PostToolUse, PostToolUseFailure and UserPromptSubmit; a copy is saved first as settings.json.specwatch-backup (outside the project)
.specwatch/connected marks this project as connected
openspec/config.yaml a short block of guidance between # specwatch:start and # specwatch:end, telling the AI to start each stage through its OpenSpec skill; added to your context: text, or as a context: of its own if there is none
.gitignore the line .specwatch/

The hook runs for every Claude Code session on the machine and does nothing unless the project is connected.

To undo it:

  • Specwatch: Disconnect this project removes the marker and the guidance block. It asks first. The logs, the .gitignore line and the hook stay.
  • Specwatch: Remove hook from Claude settings removes the hook entries and the script from ~/.claude. It asks first.

Privacy: what is recorded

Specwatch keeps one line per tool call in .specwatch/events/<change>.jsonl inside the project. The folder is git-ignored and never leaves your machine. Each line holds:

  • the time, the session, the change and the stage
  • the kind of call (read, edit, command, lookup, question) and whether it passed or failed
  • a short text of at most 58 characters, with no folder path
  • a detail of at most 300 characters: the file path within the project and the lines read, the pattern a search used and the files it matched, the query of a wiki lookup and the paths of its hits, a command's own description, the test files a test command names and its pass and fail counts
  • for an edit of any other file, the changed lines as a small diff: the line numbers, the lines taken out and the lines put in, cut at 40 lines
  • for a write or edit of a change's proposal.md, design.md, tasks.md or spec.md, no diff and no text: its section titles with their item counts (up to 20), the titles of its decisions (up to 12) and the number of lines added and taken out, or of tasks ticked. An edit that touches no heading keeps only the line counts
  • for a wiki or knowledge-base search, the question (up to 200 characters) and up to 5 hits, each with its path, a title and a snippet of its text (up to 160 characters, without front matter or headings)
  • for a code-graph query, the question and up to 8 of the node names it returned
  • for a write or edit of a change's spec.md, up to 20 requirements it touched, each with its name, whether it was added, modified, removed or renamed, and its number of scenarios
  • for a test run, up to 40 test names, each marked passed or failed

It does not store whole files, more of a hit than its short snippet, command text, command output or your prompts. Changed lines are code, so treat .specwatch/ like your working tree: leave it out of git, and delete it if the project holds secrets you do not want copied into a log.

After you update the extension, run Specwatch: Connect this project once more: that refreshes the hook copy in ~/.claude/hooks, and until then new events do not carry the fields above. Events already in the log still show.

To tell which stage a chat is in, Specwatch reads the end of that chat's own transcript file on your machine, once, looking only for the last OpenSpec skill or command. It keeps nothing from the transcript but the stage.

How it works

  1. A Claude Code hook writes one line per tool call to the project's .specwatch/ folder, but only after the project is connected and an OpenSpec stage has started.
  2. The change comes from the openspec/<change> branch, from a path under openspec/changes/<change>/ in the call, from the change an openspec command names (such as openspec new change <name>), or from the change last seen in the same session. Steps taken before the change has a name are held and written once it does.
  3. The panel reads those lines, together with the change's files, and draws the view. It updates as the files change.

A git worktree writes to its main checkout's .specwatch/, so work done in a worktree shows up in the same list.

Commands

Command What it does
Specwatch: Connect this project Sets up the project, as described above.
Specwatch: Disconnect this project Removes the project's marker and guidance.
Specwatch: Remove hook from Claude settings Removes the hook from your Claude settings.
Specwatch: Open in editor Opens the view as an editor tab.

Requirements

  • VS Code 1.145 or later.
  • Claude Code, with hooks enabled.
  • A project that uses OpenSpec and has openspec/config.yaml.
  • node on your PATH, which the hook runs on.

Specwatch is an independent extension and is not affiliated with the makers of OpenSpec or Claude Code.

Troubleshooting

  • I can't find the tab. It is in the bottom Panel, not the sidebar. Press Cmd+J (Ctrl+J) to open the Panel. If the tabs are crowded, use the … at the end of the row.
  • After installing or updating, nothing changes. Run Developer: Reload Window. A window keeps running the version it started with.
  • A change has a chip but shows no activity. Specwatch records a chat only after it has started an OpenSpec stage, or after you typed an OpenSpec command. Run the next stage's skill in that chat.
  • A change has no chip. A chip is added when the AI works on a change, by an event or by writing its proposal, design or tasks, and an archived change does not get one. If you removed the chip, it comes back when the AI works on that change again. A chip shows the change's folder name, which can differ from the name of your chat.
  • Connect does nothing. Open View → Output and choose Specwatch in the dropdown. It records each step of Connect and the reason for any failure.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft