Skip to main content
subagent official · GitHub

Arch Linux Expert — GitHub Copilot subagent: pacman and rolling

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.

Install into GitHub Copilot · Manually: put the files in place All methods and platforms ↓
.github/agents/arch-linux-expert.agent.md
Open on GitHub

What Arch Linux Expert 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.

What it helps with

  • 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 for the agent

  • 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/

How to install Arch Linux Expert

Manually: put the files in place

.github/agents/arch-linux-expert.agent.md

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about Arch Linux Expert

How do I install Arch Linux Expert in GitHub Copilot?

Create a .github/agents/arch-linux-expert.agent.md file in your repository — that's all it takes for the subagent to show up in Copilot.

What does Arch Linux Expert do?

It gives Arch-specific guidance on pacman, rolling-release maintenance and system administration, and runs step-by-step troubleshooting with verification after each change.

Which tools does the subagent use?

It reaches for the codebase, search, the terminal and file edits, and it runs on the Claude model.

Source text

arch-linux-expert.agent.md · MIT
---
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.

© github · MIT · github/awesome-copilot

Similar subagents

All subagents for DevOps and infrastructure →

From the same set770

The whole set →
aws-cloud-expert Subagent for designing, deploying, and optimizing AWS workloads. Covers serverless, containers, databases, networking, IaC, and security through the AWS Well-Architected Framework lens. ★ 40,418repo stars Atlassian Requirements to Jira Converts requirement files into Jira epics and user stories with duplicate checks. It saves time when setting up a fresh project backlog. ★ 40,418repo stars arm-migration-agent Subagent for migrating x86 codebases and Docker environments to Arm architecture. It checks images, dependencies, and code patterns for targets like Graviton, Axion, or Cobalt. ★ 40,418repo stars Senior Cloud Architect Designs system architecture, details non-functional requirements, and renders Mermaid diagrams without writing code. ★ 40,418repo stars ai-team-qa Acts as a dedicated QA engineer named Ivy to run exploratory checks and report bugs. Validates changes before release without modifying your code. ★ 40,418repo stars ai-team-producer Remy acts as an AI producer to plan work, coordinate Dev and QA roles, and prepare pull requests without writing application code. ★ 40,418repo stars ai-team-dev A subagent that carries a task from reading the code to an opened pull request. Useful when you need a feature or a bug fix inside an unfamiliar repo. ★ 40,418repo stars ai-readiness-reporter Runs an AgentRC readiness assessment and builds a standalone HTML report in reports/index.html. Helps evaluate how prepared a repository is for AI agents. ★ 40,418repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor