跳至主要内容
小龙虾小龙虾AI
🤖

pet

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

下载1.5k
星标0
版本1.0.0
开发工具
安全通过

技能说明


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.

如何使用「pet」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「pet技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能