Back up your whole Claude Code setup to GitHub

CLAUDE.md files, skills, hooks, settings and memory go into a private repo, with one install script to restore on a new Mac.

by Tejas Kalpande9 Oct 2026

Prompt for your agent

Goal: Never lose my agent configuration.
Setup: agents used in source: Claude; tools/MCPs stated: GitHub.
Steps:
1. Collect CLAUDE.md files, skills, hooks, settings and memory into one private GitHub repo.
2. Write one install script that puts everything back on a new machine.
Rules: ask me before anything irreversible (sending, posting, paying, deleting); don’t invent data, results or tools I haven’t given you; tell me what you couldn’t verify.
Based on: Tejas Kalpande — https://x.com/tejaskalpande/status/2108568392173318432

Steps are from the source. Includes a “Based on” credit line.

I tried this

Tell the next builder. One anonymous answer each; click again to undo.

Agents, models and tools only what the source states

Agents
Claude
Tools
  • GitHub

Sources & credit