搜索

PythonReactSEOPDF
OpenClaw

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.

homecity0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install homecity/snipit

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

snipit.sh

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

CLI Usage

# 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)

# 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

# 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"

来源信息

Source
github
Repository
openclaw/skills
Path
skills/homecity/snipit
Version
—
Commit
dec8b8767410e55230313218c490575085b0027d
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# 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"
```

相关技能

OpenClaw

humanpages

human-pages-ai

Search and hire real humans for tasks — photography, delivery, research, and more

OpenClaw

openclaw-skills

zseven-w

Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.

OpenClaw

0xarchive

0xfantommenace

Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality. Use when the user...

OpenClaw

1sec-security

cutmob

Install, configure, and manage 1-SEC — an open-source, all-in-one cybersecurity platform (16 modules, single binary) on Linux servers and VPS instances. Use when the user asks to secure a server, install securi...