home-config-sync

home-config-sync is a skill for Claude Code, Codex from patrick-fu/awesome-skills. It costs 20 tokens per session (1,197 once invoked), scanned A, original, MIT.

A reusable setup for storing and managing your home configuration files in a Git repository. These files, often called dotfiles, control tools such as your shell and editor.

In plain words
What is it for?
Use it to initialize or maintain a bare Git repository for dotfiles, manage its file whitelist, and bootstrap the setup on another machine.
Why use it?
It provides a consistent way to back up, review, and restore configuration across computers without putting your whole home directory under normal Git control.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present.

Part of the personal-setup plugin — 2 skills shipped together

Good fit Use it to initialize or maintain a bare Git repository for dotfiles, manage its file whitelist, and bootstrap the setup on another machine.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/patrick-fu/awesome-skills/home-config-sync
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add patrick-fu/awesome-skills --skill home-config-sync
Clone the repo
git clone --depth 1 https://github.com/patrick-fu/awesome-skills

Made for: Claude Code, Codex.

Or install personal-setup, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for home-config-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/patrick-fu/awesome-skills/home-config-sync/github.svg)](https://agentmods.dev/skills/patrick-fu/awesome-skills/home-config-sync)
Your own site
<a href="https://agentmods.dev/skills/patrick-fu/awesome-skills/home-config-sync"><img src="https://agentmods.dev/badge/skills/patrick-fu/awesome-skills/home-config-sync/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for home-config-sync

Your own site · 80×15
<a href="https://agentmods.dev/skills/patrick-fu/awesome-skills/home-config-sync"><img src="https://agentmods.dev/badge/skills/patrick-fu/awesome-skills/home-config-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,197 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.01197
Opus 5 $0.00010 $0.00598
Sonnet 5 $0.00004 $0.00239
Haiku 4.5 $0.00002 $0.00120

Measured 10d ago against content hash 58e09da3e8fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

home-config-sync scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/dotfiles-gui-enter.sh, scripts/dotfiles-gui-exit.sh, scripts/dotfiles-gui-status.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

home-config-sync/SKILL.md · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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, and README.md when relevant.
  • Treat .gitignore as 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 wrapper echo lines 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, or README.md.
  • During first-time initialization, the default starter-file scope is exactly:
    • .gitignore
    • bootstrap.sh
    • README.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, or README.md already exist, ask the user file-by-file whether to merge, overwrite, or skip. 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, and skip as 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 -u by default in this repo. The work tree is the whole home directory and -u can 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 apply stages 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 exit flow.
  • Before switching GUI mode, inspect current mode first and explain whether the repo is already enabled, already disabled, or needs a state change.

Workflow:

  1. Confirm whether the user wants first-time initialization, deployment on another machine, inspection, local update, pull/merge, push, or GUI mode enter/exit.
  2. Load references/dotfiles-operations.md.
  3. If the task is first-time initialization or starter-file refresh, also load the relevant template files from assets/.
  4. If the task involves GUI mode, use the bundled scripts from ${CLAUDE_SKILL_DIR}/scripts/.
  5. 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.
  6. Re-check status and explain the final repo state clearly, including the next safe step for the user.

Read the full file on GitHub · 96 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 96 lines · 20 tokens per session scan A 58e09da3e8fb

Subscribe to this mod's changes

home-config-sync is a skill published in the GitHub repository patrick-fu/awesome-skills (58 stars, last pushed 3d ago), licensed MIT. It adds 20 tokens to every session and 1,197 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

prowler-commit

Creates professional git commits following conventional-commits format. Trigger: When creating commits, after completing code changes, when user asks to commit.

prowler-cloud/prowler · 33 tokens

gh-auth-isolation

Safely manage multiple GitHub identities (EMU + personal) in agent workflows.

github/gh-aw · 20 tokens

comet-github

A routing guide for Comet-related GitHub work. It directs requests about pull requests, issues, CI failures, ideas, and fixes to the appropriate review or implementation process.

rpamis/comet · 72 tokens

github-skill

Work with GitHub via the gh CLI — clone repositories, create/list/merge pull requests, create/list issues, and run any other gh command (API calls, workflow runs, releases, repo administration). List operations return parsed JSON.

zeenie-ai/OpenCompany · 51 tokens

re0-merge

Review and land an external contribution the way this suite does: gate it against the thesis, land it with the author's credit intact, complete a new skill rather than merging it raw, then approve, credit, and explain before closing. Use when reviewing a pull request, as any collaborator or maintainer, not only the…

LilMGenius/paperthin · 70 tokens

nvca-chart-release

Release NVCA Operator chart changes from the native monorepo source to the vendored Helm chart. Use when updating the vendored NVCA Operator chart, changing NVCA image refs, publishing helm-nvca-operator, or validating the chart against a self-managed control plane.

NVIDIA/nvcf · 61 tokens