skills-restore
Skill7 starsChanged 5 days agoMITView on GitHub
skills.lock.json から全スキルを一括リストアする。--clean で既存スキルを退避後まっさらに再構築、--dry-run でプレビュー。トリガー: 「スキルをリストア」「スキルを復元」「リストア」「restore」
In this repository6 other files it gives its agents.
- check-vendor-updatesSkill
- skill-deck-managerSkill
- skills-addSkill
- skills-checkSkill
- skills-stateSkill
- vendor-forkSkill
The file
Files
Skills Restore
selected Catalog の Inventory Lock を正として、External → Custom/Vendor → Agent 定義の順に Projection を再構築する。
Workflow
Step 1: リストアの実行
# 通常リストア(冪等 — 既存の上から実行しても安全)
bash "$ENGINE_ROOT/.agents/skills/skills-restore/scripts/skills-restore" --catalog-dir "$CATALOG_ROOT"
# 既存スキルを退避してからまっさらにリストア
bash "$ENGINE_ROOT/.agents/skills/skills-restore/scripts/skills-restore" --catalog-dir "$CATALOG_ROOT" --clean
# 変更を加えずプレビュー
bash "$ENGINE_ROOT/.agents/skills/skills-restore/scripts/skills-restore" --catalog-dir "$CATALOG_ROOT" --clean --dry-run完了基準: スクリプトが exit 0 で終了し、インストール結果のサマリーが出力されていること(--dry-run 時はプレビューのみ)。
Step 2: ユーザーへの報告
通常実行後は、インストールされたスキル一覧と合計件数を報告する。--dry-run 時は、インストール予定のスキル一覧と合計件数を報告する。--clean 使用時は退避先パスとロールバック手順も案内する。
完了基準: 一覧と合計件数(--clean 時は退避先パスとロールバック手順)を報告し終えていること。
--clean で退避したスナップショットのロールバック
# 利用可能なアーカイブ一覧
ls ~/.agents/skills-archive/
# ロールバック
bash "$ENGINE_ROOT/.agents/skills/skills-restore/scripts/skills-rollback" <timestamp>処理の流れ
- 外部スキル: lock の
externalセクションを source ごとにグループ化しbunx skills addでclaude-code、codex、antigravityにインストール。custom / vendor と同名の external はスキップして warning を出す(同名 skill は 1 つだけ管理する) - Custom/Vendor: Lock の
custom.repoをbunx skills addでインストール(External を上書き) - Agent 定義: Catalog の
agents/を~/.claude/agents/にコピー
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

