SkillTrust

← All skills

restore-legacy-sessions

95 / 100 · Low risk

Fine to try.

By zai-org/ZCode (GitHub) · productivity · 8,613 stars · scanned at commit b95ebaf

Use when ZCode needs to inspect, plan, or execute restoration of old ACP-era ZCode sessions from ~/.zcode/v2/sessions into the new ZCode task/session stores. Trigger when the user wants to choose a previous agent, select a workspace to restore, pick a specific historical conversation, dry-run legacy session migration, or reason about tasks-index.sqlite and ~/.zcode/cli/db/db.sqlite consistency.

Works with any agent that supports SKILL.md skills.

What this skill can do

Runs commands on your computer

The author does not mention this.

Found in 5 places.

Show 2 more

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'restore-legacy-sessions' ] || [ -L ~/.agents/skills/'restore-legacy-sessions' ]; then echo 'A skill folder named restore-legacy-sessions already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/zai-org/ZCode' "$d" && git -C "$d" checkout --quiet 'b95ebaffeab641907b38652f45c1502bd762972d' -- 'apps/zcode-cli/packages/restore-legacy-sessions-plugin/skills/restore-legacy-sessions' && mkdir -p ~/.agents/skills && cp -R "$d"/'apps/zcode-cli/packages/restore-legacy-sessions-plugin/skills/restore-legacy-sessions' ~/.agents/skills/'restore-legacy-sessions' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'restore-legacy-sessions' ~/.claude/skills/'restore-legacy-sessions' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for zai-org/ZCode shows the score of its lowest-scoring skill.

SkillTrust badge for zai-org/ZCode

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/zai-org/ZCode.svg)](https://zalavijaysinh.github.io/skilltrust/repos/zai-org/ZCode/)

Score history

DateVersionScore
2026-11-11b95ebaf95
2026-11-08a9fe40195
2026-11-07a9fe40195

Also found in

Identical copies of this skill exist at: