一键导入
arch-packages
Install or remove Arch Linux packages declaratively. Use when adding a package to install, removing a package, or managing system packages via paru.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Install or remove Arch Linux packages declaratively. Use when adding a package to install, removing a package, or managing system packages via paru.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create and edit Claude Code slash commands. Use when the user wants to create a new slash command, add a custom command, or modify an existing command in .claude/commands/.
View the latest screenshot. Use when user asks to look at, view, see, or analyze a screenshot, or says "latest screenshot".
Install and manage dotfiles in this repository. Use when adding a new config file to be tracked, symlinking a dotfile, or modifying which files are managed by the dotfiles repo.
Configures Sway window manager. Use when user asks about sway keybindings, window rules, outputs, inputs, workspaces, or any sway/i3 configuration.
Reads man pages to find configuration options. Use when the user asks to configure an application, needs to find a config option, or asks "how do I make X do Y" for a CLI tool or system program.
| name | arch-packages |
| description | Install or remove Arch Linux packages declaratively. Use when adding a package to install, removing a package, or managing system packages via paru. |
Packages are managed declaratively in scripts/arch-linux.sh. Running the script installs missing packages and removes unwanted ones.
Add the package name to the appropriate PACKAGES array section in scripts/arch-linux.sh:
# Example sections:
PACKAGES=(...) # Core packages
PACKAGES+=(...) # Desktop apps
PACKAGES+=(...) # Sway-related
PACKAGES+=(...) # Speech Recognition
PACKAGES+=(...) # Fonts
Choose the section that best fits the package's purpose, or create a new section with a comment header.
Add the package name to the REMOVE_PACKAGES array in scripts/arch-linux.sh:
REMOVE_PACKAGES=(
package-to-remove
another-package
)
The script uses paru -Qe to check if the package is explicitly installed (not a dependency), then removes it with paru -Rs to also clean up orphaned dependencies.
./scripts/arch-linux.sh
Or run the full install:
./install.sh