A research-first, evidence-driven Linux engineering skill catalog for AI coding agents. Claude Code and Codex are the primary integration targets; other Agent Skills-compatible clients require platform-specific verification.
Research before implementation. Evidence before assumptions. Verification before completion.
Standard AI coding agents frequently fail at Linux systems engineering: they hallucinate deprecated kernel APIs, recommend 10-year-old blog snippets, guess systemd configurations, and declare tasks "fixed" without running compilers or linters.
SysWright addresses this with reusable engineering workflows and specialist skills:
- Understand the actual task: Problem decomposition and constraint mapping.
- Establish version boundaries: Never assume kernel or userspace version; probe target environment.
- Query authoritative upstream sources: Research official upstream manuals (
docs.kernel.org,freedesktop.org,man7.org, POSIX). - Inspect existing code & git history: Analyze architectural rationale using
git log -Sandlore.kernel.org. - Enforce operational safety tiers: Autonomous execution for diagnostics and workspace builds; strict human gates for privileged host mutations (
sudo, kernel loading, partitioning). - Verify with deterministic evidence: Completion requires passed compilers (
gcc -Wall,cargo check), static linters (checkpatch.pl,namcap,systemd-analyze verify), and test suites.
Syswright implements a Single-Source Canonical Architecture with Platform-Specific Distribution Adapters:
syswright/
├── .claude-plugin/ # Claude Code native plugin integration
│ ├── plugin.json
│ └── marketplace.json
├── skills/ # Canonical Agent Skills (100% agentskills.io compliant)
│ ├── linux-engineer/ # Master orchestrator & intent router
│ ├── linux-research/ # Upstream evidence & authority engine
│ ├── linux-environment/ # Safe unprivileged system discovery
│ └── arch-packaging/ # Arch Linux packaging engineering specialist
├── references/ # Shared authoritative domain references
├── adapters/ # Platform adapters for Codex, Claude, and other agents
├── scripts/ # Zero-dependency validation & packaging tools
├── evals/ # Evaluation benchmark suites & fixtures
├── tests/ # Automated unit & integration tests
├── docs/ # Subsystem architecture specifications & documentation portal
└── AGENTS.md # Persistent repository guidance for AI coding agents
| Skill Name | Directory | Status | Primary Purpose |
|---|---|---|---|
linux-engineer |
skills/linux-engineer/ |
ACTIVE | Master entry-point, task decomposition, workflow sequencing, multi-subsystem orchestration. |
linux-research |
skills/linux-research/ |
ACTIVE | 10-step upstream investigation, lore.kernel.org query, evidence ledger creation. |
linux-environment |
skills/linux-environment/ |
ACTIVE | Safe discovery of distro identity, kernel release, toolchains, container/VM status. |
arch-packaging |
skills/arch-packaging/ |
ACTIVE | Full Arch Linux packaging lifecycle, PKGBUILD authoring, clean chroots, namcap, AUR, and repos. |
debian-packaging |
skills/debian-packaging/ |
ACTIVE | Debian source/binary packaging, debhelper 13+, DEP-3 quilt patches, sbuild, lintian, autopkgtest, mentors. |
ubuntu-packaging |
skills/ubuntu-packaging/ |
ACTIVE | Ubuntu delta over Debian, Launchpad PPAs, source-only uploads, LTS vs Interim series, SRU test plans, dput. |
rpm-packaging |
skills/rpm-packaging/ |
ACTIVE | Core RPM spec anatomy, directory macros, automatic soname dependencies, scriptlet $1=0 trap, rpmsign. |
fedora-packaging |
skills/fedora-packaging/ |
ACTIVE | Fedora packaging guidelines, SPDX licensing, strict unbundling, mock chroots, fedpkg, Koji, Bodhi, EPEL. |
opensuse-packaging |
skills/opensuse-packaging/ |
ACTIVE | openSUSE spec conventions, %service_add_post, Open Build Service (OBS), osc CLI, Tumbleweed vs Leap. |
linux-distribution-engineering |
skills/linux-distribution-engineering/ |
ACTIVE | APT, DNF repomd, Zypper, Pacman repo architectures; offline GPG signing; package promotion; rollback. |
reproducible-builds |
skills/reproducible-builds/ |
ACTIVE | Bit-for-bit determinism, SOURCE_DATE_EPOCH, diffoscope, reprotest, SPDX/CycloneDX SBOMs, SLSA Level 3. |
linux-release-maintenance |
skills/linux-release-maintenance/ |
ACTIVE | Upstream release tracking (uscan/Anitya), patch queue lifecycle, ABI transitions, CVE backporting. |
kernel-engineering |
skills/kernel-engineering/ |
ACTIVE | Subsystem architecture, Kbuild/Kconfig, regression bisect, kernel patching, debugging, and upstream LKML workflow. |
driver-engineering |
skills/driver-engineering/ |
ACTIVE | Device model, bus subsystems (PCI/USB/I2C/SPI), probe lifecycle, DMA, interrupts, and power management. |
systemd-engineering |
skills/systemd-engineering/ |
ACTIVE | Unit architecture, service lifecycle, security sandboxing, cgroups v2 resource limits, and journald troubleshooting. |
boot-engineering |
skills/boot-engineering/ |
ACTIVE | UEFI/BIOS firmware, bootloaders, initramfs (mkinitcpio/dracut), Unified Kernel Images (UKI), and Secure Boot. |
linux-networking |
skills/linux-networking/ |
ACTIVE | Kernel networking stack, network managers, policy routing, nftables firewalling, and network namespaces. |
linux-storage |
skills/linux-storage/ |
ACTIVE | Block layer (blk-mq), filesystems (ext4/Btrfs/XFS), device-mapper/LVM, LUKS encryption, RAID, and recovery. |
linux-application-engineering |
skills/linux-application-engineering/ |
ACTIVE | Native application architecture, Rust/C/C++, CLI tools, system daemons, XDG Base Directory, security. |
qt-qml-engineering |
skills/qt-qml-engineering/ |
ACTIVE | Qt 6, QML modules, Qt Quick scene graph, declarative QML/C++ integration, Qt Widgets, QTest. |
gtk-engineering |
skills/gtk-engineering/ |
ACTIVE | GTK 4, GLib/GObject/GIO, GtkApplication, composite XML templates, Libadwaita, AT-SPI accessibility. |
desktop-integration |
skills/desktop-integration/ |
ACTIVE | Wayland protocols, X11/XWayland, D-Bus IPC, XDG Desktop Portals, Freedesktop metadata, and systemd user services. |
linux-build-engineering |
skills/linux-build-engineering/ |
ACTIVE | Modern target-based CMake, Meson, Ninja, Cargo workspaces, compiler toolchains (GCC/Clang), and ABI stability. |
linux-debugging |
skills/linux-debugging/ |
ACTIVE | GDB/LLDB post-mortem analysis, core dumps, memory leaks, thread deadlocks, kernel panics, hypothesis testing. |
linux-performance |
skills/linux-performance/ |
ACTIVE | perf CPU profiling, memory allocation churn, storage I/O latency, network BDP tuning, statistical benchmarking. |
linux-security |
skills/linux-security/ |
ACTIVE | Threat modeling, least privilege, systemd sandboxing, capabilities, seccomp, Landlock, CVE backport verification. |
linux-observability |
skills/linux-observability/ |
ACTIVE | Native tracefs, ftrace, eBPF CO-RE/verifier, metrics cardinality management, and distributed tracing. |
linux-fuzzing |
skills/linux-fuzzing/ |
ACTIVE | In-process libFuzzer targets, AFL++ persistent campaigns, syzkaller QEMU kernel fuzzing, and crash triage. |
linux-regression-engineering |
skills/linux-regression-engineering/ |
ACTIVE | Automated git bisect predicates (exit 125), kernel/app version regressions, and shared library ABI guards. |
Install as a local plugin in Claude Code:
# In an interactive Claude Code terminal session:
/plugin install ./Or start Claude Code with the plugin directory loaded:
claude --plugin-dir /path/to/LinuxEngineeringCodex discovers repository skills from .agents/skills/ and user-level skills from ~/.agents/skills/. Generate a validated bundle:
python3 scripts/package-skills.py --target codex --output dist/Install the bundled skills for the current user (review the bundle before copying):
mkdir -p "$HOME/.agents"
cp -a dist/codex-package/.agents/skills "$HOME/.agents/"For repository-scoped installation, copy the generated .agents/skills directory into the repository root instead:
mkdir -p .agents
cp -a dist/codex-package/.agents/skills .agents/The bundle also contains the repository-level AGENTS.md; copy that file only when installing SysWright as repository instructions. Restart Codex if newly installed skills do not appear. See the Codex adapter guide for scope and update details.
Build a standard distributable archive:
python3 scripts/package-skills.py --target archive --output dist/Run safe, unprivileged reconnaissance of the active Linux system:
python3 skills/linux-environment/scripts/discover_environment.py --format textOutput:
Distribution : Arch Linux (ID: arch)
Kernel : 6.18.64-1-lts (x86_64)
Context : native (none)
Init System : systemd
Compilers : gcc, clang, rustc
Build Systems: meson, cmake, make, ninja, cargo
Packaging : makepkg, pacman
When an agent is asked to investigate an issue or deprecation (e.g., "What replaced init_timer() in Linux 4.14?"):
- The agent invokes
linux-research. - It consults references/source-authority.md and skills/linux-research/references/upstream-sources.md.
- It emits a structured evidence card:
### Evidence Record: Kernel Timer API - **Claim**: init_timer() was removed in Linux 4.15; replaced by timer_setup(). - **Source**: https://docs.kernel.org/core-api/kernel-api.html - **Authority**: Tier 1 (Official Upstream Kernel Documentation) - **Target Version**: Linux 6.18 LTS - **Confidence**: Verified - **Engineering Implication**: Driver callbacks must use from_timer() to recover private data.
When an agent is tasked with packaging an upstream software release (e.g., "Create a PKGBUILD for ripgrep-all"):
linux-engineerroutes the request toarch-packaging.arch-packaginginspects upstream sources, identifies build system conventions (cargo,cmake,meson, etc.), and verifies SPDX licensing.- It generates a standards-compliant
PKGBUILD, performs non-executing static analysis (bash -n), and validates metadata withnamcap. - It isolates builds in clean chroots via
pkgctl build --clean, catching undeclared build dependencies. - It runs
evals/arch-packaging/eval_arch_packaging.pyto ensure zero hallucinations or security violations.
When an agent diagnoses an operating system or hardware issue (e.g., "Why is our NVMe volume failing to mount after an unclean shutdown?"):
linux-engineercoordinates diagnostics acrosslinux-storageandlinux-environment.linux-storageinspectsdmesgand NVMe SMART telemetry (nvme smart-log) to separate media wearout from filesystem corruption.- It enforces safety invariants: filesystems must be unmounted before any check (
e2fsck -n), and autonomous reformatting (mkfs,wipefs) is strictly refused as a Tier 3 action requiring human sign-off. - It provides evidence-backed recovery procedures using backup superblocks or snapshot rollbacks.
- It runs
evals/eval_systems.pyto ensure compliance across all 28 systems engineering benchmarks.
When an agent develops or reviews a native Linux desktop application (e.g., "Develop a Qt 6 desktop utility with Wayland integration"):
linux-engineerroutes the request acrosslinux-application-engineering,qt-qml-engineering,desktop-integration, andlinux-build-engineering.linux-application-engineeringdesigns the process model, signal handling, and XDG Base Directory storage.qt-qml-engineeringsets up modern Qt 6 CMake modules (qt_add_qml_module), separates UI from C++ models, and avoids GUI thread starvation.desktop-integrationgenerates and validates the.desktoplauncher (desktop-file-validate), AppStream metadata (appstreamcli validate), and mediates file access via XDG Desktop Portals.linux-build-engineeringapplies compiler hardening flags (-D_FORTIFY_SOURCE=3 -fstack-protector-strong) and configures reproducible build inputs (SOURCE_DATE_EPOCH).- It runs
evals/eval_native_apps.pyto ensure compliance across all 34 native application benchmarks.
When an agent maintains a multi-distribution software project (e.g., "Package and release a daemon across Debian, Ubuntu, Fedora, and openSUSE with reproducible builds"):
linux-engineerroutes the task acrosslinux-release-maintenance,debian-packaging,ubuntu-packaging,fedora-packaging,opensuse-packaging, andreproducible-builds.debian-packagingandubuntu-packagingauthor clean source packages using debhelper 13+ and DEP-3 quilt patches, preparing PPA uploads viadput.fedora-packagingenforces strict unbundling and SPDX licensing, verifying builds in clean chroots viamock.opensuse-packagingadheres to openSUSE shared library naming policies (libfoo1) and prepares OBS builds viaosc.reproducible-buildsnormalizes build timestamps viaSOURCE_DATE_EPOCH, maps build paths (-ffile-prefix-map), verifies binary identity withdiffoscope, and generates SPDX 2.3 SBOMs and SLSA Level 3 attestations.linux-distribution-engineeringverifies repository metadata signatures, promotes packages through dev/staging/production, and enforces atomic metadata updates.- It runs
evals/eval_cross_distribution.pyto ensure compliance across all 48 cross-distribution benchmarks.
The local structural validator and packaging utilities use Python's standard library. For an additional check against the upstream Agent Skills reference implementation, install skills-ref (Python 3.11+) and run python3 scripts/validate-skills.py --strict-spec.
Run local structural checks for all canonical skills:
python3 scripts/validate-skills.pyRun the upstream reference validator as an additional specification check (requires skills-ref on PATH):
python3 scripts/validate-skills.py --strict-specVerify that all relative documentation links and cross-references resolve (0 broken links):
python3 scripts/check-references.pyExecute the complete automated test suite (62 unit and integration tests):
python3 tests/run_all_tests.pyRun the 48 cross-distribution, release, and supply-chain evaluation scenarios across Debian, Ubuntu, RPM, Fedora, openSUSE, repository engineering, reproducible builds, and release maintenance:
python3 evals/eval_cross_distribution.pyRun the 36 advanced engineering evaluation scenarios across debugging, performance, security, observability, fuzzing, and regression engineering:
python3 evals/eval_advanced_engineering.pyRun the 34 native application engineering evaluation scenarios across applications, Qt, GTK, desktop integration, and build systems:
python3 evals/eval_native_apps.pyRun the 28 core systems engineering evaluation scenarios across kernel, drivers, systemd, boot, networking, and storage:
python3 evals/eval_systems.pyRun the 18 Arch Linux packaging evaluation scenarios:
python3 evals/arch-packaging/eval_arch_packaging.pyRun the routing evaluation scenarios:
python3 evals/routing/eval_router.pyRun the 6 research and evidence evaluation scenarios:
python3 evals/research/eval_research.pyAll operations comply with the Four-Tier Safety Model:
-
Tier 0 (Diagnostics): Read-only queries
$\to$ Fully autonomous. -
Tier 1 (Workspace Development): Compiling/editing within workspace
$\to$ Autonomous in declared scope. -
Tier 2 (Clean Sandboxes): Ephemeral clean chroots / QEMU microVMs
$\to$ Automated with isolation checks. -
Tier 3 (Host Mutating / Privileged): Operations involving
sudo, host package modification, kernel module loading, bootloader edits, or disk partitioning$\to$ STRICT HUMAN GATE REQUIRED. Prohibited from autonomous execution; requires dry-run and rollback command.
For full safety details, see references/safety-policy.md and SECURITY.md.
Comprehensive subsystem architecture specifications and development guides are available in docs/:
- Linux Systems Engineering: Kernel, driver, systemd, bootloader, networking, and storage subsystem architectures.
- Native Application Engineering: GUI toolkits (Qt 6, GTK 4), Wayland/D-Bus desktop integration, and modern build generators.
- Advanced Linux Engineering: Root-cause debugging, runtime performance profiling, defensive hardening, kernel tracing, fuzzing, and regression isolation.
- Arch Packaging Engineering: PKGBUILD standards, clean-chroot build isolation, static namcap analysis, and AUR publishing.
- Cross-Distribution & Supply-Chain: Debian, Ubuntu, RPM, Fedora, openSUSE packaging, reproducible builds, and release lifecycle management.
- Canonical & Adapter Architecture: Multi-agent runtime abstraction and plugin packaging.
- Validation & Testing Guide: Automated verification benchmarks and test suite execution.