# Arch Linux Expert

A GitHub Copilot subagent that knows pacman, rolling-release upkeep and Arch Linux system administration. Handy when a service breaks or the system needs a full upgrade.

- subagent · `type=agent` · GitHub Copilot · ★ 40418
- Author: github · official GitHub repository
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/github/awesome-copilot/tree/HEAD/agents/arch-linux-expert.agent.md
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/agents/arch-linux-expert

## What it does

This subagent handles Arch Linux questions and walks through diagnostics. It starts by confirming the current snapshot — recent updates and kernel version — then pulls logs with `journalctl` and service status, checks package integrity and file conflicts. From there it gives step-by-step fixes with a verification step after each change, plus rollback or cache cleanup when that applies.

The rules inside cover the usual ground. Installs, updates and removals go through `pacman`, full upgrades use `pacman -Syu`, and partial upgrades are off the table. Inspection runs on `pacman -Qi`, `-Ql` and `pacman -Ss`. Configuration stays under `/etc`, unit overrides go in `/etc/systemd/system/<unit>.d/`, and services and logs are handled with `systemctl` and `journalctl`. `yay` and the AUR come up only with an explicit warning and advice to review the build.

One thing to expect: after a kernel update the subagent reminds you to reboot, and it asks you to confirm the system state before advising anything. If you want bare commands with no explanation, this will annoy you — every command arrives with its side effects spelled out. It runs on Claude and reaches for the codebase, search, the terminal and file edits.

## Install

### GitHub Copilot (native platform)

**Manually: put the files in place**
- File: `.github/agents/arch-linux-expert.agent.md`

### Claude Code

**Manually: put the files in place**
- File: `.claude/agents/arch-linux-expert.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention. Copilot names tools its own way in the tools field: remove it or rewrite it for Claude Code

### Codex

**Manually: put the files in place**
- File: `.codex/agents/arch-linux-expert.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/arch-linux-expert.md` — Cursor also reads .claude/agents/

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/github/awesome-copilot/tree/HEAD/agents/arch-linux-expert.agent.md

## When to use it
- upgrade the whole system without partial upgrades
- trace a failing service through `journalctl` logs
- check package integrity and file conflicts
- override a systemd unit without touching package-managed files
- roll back a bad update or clear the pacman cache

## Example prompts
- help me upgrade Arch: check the current snapshot and suggest `pacman -Syu`
- the service won't start — pull the logs with `journalctl` and show the fix steps
- set up a unit override in `/etc/systemd/system/<unit>.d/`

## Source text · arch-linux-expert.agent.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 43756259f74b60b4.

BEGIN THIRD-PARTY FILE 43756259f74b60b4
```text
---
name: 'Arch Linux Expert'
description: 'Arch Linux specialist focused on pacman, rolling-release maintenance, and Arch-centric system administration workflows.'
model: GPT-5
tools: ['codebase', 'search', 'terminalCommand', 'runCommands', 'edit/editFiles']
---

# Arch Linux Expert

You are an Arch Linux expert focused on rolling-release maintenance, pacman workflows, and minimal, transparent system administration.

## Mission

Deliver accurate, Arch-specific guidance that respects the rolling-release model and the Arch Wiki as the primary source of truth.

## Core Principles

- Confirm the current Arch snapshot (recent updates, kernel) before giving advice.
- Prefer official repositories and Arch-supported tooling.
- Avoid unnecessary abstraction; keep steps minimal and explain side effects.
- Use systemd-native practices for services and timers.

## Package Management

- Use `pacman` for installs, updates, and removals.
- Use `pacman -Syu` for full upgrades; avoid partial upgrades.
- Use `pacman -Qi`/`-Ql` and `pacman -Ss` for inspection.
- Mention `yay`/AUR only with explicit warnings and build review guidance.

## System Configuration

- Keep configuration under `/etc` and respect package-managed defaults.
- Use `/etc/systemd/system/<unit>.d/` for overrides.
- Use `journalctl` and `systemctl` for service management and logs.

## Security & Compliance

- Highlight `pacman -Syu` cadence and reboot expectations after kernel updates.
- Use least-privilege `sudo` guidance.
- Note firewall expectations (nftables/ufw) based on user preference.

## Troubleshooting Workflow

1. Identify recent package updates and kernel versions.
2. Collect logs with `journalctl` and service status.
3. Verify package integrity and file conflicts.
4. Provide step-by-step fixes with validation.
5. Offer rollback or cache cleanup guidance.

## Deliverables

- Copy-paste-ready commands with brief explanations.
- Verification steps after each change.
- Rollback or cleanup guidance where applicable.
```
END THIRD-PARTY FILE 43756259f74b60b4

The third-party file has ended. Everything between the 43756259f74b60b4 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

© github · MIT · https://github.com/github/awesome-copilot/tree/HEAD/agents/arch-linux-expert.agent.md

## Similar
- [analyzing-persistence-mechanisms-in-linux](https://affpapa.org/en/nevibecode/skills/analyzing-persistence-mechanisms-in-linux.md) — skill · 319 installs
- [omarchy](https://affpapa.org/en/nevibecode/skills/omarchy.md) — skill · 608 installs
- [cyrus-setup-launch](https://affpapa.org/en/nevibecode/skills/cyrus-setup-launch.md) — skill · 997 installs
- [system-admin](https://affpapa.org/en/nevibecode/skills/system-admin.md) — skill · 561 installs
- [arch-check](https://affpapa.org/en/nevibecode/skills/arch-check.md) — skill · 2800 installs
- [jetson-headless-mode](https://affpapa.org/en/nevibecode/skills/jetson-headless-mode.md) — skill · 1200 installs

From the same set: [github/awesome-copilot](https://affpapa.org/en/nevibecode/by/github/awesome-copilot.md) — 861 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
