# Restore

> cmux-snapshot으로 저장한 스냅샷을 복원합니다. 워크스페이스 레이아웃과 Claude 세션을 재구성합니다.

- **Type:** Skill
- **Install:** `agentstack add skill-sanghun0724-cmux-claude-skills-restore`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [sanghun0724](https://agentstack.voostack.com/s/sanghun0724)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [sanghun0724](https://github.com/sanghun0724)
- **Source:** https://github.com/sanghun0724/cmux-claude-skills/tree/main/skills/restore

## Install

```sh
agentstack add skill-sanghun0724-cmux-claude-skills-restore
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

저장된 스냅샷에서 cmux 레이아웃과 Claude 세션을 복원합니다.

인자: {{ARGUMENTS}}

## 실행

```
cmux-restore {{ARGUMENTS}}
```

## 복원 순서

1. 스냅샷 파일 로드 (기본: `~/.cmux-snapshots/latest.json`)
2. 각 워크스페이스를 `cmux new-workspace`로 생성
3. pane 트리를 재귀적으로 `cmux new-split`으로 재구성
4. 각 surface에 `cd ` 전송
5. Claude surface는:
   - 세션 ID 있으면: `claude --resume ` 로 정확한 세션 복원
   - 없으면: `claude -c` 로 최근 세션 복원

## 타이밍 조정

머신이 느리거나 복원 중 실패가 생기면 대기 시간을 늘리세요:

```bash
CMUX_RESTORE_DELAY=1.0 cmux-restore
```

## 주의사항

- cmux.app이 실행 중이어야 합니다.
- 세션 ID 매칭은 베스트에포트 방식입니다. Claude 세션 인덱스(`~/.claude/projects/`)가 없으면 `claude -c` fallback을 사용합니다.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [sanghun0724](https://github.com/sanghun0724)
- **Source:** [sanghun0724/cmux-claude-skills](https://github.com/sanghun0724/cmux-claude-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-sanghun0724-cmux-claude-skills-restore
- Seller: https://agentstack.voostack.com/s/sanghun0724
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
