vintlin/computer-care-skills/desktop-tune

Claude Code and agent skill by vintlin/computer-care-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use for desktop stability or battery health when a macOS laptop or desktop is used as a mostly plugged-in workstation — always-plugged-in behavior, sleep/wake instability, USB device dropouts, audio device disappearance, display sleep issues, or battery charge limits.

Install

npx vskill@latest install vintlin/computer-care-skills/desktop-tune

SKILL.md

Desktop Tune

Tune a plugged-in macOS workstation for stable daily use without sacrificing portability. This skill uses macOS-specific tools (pmset, system_profiler, ioreg).

Workflow

Step 1: Collect Evidence

Run all diagnostic commands. Completion: every command returns output.

bash
pmset -g custom
pmset -g assertions
pmset -g log | grep -E "Sleep |Wake |DarkWake" | tail -40
system_profiler SPPowerDataType
system_profiler SPUSBDataType
ioreg -r -c AppleSmartBattery -l | grep -E "CycleCount|MaxCapacity|Temperature|IsCharging"

For disappearing USB/audio devices, add:

bash
system_profiler SPAudioDataType
ioreg -r -c IOUSBHostDevice -l | grep -A 20 "<device-name>"
Step 2: Classify the Issue

Determine the primary category from the collected evidence:

  • Battery: cycle count climbing while plugged in, charge limit questions, health degradation.
  • Sleep/wake: DarkWake frequency, system sleep/wake instability, Power Nap issues. Do not assume every wake issue is USB — check power assertions and logs first.
  • USB/audio dropout: devices disappearing after sleep. USB 1.1 and older audio devices are more vulnerable.
Step 3: Apply the Safe Change Ladder

Apply the smallest reversible change that matches the issue, starting from the top:

  1. Built-in optimization first: use macOS battery charge optimization or 80% limit when available. Do not change battery settings based on generic advice if the Mac already manages charging well.
  2. Hardware before software: use a powered USB hub for fragile devices before writing recovery automation. Powered hubs are more reliable than bus-powered hubs for microphones and audio interfaces.
  3. Separate display sleep from system sleep.
  4. AC-only power changes: if the user wants always-on behavior, adjust only AC power settings — never disable sleep globally. Example:

``bash sudo pmset -c sleep 0 pmset -g custom ``

Rollback (use the user's previous value if it was not 1):

``bash sudo pmset -c sleep 1 ``

  1. Monitoring last: add self-healing or daemon scripts only after the device failure is reproducible. Do not build a daemon before checking whether a powered hub or sleep setting fixes the issue.
Step 4: Verify

Re-run the diagnostic commands from Step 1 and confirm the change had the intended effect.

Hardware Reference

  • USB 1.1 and older audio devices are more likely to drop during sleep/wake.
  • Powered hubs are more reliable than bus-powered hubs for microphones and audio interfaces.
  • Hub chipsets that support software port cycling can recover devices without unplugging them.

Reporting

For each recommendation, state:

  • Current evidence
  • Change scope: battery, sleep, USB, audio, monitoring
  • Risk to portability or power use
  • Rollback command
  • Verification command

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
4
Repository forks
1
7-day trend score
8

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/vintlin/computer-care-skills/desktop-tune/badge)](https://verified-skill.com/skills/vintlin/computer-care-skills/desktop-tune)

Something wrong with this skill or its page? Tell us.