Argus
Mission control for Claude Code in VS Code. See every Claude Code session at a
glance, know which ones are waiting on you, and work with them in Argus's own chat.
- Sessions board: every session sorted into Needs you, Working, Idle, PR open and
Archived, updating live as Claude works.
- Chat: sessions open in Argus's own chat, with permission prompts, plan approvals, rewind, fork and review.
- Notifications: when a session needs permission, asks a question or finishes, with a button straight to it.
- PRs and worktrees: each card shows the PRs and git worktrees the session made, and archives itself once its
PRs are merged.
- Diff review: review a worktree's or PR's changes in Argus chat, comment on lines, and send the comments to
the session.
- Plan usage: your Claude plan usage in the status bar.
- Plugins: add your own Control Center tabs, card chips and archive steps through a plugin API.

Full documentation: import-star.github.io/argus
Contents
Getting started
- Install Argus, and make sure you have the requirements, in particular Node.js 24 or newer.
- On first install Argus opens its Welcome page, which shows whether session tracking is set up and how to add
plugins. Click Set Up Session Tracking there, or run Argus: Set Up Session Tracking from the command
palette (or click the link in the empty Sessions view). This installs the Claude Code hooks Argus needs; no sessions appear without it.
After later updates Argus opens What's New once, with that version's release notes.
- Start or resume a Claude Code session. It appears in the Argus sidebar after its first prompt. Sessions that
were already open show up once they next fire a hook. To add earlier chats now, run Argus: Import Existing
Claude Chats: it reads Claude Code's transcripts from the last
argus.sessions.retentionDays days and adds
any chat Argus has no record of, as idle or archived.
Features
Sessions board
A sidebar view (the Argus icon in the activity bar) groups your Claude Code sessions into Needs you,
Working, Idle, PR open and Archived. Cards move on their own as session state changes.
- A session stopped mid-turn (Esc, a crash or a closed tab) shows as interrupted in Needs you, so you know
to resume it.
- The activity bar badge counts sessions that need you. A status bar item shows how many there are and the longest
wait; click it to jump to one.
- Open a session from its card: it opens in Argus chat, resuming the session.
- Each VS Code window shows only its own sessions: those started in the window's workspace folders, or in any
checkout or worktree of the same git repo. Set
argus.sessions.scope to folder in a window's Workspace
settings to show only that window's folders (not the rest of its repo), or all to see every session in every
window. A window with no folder open shows everything.
- A card's title is the session's first prompt. Double-click the title (or use Rename Chat) to rename it in
Argus. Claude Code's
/rename also works, and changes the name in /resume and for other sessions too.
- Cards show open PRs with their checks, review decision and unresolved review comments (
💬 2). A
+ 2 merged · 1 closed chip shows the merged and closed ones too; click it again to hide them. A card stays in
PR open while one of its PRs merged or closed after the session's last prompt, so newly finished work is easy
to spot. PR states are saved to ~/.claude/argus/prs.json, so cards show the last synced state on startup while
the first gh lookup runs.
- Keyboard:
/ to search, j/k to move, Enter to open, e to archive, x to select for bulk actions, Esc
to clear the selection, n for a new chat.
Archiving. A session archives itself when every PR it created is merged or closed, or when it closes without
making a PR. You can also archive by hand. When the session has worktrees, archiving offers to remove them, shows
how many uncommitted files each one has, and offers a force removal that deletes those files. Installed plugins
can add their own cleanup steps; you are asked first. Sending a new prompt to an archived session brings it back.
Notifications. A warning when a session needs permission or asks a question, and an info message when it
finishes. The Open Session button jumps straight to the session. No popup shows for a session whose chat is
already in front of you. Set argus.notifications to input (permission and questions only) or off.
Control Center
Run Argus: Open Control Center for the full-size view. It holds the Sessions tab, a tab for each
installed plugin, and a Settings tab. On top of the sidebar, the Sessions tab has:
- Columns side by side. Press
g (or click by repo) to split them into one row per repo, with repos that
need you first.
- Search through every prompt and reply in each session's transcript, archived sessions included, with the
matching text shown on the card. It starts at three characters.
- The sub-agents running in each session, by type.
- Multi-select for bulk archiving: ctrl/⌘-click cards, shift-click for a range, or press
x on the selected card.
A bar shows how many are picked with Archive (or e), Unarchive, Select all shown and Clear
(Esc). Worktree and plugin cleanup for the whole batch is offered in one prompt.
Settings tab
Argus: Settings (argus.openSettings) opens the Control Center on a Settings tab that edits every Argus
setting, Chat first, with a search box that filters them. Toggles, dropdowns (with each option's description), text and number fields save to your
user settings as you change them. Reset removes your value, and a note shows when a workspace setting
overrides it. Object and list settings open settings.json; Open in VS Code Settings opens the standard
Settings UI filtered to Argus.
Diff review

- In a chat's details pane, each worktree and each PR has a Diff button. Worktrees also have Open (new window)
and Delete.
- Comment on lines and send the comments to the agent from the review panel.
- Long lines wrap. A changed Markdown file has Show rendered to read and comment on it rendered: select text to
comment on it, and the comment shows under that line with the text highlighted.
Argus chat
Sessions open in Argus's own chat panel. It runs your installed claude through the Claude Agent SDK,
so it uses your existing Claude Code sign-in, settings and hooks. Sessions started in a terminal still appear on the
board; opening one while it is running there warns you first, since two processes would write to one transcript.
Chats run in one background process per user, which Argus starts when a chat opens. It runs on VS Code's own Node, so
there's nothing to install. Closing or reloading a window doesn't stop its chats: a reply that's still running
finishes, and reopening the chat (or the restored tab after a reload) shows it. The same chat open in two windows
shares one Claude process, and either window can answer its permission prompts. Archiving a chat stops it at once in
every window. The process exits about 10 seconds after its last chat stops and no window is connected. After an
Argus update, the old process keeps its chats running until they're idle, then exits, and windows reconnect to the
new one and resume their chats. If the update changed how windows talk to the process, Argus chat waits for that
handover and offers Restart Now, which stops the old process's running chats and background tasks. Its log is ~/.claude/argus/chat-daemon.log.
Argus: New Chat starts a chat. Opening a card from the board resumes its session in the chat.
Permission requests, questions and plan approvals appear inline in the chat. The plan pane shows the plan as
Markdown; select text to comment on it, and the comment shows under that line with the text highlighted. In a
typed answer or note to a question, and in Or tell Claude what to do instead, Shift+Enter adds a new line and
Enter sends.
On the Control Center Sessions tab, a card waiting on a permission or question from an Argus chat expands in
place: Allow once, Always allow or Deny, or choose an option and Send answer. Plan approvals
open the chat.
In a chat: Rewind to here restores files and the conversation to a message, and Fork from here starts a
new chat from it. Cmd/Ctrl+F searches the transcript, folded tool output included. Ask aside (Cmd/Ctrl+;)
asks a side question without adding it to the transcript. Queued messages can be edited, reordered or sent now.
Each reply shows its turn's cost, and code blocks and replies have copy buttons. Type / for the session's
slash commands, and paste or drop files to attach them. Type # to pick another session on the board; it's
added as #"<name>", the name Claude uses to message it when it's running, or its title when it isn't.
Start a message with ! to run a shell command yourself, as in Claude Code's shell mode. It runs in the chat's
folder with your shell, without a permission prompt, and its output streams into the transcript. Stop (or Esc)
ends it; Background (or Ctrl+B) lets you keep chatting while it runs. When it finishes, the command and output
go to Claude, which replies to them. With Claude Code's respondToBashCommands set to false, the output waits
and goes with your next message instead. Tab completes from earlier ! commands in the same folder, and typing a
path with a / lists matching files and folders.
Commands Claude Code only has in its terminal screen are run by Argus itself:
/remote-control (/rc) continues the chat from claude.ai/code or the Claude app. The header shows
Remote Control while it's on. Claude Code's remoteControlAtStartup setting turns it on for every chat.
/chrome lets Claude control your browser through Claude in Chrome, and /chrome browser picks which browser.
The header shows Chrome while it's on. Each chat remembers its own choice. New chats follow Claude Code's
/chrome Enabled by default.
/add-dir gives Claude another folder.
/permissions opens a panel to see, add and remove allow, ask and deny rules and folders across your settings files; /hooks lists the hooks set in them; /memory opens the CLAUDE.md file you pick, creating it if missing.
/agents opens a subagent file or makes a new one.
/resume opens another session from the board.
/export [file] saves the conversation as Markdown, /copy [N] copies Claude's latest (or Nth-latest) reply,
/branch (/fork) copies the chat into a new one, and /plan turns on plan mode, or opens the plan pane if it's on.
/context, /usage and /skills open a side panel: a context window breakdown by category (also opened by
clicking the Context meter in the details panel), plan limit bars with session cost and what is contributing, and the loaded
skills ranked by context cost.
/mcp opens a side panel of MCP servers: status, errors and tools, with Enable/Disable, Reconnect and
Authenticate, which opens the server's sign-in page in your browser and waits in the panel until the server
reconnects (shown for a server that needs authentication or a remote one that failed, e.g. on a rejected token). The header shows MCP: N issues when a server failed or needs authentication.
/model, /effort, /output-style, /advisor, /autocompact and /color open a picker, and /config a
searchable settings panel; typed with an argument they go to Claude Code as usual. /color tints the chat
header. Plain-text command output is shown in a monospace block.
/loops lists the loops saved in the folder and the ones in this chat, and deletes them. /daemon shows the
Claude background service with Stop, Logs and Open config.
/login, /logout and /plugin open claude in a terminal.
/chrome and /add-dir restart the chat's Claude process: they wait for the turn to end, and ask first while
background tasks are running.
```mermaid blocks in replies are drawn as diagrams in your theme's colours, with Show source to see the
code. A block that doesn't parse stays as code, with the error above it. Mermaid loads the first time a reply has
a diagram.
The details pane shows the latest plan (click to reopen it), plan usage, background shells, monitors and agents
(with their output and a stop button), and the worktrees linked to the session.
A workflow or background agent opens in a side pane with its phases and agents. Click an agent for its result and
output; Open conversation shows its whole conversation the way the chat shows its own.
A chat's name is sent to Claude Code with /rename, so /resume and other sessions show the same title.
A chat whose tab you close keeps running until it has been idle for argus.chat.backgroundIdleMinutes, so other
agents can message it and its timers keep firing. A reply that finishes after its tab closed shows in
Needs you.
Agents. Run several agents on one task, side by side.

- + in a chat's header, or a group grid's bar, starts another chat in the same folder (optionally with a first
message) and opens the group in a grid. The arrow next to it adds an existing chat to the group instead. Agents in a group share one Sessions card: it sits in the column of its most urgent
agent, lists each agent with its status, and opens them all side by side, in the order they joined, when clicked.
Click an agent's name on the card to open only that agent in its own tab. Archiving the card
archives every agent. Groups are stored in
~/.claude/argus/board.json (groupOf).
- Ask Claude in an Argus chat to start another agent: "create another argus agent in this chat and ..." adds it to
this chat's grid, "create another argus agent and ..." opens it in its own tab. Claude gives the new agent its
first message, and can start it in another folder, such as a git worktree it made, when you want it kept apart.
- Argus: Open Chats Side by Side shows several chats in a grid, each with its transcript and a message box.
A tile shows its latest messages and loads earlier ones as you scroll up. Tiles that need you are outlined. A details panel on the right (changed files, worktrees, PRs, subagents, usage) follows the tile you click or the
tab you pick; the panel button in the bar hides it. Each tile's header can focus it (fill the tab with that agent and
its details; click again to go back), pop it out to its own tab, or archive it (as
its board card would, removing the tile). Double-click a tile's title, or the group name in the bar, to rename it.
argus.chat.claudePath sets the claude executable (empty: claude on your PATH, then ~/.local/bin, where Claude
Code's installer puts it). Without Claude Code, Argus offers to install it: Argus: Install or Update Claude Code runs
Anthropic's official installer in a terminal (irm https://claude.ai/install.ps1 | iex on Windows,
curl -fsSL https://claude.ai/install.sh | bash elsewhere), then opens claude once so you can sign in. On startup
and every 4 hours Argus compares claude --version with the newest release on your autoUpdatesChannel and, once
per release, says when it's out of date; Update (or the same command) runs claude update in a terminal. New chats take their model, effort and permission mode from your Claude Code settings (model, effortLevel, permissions.defaultMode); a reopened chat keeps the model and effort last picked in it.
Claude plan usage
A status bar item showing your Claude plan usage as a percentage (amber at 75%, red at 90%). It is on by default;
turn it off with argus.usage.enabled.
It reads the sign-in that Claude Code stores locally (~/.claude/.credentials.json, or the macOS keychain) and
sends it only to Anthropic's undocumented usage endpoint (https://api.anthropic.com/api/oauth/usage). The token
is not stored, cached or logged. Usage refreshes every argus.usage.refreshMinutes minutes (default 5). Check
Anthropic's terms on using your Claude subscription sign-in with third-party tools.
Plugins
A plugin adds a tab to the Control Center, chips to session cards, or extra steps when a session is archived.
Plugins are folders in ~/.claude/argus/plugins that Argus loads on startup; nothing is installed into VS Code.
Installing one
Put the plugin's folder in the plugins folder and build it. For a plugin in a git repo:
macOS and Linux:
mkdir -p ~/.claude/argus/plugins && cd ~/.claude/argus/plugins
git clone <plugin repo url> my-plugin
cd my-plugin && npm install && npm run build
Windows (PowerShell):
New-Item -ItemType Directory -Force "$HOME\.claude\argus\plugins" | Out-Null
Set-Location "$HOME\.claude\argus\plugins"
git clone <plugin repo url> my-plugin
Set-Location my-plugin; npm install; npm run build
Then run Argus: Reload Plugins. Argus asks once per folder before loading a plugin for the first time,
because a plugin runs with the same access to your machine that Argus has.
To update a plugin, run git pull, npm install and npm run build in its folder, then Argus: Reload
Plugins.
Configuring one
Plugin settings live under one key, keyed by plugin id, and work at user or workspace level:
"argus.plugins.config": {
"my-plugin": { "someSetting": "value" }
}
A plugin's manifest sets its defaults and its README should list its keys. argus.plugins.paths loads extra plugin folders from anywhere on disk,
which is how you run one straight from a checkout.
Writing one
See DEVELOPING.md for the API, the manifest and a worked example.
Requirements
- VS Code 1.90 or newer.
- Claude Code installed and signed in, so
claude runs. Argus offers to
install it if it's missing (Argus: Install or Update Claude Code).
Argus chat runs it through the Agent SDK. Argus also reads the session registry Claude Code keeps at
~/.claude/sessions/<pid>.json, which is not a documented public API and may change. The Claude Code VS Code
extension isn't needed.
- Node.js 24 or newer. The session tracker hook is a TypeScript file that Node runs
natively.
- Optional:
git, for worktrees and diff review.
- Optional: the GitHub CLI (
gh), signed in, for PR status and PR diffs.
Settings
| Setting |
Default |
Description |
argus.sessions.scope |
window |
window shows this window's sessions, including other folders of the same git repo; folder shows only sessions inside this window's folders (set it in Workspace settings for a per-window choice); all shows every session on this machine. |
argus.sessions.prRefreshMinutes |
1 |
How often PR states refresh in the background, for session cards. |
argus.sessions.retentionDays |
30 |
Session record files are deleted this many days after the session is no longer open. |
argus.keepAwake.mode |
off |
on keeps this machine from sleeping until you turn it off; auto only while a session in this window is working or scheduled, and for 2 minutes after. When it isn't off, an Awake button in the chat header switches it; Argus: Keep Machine Awake… does too. A ☕ Awake status bar item shows while it's holding. Closing the lid still sleeps the machine. Replaces argus.keepAwake.whileAgentsRun (true there still means auto until you pick a mode). |
argus.keepAwake.keepScreenOn |
true |
Keep the screen on as well. Windows laptops with Modern Standby sleep once the screen turns off, so leave this on there. |
argus.notifications |
all |
Show notifications when a session needs attention: all (permission, question or finished), input (permission and questions only), or off. |
argus.prs.cacheSeconds |
300 |
How long a fetched PR state is reused before gh is called again. |
argus.diffReview.baseRef |
"" |
Base to diff against. Empty uses origin/HEAD, then origin/main, origin/master, main, master. |
argus.diffReview.contextLines |
3 |
Unchanged lines shown around each change. |
argus.whatsNew.showOnUpdate |
true |
Open What's New once after Argus updates. |
argus.usage.enabled |
true |
Show Claude plan usage in the status bar. Turn off to stop reading the Claude Code sign-in. |
argus.usage.refreshMinutes |
5 |
How often Claude plan usage refreshes in the background. |
argus.chat.claudePath |
"" |
Path to the claude executable the chat runs. Empty: claude on your PATH, then ~/.local/bin. |
argus.chat.askForFolder |
false |
In a window with several workspace folders, ask which folder each new chat starts in. Off: the first folder. |
argus.chat.textOnlyDefault |
false |
Open chats in Text only view (tool calls hidden). Each chat remembers its own toggle. |
argus.chat.hiddenModels |
[] |
Models to leave out of the chat's model picker, by name (Haiku 4.5) or id. A chat's current model stays listed. |
argus.chat.backgroundIdleMinutes |
60 |
How long a chat with no open tab keeps its Claude process after it goes idle. 0 stops it when its turn ends. |
argus.plugins.config |
{} |
Settings for locally installed plugins, keyed by plugin id. See Plugins. |
argus.plugins.paths |
[] |
Extra plugin folders to load, on top of everything in ~/.claude/argus/plugins. |
Commands
- Argus: Open Control Center (
argus.openControlCenter)
- Argus: Settings (
argus.openSettings)
- Argus: Welcome (
argus.welcome)
- Argus: What's New (
argus.whatsNew)
- Argus: Sessions Needing You (
argus.sessions.showAttention)
- Argus: Set Up Session Tracking (
argus.sessions.installHooks)
- Argus: Import Existing Claude Chats (
argus.sessions.importChats)
- Argus: Remove Session Tracking (
argus.sessions.removeHooks)
- Argus: New Chat (
argus.chat.new)
- Argus: Install or Update Claude Code (
argus.chat.installClaude)
- Argus: Open Chats Side by Side (
argus.chat.openGrid)
- Argus: Show Claude Plan Usage (
argus.usage.show)
- Argus: Refresh Claude Plan Usage (
argus.usage.refresh)
- Argus: Reload Plugins (
argus.plugins.reload)
- Argus: Run Plugin Command (
argus.plugins.runCommand)
- Argus: Open Plugins Folder (
argus.plugins.openFolder)
- Argus: Reset Plugin Trust (
argus.plugins.resetTrust)
The Sessions view also has toolbar and per-card commands (new chat, refresh, open, rename, mark read,
archive/unarchive, open worktree in a new window) on its icons and context menu.
What Argus reads and writes
Argus is local-only. It has no telemetry.
| Path |
Purpose |
~/.claude/settings.json |
"Set Up Session Tracking" adds hook entries; "Remove Session Tracking" removes them. A .bak copy is written first. |
~/.claude/argus/session-tracker.ts |
The hook script, copied out of the extension so updates never break the path in settings. Argus replaces it with its own version on startup once tracking is set up, unless a newer Argus wrote it (~/.claude/argus/package.json records the version). |
~/.claude/argus/plugins/ |
Plugin folders, loaded on startup. Argus also writes argus.d.ts and argus-webview.d.ts here for plugin authors. |
~/.claude/argus/sessions/<id>.json |
One record per session, written by the hook on SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, PermissionRequest, Notification, Stop, SubagentStart, SubagentStop and SessionEnd. It holds prompt snippets, the last assistant message and any pending tool command in plain text. Deleted argus.sessions.retentionDays days after the session closes. |
~/.claude/argus/chat.sock |
Local socket the chat background process listens on (macOS and Linux). Windows uses a named pipe instead. |
~/.claude/argus/chat-daemon.json |
Random token that windows send to connect to the chat background process. Readable only by your user. |
~/.claude/argus/chat-daemon.log |
Log of the chat background process. |
~/.claude/sessions/<pid>.json |
Claude Code's own registry of open sessions (read only). |
~/.claude/projects/**/*.jsonl |
Claude Code's session and sub-agent transcripts (read only), for token use and search. Only new lines are read, kept in memory and never written anywhere. |
~/.claude/.credentials.json |
Claude Code sign-in (read only, while argus.usage.enabled is on, which is the default). Sent only to the Anthropic usage endpoint. |
Network use: gh calls to GitHub for PR state and PR diffs, using your existing gh login, and the Claude plan
usage call above, and a request to downloads.claude.ai for the newest Claude Code version at startup and every 4
hours. Argus chat talks to its background process over a local socket, which makes no network calls. A plugin may make its own network calls; see its README.
Troubleshooting
- No sessions appear: run Argus: Set Up Session Tracking, check that
node --version is 24 or newer in a
terminal, then start a new Claude Code session.
- Argus says session tracking needs updating: click Set Up Session Tracking in the warning. Argus updates
the hook script on its own after an upgrade, but a new hook event or a Node that moved needs
settings.json
changed, so it asks first.
- Sessions stop updating after a Claude Code update: Argus depends on Claude Code's session registry file,
which is not a stable public API. If it changes shape, session detection can break until Argus is updated.
- Chat says Claude Code isn't installed: click Install Claude Code, or run Argus: Install or Update Claude Code.
If
claude --version already works in a terminal, set argus.chat.claudePath to its path.
- PR status fails: run
gh auth status. If gh is installed but not found, make sure it is on the PATH VS
Code was launched with.
Uninstalling
Uninstalling the extension removes the hook entries from ~/.claude/settings.json automatically, the same as
running Argus: Remove Session Tracking first. Your session records under ~/.claude/argus/sessions are kept.
License
MIT.
| |