Repository navigation
feat: add coder-workspace-status Claude Code plugin - #9
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
coder-workspace-status, a Claude Code only plugin, as a second plugin in thecoder-skillsmarketplace. 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-workspace-statusdraws a full card without a model turn: dashboard, terminal, and editor links, apps (markeddownwhen nothing listens on their port), ports, startup scripts, schedule, repositories, and resources.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 thecoderCLI when it's logged in (for example via thecoder-loginmodule).Links follow the Claude Desktop rules: dashboard pages use
/%40owner/...(the dashboard router decodes it) and app hosts are lowercased.Install:
Testing
make lintpasses.shellcheckandshfmt -i 2 -ciare clean onplugins/coder-workspace-status/scripts/coder-status, whichlint.shskips because it has no.shextension.claude plugin validatepasses for the marketplace and the plugin. The two marketplace warnings (metadata.homepage,metadata.repository) were there before this change./coder-workspace-statuscard drew in the terminal. Earlier builds were checked in Claude Desktop over SSH.Notes
metadata.versionis 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-statuscard.