Skip to content

feat: add coder-workspace-status Claude Code plugin - #9

Merged
matifali merged 3 commits into
mainfrom
atif/coder-workspace-plugin
Oct 29, 2026
Merged

matifali merged 3 commits into
mainfrom
atif/coder-workspace-plugin

Conversation

@matifali

@matifali matifali commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Adds coder-workspace-status, a Claude Code only plugin, as a second plugin in the coder-skills marketplace. Its description and README say so up front, since other agents can't install it.

When Claude Code runs in a Coder workspace, it draws the workspace status above the prompt:

◆ Coder  alice/my-ws  ·  stops in 3h 10m  ·  api main ↑1 unpushed
  • The diamond's color sums up health: startup scripts running or failed, memory or disk pressure, autostop soon, template update, deployment unreachable.
  • Ports opened during the session link to their preview URLs.
  • /coder-workspace-status draws a full card without a model turn: dashboard, terminal, and editor links, apps (marked down when nothing listens on their port), ports, startup scripts, schedule, repositories, and resources.
  • At session start Claude learns the preview URL pattern, so it hands out working links for dev servers.

No token needed for almost all of it: apps and startup script names come from the agent's local manifest (127.0.0.1:2113/debug/manifest), script results from the agent log. Autostop and template updates use the coder CLI when it's logged in (for example via the coder-login module).

Links follow the Claude Desktop rules: dashboard pages use /%40owner/... (the dashboard router decodes it) and app hosts are lowercased.

Install:

claude plugin marketplace add coder/skills
claude plugin install coder-workspace-status@coder-skills

Testing

  • make lint passes. shellcheck and shfmt -i 2 -ci are clean on plugins/coder-workspace-status/scripts/coder-status, which lint.sh skips because it has no .sh extension.
  • claude plugin validate passes for the marketplace and the plugin. The two marketplace warnings (metadata.homepage, metadata.repository) were there before this change.
  • Installed from this branch with the commands above in a dogfood workspace. The line and /coder-workspace-status card drew in the terminal. Earlier builds were checked in Claude Desktop over SSH.

Notes

  • Needs Claude Code 2.1.287 or later (mods).
  • The marketplace metadata.version is unchanged (0.2.0). Happy to bump it if we version the marketplace separately.

Screenshot

The plugin in Claude Desktop: the status line above the prompt, and the /coder-workspace-status card.

Coder workspace status line and the /coder-workspace-status card in Claude Desktop

Adds a second plugin to the coder-skills marketplace. When Claude Code runs
in a Coder workspace, it draws the workspace status above the prompt
(health, startup scripts, autostop, repositories, resources, new ports)
and adds a /coder-workspace card with dashboard, terminal, and editor
links, apps, ports, and startup scripts. Apps and script names come from
the agent's local manifest, so no token is needed.
A git worktree, such as one Claude Code creates under .claude/worktrees/,
showed its directory name. Repos now take the main checkout name and mark
worktrees in the /coder-workspace card.
The plugin, its folder, the marketplace entry, the slash command, and the
state directory are now coder-workspace-status.
@matifali matifali changed the title feat: add coder-workspace Claude Code plugin feat: add coder-workspace-status Claude Code plugin Oct 29, 2026
@matifali
matifali merged commit d60c0b0 into main Oct 29, 2026
1 check passed
@matifali
matifali deleted the atif/coder-workspace-plugin branch October 29, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant