Turn your agent into a careful
computer repair engineer

Evidence before conclusions; a plan before any change.

A cross-platform computer diagnosis and repair Skill for Codex, Claude Code, OpenClaw and other agents. Application and data migration, a C: drive turning red, a sluggish PC, unwanted software, recurring pop-up ads, network trouble or OpenClaw configuration issues — describe the symptom in one sentence. The agent gathers evidence, proposes a plan and changes nothing until you confirm; updates, printers, boot repair, recovery, BitLocker/PE checks and other workflows remain covered too.

npx skills add 88lin/computer-repair-skill
  • 64focused playbooks
  • 3supported platforms
  • AGPL3.0 open source
A typical troubleshooting session

$ npx skills add 88lin/computer-repair-skill

computer-repair-skill → ~/.codex/skills/

> My C: drive is turning red. First take a read-only inventory of what is using the space; do not delete anything.

1/7 Clarify the goalPlatform: Windows · constraint: do not delete anything

2/7 Route to a playbookwindows-disk-space-recovery

3/7 Read-only diagnosisWin32_LogicalDisk · Get-ChildItem -LiteralPath · DISM /AnalyzeComponentStore

4/7 Propose a repair planNothing runs until you confirm

What it is,
what it is not

Computer Repair Skill is not a tune-up utility. It is a computer-repair process that guides your agent to diagnose step by step, explain the risk, and fix the problem only after you confirm.

No background service and no takeover of your computer

How Computer Repair Skill positions itself

How Computer Repair Skill positions itself
No. It is It is not
A Skill package an agent readsIt supplies the diagnostic steps, confirmation rules and safety boundaries; your agent does the executing. A desktop applicationNo installer, no user interface, no background process.
Files you copy into a Skills directory~/.codex/skills/, ~/.claude/skills/, ~/.agents/skills/. A companion program, model or cloud APIThe Skill itself is Markdown and YAML — there is nothing extra to install.
Review the diff, the risk and the rollback path firstOnly after you confirm does it apply the smallest change that fixes the problem. “One-click Windows optimization”Tuning presets can affect updates, privacy, drivers, enterprise policy and your ability to roll back.
64 on-demand playbooksLoaded through a routing index according to the problem, so irrelevant context stays out. One giant prompt that fills the context windowIt loads only the process relevant to the problem, keeping unrelated steps out.
An auditable, reversible repair procedureWhenever state changes, the plan, the verification steps and the rollback command are kept. A repair licence or a data-recovery guaranteeSmoke, liquid ingress, unusual noise, overheating, a swollen battery or a physically failing source disk means stop immediately and escalate to a professional.

How the agent troubleshoots, step by step

From describing the problem to verifying the result, the agent moves through seven clear steps. Before any change, it explains the reason, impact and rollback path, then waits for your confirmation.

  1. Clarify the goal

    Break the request into symptoms, the desired end state and the constraints that must not change. Multiple goals are kept item by item — no deleting instead of migrating, no reinstalling instead of repairing, no skipping an explicit requirement.

    Action tiers: read-only audit · reversible change · high-impact change · system-level red line

  2. Route to a playbook

    Read the routing index and pick the single most specific playbook by symptom, platform and trigger phrase. Only the one the current task needs is loaded — never all of them at once.

    A playbook is a diagnostic protocol, not permission to execute

  3. Read-only diagnosis

    Start with narrow checks that change nothing, recording commands, exit codes, measured values, paths, service states and timestamps. Command output is evidence, and a single anomaly is not a root cause.

    Metadata only by default: no file contents, password stores, cookies or private keys

  4. Propose a repair planmust stop

    Before any install, upgrade, long-running task, administrator operation or state change, it first shows: the confirmed symptoms and most likely cause, the specific actions and their blast radius, whether elevation / network / reboot is needed, the rollback point, and the verification commands and success criteria for afterwards.

    Wait for the user's explicit confirmation. Confirmation given earlier for a different set of actions does not cover a newly surfaced high-impact action.

    the pivot of the whole Skill is here

  5. Apply the minimal change

    Only actions already shown get executed; the moment the scope widens, the plan is presented again. Literal paths and structured parameters are used instead of relying on the current directory or broad wildcards. Cleanups record, item by item, the target path, size/hash, original location, time and recovery location.

    Prefer the recycle bin or a quarantine directory — never permanent deletion as a stand-in for “cleanup”

  6. Verify the result

    Re-run the diagnostics tied directly to the fault; a command exiting successfully is not the same as the problem being solved. Compare the data before and after, and check that adjacent functionality has not regressed.

    Where a playbook defines success criteria, each one is met

  7. Wrap up

    Report concisely in your current language: the root cause or the most credible current conclusion, the commands actually run and what changed, the verification evidence and final state, plus any remaining risk and the rollback command.

    Never claim a fix that has not been verified

