Shell Shortcuts for Openclaw

A cross-platform collection of terminal functions to standardize proxy management, directory navigation, and GPU monitoring across all operating systems.

wangyendt
v0.1.1
Feb 18, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install shell-shortcuts

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install shell-shortcuts using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Shell Shortcuts?

The Shell Shortcuts skill is an opinionated set of terminal utilities designed to provide a consistent experience across Windows, macOS, and Ubuntu. By standardizing essential commands like proxy toggling and directory aliasing, it ensures that a fresh machine environment becomes productive immediately. This tool is a key component of the Openclaw Skills ecosystem for developers who frequently switch between different operating systems and shell environments.

It focuses on idempotency and shell-specific best practices, such as utilizing PowerShell profiles on Windows and rc files on Unix-like systems. Whether you are managing complex network environments or navigating deep directory structures, these shortcuts eliminate repetitive manual configuration.

Shell Shortcuts Use Cases

  • Toggling terminal and Git proxies on or off with a single command to handle restricted network environments.
  • Creating persistent, named shortcuts for frequently visited project directories using the goto command.
  • Checking NVIDIA GPU status consistently across different operating systems without remembering specific driver paths.
  • Automating the activation of specific Conda environments every time a new terminal session is initiated.

How Shell Shortcuts Works

  1. The skill integrates into the shell's startup sequence by adding functions to the PowerShell profile, .zshrc, or .bashrc files.
  2. The proxy_on and proxy_off functions modify environment variables and update the global Git configuration simultaneously to ensure network consistency.
  3. The goto utility manages a local JSON or text-based database file in the user's home directory to map short keys to absolute paths.
  4. When a user executes a shortcut, the shell script resolves the path from the database and updates the current working directory.
  5. The gpu command wraps system-level utilities like nvidia-smi, providing a unified interface for hardware monitoring.

Shell Shortcuts Setup

To install this skill as part of your Openclaw Skills collection, add the provided function blocks to your shell configuration file.

For Windows PowerShell, edit your $PROFILE:

# Open your profile in a text editor
notepad $PROFILE

For macOS or Linux, add the functions to ~/.zshrc or ~/.bashrc and reload the shell:

source ~/.zshrc

After installation, you can verify the setup by running goto list or proxy_on.

Shell Shortcuts Data Schema & Taxonomy

The skill maintains a minimal data footprint to ensure portability and speed.

File Name Format Description
.goto_paths.json JSON Stores a dictionary of shortcut keys and their corresponding directory paths (PowerShell).
.goto_paths Text/JSON Stores path mapping for Unix-based shells and CMD environments.
Shell Profile Script Contains the logic for proxy management and command aliases.

Shell Shortcuts Advanced Features

  • Idempotent configuration blocks that allow for safe re-running of setup scripts without duplicating shell functions.
  • Integrated Git proxy support that automatically syncs your git config with your system's HTTP/HTTPS proxy settings.
  • Custom NO_PROXY support to exclude specific local or internal domains from proxy routing.
  • Multi-platform GPU monitoring support that abstracts away the location of NVIDIA system tools.
  • Conditional Conda auto-activation hooks that detect and initialize environments only when the necessary binaries are present.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*