Claude Code slash command

Claude Code Linux Desktop Slash Commands

Slash commands for Linux desktop sysadmin with Claude Code (or any other agent)

30 stars 6 forksSlash commands Source

Install

From source
git clone https://github.com/danielrosehill/Claude-Code-Linux-Desktop-Slash-Commands.git

From the README

Claude Code Linux Desktop Slash Commands

Write-up: Claude Code plugins for non-coding work: homelab, data, media and admin

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 a CLAUDE.md describing the purpose and creates (or on subsequent runs non-destructively syncs) the slash command library in this repo.

Automated Workspace Setup

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:

What the script does:
1. Creates workspace directory structure at ~/claude-spaces/desktop-sys-admin
2. Syncs all 93+ slash commands to .claude/commands/ (organized by category)
3. Generates CLAUDE.md with workspace configuration and instructions
4. Gathers current system information (CPU, GPU, RAM, OS, network, dev tools) into context/system-info.md
5. Creates user-facing README.md documentation
6. Initializes a git repository for version control
7. Sets up .gitignore for temporary files

Using the workspace:

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:

The script uses rsync to efficiently update only changed files while preserving the directory structure.

Command Structure & Organization

Two Directory Structures

This repository maintains slash commands in two parallel structures:

1.…
Read the full README on GitHub

How custom slash commands work

  • A slash command is a Markdown file. Put it in ~/.claude/commands (for you) or .claude/commands (for a project), and it becomes /file-name inside Claude Code. Claude Code now treats commands and skills the same way, so .claude/skills/name/SKILL.md also works.
  • Arguments you type after the command are passed in as $ARGUMENTS.
  • If the repo is a plugin marketplace, installing it from /plugin adds the commands for you.
Claude Code docs

Details

Language
Shell
Last updated
3 November 2026
Topics
claude-codelinux-desktopslash-commands

FAQ

What is Claude Code Linux Desktop Slash Commands?

Slash commands for Linux desktop sysadmin with Claude Code (or any other agent) It is a slash command for Claude Code, from danielrosehill/Claude-Code-Linux-Desktop-Slash-Commands on GitHub.

How do I install Claude Code Linux Desktop Slash Commands?

Clone danielrosehill/Claude-Code-Linux-Desktop-Slash-Commands from GitHub and follow the setup steps in its README.

Is Claude Code Linux Desktop Slash Commands popular?

danielrosehill/Claude-Code-Linux-Desktop-Slash-Commands has 30 GitHub stars and 6 forks, and is included in 1 curated Claude Code list. It was last updated on 3 November 2026.

More slash commands

Browse the most popular Claude Code mods, all slash commands, or the skills and MCP server directories.