arch-linux-local

A troubleshooting guide for Arch Linux and Arch-based systems such as EndeavourOS and CachyOS. It covers system services, networking, audio, boot files, graphics, Bluetooth, storage, and package issues using local ArchWiki documentation first.

In plain words
What is it for?
Use it to investigate pacman, systemd, Wi-Fi, DNS, PipeWire, initramfs, GPU, Wayland, Bluetooth, filesystem, and package-signature problems.
Why use it?
It gives troubleshooting steps that fit Arch-based systems and checks the installed local documentation before relying on outside sources.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/firstp1ck/pi-coding-agent-forge/arch-linux-local
Any agent
npx skills add Firstp1ck/pi-coding-agent-forge --skill arch-linux-local
Clone the repo
git clone --depth 1 https://github.com/Firstp1ck/pi-coding-agent-forge

Made for: Claude Code, Codex.

Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,242 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00092 $0.01242
Opus 5 $0.00046 $0.00621
Sonnet 5 $0.00018 $0.00248
Haiku 4.5 $0.00009 $0.00124

Measured 3d ago against content hash 1f6e49bbd6c2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade D, and why

arch-linux-local scanned grade D with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo pacman -S arch-wiki-docs

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf
pi-extension-archwiki-local/skills/arch-linux-local/SKILL.md · 117 lines

How it starts

The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Arch Linux Local Troubleshooting

Always use this skill for Arch Linux and Arch-based distribution troubleshooting on this machine. Prioritize EndeavourOS first and CachyOS second when distro context matters. Prefer the installed local ArchWiki (arch-wiki-docs) before web searches. The user should not need to say “use local ArchWiki first”; if the issue looks Arch/Linux-related, start with local ArchWiki retrieval.

Setup requirement

This skill requires the local ArchWiki documentation package:

sudo pacman -S arch-wiki-docs

If /usr/share/doc/arch-wiki/html/en/ is missing or empty, warn the user to install arch-wiki-docs with the command above and abort ArchWiki-local troubleshooting. If the extension command is available, the user can also run /archwiki-local-setup to install it when non-interactive sudo/root access permits.

After package/corpus changes, verify local behavior with /archwiki-smoke-test or archwiki_smoke_test({ maxSearchResults: 5 }).

Required workflow

  1. Start with archwiki_search({ query, limit: 5, includeSnippets: false }) for Arch/Linux issues.
  2. Use archwiki_sections({ page, maxSections: 40-80 }) when the right page is found but the relevant heading is unclear.
  3. Prefer exact archwiki_extract({ page, section, maxChars: 4000-8000, maxSections: 2-5 }) for final citations.
  4. Use query extraction only for exploration, then switch to exact section names when possible.
  5. Use archwiki_read only when broad page context is needed.
  6. Use archwiki_related when the issue spans subsystems.
  7. Detect the distro when relevant, especially EndeavourOS or CachyOS, using read-only evidence.
  8. Load distro-specific reference docs when the distro is known or mentioned.
  9. Run read-only local diagnostics when system evidence is relevant.
  10. Compare documentation guidance with observed system state.
  11. Cite local ArchWiki page paths and section names in final answers.
  12. Ask before destructive or user-facing system changes.

Read the full file on GitHub · 117 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 117 lines · 92 tokens per session scan D 1f6e49bbd6c2

Subscribe to this mod's changes

arch-linux-local is a skill published in the GitHub repository Firstp1ck/pi-coding-agent-forge (74 stars, last pushed 3d ago), licensed MIT. It adds 92 tokens to every session and 1,242 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it D with 2 findings (asks for root, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.