- Notifications
You must be signed in to change notification settings - Fork4
danielrosehill/Claude-Code-Linux-Desktop-Slash-Commands
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A collection of slash commands for Claude Code CLI designed to streamline system administration, optimization, and configuration tasks on Linux desktop systems.
Also provided: a script for setting up a repo-style workspace for Claude Code to focus on sysadmin tasks. The script populates aCLAUDE.md describing the purpose and creates (or on subsequent runs non-destructively syncs) the slash command library in this repo.
This repository includes a setup script that creates a dedicated Claude Code workspace for desktop system administration at~/claude-spaces/desktop-sys-admin.
Run the setup script:
bash~/repos/github/Claude-Code-Linux-Desktop-Slash-Commands/setup-desktop-sysadmin-workspace.shWhat the script does:
- Creates workspace directory structure at
~/claude-spaces/desktop-sys-admin - Syncs all 93+ slash commands to
.claude/commands/(organized by category) - Generates
CLAUDE.mdwith workspace configuration and instructions - Gathers current system information (CPU, GPU, RAM, OS, network, dev tools) into
context/system-info.md - Creates user-facing
README.mddocumentation - Initializes a git repository for version control
- Sets up
.gitignorefor temporary files
Using the workspace:
cd~/claude-spaces/desktop-sys-adminclaude-code
Once in the workspace, Claude Code has full context about your system and access to all slash commands. Type/ to see available commands organized by category.
Updating the workspace:
Re-run the setup script to sync the latest slash commands and refresh system information:
bash~/repos/github/Claude-Code-Linux-Desktop-Slash-Commands/setup-desktop-sysadmin-workspace.shThe script usesrsync to efficiently update only changed files while preserving the directory structure.
This repository maintains slash commands intwo parallel structures:
commands/- Organized by category in nested directories (primary source)commands-flat/- Flattened structure with all commands in one directory
Theflatten-commands.sh script converts the categorized structure into a flat structure for easy deployment to Claude Code workspaces.
Run the flattening script:
bash~/repos/github/Claude-Code-Linux-Desktop-Slash-Commands/flatten-commands.shWhat the script does:
- Clears the
commands-flat/directory - Recursively finds all
.mdfiles incommands/ - Flattens the directory structure by replacing
/with-in filenames - Copies all commands to
commands-flat/
Example transformation:
commands/system-health/system-upgrade.md → commands-flat/system-health-system-upgrade.mdcommands/security/probe-vulnerabilities.md → commands-flat/security-probe-vulnerabilities.mdWhen to use flattening:
- Before copying commands to a Claude Code workspace
- When you need all commands in a single directory
- For easier deployment without preserving category structure
Note: Thesetup-desktop-sysadmin-workspace.sh script uses the categorizedcommands/ structure (not the flattened version) to maintain organization in the workspace.
Local AI inference (Ollama), GPU configuration, model management, speech-to-text setup, ComfyUI
PipeWire optimization and audio configuration
Backup planning, target identification, backup strategies, cloud storage setup (rclone, B2, AWS)
Git config, SSH keys, MCP servers, API keys, environment management
System diagnostics, troubleshooting, crash analysis, performance debugging
Docker setup, IDE suggestions, VS Code optimization
File organization, folder consolidation, structure optimization
Font management, Google Fonts installation
Hardware profiling, GPU management, wake device control
CLI tool installation (gh, pipx, brew, rclone, AWS CLI, B2 CLI)
Repository management utilities
Codec checking and recommendations
LAN scanning, connectivity diagnostics, network troubleshooting
System optimization and performance tuning
Package cleanup, software evaluation, repository management
Application management and organization
pyenv setup, conda environments for data analysis, ROCm, LLM/STT fine-tuning
Repository management and version control
Vulnerability scanning, spyware detection, firewall analysis, security auditing
Storage health monitoring, BTRFS/Snapper checks, RAID configuration, network mounts
Boot logs, slowdown diagnosis, health checkups, system upgrades, startup services
Printer diagnostics, general system utilities
Virtualization capabilities and configuration
Claude Slash Commands - General collection of slash commands for Claude AI
About
Slash commands for Linux desktop sysadmin with Claude Code (or any other agent)
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Contributors2
Uh oh!
There was an error while loading.Please reload this page.
