Logo vun Linux Ops

Linux Ops

Communautéit
Lynricsy
linux-ops

Operates Linux servers: systemd services, permissions, disks, networking, firewalls and restores. Use when a service works in a shell but fails under systemd, a disk stays full after deleting files, DNS, TLS or firewall rules misbehave on a VPS or bare-metal host, SSH access is at risk during a network change, or a backup restore must be proven.

Iwwersiicht

EditeurLynricsy
RepositoryHyperSkills
Skill-Nummlinux-ops
Stären
26
Forks
0
Matgeliwwert Fichieren
12
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 12 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum Lynricsy op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Linux Ops an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/Lynricsy/HyperSkills/tree/main/skills/linux-ops
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Lynricsy/HyperSkills.git /tmp/HyperSkills
mkdir -p .claude/skills
cp -r /tmp/HyperSkills/skills/linux-ops .claude/skills/linux-ops
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Linux Ops an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Linux Ops automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Linux Ops net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

linux-ops

Paths below are relative to this skill's directory.

Scope

Operate at the Linux host boundary: identify which process, mount, listener, manager or persistence layer owns the failure; change that layer without losing management access, evidence or recoverable data. Cover systemd-based bare-metal and VPS hosts, including distribution differences in service names and managers.

Keep these boundaries:

  • Cloud IAM, provider networking and VM control planes belong to aws, azure or gcp. A provider console may be a recovery prerequisite, not a deployment task.
  • Container images and Kubernetes resources belong to containers. Do not apply host firewall or namespace recipes inside a container as though it were a host.
  • Application logic belongs to its language/framework skill; Linux merely being the runtime is not a reason to diagnose it here.
  • Database-consistent capture and replay require the database's supported procedure. Own the host cutover, not an invented database backup protocol.
  • Production telemetry pipelines belong to observability; shell program design is not this skill's purpose.

A request to analyze supplied evidence authorizes analysis, not connecting to machines or applying repairs. Write an executable plan only after its target values and access boundary are known; do not silently execute that plan.

Core rules

  1. Bind every observation to host identity, time, boot, process and namespace where relevant; identical paths can name different objects.
  2. Separate observation, proposed mutation and authorized execution; a diagnostic request does not authorize a restart or remote login.
  3. Record the owner of runtime and persistent configuration before editing; two independent managers can immediately undo each other.
  4. Require an external recovery path for changes that can remove access or destroy data, plus a tested rollback independent of the connection being changed; a second shell alone is not recovery.
  5. Preserve volatile evidence before restarting, rotating, deleting or resetting failure state; the repair may erase the only explanation.
  6. Distinguish disk configuration, manager-loaded configuration and live process state; daemon-reload does not retrofit namespaces, credentials or resource limits into MainPID.
  7. Match readiness and reload claims to the daemon's actual protocol; active state and a successful signal helper are not proof that clients see the new configuration.
  8. Keep non-root identity and isolation while fixing the specific denied operation; chmod 777, broad capabilities and disabling MAC or sandboxing are not diagnostic fixes.
  9. Treat capability bounding as a ceiling, not a grant; inspect effective and ambient sets and exec-time privilege restrictions before changing them.
  10. Count storage by filesystem and object identity, not path strings or FD rows; blocks, inodes and per-process descriptors exhaust independently.
  11. Recheck PID identity and device/inode immediately before a signal or file action; process and descriptor numbers can be reused.
  12. Verify new connections on every relevant address family after an access change; established sessions and IPv4 success can conceal a broken IPv6 or new-SSH path.
  13. Validate TLS with the intended hostname, SNI, trust chain and endpoint; bypassing verification proves connectivity, not certificate correctness.
  14. Select a recoverable point by explicit identity and consistency evidence, not unqualified latest; mirrors and successful backup jobs do not establish RPO or RTO.
  15. Restore into an isolated target before cutover and coordinate all writers; an intact repository can still restore an unusable application state.
  16. State exactly what each check proves and leaves untested; do not promote syntax checks, samples or repository checks into end-to-end recovery evidence.

Workflows

Diagnose a host incident

  • Confirm the supplied or authorized host identity, boot/time interval, distribution, kernel, relevant tool version and impact. Record whether the evidence is live, a snapshot, or a synthetic incident.
  • Choose the reference matching the observed boundary in the topic router; do not run a full-host inventory to answer a single-service question.
  • Collect the smallest discriminating evidence: effective unit and journal for service failure; mount plus block/inode figures for storage; listener, route, resolver and endpoint identity for network failure.
  • Mark access-denied or unavailable observations as unknown, not empty. Begin unprivileged; request only the privilege necessary to read the missing evidence, excluding private keys and secret environment values.
  • Write a causal hypothesis and the observation that would falsify it. Compare the actual daemon context with a successful shell context rather than treating a root-shell success as an application health test.
  • Before an action that loses evidence, identify its owner, retention duty and a protected off-host or unaffected-volume evidence destination.
  • Gate — localized cause: cite evidence for the failing layer and one discriminating check. If the check cannot be performed, label the proposed cause as a hypothesis and provide the exact missing observation.

Change a service or its execution environment

  • Identify the exact unit instance, drop-ins, activation sockets/timers, MainPID and worker processes. Read references/service-privileges-and-limits.md.
  • Capture the current effective settings and rollback copies with ownership, permissions and secrets protected. Specify availability budget, drain method, health probe and external recovery access before disruption.
  • Determine whether the change is daemon configuration, unit configuration, socket configuration or live cgroup state. Specify the activation required for each; do not use reload-or-restart to conceal that decision.
  • Check syntax with the installed daemon's validator and, for unit changes, systemd-analyze verify against the candidate unit. Treat unknown settings as a compatibility problem, not a harmless warning.
  • For denied access, resolve identity, ancestor traversal, ACL/MAC, capability, filesystem and namespace evidence before changing one policy.
  • For a namespace or execution-context change, drain and replace the affected process under an approved window; retain the non-root and read-only design.
  • Activate only the authorized change, then read the live process state. Watch readiness, worker turnover and restart counters over a meaningful interval, not only the instant after the command returns.
  • Gate — live activation: the intended process observes the new object or setting, a fresh client exercises it, isolation remains effective, and the documented rollback remains available until acceptance.

