is-forklisted
Install: claude install-skill IdeaSpaces-xyz/claude-code-plugin
# Fork a Space Locally
Fork brings one copy-authorized Space home as a new independent local Git repository. A public,
copy-enabled source needs no IdeaSpaces account. The result has fresh Note and root identity, one
import commit, source lineage for later updates, no source history, no remote, and no hosted owner.
This skill invokes the CLI bundled with the plugin. No separate install or native `is_fork` tool is
required:
```bash
CLI=(node "${CLAUDE_PLUGIN_ROOT}/cli/bundle/ideaspaces.js")
```
## Confirm the coordinate
Require a canonical Space URL and choose the destination folder. If the user omitted the folder,
state the CLI-derived local name before running. A destination that already exists is never merged,
replaced, or removed. If the user already named both source and destination, that is confirmation;
do not ask twice.
`--name <local-name>` changes only the unpublished display name. Never pass `--location` or `--slug`:
hosting placement belongs to later `ideaspaces publish --hostname/--slug`.
## Materialize
Quote the URL, path, and optional name:
```bash
"${CLI[@]}" fork "<space-url>" "<destination>" [--name "<local-name>"]
```
Do not log in first for a public source. The CLI sends valid ambient credentials when they already
exist, allowing a directly shared private Fork through the same local-only path, but never invents
an empty token. If a private source is neutrally refused and the user expects direct access, offer
`is_auth action="login"`, then retry th