TopRank Skills

Official OpenClaw rules 36%

snipit

Share code snippets and files securely via snipit.sh with AES-256 encryption. Use when sharing code, configs, logs, diffs, or secrets with password protection, burn-after-read, or auto-expiration. Supports CLI (snipit) or curl API fallback.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 snipit 技能。 若已安装,则直接安装 snipit 技能。

Overview

Skill Key
homecity/snipit
Author
homecity
Source Repo
openclaw/skills
Version
-
Source Path
skills/homecity/snipit
Latest Commit SHA
dec8b8767410e55230313218c490575085b0027d

Extracted Content

SKILL.md excerpt

# snipit.sh

Secure code snippet sharing with AES-256 encryption at rest.

## CLI Usage

```bash
# Install
npm install -g snipit-sh

# Create from file
snipit create server.py

# Pipe from stdin
cat code.js | snipit -l javascript

# With options
snipit create .env -t "Config" -p secret -b -e 1h

# Get snippet
snipit get abc123 -p secret
```

## Options

| Flag | Description |
|------|-------------|
| `-t, --title` | Snippet title |
| `-l, --language` | Syntax highlighting |
| `-p, --password` | Password protect |
| `-e, --expires` | 1h, 6h, 1d, 3d, 1w, 2w, never |
| `-b, --burn` | Burn after reading |
| `-c, --copy` | Copy URL to clipboard |

## API Fallback (curl)

```bash
# Create
curl -X POST https://snipit.sh/api/snippets \
  -H "Content-Type: application/json" \
  -d '{"content":"code","language":"python","burnAfterRead":true}'

# Get
curl https://snipit.sh/api/snippets/{id}
```

## Common Patterns

```bash
# Share git diff
git diff | snipit -t "Changes" -l diff

# Share logs (auto-expire 1h)
tail -100 app.log | snipit -e 1h

# Secure config (password + burn)
snipit create .env -p secret123 -b

# Build output
./build.sh 2>&1 | snipit -t "Build log"
```

Related Claw Skills