agentleFS
ARCASSystemsARCASSystems/FounderOS/skills/backup/SKILL.md

backup

Skill7 starsChanged 19 days agoMITView on GitHub

Back up the founder's OS to a destination they choose, on command only. Trigger on "back this up", "back up my OS", "set up a backup", "push this somewhere safe", "mirror this offsite", or any plain request to keep an offsite copy. Destination-agnostic: GitHub is the recommended default for long-term durability, but OneDrive, Notion, or staying purely local are all first-class. Never forces a GitHub account or a new tool. Local version control already works fully without this; backup is the next level, not a requirement.

  • Commits and pushes

13 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use update.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AnthropicSkill

    update

    Sync tasks and refresh memory from your current activity. Use when pulling new assignments from your project tracker into TASKS.md, triaging stale or overdue tasks, filling memory gaps for unknown people or projects, or running a comprehensive scan to catch todos buried in chat and email.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 5 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 12 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Keep an offsite copy of the founder's OS, to a destination they choose.

    line 15
  2. Very specific:

    If core/identity.md does not exist, stop with: Founder OS not set up here.

    line 19
  3. Very specific:

    Do NOT re-implement gh auth or repo creation here.

    line 35
  4. Very specific:

    Check gh auth status. If not authenticated, give the founder the exact step (gh auth login) and stop until done.

    line 36
  5. Very specific:

    Create a PRIVATE repo they own: gh repo create <name> --private --source .

    line 37
  6. Very specific:

    Never set founderos.privateRemote or founderos.privateRemoteUrl by any other route: not from the repo name, not from the founder saying it …

    line 40
  7. Distinctive:

    Never force a GitHub account or any single destination.

    line 64
  8. Distinctive:

    Never force push. Never push without an explicit yes.

    line 66
  9. Distinctive:

    Never claim a backup happened until the command returned success.

    line 68
  10. Distinctive:

    No em dashes or en dashes.

    line 69

“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Backup

Runs on: local-exec - runs a local script; on a cloud surface I read the results, I do not run it.

Keep an offsite copy of the founder's OS, to a destination they choose. On command only. Opt-in. Local version control (save, history, restore) already works fully without any of this; backup is the next level.

Pre-flight

  • If core/identity.md does not exist, stop with: Founder OS not set up here. Run /founder-os:setup first.
  • Version history must cover the founder's own files before any backup, on every destination. Check both: a .git/ folder exists at the OS root, and git ls-files core/identity.md prints that path. If either fails (a ZIP install that never ran "own my history", or a git folder that still uses the shipped developer .gitignore, which leaves out every file of theirs), do NOT run gh repo create, do NOT git init here, and do NOT copy the folder yet. Say in one plain sentence why: Before I back this up, your version history has to cover your own files - right now it does not, so a backup would hold only the Founder OS engine and none of your work. Then run the own-your-history skill (read skills/own-your-history/SKILL.md), which asks its own yes, turns version history on for their files and switches on the push guard. When it finishes, come back here and start again at the top of this Pre-flight. If they decline, stop: nothing is backed up, and say so.
  • Make clear up front: nothing here is required. Their files and full version history live on their machine already. This adds an offsite copy.

Step 1: pick a destination

Offer these, with the honest trade-off, and let the founder choose. Do not force one.

  • GitHub (recommended for long-term durability). A private repo they own. Best for keeping full version history offsite and restoring on a new machine. Needs a free GitHub account and the gh CLI.
  • OneDrive, Dropbox, or iCloud. Simplest if they already use one. The folder syncs as files; version history rides along inside the .git folder.
  • Notion. A reference mirror only, not a live restore target. Useful if Notion is their home base, but it does not preserve git history. Be honest about that limit.
  • Stay local. A valid choice. Their work is already saved and undoable locally. Offer to revisit backup later.

Step 2: wire the chosen destination

GitHub

Do NOT re-implement gh auth or repo creation here. Use the github-ops skill (read skills/github-ops/SKILL.md).

  1. Check gh auth status. If not authenticated, give the founder the exact step (gh auth login) and stop until done. Do not pretend it is connected.
  2. Create a PRIVATE repo they own: gh repo create <name> --private --source . --remote origin (confirm the name with them first).
  3. Prove it is private before anything is pushed: gh repo view <owner>/<name> --json isPrivate --jq .isPrivate. Only when that prints exactly true, record the confirmation, both lines: git config founderos.privateRemote origin and git config founderos.privateRemoteUrl "$(git remote get-url --push origin)". The push guard (.githooks/pre-push) refuses every push of the founder's data to any remote not named there at that address, so without this line the push in step 4 is refused - by design.
    • If it prints anything else (false, an error, nothing), do NOT set it and do NOT push. Say plainly: "That repository is public, or I could not confirm it is private, so I have not pushed anything. Your data stays on this machine." Offer to make it private (gh repo edit <owner>/<name> --visibility private --accept-visibility-change-consequences, on their yes), then run the check again from the top of this step.
    • Never set founderos.privateRemote or founderos.privateRemoteUrl by any other route: not from the repo name, not from the founder saying it is private, not to quiet a refused push. The value means "GitHub said this is private", and it is worth only as much as that.
  4. Push: git push -u origin <current-branch>. Only on the founder's explicit yes. Never force push. If the push guard refuses it, read its message to the founder and go back to step 3; never set the value just to get past it.
  5. Confirm the push landed (gh repo view --web or report the repo URL). Do not claim it pushed until git push returned success.

OneDrive / Dropbox / iCloud

If the OS folder is already inside the synced folder, it is already backing up; confirm the path and say so. If not, give the founder the move: copy the whole OS folder (including the hidden .git folder, which holds the version history) into their synced folder, then open it from there. Offer to do the copy if they give a destination path.

Notion

Be explicit that this is a reference mirror, not a restore point. If they want it, hand them the manual export step (or use a Notion MCP only if one is connected and they ask). Do not claim history is preserved.

Local copy

Copy the whole OS folder, including the .git folder, to the path they name. One command, plain confirmation of where it landed.

Step 3: degrade honestly

If the chosen tool is missing or unauthenticated (no gh, not logged in, no synced folder, no version history over their files), do NOT fake success. Missing version history routes to own-your-history (see Pre-flight); never improvise a git init here, because the shipped developer .gitignore would then leave out every file of theirs and the backup would look done while holding none of their work. Print the exact steps the founder needs and stop. Say plainly what is and is not done.

Runtime honesty

This verb runs local commands (git, gh, file copy). On a surface that cannot run them, say so and hand the founder the steps for their chosen destination; do not claim a backup ran.

Rules

  • On command only. Never back up on your own.
  • Never force a GitHub account or any single destination.
  • The GitHub path reuses github-ops. Do not duplicate gh logic here.
  • Never force push. Never push without an explicit yes.
  • Set founderos.privateRemote and founderos.privateRemoteUrl only after gh repo view --json isPrivate returned true for that exact repository. Never to get past the push guard.
  • Never claim a backup happened until the command returned success.
  • No em dashes or en dashes. Hyphens only.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.