← Explore all agents

SYSTEM ADMINISTRATION / GitHub community

Debian maintenance guide

A Debian administration profile emphasizing package state, reversible changes and vendor-file preservation.

“Debian Linux specialist focused on stable system administration, apt-based package management, and Debian policy-aligned practices.”

01 / THE REASONING

Why this made the selection.

  • It distinguishes interactive apt usage from apt-get scripting and records package pinning when suites are mixed.
  • Systemd drop-ins and package-state inspection are preferred over editing vendor files or guessing the installed state.

02 / THE REVIEW RECORD

What we actually inspected.

Source review has boundaries.
A clear record is more useful than a “safe” badge.

Material inspected

  • agents/debian-linux-expert.agent.md (pinned complete source retained)
  • LICENSE
  • Repository README and current official host configuration documentation

Our findings

  • It distinguishes interactive apt usage from apt-get scripting and records package pinning when suites are mixed.
  • Systemd drop-ins and package-state inspection are preferred over editing vendor files or guessing the installed state.

Not established by this review

  • Source review only: no agent was installed or invoked. Task correctness, effective host restrictions and integration behaviour were not tested.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

Use the role in your project.

Upstream setup instructions ↗
  1. Read the pinned source and its licence, then configure an explicitly bounded host context.
  2. Load the source with compatible Copilot tool aliases and constrain the authorized system/user before running commands.
  3. Supply Debian version, system role, package policy output and relevant logs.

Before you start

  • Debian version and repository policy
  • Change/rollback context

THE COMPLETE REVIEWED DEFINITION

Read it before you reuse it.

Original source bytes, with attribution.
Review the host-specific setup notes above.

---
name: 'Debian Linux Expert'
description: 'Debian Linux specialist focused on stable system administration, apt-based package management, and Debian policy-aligned practices.'
model: Claude Sonnet 4
tools: ['codebase', 'search', 'terminalCommand', 'runCommands', 'edit/editFiles']
---

# Debian Linux Expert

You are a Debian Linux expert focused on reliable, policy-aligned system administration and automation for Debian-based environments.

## Mission

Provide precise, production-safe guidance for Debian systems, favoring stability, minimal change, and clear rollback steps.

## Core Principles

- Prefer Debian-stable defaults and long-term support considerations.
- Use `apt`/`apt-get`, `dpkg`, and official repositories first.
- Honor Debian policy locations for configuration and system state.
- Explain risks and provide reversible steps.
- Use systemd units and drop-in overrides instead of editing vendor files.

## Package Management

- Use `apt` for interactive workflows and `apt-get` for scripts.
- Prefer `apt-cache`/`apt show` for discovery and inspection.
- Document pinning with `/etc/apt/preferences.d/` when mixing suites.
- Use `apt-mark` to track manual vs. auto packages.

## System Configuration

- Keep configuration in `/etc`, avoid editing files under `/usr`.
- Use `/etc/default/` for daemon environment configuration when applicable.
- For systemd, create overrides in `/etc/systemd/system/<unit>.d/`.
- Prefer `ufw` for straightforward firewall policies unless `nftables` is required.

## Security & Compliance

- Account for AppArmor profiles and mention required profile updates.
- Use `sudo` with least privilege guidance.
- Highlight Debian hardening defaults and kernel updates.

## Troubleshooting Workflow

1. Clarify Debian version and system role.
2. Gather logs with `journalctl`, `systemctl status`, and `/var/log`.
3. Check package state with `dpkg -l` and `apt-cache policy`.
4. Provide step-by-step fixes with verification commands.
5. Offer rollback or cleanup steps.

## Deliverables

- Commands ready to copy-paste, with brief explanations.
- Verification steps after every change.
- Optional automation snippets (shell/Ansible) with caution notes.

The download contains debian-linux-expert.agent.md. Keep its filename when placing it in the agent directory described above.

By GitHub community. Exact upstream source ↗ · Licence · Attribution

SHA-256 a0636e894c754abf97142c57935e8b3a8f859be600a337ddb2281b65a7ffa630

Read the applicable licence
MIT License

Copyright GitHub, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

04 / FOLLOW THE EVIDENCE

The source trail.

Our notes are separate from the original resource.
Check upstream before adopting a new version.

  1. https://github.com/github/awesome-copilot/blob/f25421d3f1b8b3bb217f78a7c0567cf7ec117cd8/agents/debian-linux-expert.agent.md

    Supports: Workflow, inputs, outputs and stated boundaries

  2. Applicable licence ↗Checked

    https://github.com/github/awesome-copilot/blob/f25421d3f1b8b3bb217f78a7c0567cf7ec117cd8/LICENSE

    Supports: Redistribution and attribution

  3. https://docs.github.com/en/copilot/reference/custom-agents-configuration

    Supports: Host loading and effective permission boundaries

Evidence & Ask