pet for Openclaw

A robust command-line snippet manager for saving, searching, and executing complex terminal commands.

gumadeiras
v1.0.0
Jan 21, 2026
0
2.7k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install pet

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 pet 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 pet?

pet is a specialized CLI tool designed to help developers capture and reuse intricate shell commands. By integrating this tool via Openclaw Skills, you can transform your terminal into a searchable knowledge base, effectively eliminating the need to memorize long flags or sift through shell history. It provides a structured way to maintain a library of one-liners and technical scripts that are instantly accessible.

Whether you are managing cloud infrastructure or complex build pipelines, pet ensures your most valuable commands are never lost. Leveraging Openclaw Skills for snippet management allows for a more organized and efficient developer workflow across various projects and environments.

pet Use Cases

  • Saving complex Kubernetes or Docker commands that are difficult to memorize
  • Creating a reusable library of data processing one-liners
  • Standardizing team scripts and sharing them via remote synchronization
  • Quickly retrieving forgotten syntax for rare CLI tools and utilities

How pet Works

  1. Initialize a new snippet by entering the command and a descriptive title into the interactive editor.
  2. Store the snippet data locally in a structured TOML format for high performance and readability.
  3. Utilize the search functionality to filter through your command library using keywords.
  4. Execute commands directly from the search interface to save time and reduce syntax errors.
  5. Sync your local collection with a GitHub Gist to maintain access to your Openclaw Skills snippets across multiple machines.

pet Setup

To get started, ensure you have the pet binary installed on your system. You can then begin adding snippets using the following command:

pet new

For remote synchronization, configure your GitHub Gist credentials in the configuration file located at ~/.config/pet/config.toml to fully utilize the sync capabilities of these Openclaw Skills.

pet Data Schema & Taxonomy

Snippets are stored and organized within a TOML file at ~/.config/pet/snippet.toml. The data structure is defined as follows:

Key Type Description
command string The actual shell command to be stored and executed
description string A summary of what the command does
output string Optional field for expected output or examples
tag array List of tags for easier filtering and organization

pet Advanced Features

  • Gist synchronization for seamless multi-device snippet availability
  • Interactive fuzzy search for rapid command retrieval in high-pressure environments
  • Direct execution mode to run snippets without manual copying and pasting
  • Support for custom editors when creating or modifying command snippets

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*