Caution
ใ้่ฆใใใใฏๅไบบๅฐ็จใฎใใใฏใขใใใชใใธใใชใงใ ๆฌใชใใธใใชใฏใไฝ่ ใฎ็นๅฎใฎใใผใใฆใงใขใใใณ็ฐๅข ๏ผArch Linux / Windows 11 ใใฅใขใซใใผใ๏ผใซไพๅญใใๅไบบ็จ่จญๅฎใงใใ ๆฑ็จใใณใใฌใผใใใไปไบบใใใฎใพใพๅฐๅ ฅใใใใใฎใใฎใงใฏใใใพใใใ
็นใซSecure Boot้ข้ฃใฎ่จญๅฎใใใผใใฆใงใขๅบๆใฎในใฏใชใใใฏใ ใใฎใพใพๅฎ่กใใใจๆๆชใฎๅ ดๅ**ใทในใใ ใ่ตทๅใใชใใชใใ ใใใใฏใใผใฟใ็ ดๆใใๆใ๏ผใฉใณใใใคใณ๏ผ**ใใใใพใใ ๅ ๅฎนใๅๅใซ็่งฃใใใซใณใใผ๏ผใใผในใใใใใ ในใฏใชใใใๅฎ่กใใใใใชใใงใใ ใใใ
ใใฎใชใใธใใชใฏใไฝ่ ๏ผseekerkrt๏ผใฎ่จญๅฎใใกใคใซใ็ฎก็ใปๅๆใใใใใฎใใฎใงใใ GNU Stowใซใใใใผใ ใใฃใฌใฏใใชใธใฎๅฑ้ใ่ชไฝsystemd unit / drop-inใฎ้ ็ฝฎใ Secure Boot้็จในใฏใชใใใใใใฑใผใธไธ่ฆงใฎใใใฏใขใใใชใฉใๅซใฟใพใใ
ๆฌใชใใธใใชใฏGitHubใๆฌๅฎถใจใใฆ้็จใใใฆใใใGitLabไธใฎๅๅใชใใธใใชใฏใใใฏใขใใใใฉใผใงใใไธปใชๆดๆฐๅ ใฏGitHubใงใใ ใพใใ็งๅฏ้ตใใใผใฏใณใชใฉใฎๆฉๅฏๆ ๅ ฑใฏ็ฎก็ๅฏพ่ฑกๅคใจใชใฃใฆใใพใใ
.
โโโ stow/ # GNU Stowใงๅฑ้ใใใฆใผใถใผ่จญๅฎ
โ โโโ alacritty/ # Alacritty่จญๅฎ
โ โโโ antigravity/ # Antigravity IDE่จญๅฎ
โ โโโ bash/ # Bash่จญๅฎ
โ โโโ btop/ # btop่จญๅฎ
โ โโโ cargo/ # Cargo่จญๅฎ
โ โโโ ccache/ # ccache่จญๅฎ
โ โโโ chrome/ # Chrome่จญๅฎ
โ โโโ clang-format/ # clang-format่จญๅฎ
โ โโโ claude/ # Claude Code่จญๅฎ๏ผโ ใจใผใธใงใณใ่จญๅฎใฎๅ็
งๅ
๏ผ
โ โโโ codex/ # Codex่จญๅฎ๏ผโ ใจใผใธใงใณใ่จญๅฎใฎๅ็
งๅ
๏ผ
โ โโโ conky/ # Conky่จญๅฎ
โ โโโ copilot/ # GitHub Copilotๆ็คบ
โ โโโ editorconfig/ # EditorConfig่จญๅฎ
โ โโโ emacs/ # Emacs่จญๅฎ
โ โโโ env/ # ็ฐๅขๅคๆฐ่จญๅฎ
โ โโโ fonts/ # ใใฉใณใ่จญๅฎ
โ โโโ foot/ # footใฟใผใใใซ่จญๅฎ
โ โโโ gemini/ # Antigravity CLI่จญๅฎ๏ผโ ใจใผใธใงใณใ่จญๅฎใฎๅ็
งๅ
๏ผ
โ โโโ git/ # Git่จญๅฎ
โ โโโ grok/ # Grok่จญๅฎ๏ผโ ใจใผใธใงใณใ่จญๅฎใฎๅ็
งๅ
๏ผ
โ โโโ hypr/ # Hyprland่จญๅฎ
โ โโโ kde/ # KDE่จญๅฎ
โ โโโ mako/ # mako้็ฅใใผใซ่จญๅฎ
โ โโโ markdownlint/ # markdownlint่จญๅฎ
โ โโโ npm/ # npm่จญๅฎ
โ โโโ nvim/ # Neovim่จญๅฎ
โ โโโ scripts/ # ๅไบบ็จในใฏใชใใ๏ผagy / update-ai-cli.sh / sync-handoff ใชใฉ๏ผ
โ โโโ sway/ # Sway่จญๅฎ
โ โโโ tmux/ # tmux่จญๅฎ
โ โโโ tmuxp/ # tmuxp่จญๅฎ
โ โโโ vim/ # Vim่จญๅฎ
โ โโโ vscode/ # VS Code่จญๅฎ
โ โโโ waybar/ # Waybar่จญๅฎ
โ โโโ wezterm/ # WezTerm่จญๅฎ
โ โโโ xorg/ # X.Org่จญๅฎ
โ โโโ yazi/ # yaziใใกใคใฉใผ่จญๅฎ
โ โโโ zsh/ # Zsh่จญๅฎ
โ โโโ zsh-functions/ # Zsh้ขๆฐ
โโโ systemd/ # ่ชไฝsystemd unit / drop-in๏ผStow็ฎก็ๅฏพ่ฑกๅค๏ผ
โ โโโ system/ # โ /etc/systemd/system/ ใธ้
็ฝฎ
โ โ โโโ clamav-clamonacc.service.d/
โ โ โโโ override.conf
โ โโโ user/ # โ ~/.config/systemd/user/ ใธ้
็ฝฎ
โ โโโ ssh-agent.service
โโโ system/secureboot/ # Secure Boot้ข้ฃใฎ่จญๅฎใจในใฏใชใใ
โโโ pkglist/ # ๆ็คบใคใณในใใผใซๆธใฟใใใฑใผใธไธ่ฆง
โโโ vscode/ # VS Codeๆกๅผตไธ่ฆง๏ผStow็ฎก็ๅฏพ่ฑกๅค๏ผ
โโโ sample/ # ใทในใใ ่จญๅฎใใกใคใซใฎใตใณใใซ
โโโ docs/ # ่ฃๅฉใใญใฅใกใณใ
โ โโโ AI-CODINGAGENTS-INSTALLATIONS.md # AI CLIใฎๅฐๅ
ฅ็ต่ทฏใจๆดๆฐๆนๆณ
โ โโโ steam-shared-library.md # Windows / LinuxใฎSteamใฉใคใใฉใชๅ
ฑๆใปใใใขใใๆนๆณ
โโโ github/ # GitHub rulesetใใณใใฌใผใ๏ผๆๅ้ฉ็จใStowๅฏพ่ฑกๅค๏ผ
โ โโโ rulesets/
โ โโโ protect-main.json
โ โโโ protect-main-develop.json
โ โโโ dotfiles-protect-main.json
โโโ apply-stow.sh # Stowใชใณใฏใไฝๆ
โโโ remove-stow.sh # Stowใชใณใฏใๅ้ค
โโโ setup-systemd-services.sh # systemd unit / drop-inใฎ้
็ฝฎใจenable็ถๆ
ใฎๅ็พ
โโโ save-pkglist.sh # ใใใฑใผใธไธ่ฆงใไฟๅญ
โโโ setup-pkglist.sh # ใใใฑใผใธไธ่ฆงใใๅฐๅ
ฅ
โโโ save-vscode-extensions-list.sh # VS Codeๆกๅผตไธ่ฆงใไฟๅญ
โโโ setup-vscode-extensions-list.sh # VS Codeๆกๅผตไธ่ฆงใใๅฐๅ
ฅ
โโโ backup-ssh-allowlist.sh # SSH้ตใจ่จญๅฎใๆๅทๅใใใฏใขใใ
โโโ restore-ssh-allowlist.sh # ๆๅทๅใใSSH้ตใจ่จญๅฎใๅพฉๅ
โโโ backup-ssh-config.sh # SSH่จญๅฎใฎใฟใๆๅทๅใใใฏใขใใ
โโโ restore-ssh-config.sh # ๆๅทๅใใSSH่จญๅฎใฎใฟใๅพฉๅ
โโโ setup-system.sh # ใทในใใ ๅด่จญๅฎใ้
็ฝฎ
github/rulesets/ ใฏ GitHub ใฎ branch ruleset ใๆๅ้ฉ็จใใใใใฎ JSON ใใณใใฌใผใใงใใ
Stow ๅฏพ่ฑกๅคใงใใชใใธใใชใธ่ชๅ้ฉ็จใใในใฏใชใใใฏใใใพใใใ
bypass_actors ใฏไฝ่
ใขใซใฆใณใๅใใชใฎใงใไปใชใใธใใชใธๆต็จใใๅ ดๅใฏๆธใๆใใฆใใ ใใใ
| ใใกใคใซ | ๅฏพ่ฑกbranch | ๅ ๅฎน |
|---|---|---|
protect-main.json |
main |
ๅ้ค็ฆๆญขใnon-fast-forward็ฆๆญขใPRๅฟ ้ ๏ผๆฟ่ช0ใๆช่งฃๆฑบในใฌใใใฎresolveๅฟ ้ ๏ผ |
protect-main-develop.json |
main ใจ develop |
ๅไธ |
dotfiles-protect-main.json |
main |
ๅ้ค็ฆๆญขใฎใฟ๏ผrulesetๅ private-protect-main๏ผ |
Important
ๅ
ฑ้ๅฅ็ดใฎๆญฃๆฌใฏ stow/codex/.codex/AGENTS.md ใฎ1ใคใ ใใงใใ
CLAUDE.md ใฏ @~/.codex/AGENTS.md ใงCodexๆญฃๆฌใimportใใ
GEMINI.md ใฏใใใใใฎไธๆนๅๅๆใซใใ็งปๆค็ใงใใ
ใฉใกใใใจใผใธใงใณใๅบๆใฎๅทฎๅใ ใใๅฑๆ็ใซๆใกใพใใ
ๅ
ฑ้ใซใผใซใๅคๆดใใๅ ดๅใฏใๅฟ
ใCodexๆญฃๆฌใๅ
ใซ็ดใใฆใใ ใใใ
ๅใจใผใธใงใณใใๅฎ้ใซ่ชญใใใกใคใซใจใใใฎใชใใธใใชๅ ใงใฎๅฎไฝใฎๅฏพๅฟใฏๆฌกใฎใจใใใงใใ
| ใจใผใธใงใณใ | ใชใใธใใชๅ ใฎๅฎไฝ | ๅฎ้ใฎๅ็ งๅ | ๅ ๅฎน |
|---|---|---|---|
| Codex | stow/codex/.codex/AGENTS.md |
~/.codex/AGENTS.md |
ๅ ฑ้ๅฅ็ดใฎๆญฃๆฌ |
| Codex | stow/codex/.agents/skills/ |
~/.agents/skills/ |
Skill 9็จฎ๏ผdirectory symlink๏ผ |
| Codex | stow/codex/.codex/config.toml |
~/.codex/config.toml |
ๅธธ็จใใใฉใซใ |
| Codex | stow/codex/.codex/*.config.toml |
~/.codex/ |
ใขใใซๅฅใใญใใกใคใซ๏ผastra / luna / sol / terra / spark / safe๏ผ |
| Codex | stow/codex/.codex/config.toml.example |
~/.codex/config.toml.example |
ๆๅฐๆงๆใฎไพ |
| Codex | stow/codex/.codex/rules/ |
~/.codex/rules/ |
prefix_rule๏ผๅฎใใกใคใซcopyใ็พๅจใฏ default.rules๏ผ |
| Claude Code | stow/claude/.claude/CLAUDE.md |
~/.claude/CLAUDE.md |
Codexๆญฃๆฌใฎimport๏ผๅบๆๅทฎๅ |
| Claude Code | stow/claude/.claude/skills/ |
~/.claude/skills/ |
Skill 9็จฎ |
| Claude Code | stow/claude/.claude/settings.json |
~/.claude/settings.json |
ๆจฉ้ใใขใใซใhooksใใใฉใฐใคใณ็ญ |
| Claude Code | stow/claude/.claude/hooks/ |
~/.claude/hooks/ |
Codex rulesใBash PreToolUseใธๆต็จใใใฒใผใ |
| Antigravity CLI | stow/gemini/.gemini/GEMINI.md |
~/.gemini/GEMINI.md |
Codexๆญฃๆฌใใใฎ็งปๆค |
| Antigravity CLI | stow/gemini/.gemini/antigravity-cli/skills/ |
~/.gemini/antigravity-cli/skills/ |
Skill 9็จฎ |
| Antigravity CLI | stow/gemini/.gemini/settings.json |
~/.gemini/settings.json |
Gemini CLI่จญๅฎ |
| Antigravity CLI | stow/gemini/.gemini/antigravity-cli/settings.json |
~/.gemini/antigravity-cli/settings.json |
Antigravity CLI่จญๅฎ |
| Grok | stow/grok/.grok/AGENTS.md |
~/.grok/AGENTS.md |
Codexๆญฃๆฌใธใฎsymlink |
| Grok | stow/grok/.grok/config.toml |
~/.grok/config.toml |
CLI / UI / marketplace ่จญๅฎ๏ผๆช้ ็ฝฎๆseed๏ผ |
| GitHub Copilot | stow/copilot/.copilot/instructions/global.instructions.md |
~/.copilot/instructions/global.instructions.md |
Codexๆญฃๆฌใธใฎๅ็ ง |
SkillใฏCodexใปClaude CodeใปAntigravity CLIใฎ3ใจใผใธใงใณใๅ ฑ้ใงๆฌกใฎ9็จฎใ้ ็ฝฎใใฆใใพใใ
audit commit-prep cpp-conventions github
handoff handoff-inline handoff-archive issue-slice verify
Note
Claude Codeใ ใใฏ verify ใงใฏใชใ verify-diff ใจใใๅๅใงใใ
verify ใ็ตใฟ่พผใฟใณใใณใใจ่ก็ชใใใใใๆๅณ็ใซใชใใผใ ใใฆใใพใใ
ไธญ่บซใฎๅฅ็ดใฏไปใจใผใธใงใณใใฎ verify ใจๅใใงใใ
issue-sliceใฏGitHub Issueใพใใฏๆ็คบใใใPRๅไฝใงscope / non-scopeใๅบๅฎใใ
ๆขๅญใฎauditใcpp-conventionsใverify๏ผClaude Codeใงใฏverify-diff๏ผใ
commit-prepใgithubใhandoffใธๅฟ
่ฆใชๆฎต้ใงroutingใใชใใใ
ๆๅฐๅฎ่ฃ
ใจๆค่จผใ้ฒใใฆcommitๅใงๅๆญขใใใชใผใฑในใใฌใผใฟใงใใ
้ทใtestใbuildใrelease-checkใcompilerใruntimeใdiff็ญใฎไฝๆฅญlogใฏใ
repositoryใธ่ฟฝๅ ใใ~/handoff/<repo>/<scope>/ใธtimestampไปใfilenameใงไฟๅญใใพใใ
ๆ็ตๅ ฑๅใซใฏraw logใ่ฒผใใใpass / failใไฟๅญpathใ้่ฆใช่ฆ็นใ ใใ่จ่ผใใพใใ
~/handoff ใ ~/PrivateDocs/handoff/ ใธ *.md / *.txt ใ ใๅๆใใในใฏใชใใใฏ
stow/scripts/.local/bin/sync-handoff ใงใ๏ผStowๅฑ้ๅพใฏ sync-handoff๏ผใ
handoff็ณป3็จฎ๏ผhandoff / handoff-inline / handoff-archive๏ผใฎๆฌๆใจใ
handoff/references/common.mdใ3ใจใผใธใงใณใใงไธ่ดใใใ้็จใงใใ
SKILL.mdใฎfront matterใจใhandoff-inlineใฎๅ
ฑ้referenceๅ็
งใในใฏใจใผใธใงใณใๅบๆๅทฎๅใจใใฆ่จฑๅฎนใใพใใ
verificationใฎ่ฉณ็ดฐworkflowใฏverify๏ผClaude Codeใงใฏverify-diff๏ผใๆญฃใจใใ
issue-sliceใฏacceptance criteriaใปimpact / riskใๆธกใใฆๅฟ
่ฆใชๆค่จผใฎๅฎไบใ็ขบ่ชใใพใใ
handoffใจhandoff-inlineใฏๅ
ฑ้referenceใไฝฟใใinlineใฏ้ๅธธไฟๅญใฎSKILL.mdใ่ชญใๅฟ
่ฆใใใใพใใใ
github/references/commands.mdใฏCLIไพใๅฟ
่ฆใชๅ ดๅใ ใๅ็
งใใๅฎๅ
จๅข็ใฏgithub/SKILL.mdใซๆฎใใพใใ
supporting referenceใฏๅSkill directoryๅ
ใซ็ฝฎใใๅใStow treeใง้
ๅธใใพใใ
CodexใฎSkill directory symlinkใจClaudeใฎๆขๅญfold้
็ฝฎใงใฏsourceๅ
ใฎ่ฟฝๅ fileใๅ็
งๅฏ่ฝใซใชใใพใใ
Geminiใฎ--no-folding้
็ฝฎใงใฏใๆฐ่ฆreference่ฟฝๅ ๅพใซStowใๅ้ฉ็จใใฆfile symlinkใไฝๆใใพใใ
ๅ็
งpathใฏsourceๅดใ ใใงใชใใ้
็ฝฎๅ
ใใใฎ่งฃๆฑบใ็ขบ่ชใใพใใ
Warning
gemini ใใใฑใผใธใฏ --no-folding ใงใใ
~/.gemini ใฏๅฎใใฃใฌใฏใใชใฎใพใพๆฎใใ่ฟฝ่ทกๅฏพ่ฑก๏ผGEMINI.mdใ
settings.jsonใantigravity-cli/settings.jsonใskills/๏ผใ ใใfile symlinkใซใชใใพใใ
history.jsonlใlog/ใconversations/ใbrain/ ใชใฉใฎๅฎ่กๆใใผใฟใฏ
ใใผใ ๅดใธๆธใ่พผใพใใพใใๅคใfold้
็ฝฎๅใใฎ้คๅคใ .gitignore ใซๆฎใฃใฆใใพใใ
Grokใฎ config.toml ใฏfile symlinkใงใฏใชใใๆช้
็ฝฎๆใ ใcopyใใseedใงใใ
ๆขๅญใฎlive configใฏGrok่ช่บซใๆธใๆใใใใไธๆธใใใพใใใ
~/.grok ใฏๅฎใใฃใฌใฏใใชใฎใพใพๆฎใใAGENTS.md ใ ใใfile symlinkใงใใ
Skill 9็จฎใฎ่ค่ฃฝใฏ stow/grok ใซใฏ็ฝฎใใฆใใพใใใ
auth.jsonใsessions/ใlogs/ ใชใฉใฎๅฎ่กๆใใผใฟใฏใใผใ ๅดใซๆฎใใ
ใใฎใชใใธใใชใฎ่ฟฝ่ทกๅฏพ่ฑกๅคใงใใ
ๅCLIใฎๅฐๅ
ฅ็ต่ทฏใ็พๅจใฎ้
็ฝฎใๆดๆฐใณใใณใใฏ
docs/AI-CODINGAGENTS-INSTALLATIONS.md ใๆญฃๆฌใจใใพใใ
| CLI | ๅฐๅ ฅ็ต่ทฏ | Command |
|---|---|---|
| Codex | npm global | codex |
| Claude Code | ๅ ฌๅผnative installer | claude |
| Grok | npm global | grok |
| Antigravity CLI | ๅ ฌๅผinstaller + dotfiles็ฎก็ใฎwrapper | agy |
4็จฎใใพใจใใฆๆดๆฐใใในใฏใชใใใฏ stow/scripts/.local/bin/update-ai-cli.sh ใงใใ
Stowๅฑ้ๅพใฏ ~/.local/bin/update-ai-cli.sh ใจใใฆๅฎ่กใงใใพใใ
update-ai-cli.shCLIใใจใซPATHไธใฎๅฎไฝใจๆดๆฐๅๅพใฎversionใ่กจ็คบใใ<command> update ใ
codex โ claude โ grok โ agy ใฎ้ ใงๅฎ่กใใพใใ
PATHใซ็กใCLIใฏSKIPๆฑใใงไธญๆญใใใ1ใคใงใๅคฑๆใใๅ ดๅใฏ็ตไบใณใผใ1ใ่ฟใใพใใ
Windows / Linux ใฎ Steam ใฉใคใใฉใชๅ
ฑๆใปใใใขใใๆนๆณใฏ
docs/steam-shared-library.md ใๆญฃๆฌใจใใพใใ
ๆฐ่ฆArch็ฐๅขใงใฎๅๆๆง็ฏใฏใๅในใฏใชใใใฎ่ฒฌๅใซๆฒฟใฃใฆๆฌกใฎ้ ใงๅฎ่กใใพใใ
- ใใใฑใผใธใฎๅฐๅ
ฅ:
./setup-pkglist.sh - $HOMEๅด่จญๅฎใฎ้ฉ็จ:
./apply-stow.sh - ใทในใใ ๅด๏ผSecure Boot๏ผ่จญๅฎใฎ้
็ฝฎ:
sudo ./setup-system.sh - systemd unit / drop-inใฎ้
็ฝฎใจenable:
./setup-systemd-services.sh --apply - ๅฟ
่ฆใซๅฟใใฆSSH่จญๅฎใฎๅพฉๅ
:
./restore-ssh-config.sh BACKUP_DIR๏ผ้ตใๅซใใๅ ดๅใฏ./restore-ssh-allowlist.sh BACKUP_DIR๏ผ - ๅฟ
่ฆใซๅฟใใฆVS Codeๆกๅผตใฎๅฐๅ
ฅ:
./setup-vscode-extensions-list.sh
ๅ จ้จใใพใจใใฆๅฎ่กใใbootstrapในใฏใชใใใฏใใใพใใใไธ่จใๅๅฅใซๅฎ่กใใพใใ
ใใผใ ใใฃใฌใฏใใช๏ผ$HOME๏ผใซ่จญๅฎใใกใคใซใฎใทใณใใชใใฏใชใณใฏใๅฑ้ใใพใใ
./apply-stow.sh๏ผvscode / gemini / antigravity / grok ใใใฑใผใธๅ
จไฝใจใ
codex ใใใฑใผใธใฎ .codex subtreeใซใฏ --no-folding ใ้ฉ็จใใใพใใ
Codex Skillใฏ ~/.agents/skills/<skill> ใฎdirectory symlinkใจใใฆๅฑ้ใใใพใใ
Codexใฎ ~/.codex/rules/*.rules ใฏStow symlinkใงใฏใชใใ
apply-stow.sh ใใชใใธใใชๅดใๅฎใใกใคใซใจใใฆcopyใใพใ๏ผๆขๅญfileใฏไธๆธใ๏ผใ
remove-stow.sh ใฏใใชใใธใใชๅดใจๅ
ๅฎนใไธ่ดใใcopyใ ใใๅ้คใใ
้
็ฝฎๅพใซๅคๆดใใใrulesใฏๆฎใใพใใ
Grokใฎ config.toml ใฏStowๅฏพ่ฑกๅคใงใๆช้
็ฝฎๆใ ใๅฎใใกใคใซใจใใฆseedใใใพใใ๏ผ
Important
systemd unit / drop-in / enable็ถๆ
ใฏStowใฎ็ฎก็ๅฏพ่ฑกๅคใงใใ
ใใใใฏ systemd/ ใจ setup-systemd-services.sh ใ็ฎก็ๅ
ใงใใ
apply-stow.sh / remove-stow.sh ใฏๆงใใใฑใผใธๅ systemd-user ใ
SKIP_PACKAGES ใจใใฆ้คๅคใใฆใใพใใใใใฑใผใธ่ชไฝใฏๅ้คๆธใฟใงใ
ใใฎๆๅฎใฏ่ชคใฃใฆStow็ฎก็ใธๆปใใชใใใใฎใฌใผใใจใใฆๆฎใใฆใใพใใ
Stowใๅใใในใธsymlinkใๅผตใใจใsetupในใฏใชใใใ้
็ฝฎใใๅฎใใกใคใซใจ
conflictใใใใใงใใ
ๆฎๆฎตใคใณในใใผใซใใฆใใใใใฑใผใธใฎไธ่ฆงใ็ฎก็ใใพใใ ใปใชในใใฎไฟๅญ๏ผ็พๅจใฎ็ถๆ ใไฟๅญ๏ผ:
./save-pkglist.shใปใใใฑใผใธใฎๅฐๅ ฅ๏ผใฏใชใผใณใคใณในใใผใซๆใชใฉ๏ผ:
./setup-pkglist.sh๏ผ่ชๅ็ใซๅ ฌๅผใใใฑใผใธใฏ pacmanใAURใใใฑใผใธใฏ yay ใพใใฏ paru ใๆคๅบใใฆ --needed ใงใคใณในใใผใซใใพใ๏ผ
VS Codeๆกๅผตใๅๆงใซไธ่ฆงใง็ฎก็ใใพใใ ใปๆกๅผตไธ่ฆงใฎไฟๅญ:
./save-vscode-extensions-list.shใปๆกๅผตใฎๅฐๅ ฅ:
./setup-vscode-extensions-list.shไฟๅญๅ
ใฏ $DOTFILES/vscode/extensions-list.txt ใงใใ
$DOTFILES ใๆช่จญๅฎใฎใจใใฏ $HOME/dotfiles ใไฝฟใใพใใ
ๅฐๅ
ฅๅดใฏๆขใซๅ
ฅใฃใฆใใๆกๅผตใในใญใใใใพใใ
็งๅฏ้ตใๅซใใใใใชใใธใใชใซใณใใใใใใใชใ ~/.ssh ไปฅไธใฎ้่ฆใใกใคใซใใ
ใฆใผใถใผใๆๅฎใใๅค้จใใฃใฌใฏใใช๏ผBACKUP_DIR๏ผใธGPGๆๅทๅใใฆ้้ฟใใพใใ
ใฉใกใใฎในใฏใชใใใ BACKUP_DIR ใๅฟ
้ ๅผๆฐใงใใชใใธใใชๅ
ใซใฏไฟๅญใใพใใใ
ใปใใใฏใขใใ๏ผ~/.ssh/configใid_ed25519ใid_ed25519.pub ใฎใฟใ
authorized_keys / known_hosts / known_hosts.old ใฏ้คๅค๏ผ:
./backup-ssh-allowlist.sh /path/to/secure-backup-dirใปๅพฉๅ :
./restore-ssh-allowlist.sh /path/to/secure-backup-dirๅฏพ่ฑกใใกใคใซใฏ BACKUP_DIR/ssh-backup.tar.gz.gpg ใงใใ
ใใใฏใขใใๅดใฏ BACKUP_DIR ใๅญๅจใใชใๅ ดๅใฏไธญๆญขใใๆขๅญใใใฏใขใใใฏ
ใฟใคใ ในใฟใณใไปใ .bak ใธใญใผใใผใทใงใณใใฆใใ็ฝฎใๆใใพใใ
ๅพฉๅ
ๅดใฏใขใผใซใคใๅ
ๅฎนใallowlistใงๆค่จผใใ~/.ssh ใๅญๅจใใฆ็ฉบใงใชใๅ ดๅใฏ
ไธๆธใใๆๅฆใใพใใ
ใพใใ~/.ssh/config ใฎใฟใๅใๆฑใใใใฏใขใใใปๅพฉๅ
ในใฏใชใใใ็จๆใใใฆใใพใใ
ใปSSH่จญๅฎใฎใฟใใใฏใขใใ:
./backup-ssh-config.sh /linuxshare/BackupใปSSH่จญๅฎใฎใฟๅพฉๅ :
./restore-ssh-config.sh /linuxshare/Backup/linuxshare/Backup ใฏไพใงใใๅบๅฎใในใงใฏใใใพใใใ
ๅฏพ่ฑกใใกใคใซใฏไธ่ฌๅฝขใง BACKUP_DIR/ssh-config.tar.gz.gpg ใงใใ
ใใใฏใขใใๅดใฎๆๅ:
BACKUP_DIRใฏๅฟ ้ ๅผๆฐ- ๆๅฎใใฃใฌใฏใใชใฏไบๅใซๅญๅจใใฆใใๅฟ ่ฆใใใ๏ผในใฏใชใใใฏ่ชๅไฝๆใใชใ๏ผ
- ๅฏพ่ฑกใฏ
~/.ssh/configใฎใฟ - GPG symmetric encryption๏ผ
gpg -c๏ผใงๆๅทๅใใ - ๅบๅๅ
ใฏ
BACKUP_DIR/ssh-config.tar.gz.gpg
ๅพฉๅ ๅดใฎๆๅ:
BACKUP_DIRใฏๅฟ ้ ๅผๆฐBACKUP_DIR/ssh-config.tar.gz.gpgใใๅพฉๅ ใใ- ๅพฉๅ
ๅ
ใฏ
~/.ssh/configใฎใฟ - ใขใผใซใคใๅ
ๅฎนใๆค่จผใใ
.ssh/configไปฅๅคใๅซใๅ ดๅใฏไธญๆญขใใ - ๆขๅญใฎ
~/.ssh/configใฏใฟใคใ ในใฟใณใไปใ.bakใธ้้ฟใใฆใใไธๆธใใใ ~/.sshใ700ใ~/.ssh/configใ600ใธ่จญๅฎใใ~/.sshใ~/.ssh/configใsymlinkใฎๅ ดๅใฏๆๅฆใใ
sudo ./setup-system.shใใใซใใใGRUBๆดๆฐๆใซ่ชๅใง็ฝฒๅใใใ็ดใ pacman ใใใฏใใ ๅฐ็จใฎใใใฏใขใใใปใชในใใขในใฏใชใใใ /usr/local/sbin ใซๅ ฅใใพใใ ่ฉณ็ดฐใชๅพฉๆงๆ้ ใฏ system/secureboot/README.md ใๅ็ งใใฆใใ ใใใ
systemd/ ้
ไธใฎ่ชไฝunitใจdrop-inใ้
็ฝฎใใๆ็คบ็ฎก็ใใฆใใunitใฎ
ๆฐธ็ถenable็ถๆ
ใๅ็พใใพใใ
systemd unit / drop-in / enable็ถๆ
ใฏGNU Stowใงใฏใชใใ
systemd/ ใจ setup-systemd-services.sh ใ็ฎก็ๅ
ใงใใ
ใปdry-run๏ผๅผๆฐใชใใปๆขๅฎ๏ผ:
./setup-systemd-services.shใใกใคใซใทในใใ ใsystemdใฎ็ถๆ ใๅคๆดใใใไฝใ่กใใใใใ ใใ่กจ็คบใใพใใ
ใป้ฉ็จ:
./setup-systemd-services.sh --apply่ชไฝunit / drop-inใ้ ็ฝฎใใๅฟ ่ฆใชunitใฎๆฐธ็ถenable็ถๆ ใๅ็พใใพใใ ๅฆ็้ ใฏๆฌกใงๅบๅฎใงใใ
custom system / user unitใปdrop-inใฎ้
็ฝฎ
โ ๅฟ
่ฆใชๅ ดๅใ ใdaemon-reload
โ system unitใฎenable
โ user unitใฎenable
ใป้ฉ็จๅพใซinactiveใชunitใ ใ่ตทๅ:
./setup-systemd-services.sh --apply --now--now ใฏinactiveใชunitใฎstartใ ใใ่กใใrestart / stopใฏใใพใใใ
็พๅจใฎๅฎ่ฃ ใฎๅฎๅ จๆน้:
- ใใใฑใผใธใฎใคใณในใใผใซใฏ่กใใชใ
- disableใใชใ
- mask / unmaskใใชใ
- stopใใชใ
- restartใใชใ
- masked unitใฏๆๅๅฏพๅฟใจใใฆskipใใๅๆใซๅคๆดใใชใ
- ๅญๅจใใชใunitใฏใใใฑใผใธๆชๅฐๅ ฅใฎๅฏ่ฝๆงใจใใฆ่จ้ฒใใไธญๆญใใชใ
- ้ ็ฝฎใใใฎใฏdotfilesใๆใค่ชไฝunitใจdrop-inใ ใใงใ ใใใฑใผใธๆไพใฎunitๆฌไฝใฏshadowใใชใ
Caution
[CRITICAL] Personal Backup Repository Only This repository contains personal configuration files tailored to the author's hardware and environment (Arch Linux / Windows 11 dual-boot). It is NOT a general-purpose template or a reusable setup guide.
In particular, the Secure Boot recovery scripts and hardware-specific configuration could render your system unbootable or cause data loss if executed blindly. Do not copy-paste or execute these scripts unless you thoroughly understand the code.
This repository manages and syncs the author's (seekerkrt) dotfiles. It includes GNU Stow deployment, custom systemd unit / drop-in installation, Secure Boot maintenance scripts, and package-list backups.
This repository is primarily hosted on GitHub, and the same-named repository on GitLab serves as a backup mirror. GitHub is the primary upstream for updates. Additionally, sensitive information such as private keys and tokens is excluded from this repository.
.
โโโ stow/ # User config deployed by GNU Stow
โ โโโ alacritty/ # Alacritty config
โ โโโ antigravity/ # Antigravity IDE config
โ โโโ bash/ # Bash config
โ โโโ btop/ # btop config
โ โโโ cargo/ # Cargo config
โ โโโ ccache/ # ccache config
โ โโโ chrome/ # Chrome config
โ โโโ clang-format/ # clang-format config
โ โโโ claude/ # Claude Code config (see: Agent Configuration)
โ โโโ codex/ # Codex config (see: Agent Configuration)
โ โโโ conky/ # Conky config
โ โโโ copilot/ # GitHub Copilot instructions
โ โโโ editorconfig/ # EditorConfig
โ โโโ emacs/ # Emacs config
โ โโโ env/ # Environment variables config
โ โโโ fonts/ # Fonts config
โ โโโ foot/ # foot terminal config
โ โโโ gemini/ # Antigravity CLI config (see: Agent Configuration)
โ โโโ git/ # Git config
โ โโโ grok/ # Grok config (see: Agent Configuration)
โ โโโ hypr/ # Hyprland config
โ โโโ kde/ # KDE config
โ โโโ mako/ # mako notification daemon config
โ โโโ markdownlint/ # markdownlint config
โ โโโ npm/ # npm config
โ โโโ nvim/ # Neovim config
โ โโโ scripts/ # Local scripts (agy, update-ai-cli.sh, sync-handoff, โฆ)
โ โโโ sway/ # Sway config
โ โโโ tmux/ # tmux config
โ โโโ tmuxp/ # tmuxp config
โ โโโ vim/ # Vim config
โ โโโ vscode/ # VS Code config
โ โโโ waybar/ # Waybar config
โ โโโ wezterm/ # WezTerm config
โ โโโ xorg/ # X.Org config
โ โโโ yazi/ # yazi terminal file manager config
โ โโโ zsh/ # Zsh config
โ โโโ zsh-functions/ # Zsh functions
โโโ systemd/ # Custom systemd units / drop-ins (not Stow-managed)
โ โโโ system/ # deployed to /etc/systemd/system/
โ โ โโโ clamav-clamonacc.service.d/
โ โ โโโ override.conf
โ โโโ user/ # deployed to ~/.config/systemd/user/
โ โโโ ssh-agent.service
โโโ system/secureboot/ # Secure Boot config and scripts
โโโ pkglist/ # Explicit package lists
โโโ vscode/ # VS Code extension list (not Stow-managed)
โโโ sample/ # System configuration samples
โโโ docs/ # Supplementary documentation
โ โโโ AI-CODINGAGENTS-INSTALLATIONS.md # AI CLI install paths and updates
โ โโโ steam-shared-library.md # Windows / Linux shared Steam library setup
โโโ github/ # GitHub ruleset templates (manual apply, not Stow-managed)
โ โโโ rulesets/
โ โโโ protect-main.json
โ โโโ protect-main-develop.json
โ โโโ dotfiles-protect-main.json
โโโ apply-stow.sh # Create Stow links
โโโ remove-stow.sh # Remove Stow links
โโโ setup-systemd-services.sh # Install systemd units and enable state
โโโ save-pkglist.sh # Save package lists
โโโ setup-pkglist.sh # Install packages from lists
โโโ save-vscode-extensions-list.sh # Save VS Code extension list
โโโ setup-vscode-extensions-list.sh # Install VS Code extensions from list
โโโ backup-ssh-allowlist.sh # Back up SSH keys and config with GPG
โโโ restore-ssh-allowlist.sh # Restore SSH keys and config from GPG
โโโ backup-ssh-config.sh # Back up only SSH config with GPG
โโโ restore-ssh-config.sh # Restore only SSH config from GPG
โโโ setup-system.sh # Install system-side config
github/rulesets/ holds JSON templates for GitHub branch rulesets.
They are not Stow-managed, and this repository has no script that applies
them automatically. bypass_actors is scoped to the author's account;
rewrite it before reusing a template on another repository.
| File | Target branches | Contents |
|---|---|---|
protect-main.json |
main |
No deletion, no non-fast-forward, PR required (0 approvals, unresolved threads must be resolved) |
protect-main-develop.json |
main and develop |
Same as above |
dotfiles-protect-main.json |
main |
Deletion blocked only (ruleset name private-protect-main) |
Important
stow/codex/.codex/AGENTS.md is the single source of truth for the shared contract.
CLAUDE.md imports the Codex source via @~/.codex/AGENTS.md, and
GEMINI.md is a one-way port of it. Both carry only agent-specific
deltas. Always edit the Codex source first when changing a shared rule.
Each agent reads the following files, backed by this repository:
| Agent | Source in this repo | Resolved path | Contents |
|---|---|---|---|
| Codex | stow/codex/.codex/AGENTS.md |
~/.codex/AGENTS.md |
Canonical shared contract |
| Codex | stow/codex/.agents/skills/ |
~/.agents/skills/ |
9 skills (directory symlinks) |
| Codex | stow/codex/.codex/config.toml |
~/.codex/config.toml |
Default config |
| Codex | stow/codex/.codex/*.config.toml |
~/.codex/ |
Per-model profiles (astra / luna / sol / terra / spark / safe) |
| Codex | stow/codex/.codex/config.toml.example |
~/.codex/config.toml.example |
Minimal example config |
| Codex | stow/codex/.codex/rules/ |
~/.codex/rules/ |
prefix_rule files (copied as real files; currently default.rules) |
| Claude Code | stow/claude/.claude/CLAUDE.md |
~/.claude/CLAUDE.md |
Imports the Codex source + deltas |
| Claude Code | stow/claude/.claude/skills/ |
~/.claude/skills/ |
9 skills |
| Claude Code | stow/claude/.claude/settings.json |
~/.claude/settings.json |
Permissions, model, hooks, plugins |
| Claude Code | stow/claude/.claude/hooks/ |
~/.claude/hooks/ |
Gate that reuses Codex rules on Bash PreToolUse |
| Antigravity CLI | stow/gemini/.gemini/GEMINI.md |
~/.gemini/GEMINI.md |
Port of the Codex source |
| Antigravity CLI | stow/gemini/.gemini/antigravity-cli/skills/ |
~/.gemini/antigravity-cli/skills/ |
9 skills |
| Antigravity CLI | stow/gemini/.gemini/settings.json |
~/.gemini/settings.json |
Gemini CLI settings |
| Antigravity CLI | stow/gemini/.gemini/antigravity-cli/settings.json |
~/.gemini/antigravity-cli/settings.json |
Antigravity CLI settings |
| Grok | stow/grok/.grok/AGENTS.md |
~/.grok/AGENTS.md |
Symlink to the Codex source |
| Grok | stow/grok/.grok/config.toml |
~/.grok/config.toml |
CLI, UI, and marketplace settings (seed if missing) |
| GitHub Copilot | stow/copilot/.copilot/instructions/global.instructions.md |
~/.copilot/instructions/global.instructions.md |
Points to the Codex source |
Codex, Claude Code, and Antigravity CLI carry the same nine skills:
audit commit-prep cpp-conventions github
handoff handoff-inline handoff-archive issue-slice verify
Note
On Claude Code the skill is named verify-diff, not verify.
It is renamed deliberately because verify collides with a built-in command.
The contract itself matches the other agents' verify.
issue-slice is the orchestrator for a GitHub Issue or an explicitly selected
PR-sized implementation slice. It fixes scope and non-scope, routes to the
existing audit, cpp-conventions, verify (verify-diff on Claude Code),
commit-prep, github, and handoff skills when needed, performs the minimum
implementation and verification, and stops before commit.
Long test, build, release-check, compiler, runtime, and diff logs are kept
outside the repository under ~/handoff/<repo>/<scope>/ with timestamped
filenames. Final responses report pass / fail, the saved path, and key points
instead of embedding raw logs.
stow/scripts/.local/bin/sync-handoff copies *.md and *.txt from
~/handoff to ~/PrivateDocs/handoff/ (available as sync-handoff after Stow).
The bodies of the three handoff skills (handoff / handoff-inline /
handoff-archive) and handoff/references/common.md are kept identical
across all three agents. SKILL.md front matter and the common-reference
path in handoff-inline are permitted per-agent differences.
verify (verify-diff on Claude Code) owns the detailed verification
workflow. issue-slice supplies acceptance criteria and impact / risk,
then checks that the required verification is complete.
handoff and handoff-inline use the common reference; inline does not
need to read the normal-save SKILL.md.
github/references/commands.md is read only when CLI examples are needed;
safety boundaries remain in github/SKILL.md.
Supporting references live inside each skill directory and are deployed
through the same Stow tree. Codex skill directory symlinks and the current
Claude folded layout expose new source files directly. Gemini's
--no-folding layout needs Stow reapplied to create links for new references.
Check reference resolution from the deployed paths as well as the sources.
Warning
The gemini package uses --no-folding.
~/.gemini remains a real directory; only tracked files (GEMINI.md,
settings.json, antigravity-cli/settings.json, and skills/) are file
symlinks.
Runtime data such as history.jsonl, log/, conversations/, and
brain/ is written on the home side. .gitignore still has exclusions
left over from the older folded layout.
Grok's config.toml is a seed copy, not a Stow symlink.
If a live config already exists, it is left alone because Grok rewrites
it. ~/.grok remains a real directory; only AGENTS.md is a file
symlink. This repository does not keep a copy of the nine skills under
stow/grok. Runtime data such as auth.json, sessions/, and logs/
stays in the home directory and is not tracked.
docs/AI-CODINGAGENTS-INSTALLATIONS.md is the source of truth for how each
CLI is installed, where it currently lives, and how it is updated.
| CLI | Install path | Command |
|---|---|---|
| Codex | npm global | codex |
| Claude Code | Official native installer | claude |
| Grok | npm global | grok |
| Antigravity CLI | Official installer + wrapper in this repo | agy |
stow/scripts/.local/bin/update-ai-cli.sh updates all four at once. After Stow
deployment it is available as ~/.local/bin/update-ai-cli.sh.
update-ai-cli.shFor each CLI it prints the resolved path and the version before and after, then
runs <command> update in the order codex โ claude โ grok โ agy.
A CLI missing from PATH is skipped without aborting the run; the script exits
with 1 if any update failed.
docs/steam-shared-library.md is the source of truth for the Windows / Linux
shared Steam library setup.
On a fresh Arch install, run the scripts in this order, matching their respective responsibilities:
- Install packages from lists:
./setup-pkglist.sh - Deploy $HOME config:
./apply-stow.sh - Install system-side (Secure Boot) config:
sudo ./setup-system.sh - Install systemd units / drop-ins and enable them:
./setup-systemd-services.sh --apply - Restore SSH config if needed:
./restore-ssh-config.sh BACKUP_DIR(or./restore-ssh-allowlist.sh BACKUP_DIRto include the keys) - Install VS Code extensions if needed:
./setup-vscode-extensions-list.sh
There is no single all-in-one bootstrap script; run the steps individually.
Creates symlinks from the stow/ directory to your $HOME.
./apply-stow.sh(The vscode, gemini, antigravity, and grok packages, and the
.codex subtree of the codex package, use --no-folding. Codex Skills
are deployed as directory symlinks at ~/.agents/skills/<skill>.
~/.codex/rules/*.rules are not Stow symlinks; apply-stow.sh copies them
from the repository as real files and overwrites existing copies.
remove-stow.sh deletes a copied rule only when it still matches the
repository source, and leaves rules that were edited after deployment.
Grok's config.toml is excluded from Stow and seeded as a real file only
when it is missing.)
Important
systemd units, drop-ins, and enable state are out of Stow's scope.
They are owned by systemd/ and setup-systemd-services.sh.
apply-stow.sh and remove-stow.sh list the former package name
systemd-user in SKIP_PACKAGES. The package itself is already deleted;
the entry remains as a guard against accidentally putting systemd back
under Stow, because a Stow symlink at the same path would conflict with
the real files installed by the setup script.
Track and sync installed packages across installations. ใปTo save current packages:
./save-pkglist.shใปTo install packages from the lists:
./setup-pkglist.sh๏ผAutomatically detects yay or paru for foreign/AUR packages and applies --needed๏ผ
VS Code extensions are managed the same way. ใปTo save the extension list:
./save-vscode-extensions-list.shใปTo install extensions from the list:
./setup-vscode-extensions-list.shThe list is $DOTFILES/vscode/extensions-list.txt. If $DOTFILES is
unset, $HOME/dotfiles is used. Already-installed extensions are skipped.
Securely backs up critical SSH files (including private keys) into a
GPG-encrypted archive stored in a user-specified external directory
(BACKUP_DIR), outside the git history. BACKUP_DIR is a required argument
for every script below; nothing is ever written inside this repository.
ใปBackup (only ~/.ssh/config, id_ed25519, and id_ed25519.pub;
authorized_keys, known_hosts, and known_hosts.old are excluded):
./backup-ssh-allowlist.sh /path/to/secure-backup-dirใปRestore:
./restore-ssh-allowlist.sh /path/to/secure-backup-dirThe archive is BACKUP_DIR/ssh-backup.tar.gz.gpg. The backup script aborts if
BACKUP_DIR does not exist, and rotates an existing archive to a timestamped
.bak before replacing it. The restore script validates the archive against
the same allowlist and refuses to overwrite ~/.ssh if it exists and is not
empty.
Additionally, scripts to back up and restore only the ~/.ssh/config file are
available.
ใปBackup SSH Config only:
./backup-ssh-config.sh /linuxshare/BackupใปRestore SSH Config only:
./restore-ssh-config.sh /linuxshare/Backup/linuxshare/Backup is only an example, not a fixed path. In general terms the
archive is BACKUP_DIR/ssh-config.tar.gz.gpg.
Backup behavior:
BACKUP_DIRis a required argument- The directory must already exist; the script never creates it
- Only
~/.ssh/configis included - GPG symmetric encryption (
gpg -c) is used - The output is
BACKUP_DIR/ssh-config.tar.gz.gpg
Restore behavior:
BACKUP_DIRis a required argument- Restores from
BACKUP_DIR/ssh-config.tar.gz.gpg - Only
~/.ssh/configis restored - The archive contents are validated; anything other than
.ssh/configaborts - An existing
~/.ssh/configis moved to a timestamped.bakbefore overwrite ~/.sshis set to 700 and~/.ssh/configto 600- A symlinked
~/.sshor~/.ssh/configis rejected
sudo ./setup-system.shThis deploys tools to /usr/local/sbin and handles automatic sbctl re-signing whenever grub updates via a post-transaction pacman hook. For recovery details, refer to system/secureboot/README.md.
Installs the custom units and drop-ins under systemd/ and reproduces the
persistent enable state of the explicitly managed units.
systemd units, drop-ins, and enable state are owned by systemd/ and
setup-systemd-services.sh, not by GNU Stow.
ใปDry run (no arguments, the default):
./setup-systemd-services.shIt changes neither the filesystem nor any systemd state; it only reports what would happen.
ใปApply:
./setup-systemd-services.sh --applyInstalls the custom units / drop-ins and reproduces the persistent enable state of the required units. The order is fixed:
install custom system / user units and drop-ins
โ daemon-reload only when unit files actually changed
โ enable system units
โ enable user units
ใปStart inactive units after applying:
./setup-systemd-services.sh --apply --now--now only starts units that are currently inactive; it never restarts or
stops anything.
Safety policy of the current implementation:
- Never installs packages
- Never disables units
- Never masks or unmasks units
- Never stops units
- Never restarts units
- Skips masked units for manual handling instead of changing them
- Records missing units as possibly-uninstalled packages and keeps going
- Installs only the custom units and drop-ins owned by this repository, never shadowing a package-provided unit file