dotfiles-workflow

dotfiles-workflow is a skill for Claude Code, Codex from magic3007/dotfiles. It costs 73 tokens per session (694 once invoked), scanned A, original, MIT.

A workflow guide for changing configuration, skills, shell wrappers, or harness settings in a dotfiles repository. Dotfiles are personal tool and shell settings managed as code; Dotbot is the tool used to install or link them.

In plain words
What is it for?
Use it to choose between linking, merging, and seeding configuration, follow the repository guide, run its gate, and add regression checks for corrections.
Why use it?
It helps make changes at the correct source file and prevents broken links or incorrect handling of files that tools rewrite themselves. A repository gate checks whether the change is acceptable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash .repo-std/gate.sh.

Good fit Use it to choose between linking, merging, and seeding configuration, follow the repository guide, run its gate, and add regression checks for corrections.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/magic3007/dotfiles
agentmods
npx agentmods add skills/magic3007/dotfiles/dotfiles-workflow

Made for: Claude Code, Codex.

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 dotfiles-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/magic3007/dotfiles/dotfiles-workflow/github.svg)](https://agentmods.dev/skills/magic3007/dotfiles/dotfiles-workflow)
Your own site
<a href="https://agentmods.dev/skills/magic3007/dotfiles/dotfiles-workflow"><img src="https://agentmods.dev/badge/skills/magic3007/dotfiles/dotfiles-workflow/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 dotfiles-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/magic3007/dotfiles/dotfiles-workflow"><img src="https://agentmods.dev/badge/skills/magic3007/dotfiles/dotfiles-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 694 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.
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.00073 $0.00694
Opus 5.5 $0.00029 $0.00278
Sonnet 5.5 $0.00015 $0.00139
Haiku 4.5 $0.00007 $0.00069

Measured 4d ago against content hash 9273a1bdd079, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dotfiles-workflow 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 4d ago.

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.

skills/dotfiles-workflow/SKILL.md · 70 lines

How it starts

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

dotfiles workflow

The repository documents itself. This skill exists so an agent reaches the right document before editing, and runs the gate before claiming done.

Order of operations

  1. Read docs/REPO_GUIDE.md first. It holds the rules, the single-source-of-truth table, and a change-path table keyed by what you are about to do. Nothing is duplicated elsewhere, so skipping it means guessing.

  2. Make the change at the entry point that table names.

  3. Run the gate. It is the acceptance criterion:

    bash .repo-std/gate.sh
    

The one decision that is easy to get wrong

A new config file is delivered in one of three ways — link, merge, or seed — and the choice depends on whether the owning tool rewrites the file itself. Choosing link for a self-rewriting tool corrupts the repository and breaks every later ./install. docs/REPO_GUIDE.md §2 has the table and the list of tools already classified.

A link always goes into install.conf.yaml, once. ./install and the 15-minute sync.sh both read that one file.

When the user corrects you

Do not add a line to a rules file. Write a check that fails, under .repo-std/checks/, with a violating fixture under .repo-std/checks/fixtures/<name>/, and register it in .repo-std/corrections.yml. Four steps, spelled out in docs/REPO_GUIDE.md §5.

Then prove the check actually guards something:

bash .repo-std/gate.sh --prove

That runs every check against its violating fixture and fails unless each check reports a FAIL line there. A guard that has never failed is a guard nobody tested.

Commands

bash .repo-std/gate.sh              # every check, against the repository
bash .repo-std/gate.sh --prove      # negative control
python3 scripts/sync-skills.py --dry-run
./install --only link               # idempotent; no --dry-run exists

Things that are not true of other repositories

  • There is no dry-run flag; the pinned Dotbot rejects it.
  • ./install and sync.sh read the same install.conf.yaml, but only ./install runs the network steps in scripts/provision.sh; both run scripts/apply.sh.
  • Harness config under ~/ is often generated or merged — editing the live file is reverted within 15 minutes. Edit the tracked source.
  • The repository is public; credentials are always a reference, never a literal, and a skill directory is private until .gitignore allowlists it.

Read the full file on GitHub · 70 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. 4d ago Changed · +5 lines 9273a1bdd079
  2. 12d ago First seen · 65 lines · 73 tokens per session scan A afb81681c2b7

Subscribe to this mod's changes

dotfiles-workflow is a skill published in the GitHub repository magic3007/dotfiles (11 stars, last pushed 5d ago), licensed MIT. It adds 73 tokens to every session and 694 once invoked, about $0.0003 per session on Opus 5.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-11-18.

Related

dotfiles-workflow compared with skills from other repositories

dotfiles-workflow next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dotfiles-workflowmagic3007/dotfilesSkill115d agoMITA73Claude Code, Codex
merge-readyurmzd/dotfilesSkill64d agoApache-2.0A208Claude Code
sync-releaseurmzd/dotfilesSkill64d agoApache-2.0A136Claude Code
setup-ciurmzd/dotfilesSkill64d agoApache-2.0A119Claude Code
landurmzd/dotfilesSkill64d agoApache-2.0A168Claude Code
prurmzd/dotfilesSkill64d agoApache-2.0A161Claude Code
work-statusurmzd/dotfilesSkill64d agoApache-2.0A187Claude Code