Is it safe to let an agent repair your computer?

Deleting files, using administrator privileges, or changing disk and boot settings can carry serious risk. Computer Repair Skill grades every action by impact: the higher the risk, the more precise the scope, rollback plan and confirmation must be.

The user's confirmation for an ordinary repair does not extend to these objects.

Computer Repair Skill·System-level red lines

Four risk tiers

  1. L1

    Read-only

    Observes the system without changing state — querying the network, disks, processes, services, logs and file metadata.

    May run directly once the scope is bounded
  2. L2

    Reversible change

    Low impact with a clear rollback — flushing DNS, restarting an ordinary service, moving a single file.

    Show the plan, impact and rollback, then get confirmation
  3. L3

    High-impact change

    Deleting, killing processes, clearing caches, changing permissions, installing, upgrading, uninstalling, administrator commands, bulk moves, editing startup items or security settings.

    Show the exact command, target scope, recovery plan and verification; confirm separately
  4. L4

    System-level red line

    The boot volume, system root, partition table, firmware, BIOS/UEFI, system keychain, credential database, an entire user directory — or disabling a core security mechanism.

    Stop execution and hand over to the vendor or enterprise recovery path

Six steps that must be completed before any deletion

Inspect Before Delete · applies to every deletion

  1. Identify the target by literal absolute path, without relying on the current directory.
  2. Use read-only commands to list the target's path, size, modification time, type and key contents.
  3. Confirm that the inspection result really corresponds to the specific objects about to be deleted.
  4. Show the target list, the reasoning, the expected impact and the recovery method.
  5. Obtain the user's confirmation for these specific targets.
  6. Delete the explicitly named items, then verify the state of the target and of neighbouring directories.

Never executed

These forms never reach the execution stage at all

  • Pipelines that hand a remote response straight to a shell: irm | iex, iwr | iex, curl | powershell, curl | bash, wget | sh, bash -c "$(curl …)".
  • Using *, recursing from a root, or sweeping an ancestor directory across user data, application data or credential directories.
  • Hiding deletion targets behind a pipe, xargs, eval, command substitution, an encoded payload or a dynamic variable.
  • Re-running the same deletion through a scripting runtime such as Python or Node to get around the host's guardrail on rm -rf or Remove-Item.
  • Printing passwords, recovery keys, private keys, tokens or full sensitive paths into the chat.
  • Actively disabling Defender, SmartScreen, UAC, the firewall, Windows Update or Core Isolation — these are audited for state only.
  • Pirated activation, unknown downloaders, force-removing Edge, unaudited one-click tuning bundles.

Every high-impact action leaves a record

time | target | action | risk level | user confirmation | exit status | verification | rollback

Secrets are stripped when the command template is recorded; where a path contains a username or company information, only the part needed for diagnosis is kept.

How to install it in Codex, Claude Code or OpenClaw

Four ways, from “hand the agent one sentence” to “copy the directory yourself”. A client that only supports chat, with no local file or terminal access, cannot actually install it for you.

Hand the agent one sentence

Best for newcomers. Open Codex, Claude Code, Hermes, OpenClaw, Cursor or any other tool that supports Agent Skills, and send it the text on the right as-is.

The agent needs to be able to reach GitHub, read local files and run the necessary installation commands.

prompt
Please install this Agent Skill: https://github.com/88lin/computer-repair-skill
Review the repository contents and SKILL.md first, then install it into my current Agent's Skills directory; if an older version is already installed, back it up before updating.
When you are done, tell me the actual install path, the target Agent and the verification result.

What the 64 focused playbooks can fix

From a C: drive turning red, a sluggish PC, unwanted software, recurring pop-up ads, network trouble, app migration, uninstall residue and large-folder management to updates, printers, boot repair, recovery, security, developer setup and OpenClaw. Search by symptom, or open any row to see when it applies and what you can ask.

