Skip to content
Back to skills

Yishan Workspace

ASecurity

Use when you need to list, find, create, or close Yishan workspaces (git worktrees) with the `yishan workspace` CLI.

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 14, 2026
ai-agentsgit

Works with

  • claude code
  • terminal
  • cli

Security analysis

A100/100

Scanned November 14, 2026

npx -y skills add yishan-io/yishan-mono --skill yishan-workspace --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Yishan Workspace?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Yishan Workspace
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yishan-io-yishan-workspace/badge)](https://www.skillsdirectory.com/skills/yishan-io-yishan-workspace)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: yishan-workspace
description: Use when you need to list, find, create, or close Yishan workspaces (git worktrees) with the `yishan workspace` CLI.
---

# Yishan Workspace

A Yishan workspace is a git worktree inside a project. Use the `yishan workspace` CLI. Add `--output json` when you parse the result.

Inside a Yishan terminal these variables are already set: `YISHAN_PROJECT_ID`, `YISHAN_ORG_ID`, `YISHAN_WORKSPACE_ID`. Pass them as `--project-id` and `--workspace-id` when a command needs them. Never guess an ID.

## Commands

- `yishan workspace list --project-id "$YISHAN_PROJECT_ID"`: list the project's workspaces. Without `--project-id` it lists workspaces across all projects.
- `yishan workspace find --project-id "$YISHAN_PROJECT_ID" --workspace-id <id>`: show one workspace, including its path.
- `yishan workspace create --project-id "$YISHAN_PROJECT_ID" --branch <new-branch> --source-branch <base> [--name <name>]`: create a worktree on a new branch.
- `yishan workspace close --project-id "$YISHAN_PROJECT_ID" --workspace-id <id>`: close a workspace and stop its processes.

## Rules

- Create a workspace only when the user wants isolated work. Use a short, descriptive branch name.
- Do not use `--task-run-prompt` or `--task-run-model` unless the user asks. A task run in a new workspace starts a Pi agent, not Claude Code.
- To link work to a task, run `yishan task link-workspace <task-id> --workspace-id <id>` (see the `yishan-task` skill).
- Close a workspace only when the user explicitly asks. Never close it automatically after a task is done. Never close the workspace you are running in.
- After `create`, do not edit files in the new workspace from this session unless the user asks you to move there.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.