home-config-sync
Skill69 starsChanged 11 days agoMITView on GitHub
Bootstrap and maintain a reusable `~/.dotfiles` bare-repo setup.
- Commits and pushes
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 10 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
Use this skill for a generic, shareable bare-repo dotfiles workflow:
- Very specific: line 50
Prefer the explicit git --git-dir="$HOME/.dotfiles" --work-tree="$HOME" form over assuming an alias exists.
- Very specific: line 52
Treat .gitignore as a whitelist.
- Distinctive: line 53
Prefer one command per Bash tool call.
- Very specific: line 54
Do not add &&, ;, pipes, redirection, or wrapper echo lines unless the shell feature is genuinely required for the task.
- Distinctive: line 60
Do not invent extra shell config files, helper scripts, aliases, or wrappers during initialization unless the user explicitly asks for them.
- Very specific: line 61
If .gitignore, bootstrap.sh, or README.md already exist, ask the user file-by-file whether to merge, overwrite, or skip.
- Very specific: line 62
If the user chooses merge, preserve the user's existing machine-specific settings while adding the generic template structure that keeps …
- Distinctive: line 64
If the user already provided a remote repo URL and initialization succeeds locally, treat the first push as part of the default …
- Very specific: line 65
Do not use git stash -u by default in this repo.
- Very specific: line 66
If local tracked edits block pull, stash tracked files only, pull, then re-apply and resolve conflicts.
- Very specific: line 67
If stash apply stages files automatically, restore them back to unstaged unless the user explicitly wants them staged.
- Distinctive: line 68
Treat GUI-discoverable mode as a reversible operational mode, not a one-time migration.
- Distinctive: line 69
When the user starts using this skill for interactive repo management, ask whether they want GUI-discoverable mode enabled so Git GUI tools …
- Distinctive: line 70
If the user wants GUI-discoverable mode:
- Very specific: line 72
use the bundled scripts under ${CLAUDE_SKILL_DIR}/scripts/
- Very specific: line 73
If the user does not want GUI-discoverable mode, or wants to turn it back off mid-session, run the exit flow.
- Distinctive: line 74
Before switching GUI mode, inspect current mode first and explain whether the repo is already enabled, already disabled, or needs a state …
- Very specific: line 80
If the task is first-time initialization or starter-file refresh, also load the relevant template files from assets/.
- Very specific: line 81
If the task involves GUI mode, use the bundled scripts from ${CLAUDE_SKILL_DIR}/scripts/.
- Distinctive: line 82
Follow the matching command flow, but keep default execution at one command per Bash call.
- Distinctive: line 85
Use the reference file for:
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Home Config Sync
Use this skill for a generic, shareable bare-repo dotfiles workflow:
- Git dir:
~/.dotfiles - Work tree:
~ - Remote: user-provided private repo URL
- Preferred explicit command:
git --git-dir="$HOME/.dotfiles" --work-tree="$HOME" <subcommand>Keep these rules:
- Prefer the explicit
git --git-dir="$HOME/.dotfiles" --work-tree="$HOME"form over assuming an alias exists. - Inspect live state before acting: run
status,ls-files, and read.gitignore,bootstrap.sh, andREADME.mdwhen relevant. - Treat
.gitignoreas a whitelist. New files are not trackable until both the whitelist and the file itself are added. - Prefer one command per Bash tool call. Translate multi-step flows from the reference into separate invocations instead of copying several shell operations into one command.
- Do not add
&&,;, pipes, redirection, or wrapperecholines unless the shell feature is genuinely required for the task. - During first-time initialization, read the starter templates in
assets/before creating or updating.gitignore,bootstrap.sh, orREADME.md. - During first-time initialization, the default starter-file scope is exactly:
.gitignorebootstrap.shREADME.md
- Do not invent extra shell config files, helper scripts, aliases, or wrappers during initialization unless the user explicitly asks for them.
- If
.gitignore,bootstrap.sh, orREADME.mdalready exist, ask the user file-by-file whether tomerge,overwrite, orskip. Do not silently replace or delete existing content. - If the user chooses
merge, preserve the user's existing machine-specific settings while adding the generic template structure that keeps this workflow maintainable. - Interpret
merge,overwrite, andskipas decisions about how the local file should be reconciled with the starter template. Do not reinterpret those decisions based on whether the remote repo is empty or already populated. - If the user already provided a remote repo URL and initialization succeeds locally, treat the first push as part of the default initialization flow. Do not stop at a local-only first commit unless push fails or the user explicitly wants to defer it.
- Do not use
git stash -uby default in this repo. The work tree is the whole home directory and-ucan sweep huge unrelated caches into stash. - If local tracked edits block
pull, stash tracked files only, pull, then re-apply and resolve conflicts. - If
stash applystages files automatically, restore them back to unstaged unless the user explicitly wants them staged. - Treat GUI-discoverable mode as a reversible operational mode, not a one-time migration. The user may enable it, disable it, and re-enable it repeatedly.
- When the user starts using this skill for interactive repo management, ask whether they want GUI-discoverable mode enabled so Git GUI tools can detect and manage the dotfiles repo more easily.
- If the user wants GUI-discoverable mode:
- load the GUI mode flow from the reference
- use the bundled scripts under
${CLAUDE_SKILL_DIR}/scripts/
- If the user does not want GUI-discoverable mode, or wants to turn it back off mid-session, run the
exitflow. - Before switching GUI mode, inspect current mode first and explain whether the repo is already enabled, already disabled, or needs a state change.
Workflow:
- Confirm whether the user wants first-time initialization, deployment on another machine, inspection, local update, pull/merge, push, or GUI mode enter/exit.
- Load references/dotfiles-operations.md.
- If the task is first-time initialization or starter-file refresh, also load the relevant template files from
assets/. - If the task involves GUI mode, use the bundled scripts from
${CLAUDE_SKILL_DIR}/scripts/. - Follow the matching command flow, but keep default execution at one command per Bash call. Only preserve complex shell syntax when it is truly necessary.
- Re-check
statusand explain the final repo state clearly, including the next safe step for the user.
Use the reference file for:
- Repo shape and command conventions
- First-time initialization from an empty private remote repo
- Starter-file handling and merge/overwrite/skip decisions
- New-machine deployment steps
- Day-to-day update workflow
- Pull and merge workflow with or without local edits
- Push workflow
- GUI-discoverable mode enter / exit / inspect flow
- Safety notes for a whole-home work tree
In this repository28 other files it gives its agents.
- antigravity-coding-agentSkill
- attention-frontierSkill
- audio-transcriptionSkill
- brainstormSkill
- build-verifierSkill
- claude-code-coding-agentSkill
- codex-async-followupSkill
- codex-coding-agentSkill
- codex-session-controllerSkill
- codex-session-namingSkill
- cursor-coding-agentSkill
- debuggingSkill
- deslopSkill
- explainSkill
- explore-and-planSkill
- faster-learning-coachSkill
- frontend-harness-slidesSkill
- generate-commit-messageSkill
- git-task-workspaceSkill
- grok-coding-agentSkill
- llm-wiki-captureSkill
- local-file-organizerSkill
- long-task-controlSkill
- parallel-goal-workflowsSkill
- reverse-engineerSkill
- review-and-improveSkill
- tddSkill
- x-twitter-readerSkill
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.