By category

CategoryCount

By platform

“Cross-platform” means the procedure does not depend on a single operating system — DNS, mail, identity services, SSH, Wi-Fi, Outlook, OpenClaw, credential and local-data audits.

Complete routing index for all 64 playbooks
No. Playbook Category Platform Route ID
01Comprehensive device health check — disk, memory, uptime, updates, firewall, backup, and networkHealth, performance, storage & backupCross-platformhealth-baseline-check
02Diagnose slowness, high CPU, memory pressure, and hangsHealth, performance, storage & backupmacOSperformance-forensics
03Diagnose Windows slowness, CPU saturation, memory pressure, disk bottlenecks, startup load, and application hangsHealth, performance, storage & backupWindowswindows-performance-forensics
04Diagnose Linux load, CPU, memory pressure, swapping, IO waits, disk bottlenecks, cgroup limits, and process hangsHealth, performance, storage & backupLinuxlinux-performance-forensics
05Safe maintenance sweep for a generally-sluggish Mac — refresh caches and reclaim memory without riskHealth, performance, storage & backupmacOSmac-tune-up
06Reclaim disk space on macOS — measure, audit, clean cache-class data, report freed bytesHealth, performance, storage & backupmacOSdisk-space-recovery
07Reclaim Windows disk space by measuring volumes, preserving user data, and verifying freed spaceHealth, performance, storage & backupWindowswindows-disk-space-recovery
08Build a privacy-preserving Windows storage inventory that explains large paths before any cleanupHealth, performance, storage & backupWindowswindows-storage-inventory
09Discover, lazily size, and safely offload selected Windows system or application foldersHealth, performance, storage & backupWindowswindows-large-folder-management
10Migrate an application or selected data folder to local NTFS storage with junction rollbackHealth, performance, storage & backupWindowswindows-application-migration
11Audit Windows migration Junctions, detect ghost records, and restore data safelyHealth, performance, storage & backupWindowswindows-migration-history-recovery
12Audit and clean regenerable Windows app caches or duplicates while preserving profiles, chat data, and credentialsHealth, performance, storage & backupWindowswindows-application-cleanup
13Audit and clean regenerable macOS app caches or duplicates while preserving containers, chat data, and keychainsHealth, performance, storage & backupmacOSmacos-application-cleanup
14Audit and clean regenerable Linux app caches or duplicates across XDG, Flatpak, and Snap data rootsHealth, performance, storage & backupLinuxlinux-application-cleanup
15Audit Windows app install/uninstall candidates by exact package ID, publisher, source, and reversible verificationHealth, performance, storage & backupWindowswindows-application-lifecycle-audit
16Inspect a new Windows computer, preserve unboxing evidence, verify support/warranty, and establish a safe baselineHealth, performance, storage & backupWindowswindows-new-device-intake
17Reclaim Linux disk space and inodes by measuring filesystems, cleaning native caches, and verifying servicesHealth, performance, storage & backupLinuxlinux-disk-space-recovery
18Audit a device for locally stored sensitive or company data — for offboarding or device reassignmentHealth, performance, storage & backupCross-platformlocal-data-audit
19Verify backup integrity by checking status, timestamps, and testing a real file restoreHealth, performance, storage & backupCross-platformbackup-verify-restore
20Set up Time Machine backup on macOS or configure basic backup strategyHealth, performance, storage & backupmacOSsetup-backup
21Systematic connectivity troubleshooting for Wi-Fi, DNS, and internet issuesNetwork, DNS, VPN, identity & mailmacOSnetwork-diagnostics
22Systematic Windows connectivity troubleshooting for adapters, DHCP, routes, DNS, proxy, VPN, and HTTPNetwork, DNS, VPN, identity & mailWindowswindows-network-diagnostics
23Systematic Linux connectivity troubleshooting for links, addresses, routes, DNS, HTTP, firewall, and namespacesNetwork, DNS, VPN, identity & mailLinuxlinux-network-diagnostics
24Diagnose VPN connection failures, drops, and split-tunnel DNS issuesNetwork, DNS, VPN, identity & mailmacOSvpn-troubleshooting
25Check email-related DNS records (MX, SPF, DKIM, DMARC) for a domainNetwork, DNS, VPN, identity & mailCross-platformdns-record-check
26Test network connectivity to email servers — SMTP, IMAP, POP3, and major providersNetwork, DNS, VPN, identity & mailCross-platformemail-connectivity-test
27Test connectivity to identity providers — Microsoft Entra ID, Google Workspace, and SSO endpointsNetwork, DNS, VPN, identity & mailCross-platformidentity-provider-test
28Connect to a new Wi-Fi network including enterprise/WPA2-Enterprise networksNetwork, DNS, VPN, identity & mailCross-platformsetup-wifi-profile
29Add an email account to Apple Mail or Outlook on macOSNetwork, DNS, VPN, identity & mailmacOSsetup-email-account
30Fix app crashes, launch failures, and permission issuesApps, updates & printingmacOSapp-doctor
31Fix Outlook sync failures, crashes, stuck email, and profile corruptionApps, updates & printingCross-platformoutlook-troubleshooting
32Fix stuck macOS updates, failed installations, and software update errorsApps, updates & printingmacOSupdate-troubleshooting
33Fix stuck Windows Updates, failed installations, and update service errorsApps, updates & printingWindowswindows-update-troubleshooting
34Fix stuck print jobs, missing printers, and CUPS issuesApps, updates & printingmacOSprinter-repair
35Fix stuck print jobs, offline printers, and spooler issues on WindowsApps, updates & printingWindowswindows-printer-repair
36Review reversible Windows privacy, AI, performance, and usability settings with version gates, diff, and rollbackApps, updates & printingWindowswindows-configuration-review
37Preview and clean Windows uninstall residue with strict identity matching and recoveryApps, updates & printingWindowswindows-uninstall-residue-cleanup
38Diagnose Windows driver failures with hardware IDs, vendor source, reinstall, rollback, and compatibility checksWindows repair, boot & hardwareWindowswindows-driver-lifecycle-audit
39Troubleshoot Windows camera, microphone, headset, and speaker failures across hardware, permissions, drivers, and appsWindows repair, boot & hardwareWindowswindows-av-input-triage
40Triage Windows startup, No Boot Device, UEFI/boot-entry, and pre-login failures without blindly changing firmwareWindows repair, boot & hardwareWindowswindows-boot-failure-triage
41Diagnose Windows startup/system corruption with WinRE, Safe Mode, SFC, DISM, and restore pathsWindows repair, boot & hardwareWindowswindows-winre-system-repair
42Audit BitLocker/device encryption before PE, BIOS, hardware, partition, repair, or reinstall operationsWindows repair, boot & hardwareWindowswindows-bitlocker-recovery-triage
43Audit Windows partition and C-drive expansion requests with backup, BitLocker, adjacency and offline-tool safety checksWindows repair, boot & hardwareWindowswindows-partition-resize-audit
44Plan safe Windows laptop hardware maintenance for parts, battery, dust, and thermal work without automatic executionWindows repair, boot & hardwareWindowswindows-hardware-maintenance-safety
45Quick security posture check — antivirus, firewall, updates, and suspicious activitySecurity & credentialsCross-platformendpoint-security-check
46Audit browser extensions, saved passwords, and update status for security risksSecurity & credentialsCross-platformbrowser-security-audit
47Audit Chrome, Edge, Firefox, and Brave policies, including AI and extension controls, without weakening securitySecurity & credentialsWindowswindows-browser-policy-audit
48Audit Windows startup, services, scheduled tasks, shell integrations, file associations, and extensions before removalSecurity & credentialsWindowswindows-persistence-audit
49Audit and clean up stored credentials on a device — for offboarding or post-incident responseSecurity & credentialsCross-platformcredential-cleanup
50Triage deleted or inaccessible Windows data with image-first read-only recovery to a separate targetWindows data recoveryWindowswindows-data-recovery-triage
51Install and configure Homebrew package manager on macOSDeveloper setupmacOSsetup-homebrew
52Install NVIDIA CUDA Toolkit on Linux (Ubuntu/Debian, RHEL/Fedora)Developer setupLinuxsetup-cuda
53Generate an SSH key pair and add it to GitHub or another serviceDeveloper setupCross-platformsetup-ssh-key
54Install and configure OpenClaw (龙虾), an AI gateway for Claude, WhatsApp, Telegram, and other channelsOpenClawCross-platformsetup-openclaw
55Install Node.js 22+ for OpenClaw (sub-module)OpenClawCross-platformsetup-openclaw/install-node
56Edit OpenClaw configuration — models, channels, sessions, automationOpenClawCross-platformsetup-openclaw/configure
57Comprehensive OpenClaw configuration field referenceOpenClawCross-platformsetup-openclaw/config-reference
58Add Feishu (飞书) as a messaging channel for OpenClaw (built-in plugin)OpenClawCross-platformsetup-openclaw/add-feishu
59Add Feishu official plugin (user-identity OAuth — documents, calendar, tasks)OpenClawCross-platformsetup-openclaw/add-feishu-official
60Add Telegram as a messaging channel for OpenClawOpenClawCross-platformsetup-openclaw/add-telegram
61Add or reconfigure WhatsApp for OpenClawOpenClawCross-platformsetup-openclaw/add-whatsapp
62Set up Chinese AI model providers for OpenClaw (Volcano Engine, Moonshot, DeepSeek, Qwen, GLM)OpenClawCross-platformsetup-openclaw/china-models
63Diagnose and fix common OpenClaw issuesOpenClawCross-platformsetup-openclaw/troubleshooting
64Completely uninstall OpenClaw — stop services, remove config, uninstall CLIOpenClawCross-platformsetup-openclaw/uninstall

