debug-local-tool
Use when a local application, CLI tool, or service on the user's Linux workstation isn't working and needs interactive debugging.
Skill by danielrosehill
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/danielrosehill-debug-local-tool
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/debug-local-tool
What's inside
- Skill name
debug-local-tool- Description
- Use when a local application, CLI tool, or service on the user's Linux workstation isn't working and needs interactive debugging. Triggers on phrases like "X isn't working", "debug X", "X is broken", "fix X on my machine", "troubleshoot X".
- License
- MIT
- Instructions
- 151 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Debug Local Tool / Application Interactive debugging skill for when a local tool, application, or service on the user's workstation isn't behaving correctly. ## System Context - **OS**: Ubuntu (currently 25.04+, check `lsb_release -a` if needed) - **Desktop**: KDE Plasma on Wayland - **Display**: Wayland (NOT X11 — this matters for screen capture, clipboard, GPU, and app compatibility) - **GPU**: AMD Radeon RX 7700 XT / 7800 XT (Navi 32, gfx1101) — ROCm available - **Audio**: PipeWire - **CPU**: Intel Core i7-12700F - **RAM**: 64 GB - **Sudo**: Available — use freely for diagnostic and fix commands ## Debugging Approach Work **interactively** with the user. Don't dump a wall of "try this, try that" — investigate systematically: ### 1. Identify what's broken Ask the user (if not already clear): - What tool/app? - What happens when they try to use it? (error message, silent failure, crash, hang?) - Did it work before? What changed? ### 2. Gather diagnostic info Run these as appropriate — don't run all of them blindly, pick what's relevant: ```bash # Is it installed? which <tool> || dpkg -l | grep <tool> || flatpak list | grep -i <tool> || snap list | grep <tool> # What version? <tool> --version # Is a service involved? systemctl status <service> journalctl -u <service> --no-pager -n 50 # Process running / stuck? pgrep -a <tool> # Recent logs journalctl --user -n 100 --no-pager | grep -i <tool> # Desktop app crash? coredumpctl list | tail -10 # Permissions? ls -la $(which <tool>) # Dependencies? ldd $(which <tool>) | grep "not found" # Package integrity dpkg -V <package> 2>/dev/null # Flatpak/Snap specific flatpak info <app-id> snap info <snap-name> ``` ### 3. Wayland-specific checks Many issues on this system are Wayland-related. Check: - Does the app need `--ozone-platform=wayland` or similar flags? (Electron apps) - Is the app trying to use X11 APIs? Check for `xdg`, `xdotool`, `xclip` dependencies that need Wayland equivalents (`wl-copy`, `wl-paste`, `ydotool`) - Screen capture / recording tools may need PipeWire portal access - Check `XDG_SESSION_TYPE` is `wayland` - Electron/Chromium apps: may need `--enable-features=UseOzonePlatform --ozone-platform=wayland` ### 4. Common failure patterns | Symptom | Likely cause | |---------|-------------| | App launches but blank/black window | Wayland compatibility, try with `QT_QPA_PLATFORM=xcb` or Electron flags | | Clipboard not working | Using xclip instead of wl-copy/wl-paste | | Screen recording fails | Missing PipeWire portal, xdg-desktop-portal-kde not running | | GPU/ROCm tool fails | Wrong gfx target, check `HSA_OVERRIDE_GFX_VERSION` | | Audio tool fails | PipeWire issue, check `wpctl status`, `pw-cli ls` | | Segfault on launch | Missing lib, check `ldd`, check coredump | | "Permission denied" | Flatpak sandbox, snap confinement, or missing group membership | | Python tool broken | Wrong Python version or venv, check `which python3`, pip path | | Node tool broken | Wrong Node version, check `node -v`, nvm status | ### 5. Fix it - Apply the fix directly — don't just suggest it. - If the fix requires a config change, make the change. - If a package needs reinstalling, do it. - If a service needs restarting, restart it. - **Verify the fix** — run the tool again or ask the user to confirm. ### 6. Document the fix After a successful fix, create a GitHub gist documenting what happened: 1. Ask the user: **"Public or private gist?"** (default to private if they don't care) 2. Write a markdown file to `/tmp/fix-<tool-name>.md` with this structure: ```markdown # Fix: <Tool Name> — <Brief Description of Issue> **Date:** YYYY-MM-DD **System:** Ubuntu <version>, KDE Plasma, Wayland **Tool:** <tool name and version> ## Problem <What wasn't working, including error messages> ## Root Cause <Why it was broken> ## Fix
From danielrosehill/Linux-Packaging-Plugin, MIT.
More from danielrosehill/Linux-Packaging-Plugin
- 0.462score
npm-publish
danielrosehill
Publish the current package to npm.
SkillAFreshness: A★ 1Claude Code +9 - 0.391score
release-dev-project
danielrosehill
Full release workflow for public dev projects — commit, push, bump version, build debian, install locally, create GitHub release with .deb attached.
SkillCFreshness: C★ 1Claude Code +9 - 0.371score
agent-deploy-script
danielrosehill
Use when the user wants to create an agent-specific, low-verbosity variant of the current repo's deployment script for AI agent execution.
SkillCFreshness: C★ 1Claude Code +9 - 0.367score
build-and-push-debian
danielrosehill
Use when the user wants to push changes to GitHub, build a new debian version incrementing the version, and upgrade the local package.
SkillCFreshness: C★ 1Claude Code +9 - 0.367score
build-debian-package
danielrosehill
Use when the user wants to build a new version of the debian package in the current repo, increment the version, and install locally.
SkillCFreshness: C★ 1Claude Code +9 - 0.367score
create-package-release
danielrosehill
Use when the user wants to increment to the next version and create a GitHub release/tag that triggers a debian build workflow.
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Apr 27, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from danielrosehill
- 0.470score
plugin-data-storage
danielrosehill
Canonical reference for where Claude Code plugins should persist user data.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
save-plan
danielrosehill
Save a Claude Code plan (from ExitPlanMode, design discussion, or multi-step task) to persistent storage.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
onboard
danielrosehill
First-run onboarding for the adb-ops plugin.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
context-gate
danielrosehill
One-shot context-checkpoint workflow — when the current session is getting cluttered, write a structured handover plan capturing what's done and what's…
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
context-workflow-reference
danielrosehill
Reference and worked example for the CONTEXT.md / CLAUDE.md two-file workflow.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
scaffold-planning
danielrosehill
Create a lightweight `planning/` folder in the current repo with leftover-tasks.md, blockers.md, session-logs/, and handovers/.
SkillAFreshness: A★ 2Claude Code +9
Cite this page
debug-local-tool skill. Agent Mart. https://agentmart.dev/skills/danielrosehill-debug-local-tool (last updated 2026-10-24)