debian-knowledge-patch

A reference guide for making careful changes to Debian systems, including packages, boot settings, networking, and services that store or handle data. Debian is a Linux operating system.

In plain words
What is it for?
Use it before changing Debian upgrades, package sets, boot configuration, network configuration, RabbitMQ, MariaDB, Dovecot, Bacula, or other stateful services.
Why use it?
It helps prevent upgrade or configuration mistakes that could break remote access, hardware support, encrypted storage, networking, or services such as databases and mail systems.

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/nevaberry/nevaberry-plugins/debian-knowledge-patch
Any agent
npx skills add Nevaberry/nevaberry-plugins --skill debian-knowledge-patch
Clone the repo
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins

Made for: Claude Code, Codex.

Per session 9 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,035 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00009 $0.02035
Opus 5 $0.00005 $0.01018
Sonnet 5 $0.00002 $0.00407
Haiku 4.5 $0.00001 $0.00203

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

Security

Grade A, and why

debian-knowledge-patch scanned grade A with 0 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 2d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/knowledge-patch/patches-claude/debian-knowledge-patch/SKILL.md · 188 lines

How it starts

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

Debian knowledge patch

Choose references by the task at hand. Read every relevant file before changing an upgrade plan, package set, boot configuration, network configuration, or stateful service.

Reference Topics
packages-toolchains-desktops.md Command and package replacements, component splits, desktop stacks, compatibility packages, and pending removals
release-platform.md Architecture and ABI boundaries, platform defaults, hardware enablement, virtual machines, and support lifecycle
security-networking.md Remote access, encrypted storage, sysctl, ping, interface naming, TLS, IPsec, and Secure Boot data
services-data.md RabbitMQ, MariaDB, Dovecot, and Bacula migrations
upgrade-foundations.md Preflight checks, sequencing, rollback planning, and post-upgrade verification

Triage breaking upgrade risks first

Before approving an in-place upgrade, identify whether the host is:

  • reached only through SSH;
  • using a separate /boot;
  • mounting encrypted filesystems, especially plain-mode dm-crypt;
  • running RabbitMQ, MariaDB, Dovecot, or Bacula;
  • dependent on stable network-interface names or /etc/sysctl.conf;
  • using a retired architecture or third-party armel or armhf binaries;
  • relying on custom WirePlumber, strongSwan, OpenLDAP, Samba, or libvirt setup;
  • carrying packages or commands that no longer exist.

Treat each match as a required migration, verification, or rollback-planning step. Do not defer it to post-upgrade cleanup.

Protect remote access and bootability

Prepare SSH before a remote upgrade

  • Install openssh-server version 1:9.2p1-2+deb12u7 or later from stable-updates before starting an SSH-supervised upgrade.
  • Move variables required by SSH sessions out of ~/.pam_environment; new sessions no longer read it by default.
  • Replace DSA keys. OpenSSH 9.8p1 and later cannot re-enable them.
  • Use ssh1 from openssh-client-ssh1 only for devices that provide no other key type.

Read the full file on GitHub · 188 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 188 lines · 9 tokens per session scan A 10c5f2d87d7b

Subscribe to this mod's changes

debian-knowledge-patch is a skill published in the GitHub repository Nevaberry/nevaberry-plugins (24 stars, last pushed 6d ago), licensed MIT. It adds 9 tokens to every session and 2,035 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

design-mcp-server

Design the tool surface, resources, and service layer for a new MCP server. Use when starting a new server, planning a major feature expansion, or when the user describes a domain/API they want to expose via MCP. Produces a design doc at docs/design.md that drives implementation.

cyanheads/obsidian-mcp-server · 62 tokens

add-tool

Scaffold a new MCP tool definition. Use when the user asks to add a tool, create a new tool, or implement a new capability for the server.

cyanheads/obsidian-mcp-server · 35 tokens

api-linter

MCP definition linter rules reference. Use when bun run lint:mcp or bun run devcheck reports a lint error or warning (format-parity, schema-is-object, name-format, server-json-, etc.) and you need to understand the rule, its severity, and how to fix it. Every rule ID the linter emits has an entry in this doc.

cyanheads/obsidian-mcp-server · 86 tokens

api-canvas

DataCanvas primitive reference — a Tier 3 SQL/analytical workspace for tabular MCP servers, backed by DuckDB. Use when registering tables from upstream APIs, running ad-hoc SQL across them, and exporting results. Covers the acquire → register → query → export flow, per-table TTL, the token-sharing pattern for…

cyanheads/obsidian-mcp-server · 85 tokens

api-errors

McpError constructor, JsonRpcErrorCode reference, and error handling patterns for @cyanheads/mcp-ts-core. Use when looking up error codes, understanding where errors should be thrown vs. caught, or using ErrorHandler.tryCatch in services.

cyanheads/obsidian-mcp-server · 54 tokens

api-testing

Testing patterns for MCP tool/resource handlers using createMockContext and Vitest. Covers mock context options, handler testing, McpError assertions, format testing, Vitest config setup, and test isolation conventions.

cyanheads/obsidian-mcp-server · 46 tokens