AGENT SKILL

offline-linux-disk-surgery

Use when a Linux guest disk must be inspected, grown, or repaired offline with qemu-nbd, guestfish, GPT tools, e2fsck, or resize2fs instead of booting a broken or risky guest.

License 许可
MIT
最近更新
2026-11-02
Stars
★ 0
Forks
0

01 前言 Front Matter

name
offline-linux-disk-surgery
description
Use when a Linux guest disk must be inspected, grown, or repaired offline with qemu-nbd, guestfish, GPT tools, e2fsck, or resize2fs instead of booting a broken or risky guest.

03 SKILL.md 正文

Offline Linux Disk Surgery

Overview

Perform guest-disk work offline when booting the guest would add risk or hide the failure. Treat partition edits and filesystem growth as surgery: verify the device, preserve rollback, and make one bounded change at a time.

Reference Map

Required Discovery

  1. Identify the disk image format and current size.
  2. Confirm partition layout before issuing any GPT or filesystem command.
  3. Decide whether the goal is inspection, growth, fsck, or content restore.
  4. Preserve the pre-change guest state, especially any existing home directory.

Standard Flow

  1. Attach the disk read-only first if feasible.
  2. Inspect partition and filesystem state.
  3. Expand the backing disk only if the target filesystem needs more space.
  4. Resize partition, then grow the filesystem.
  5. Mount and verify the expected paths before detaching.

Stop Rules

  • Do not run partition commands until the device path is verified twice.
  • Do not skip e2fsck when the filesystem state is suspect.
  • Do not overwrite an existing guest home when a rename-and-restore path is available.

Common Mistakes

  • Growing the virtual disk but forgetting the partition or filesystem.
  • Editing the wrong block device after multiple attachments.
  • Mixing inspection and restore work without a checkpoint.

04 同仓库更多 Skills

Prekzursil
Prekzursil/agent-skills-toolchain

clarify-requirements

Resolve genuine pre-execution ambiguity by scanning repo context, generating 1-6 grounded options, and asking 1-3 focused questions via AskUserQuestion. NOT for mid-task use (injection risk); NOT when the goal is already unambiguous; use to disambiguate vague prompts before any file edits.

★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

openmm-md

Run FREE, open-source, Windows-native GPU molecular dynamics via the openmm-md MCP (OpenMM + CUDA on the local NVIDIA GPU). Use for protein / protein-ligand MD when you want a free stack or are on Windows without a Schrodinger license. Covers the full workflow (prepare, solvate, minimize, equilibrate, production, analyze, mmgbsa) AND an honest decision guide vs Schrodinger Desmond, including how to run Desmond legitimately on Linux or a cloud GPU with a real license. This is a deliberately LESSER free alternative and does NOT replace the schrodinger MCP tools. Do NOT use it to pick a free tool when a validated FEP+, WaterMap, IFD-MD, or Prime MM-GBSA result is actually required.

Skill与智能体开发
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

visual-review

Take screenshots of web pages and UI using Playwright for visual review and iteration

演示文稿测试与质量
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

status

Diagnostic status report — shows metaswarm installation state, project setup, and potential issues

★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

start

Use when starting work on any task, when the user mentions metaswarm, or when the user wants to begin tracked development work

Skill与智能体开发
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

setup

Interactive project setup — detects your project, configures metaswarm, writes project-local files

★ 0