🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

pet

by @gumadeiras

Simple command-line snippet manager. Use it to save and reuse complex commands.

Versionv1.0.0
Downloads2,831
TERMINAL
clawhub install pet

πŸ“– About This Skill


name: pet description: Simple command-line snippet manager. Use it to save and reuse complex commands. metadata: {"clawdbot":{"emoji":"🐘","requires":{"bins":["pet"]}}}

pet (Simple Command-Line Snippet Manager)

Pet acts as a CLI snippet manager. It helps you save complex commands and reuse them.

Usage

Create a new snippet

pet new
This opens an editor. Enter the command and a description. Format:
[[snippets]]
  command = "echo 'hello'"
  description = "say hello"
  output = ""

Search and List snippets

pet search

Execute a snippet directly

pet exec

Sync with Gist (Optional)

If configured in ~/.config/pet/config.toml, you can sync snippets to a GitHub Gist:
pet sync

Storage

Snippets are stored in ~/.config/pet/snippet.toml.

πŸ’‘ Examples

Create a new snippet

pet new
This opens an editor. Enter the command and a description. Format:
[[snippets]]
  command = "echo 'hello'"
  description = "say hello"
  output = ""

Search and List snippets

pet search

Execute a snippet directly

pet exec

Sync with Gist (Optional)

If configured in ~/.config/pet/config.toml, you can sync snippets to a GitHub Gist:
pet sync