fork-and-customize
Skill682 starsChanged 5 days agoMITView on GitHub
Use when forking or rebranding this repo — "fork this repo", "make this my own", "use this for my dotfiles". Covers what to rename, customizing packages.yaml and the chezmoi source, and which release/CI plumbing to leave alone.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- add-system-actionSkill
- chezmoi-scriptsSkill
- docs-siteSkill
- run-testsSkill
- ship-featureSkill
- vm-labSkill
The file
Files
Forking personal-os-setup for your own setup
Most personalization lives in data (packages.yaml, the chezmoi source dir, docs/), not code — a fork mainly replaces those, not the app.
What to customize
- Package catalog —
src/personal_os_setup/config/packages.yaml. Structure:packages: <distro>: <manager>: <category>: [package names]. Categories are free-form strings (they becomeCollapsiblegroups in the Packages tab). See [[add-system-action]] if you're adding a brand-new manager backend, not just editing lists for existing managers. - Dotfiles —
src/personal_os_setup/config/chezmoi/is the chezmoi source dir shipped with the package (chezmoi_source_dir()intasks/system/chezmoi.pyresolves it viaimportlib.resources). Replacedot_zshrc/dot_p10k.zsh/dot_config/...with your own, or add files interactively through the app's "Sync dotfiles" tab (chezmoi: track a new fileaction)..chezmoiexternal.toml/.chezmoiignorein that dir control externally-pulled resources (oh-my-zsh, plugins, theme) and ignore rules. - Branding / metadata:
pyproject.toml:[project] name,description, and the[project.scripts]entry-point name if you want a different CLI command.CNAME(repo root) — custom domain for the docs site, only if you use GitHub Pages with one.src/personal_os_setup/tasks/system/help.py'sDOCS_SITE_URLconstant — the URL the in-app "🚀 Start" tab's doc-link buttons open (seeapp.py's_START_SECTION_NAME/_START_GUIDE_MARKDOWNfor the onboarding text).properdocs.yml:site_name,site_author,theme.logo/favicon.README.md/docs/content — the walkthrough the doc-link buttons point to.
- OS-specific config under
src/personal_os_setup/config/{darwin,unix,windows,others}/— bundled app-specific config files (Raycast, Aerospace, GlazeWM, …) referenced by individual system actions infactory.py; swap them and update the correspondingtasks/system/*.pyaction.
What to leave alone (unless you specifically want it)
- Release/CI plumbing (
python-semantic-releaseconfig inpyproject.toml,.github/workflows/*.yml,scripts/emoji_commit_parser.py) — only needed for the same automated versioning/release flow; strip it if you're not publishing releases. - The
docs_dir: .mkdocs setup inproperdocs.yml— only matters if you publish a docs site via GitHub Pages. See [[docs-site]], especially the exclude-glob trap if your fork adds new repo-root directories. - The package-manager backends (
tasks/managers/*.py) anddetect_os.py— the actual engineering, reusable as-is unless you target an unsupported distro/OS.
Getting your fork running locally
Same as any contributor: make install-dev, make run to launch the TUI, make test-all (or make check for the full local gate) to confirm the suites pass against your changes. Heavily edited packages.yaml is checked by tests/unit/test_detect_os.py::TestPackagesYaml — it catches a manager name with no registered backend. See [[run-tests]] for what's safe locally (make test-local) versus destructive (make test-integration).
To keep pulling upstream improvements, keep customizations in the data/config files above rather than in shared code paths (factory.py, app.py, tasks/managers/) — that keeps upstream merge conflicts minimal.
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.