Recover capacity without erasing the incident

  • Identify the filesystem behind the failing path and classify the failure as blocks, inodes, quota, read-only/I/O, or descriptors. Read references/storage-and-processes.md.
  • Compare like-for-like df and scoped du observations; retain collection times, traversal errors and mount boundaries.
  • For deleted-open files, group holders by device/inode, estimate allocated space once per object, and preserve required evidence before the last close.
  • Identify the producer responsible for continuing growth. Propose its supported reopen, retention or bounded shutdown mechanism rather than a generic truncate, kill or package-cache cleanup.
  • State exact targets, authorization, recovery copies and capacity required for evidence preservation. If preservation is impossible, escalate the loss tradeoff explicitly rather than silently deleting.
  • Gate — sustainable headroom: remeasure blocks and inodes separately, confirm the intended holders released the object, and demonstrate that a representative write works without a continuing exhaustion trend.

Change remote access, routing or filtering

  • Read references/network-and-remote-changes.md; identify the real SSH port, source network, destination addresses, jump path, firewall manager, routing manager and persistence loader for both IP families.
  • Record current runtime and persistent state, and test the independent console/rescue path before touching the management path.
  • Prepare the complete candidate and rollback transaction. Arm rollback outside the SSH process tree and prove its status, deadline and privileges. If reboot is in scope, account for how recovery survives reboot too.
  • Validate configuration without activation; preserve management access and required network control traffic in the candidate before restrictive policy.
  • Apply one boundary at a time under explicit authorization; keep the old session and do not remove the previous access path yet.
  • Gate — fresh remote access: establish a non-multiplexed new SSH session from the expected client path, exercise required IPv4/IPv6 business traffic and TLS, inspect persistence, then cancel rollback and retire old access.

Prove a backup and perform a recovery

  • Read references/backup-and-restore.md; state the recovery point objective (maximum data loss) and recovery time objective (maximum service outage).
  • Select repository and snapshot ID by host, paths, time and application consistency evidence. Compute recoverable age at the incident time; do not substitute backup schedule frequency for observed recovery-point age.
  • Establish isolated target identity, free blocks/inodes, metadata support, restricted access and network containment before restoring untrusted data.
  • Restore the selected scope, check content and metadata, then exercise the recovered service without contacting production dependencies or writers.
  • Time retrieval, provisioning, restore, replay, validation and switch-over. Mark RTO unproven if only download speed or a small sample was timed.
  • For cutover, stop or fence every writer, complete the approved final delta or replay, retain the pre-cutover state, and allow one authoritative writer.
  • Gate — usable recovery: the recovered application passes its own integrity and client checks at the selected point, measured outage meets RTO, observed data loss meets RPO, and rollback handles post-cutover writes.

Topic router

TopicRead whenFile
Service lifecycle, permissions, capabilities, namespaces and limitsA unit fails only under systemd, a reload does not activate data, or execution policy changesreferences/service-privileges-and-limits.md
Storage and process ownershipA write fails, df and du disagree, deleted files retain space, or a process exhausts FDsreferences/storage-and-processes.md
DNS, TLS, routes, SSH and host firewallReachability differs by client/address family, or a change may disrupt remote managementreferences/network-and-remote-changes.md
Consistent backup and controlled restorationEvaluating recoverability, copying metadata-sensitive data, or planning a restore/cutoverreferences/backup-and-restore.md

Output format

Use this template for an incident or change review; omit inapplicable rows rather than claiming they passed.

text
Target: host / unit or filesystem / relevant version / observation time
Authority: analysis only | authorized observations | authorized mutation scope
Impact and invariants: availability, evidence retention, identity and isolation
Evidence: observed facts with source; hypotheses and missing observations separate
Cause: mechanism and falsifying check
Change: exact target, current -> proposed state, owner, activation and disruption
Recovery: external access, saved state, executor/deadline, rollback trigger
Verification: check -> expected result -> observed result -> limitation
Status: proposed | applied and verified | rolled back | blocked

For configuration findings, add path:line - finding and a minimal before/after fragment. Separate a suggested command from one actually run. Never include private keys, passwords or raw secret-bearing environment dumps in the report.

Environment

Use the target's existing tools and managers. Common observations use systemd, procfs, util-linux, coreutils, iproute2 and the installed OpenSSH; storage details may require lsof, ACL/xattr tooling or the filesystem's native utilities.

Do not install diagnostic packages during an incident without approval: package installation changes disk pressure and state. Request existing evidence instead. Consult installed manuals (man systemd.exec, man sshd, man rsync) and restic help restore/restic help check before using version-sensitive flags.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Linux Ops?

Operates Linux servers: systemd services, permissions, disks, networking, firewalls and restores. Use when a service works in a shell but fails under systemd, a disk stays full after deleting files, DNS, TLS or firewall rules misbehave on a VPS or bare-metal host, SSH access is at risk during a network change, or a backup restore must be proven.

Firwat Linux Ops op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Linux Ops besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Linux Ops an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Lynricsy/HyperSkills/tree/main/skills/linux-ops an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Linux Ops benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Linux Ops benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Linux Ops domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Linux Ops gratis?

Jo. De Skill gëtt vum Lynricsy ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