quangdang46

Coding Agent Settings Backup — AI skill for Claude Code

AI community

CLI that backs up, versions, and restores configuration folders for AI coding agents (Claude Code, Codex, Cursor, Gemini, OpenCode, Kiro, …) using per-agent git repositories.

How to install Coding Agent Settings Backup

This entry records only its repository, not the path inside it, so there is no exact command to give. Open quangdang46/coding_agent_settings_backup and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Coding Agent Settings Backup does

CLI that backs up, versions, and restores configuration folders for AI coding agents (Claude Code, Codex, Cursor, Gemini, OpenCode, Kiro, …) using per-agent git repositories.

Alternatives in AI

  • Agor — Orchestrate Claude Code, Codex, and Gemini sessions on a multiplayer canvas 1.2k ★
  • Claude Replay — Convert AI coding agent sessions (Claude Code, Cursor, Codex, Gemini, OpenCode) into self-contained, embeddabl 644 ★
  • Memory Forge Rs — Stop resetting satisfying AI chats — edit the memory instead 474 ★

README

casb — Coding Agent Settings Backup

casb — back up and restore AI coding agent settings

![License](https://img.shields.io/github/license/quangdang46/coding_agent_settings_backup?style=for-the-badge) ![Release](https://img.shields.io/github/v/release/quangdang46/coding_agent_settings_backup?style=for-the-badge) ![CI](https://img.shields.io/github/actions/workflow/status/quangdang46/coding_agent_settings_backup/ci.yml?style=for-the-badge) ![Rust](https://img.shields.io/badge/Rust-stable-orange?style=for-the-badge)

**Back up, version, and restore configuration for 19 AI coding agents — in Rust.** Claude Code, Codex, Cursor, Gemini, OpenCode, and 14 more. One shared git repo, `--json` for agents, full version history.

curl -fsSL "https://raw.githubusercontent.com/quangdang46/coding_agent_settings_backup/main/install.sh?$(date +%s)" \
  | bash -s -- --easy-mode

🤖 Agent Quickstart (Robot Mode)

⚠️ Always use `--json` in agent contexts. Never scrape human text output.

# Snapshot all installed agents
casb backup --json

# See backup state (installed, backed up, missing)
casb list --json

# Restore a specific agent
casb restore claude --json

# Health check
casb doctor --json

**Output conventions**

  • stdout = structured data (JSON)
  • stderr = diagnostics, warnings
  • exit 0 = success, exit 1 = errors found

TL;DR

The Problem

Every coding agent stores its configuration somewhere different. Claude Code uses 3 directories, Codex and Gemini use their own, OpenCode has 2, and each one gets lost when you reinstall or migrate machines. Six months of agent tuning — custom instructions, provider keys, tool preferences — disappears in a format-and-reinstall.

Manual backups are inconsistent. Per-agent `.git` folders sprawl. And when something breaks, you have no idea which bac