How to describe your problem to the agent

After installing, describe the problem directly — there is no playbook name to memorise. Include the platform + symptom + constraint + expected action so the agent can choose the right troubleshooting process.

  • My C: drive is turning red. First inventory which categories use the most space, then give me a risk-tiered cleanup plan — do not delete anything without my approval.

    WindowsRelated playbookwindows-disk-space-recovery

  • This Windows PC is getting slower and takes ages to boot. First identify the processes using the most CPU, memory and disk, then list the likely causes; make no changes until you propose a fix.

    WindowsRelated playbookwindows-performance-forensics

  • Unwanted software keeps spawning pop-ups and starting with Windows; it may have left residue after uninstalling. First list startup items, scheduled tasks and other evidence read-only. I will confirm each cleanup item; explain how to restore it.

    WindowsRelated playbookwindows-persistence-audit

  • My system disk is running out of space, and I want to move some apps to D:. Check available space, file locks and the rollback plan first; verify the copy before switching the original path, and keep it reversible.

    WindowsRelated playbookwindows-application-migration

  • Wi-Fi is connected, but webpages will not load. Trace the path layer by layer, from DNS and proxy through routing; do not reset the network or change browser settings without my approval.

    WindowsRelated playbookwindows-network-diagnostics

  • I am about to boot into PE. Check BitLocker status in the running Windows first; never print the recovery key.

    WindowsRelated playbookwindows-bitlocker-recovery-triage

  • WeChat and Chrome are using tens of GB on my Mac. First separate the regenerable caches from session state and chat history, read-only; once I confirm, clean only the caches.

    macOSRelated playbookmacos-application-cleanup

  • A Flatpak app's data directory on this Linux box is huge. Confirm its packaging format and data root first, separate cache from my own data, then give me a reversible cleanup plan.

    LinuxRelated playbooklinux-application-cleanup

Standard order of work: confirm platform and constraints gather evidence explain candidate causes propose the minimal change wait for confirmation execute verify and record the result.

Frequently asked

Straight answers about installation, agent capabilities, safety boundaries and the open-source licence.

  • A Skill, not a background appIt supplies the workflow; execution still depends on the tools and permissions available to your agent.

  • Read-only first, confirm before changesInstalls, deletion, elevation and restarts must show their impact and rollback path before they run.

  • Describe the problem, not the playbookInclude the platform, symptom, constraints and desired action so the agent can route accurately.

Still stuck? Open an issue
  • No. It is a Skill package an agent reads, supplying diagnostic steps, confirmation rules and safety boundaries. Whether anything actually runs depends on whether your agent has a local terminal, file access, network access and a confirmation mechanism.

When your computer acts up,
let your agent find the cause first.

Install it with one command. When something goes wrong, tell your agent the platform, the symptom and your constraints; it will gather evidence first, then propose the next step.

npx skills add 88lin/computer-repair-skill --global