# Pet

> Use this skill when the user wants to save, search, or reuse command snippets, store useful commands for later, or manage a personal snippet collection.

- Skill: `javimosch/pet` (Agent Skill)
- Install (CLI): `npx skillmds@latest add javimosch/pet`
- Raw SKILL.md: https://api.skillmd.com/api/skills/javimosch/pet/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: javimosch (https://skillmd.com/u/javimosch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/javimosch/pet

---


# pet Plugin

Simple CLI snippet manager. Save, tag, search, and execute command snippets.

## Commands

### Creating
- `pet snippet create -t docker,deploy` — Create a new snippet (interactively)
- `pet snippet create --description "Build and push"` — Create with description

### Reading
- `pet snippets list` — List all saved snippets
- `pet snippets search deploy` — Search snippets by keyword

### Managing
- `pet snippet edit` — Open snippets in editor for bulk editing
- `pet snippet exec -t docker` — Search and execute a snippet

### Sync
- `pet snippets sync` — Sync with Gist or GitLab Snippets

### Full Access
- `pet _ _` — Passthrough for any pet command

## Usage Examples
- "Save this docker-compose command as a snippet tagged docker"
- "Search for snippets related to deployment"
- "List all my saved snippets"
- "Execute the snippet tagged with docker"
- "Sync my snippets to GitHub Gist"

## Installation

```bash
brew install pet
```

## Key Features
- **Tag organization**: Tag snippets for easy filtering
- **Quick search**: Search by keyword across all snippets
- **Direct execution**: Search and run snippets without typing
- **Sync support**: Optional sync via Gist or GitLab Snippets
- **Go binary**: Single file, no runtime dependencies

