ys-workspacelisted
Install: claude install-skill yishan-io/yishan-mono
## What I do
I teach you how to use the `yishan` CLI to create and close workspaces. Use me
when you need to provision a new workspace for a feature task, or tear one down
after the work is complete.
## When to use me
- The user asks you to "create a workspace for ..." or "start working on ..."
- You need a fresh worktree to implement a feature or fix a bug
- You need to close a workspace after completing a task
- You are unsure how to translate a task into the correct yishan workspace commands
- The user mentions branches, worktrees, or workspace lifecycle
## Prerequisites
The `yishan` CLI must be installed and authenticated. Verify with:
```bash
yishan whoami
```
If it fails, guide the user to run `yishan login` first.
## Node reference
Workspace creation and closing only happens on the **current local node** (the
machine where the yishan daemon is running). You cannot create or close
workspaces on remote nodes — those operations must be performed from that node's
machine directly.
To see all nodes registered to the org:
```bash
yishan node list
```
Each node has an `id`, `scope` (private/shared), and `endpoint`. The local
daemon is always the default node — workspace commands will use it automatically
without needing to specify a node ID.
## Setting up the current workspace
If the user is new to yishan or hasn't set up their machine yet, guide them
through these steps in order:
1. **Install the CLI**: Follow the [install guide](https://github.com/yishan-io/y